What command does Xmind Equation Support?

Inserting formulas is a new feature of Xmind 2020. By using the MathJax open source library, users can input LaTeX math commands and convert them into formulas in real time.

Here we will introduce some commonly used LaTeX math symbol commands to assist you quickly get started with inserting formula. Xmind also supports inserting chemical equation. You can click to check the detail of commands all supported.

Equation Support

Subscripts, Superscripts, Integrals

LaTeX Symbol Feature
$$a^2$$ Superscript
$$a_2$$ Subscript
$$a^{2+2}$$ Grouping
$$x_2^3$$ Combining sub & super
$${}_1^2\!X_3^4$$ Preceding sub & super
\bigcap_1^{n} p
$$\bigcap_1^{n} p$$ Intersections
\bigcup_1^{k} p
$$\bigcup_1^{k} p$$ Unions
$$x'$$ Derivatives
$$\dot{x}$$ Derivative dots
$$\vec{c}$$ Vectors
\overleftarrow{a b}
$$\overleftarrow{a b}$$
\overrightarrow{c d}
$$\overrightarrow{c d}$$
\widehat{e f g}
$$\widehat{e f g}$$
\overset{\frown} {AB}
$$\overset{\frown} {AB}$$ Arc
\overline{h i j}
$$\overline{h i j}$$ Overline
\underline{k l m}
$$\underline{k l m}$$ Underline
$$\overbrace{1+2+\cdots+100}$$ Overbrace
$$\underbrace{a+b+\cdots+z}$$ Underbrace
\sum_{k=1}^N k^2
$$\sum_{k=1}^N k^2$$ Sum
\prod_{i=1}^N x_i
$$\prod_{i=1}^N x_i$$ Product
\coprod_{i=1}^N x_i
$$\coprod_{i=1}^N x_i$$ Coproduct
\lim_{n \to \infty}x_n
$$\lim_{n \to \infty}x_n$$ Limit
\int_{-N}^{N} e^x\, dx
$$\int_{-N}^{N} e^x\, dx$$ Integral
\iint_{D}^{W} \, dx\,dy
$$\iint_{D}^{W} \, dx\,dy$$ Double integral
\iiint_{E}^{V} \, dx\,dy\,dz
$$\iiint_{E}^{V} \, dx\,dy\,dz$$ Triple integral
\oint_{C} x^3\, dx + 4y^2\, dy
$$\oint_{C} x^3\, dx + 4y^2\, dy$$ Quadruple integral


LaTeX Symbol Feature
$$\sqrt{3}$$ Square root
$$\sqrt[n]{3}$$ nth roots


LaTeX Symbol Feature
$$\pm$$ Plus-minus
$$\times$$ Times
$$\div$$ Division
$$\neq$$ Not equal
$$\approx$$ Approximate
$$\equiv$$ Equivalent
$$\not\equiv$$ Not equivalent
$$\geq$$ Geqslant
$$\leq$$ Leqslant
$$\sim$$ Similar
$$\propto$$ Propto
$$\perp$$ Perpendicularity


LaTeX Symbol Feature
$$\Box$$ Box
$$\Diamond$$ Diamond
$$\triangle$$ Triangle
$$\angle$$ Angle
$$\perp$$ Perpendicularity
$$45^\circ$$ Angle


LaTeX Symbol LaTeX Symbol
\min L
$$\min L$$
\inf s
$$\inf s$$
\sup t
$$\sup t$$
\ln X
$$\ln X$$
\lg X
$$\lg X$$
\log X
$$\log X$$
f \ker g
$$f \ker g$$
\sinh g
$$\sinh g$$
\log_\alpha X
$$\log_\alpha X$$
\cosh h
$$\cosh h$$
\deg x
$$\deg x$$
\tanh i
$$\tanh i$$
\arg x
$$\arg x$$
\dim x
$$\dim x$$
\max H
$$\max H$$
\lim_{t\to n}T
$$\lim_{t\to n}T$$


LaTeX Symbol LaTeX Symbol

Logic and Arrows

LaTeX Symbol LaTeX Symbol
\neg q
$$\neg q$$


LaTeX Symbol Feature
\left ( \frac{a}{b} \right )
$$\left ( \frac{a}{b} \right )$$ Parenthesis
\left[ \frac{a}{b} \right]
$$\left[ \frac{a}{b} \right]$$ Bracket
\left \langle \frac{a}{b} \right \rangle
$$\left \langle \frac{a}{b} \right \rangle$$ Angle bracket
\left\{ \frac{a}{b} \right\}
$$\left\{ \frac{a}{b} \right\}$$ Brace
\overbrace{ 1+2+\cdots+100 }
$$\overbrace{ 1+2+\cdots+100 }$$ Over brace
\underbrace{ a+b+\cdots+z }
$$\underbrace{ a+b+\cdots+z }$$ Under brace

Fractions, Matrices, Multilines

LaTeX Symbol Feature
$$\frac{1}{2}=0.5$$ Fractions
\tfrac{1}{2} = 0.5
$$\tfrac{1}{2} = 0.5$$ Small fractions
\dfrac{k}{k-1} = 0.5
$$\dfrac{k}{k-1} = 0.5$$ Large fractions
\dfrac{ \tfrac{1}{2}[1-(\tfrac{1}{2})^n] }{ 1-\tfrac{1}{2} } = s_n
$$\dfrac{ \tfrac{1}{2}[1-(\tfrac{1}{2})^n] }{ 1-\tfrac{1}{2} } = s_n$$ Large / Small (nested) fractions
\cfrac{2}{ c + \cfrac{2}{ d + \cfrac{1}{2} } } = a
                                    \dfrac{2}{ c + \dfrac{2}{ d + \dfrac{1}{2} } } = a
$$\cfrac{2}{ c + \cfrac{2}{ d + \cfrac{1}{2} } } = a \qquad \dfrac{2}{ c + \dfrac{2}{ d + \dfrac{1}{2} } } = a$$ Continued fraction
$$\binom{n}{k}$$ Binomial coefficients
$$\tbinom{n}{k}$$ Small binomial coefficients
$$\dbinom{n}{k}$$ Large binomial coefficients
                                     x & y \\ 
                                     z & v 
$$\begin{matrix} x & y \\ z & v \end{matrix}$$ Matrices
                                     x & y \\ 
                                     z & v 
$$\begin{vmatrix} x & y \\ z & v \end{vmatrix}$$
                                     x & y \\ 
                                     z & v 
$$\begin{Vmatrix} x & y \\ z & v \end{Vmatrix}$$
                                     0 & \cdots & 0 \\ 
                                     \vdots & \ddots & \vdots \\  0 & \cdots & 0 
$$\begin{bmatrix} 0 & \cdots & 0 \\ \vdots & \ddots & \vdots \\ 0 & \cdots & 0 \end{bmatrix}$$
                                     x & y \\ 
                                     z & v 
$$\begin{Bmatrix} x & y \\ z & v \end{Bmatrix}$$
                                     x & y \\ 
                                     z & v  
$$\begin{pmatrix} x & y \\ z & v \end{pmatrix}$$
\bigl( \begin{smallmatrix} 
                                     \end{smallmatrix} \bigr)
$$\bigl( \begin{smallmatrix} a&b\\ c&d \end{smallmatrix} \bigr)$$
                                     a & b & S \\ 
$$\begin{array}{|c|c||c|} a & b & S \\ \hline 0&0&1\\ 0&1&1\\ 1&0&1\\ 1&1&0 \end{array}$$ Arrays
f(n) = 
                                     n/2,  & \mbox{if }n\mbox{ is even} \\
                                     3n+1, & \mbox{if }n\mbox{ is odd} 
$$f(n) = \begin{cases} n/2, & \mbox{if }n\mbox{ is even} \\ 3n+1, & \mbox{if }n\mbox{ is odd} \end{cases}$$ Case distinctions
                                     3x + 5y +  z &= 1 \\ 
                                     7x - 2y + 4z &= 2 \\ 
                                     -6x + 3y + 2z &= 3 
$$\begin{cases} 3x + 5y + z &= 1 \\ 7x - 2y + 4z &= 2 \\ -6x + 3y + 2z &= 3 \end{cases}$$ Simultaneous equations
                                     f(x) & = (a+b)^2 \\ 
                                     & = a^2+2ab+b^2 
$$\begin{align} f(x) & = (a+b)^2 \\ & = a^2+2ab+b^2 \end{align}$$ Multiline equations
                                     f(x) & = (a-b)^2 \\ 
                                     & = a^2-2ab+b^2 
$$\begin{alignat}{2} f(x) & = (a-b)^2 \\ & = a^2-2ab+b^2 \end{alignat}$$
                                     z & = & a \\ 
                                     f(x,y,z) & = & x + y + z 
$$\begin{array}{lcl} z & = & a \\ f(x,y,z) & = & x + y + z \end{array}$$ Multiline equations(left alignment
                                     z & = & a \\ 
                                     f(x,y,z) & = & x + y + z 
$$\begin{array}{lcr} z & = & a \\ f(x,y,z) & = & x + y + z \end{array}$$ Multiline equations(right alignment

Greek Alphabet

LaTeX Symbol LaTeX Symbol





LaTeX Symbol LaTeX Symbol



LaTeX Symbol LaTeX Symbol


Check more LaTeX commands.

Mathematical Equation Sample

1. Some mathematical symbols can be entered directly from the keyboard, such as +-= / () etc..But if a valid formula, you need to enter the corresponding math symbol command.

\forall x \in X, \quad \exists y \leq \epsilon
$$\forall x \in X, \quad \exists y \leq \epsilon$$

2. An operator is a function that is written as a word: e.g. trigonometric functions (sin, cos, tan), logarithms and exponentials (log, exp), limits (lim), as well as trace and determinant (tr, det). LaTeX has many of these defined as commands:

\cos (2\theta) = \cos^2 \theta - \sin^2 \theta
$$\cos (2\theta) = \cos^2 \theta - \sin^2 \theta$$
\lim\limits_{x \to \infty} \exp(-x) = 0
$$\lim\limits_{x \to \infty} \exp(-x) = 0$$

3. Powers and indices are equivalent to superscripts and subscripts in normal text mode. If an expression containing more than one character is raised or lowered, it should be grouped using braces.

k_{n+1} = n^2 + k_n^2 - k_{n-1}
$$k_{n+1} = n^2 + k_n^2 - k_{n-1}$$
f(n) = n^5 + 4n^2 + 2 |_{n=17}
$$f(n) = n^5 + 4n^2 + 2 |_{n=17}$$

4. A fraction is created using the \frac{numerator}{denominator} command. Likewise, the binomial coefficient may be written using the \binom command.

\frac{n!}{k!(n-k)!} = \binom{n}{k}
$$\frac{n!}{k!(n-k)!} = \binom{n}{k}$$

5. Continued fractions should be written using \cfrac command.

                                     x = a_0 + \cfrac{1}{a_1 
                                               + \cfrac{1}{a_2 
                                               + \cfrac{1}{a_3 + \cfrac{1}{a_4} } } }
$$\begin{equation} x = a_0 + \cfrac{1}{a_1 + \cfrac{1}{a_2 + \cfrac{1}{a_3 + \cfrac{1}{a_4} } } } \end{equation}$$

6. The \sqrt command creates an nth root surrounding an expression, you can define the details in bracket [] and brace {}.


7. Very often mathematical features will differ in size, in which case the delimiters surrounding the expression should vary accordingly. This can be done automatically using the \left, \right, and \middle commands. Any of the previous delimiters may be used in combination with these:


8. When writing down arbitrary sized matrices, it is common to use horizontal, vertical and diagonal triplets of dots (known as ellipses) to fill in certain columns and rows. These can be specified using the \cdots, \vdots and \ddots respectively.

A_{m,n} =  
                                      a_{1,1} & a_{1,2} & \cdots & a_{1,n} \\ 
                                      a_{2,1} & a_{2,2} & \cdots & a_{2,n} \\ 
                                      \vdots  & \vdots  & \ddots & \vdots  \\ 
                                      a_{m,1} & a_{m,2} & \cdots & a_{m,n}  
$$A_{m,n} = \begin{pmatrix} a_{1,1} & a_{1,2} & \cdots & a_{1,n} \\ a_{2,1} & a_{2,2} & \cdots & a_{2,n} \\ \vdots & \vdots & \ddots & \vdots \\ a_{m,1} & a_{m,2} & \cdots & a_{m,n} \end{pmatrix}$$
Check more LaTeX Math commands sample.

Chemical Equation Sample

1. You may need to use \ce {} to enclose chemical formulas and equations in curly brackets while writing. Such as a carbon dioxide formula.


2. A single subscript, charge, or oxidation can be written directly after the equation.


3. Add a command of the mathematical equation for fractional subscripts and use \frac to express it.


4. Parentheses, brackets, and braces have their own expressive effect. Please note that you need to add an escape character (\) before the braces to display properly.


5. Superscript & Subscript


6. Chemical Bond


7. In chemical reactions, you can enter forward and reverse arrows. Use the equal sign (=) to indicate no reaction conditions directly and \ xlongequal to reaction conditions.

\ce{2H2 + O2 ->[\Delta] H2O}
$$\ce{2H2 + O2 ->[\Delta] H2O}$$
\ce{ CO2 + C ->T[above][below] 2CO }
$$\ce{ CO2 + C ->T[above][below] 2CO }$$
\ce{2NaHCO3 \xlongequal{heating} Na2CO3 + H2O + CO2\uparrow}
$$\ce{2NaHCO3 \xlongequal{heating} Na2CO3 + H2O + CO2\uparrow}$$

8. Use \uparrow(^) and \downarrow(v) to express precipitation and gas in chemical reactions.

\ce{Ca(OH)2 + CO2 = CaCO3 v + H2O}
$$\ce{Ca(OH)2 + CO2 = CaCO3 v + H2O}$$
\ce{Fe + 2H+ = H2 ^ + Fe^2+}
$$\ce{Fe + 2H+ = H2 ^ + Fe^2+}$$

9. Use \qquad to separate the chemical formula from the energy change, as the thermochemical equation needs to show the energy change and fraction meter.

\ce{N2(g) + 3H2(g) -> 2NH3(g)} \qquad \Delta H_{\mathrm{f}}^\circ = {-92.5}{kJ}
$$\ce{N2(g) + 3H2(g) -> 2NH3(g)} \qquad \Delta H_{\mathrm{f}}^\circ = {-92.5}{kJ}$$

10. Multi-line reaction equations need an alignment environment.

                                     & \ce{CO2 + 3H2 <=> CH3OH + H2O}\\ 
                                     & \ce{CO2 + H2 <=> CO + H2O}\\ 
                                     & \ce{CO + 2H2 <=> CH3OH}\\ 
                                     & \ce{CH3OH <=> CH3OCH3 + H2O} 
$$\begin{align*} & \ce{CO2 + 3H2 <=> CH3OH + H2O}\\ & \ce{CO2 + H2 <=> CO + H2O}\\ & \ce{CO + 2H2 <=> CH3OH}\\ & \ce{CH3OH <=> CH3OCH3 + H2O} \end{align*}$$

  1. Previous: How can I get a special offer/promo for Xmind for Desktop?
  2. Next: How can I subscribe Xmind for Desktop and manage the subscription?
We use cookies to provide, improve, and promote our service. We do not leak or sell the collected data to third parties. By continuing, you consent to our Privacy Policy.