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
$$a^2$$ Superscript
a_2
$$a_2$$ Subscript
a^{2+2}
$$a^{2+2}$$ Grouping
x_2^3
$$x_2^3$$ Combining sub & super
{}_1^2\!X_3^4
$${}_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'
$$x'$$ Derivatives
\dot{x}
$$\dot{x}$$ Derivative dots
\ddot{y}
$$\ddot{y}$$
\vec{c}
$$\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{1+2+\cdots+100}$$ Overbrace
\underbrace{a+b+\cdots+z}
$$\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

Root

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

Operators

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

Geometric

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

Functions

LaTeX Symbol LaTeX Symbol
\sin\theta
$$\sin\theta$$
\min L
$$\min L$$
\cos\theta
$$\cos\theta$$
\inf s
$$\inf s$$
\tan\theta
$$\tan\theta$$
\sup t
$$\sup t$$
\cot
$$\cot$$
\exp\!t
$$\exp\!t$$
\sec
$$\sec$$
\ln X
$$\ln X$$
\csc
$$\csc$$
\lg X
$$\lg X$$
\arcsin\frac{L}{r}
$$\arcsin\frac{L}{r}$$
\log X
$$\log X$$
\arccos\frac{T}{r}
$$\arccos\frac{T}{r}$$
f \ker g
$$f \ker g$$
\arctan\frac{L}{T}
$$\arctan\frac{L}{T}$$
\log_{10}
$$\log_{10}$$
\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$$
\operatorname{sh}j
$$\operatorname{sh}j$$
\dim x
$$\dim x$$
\max H
$$\max H$$
\lim_{t\to n}T
$$\lim_{t\to n}T$$

Sets

LaTeX Symbol LaTeX Symbol
\forall
$$\forall$$
\exists
$$\exists$$
\in
$$\in$$
\ni
$$\ni$$
\subset
$$\subset$$
\subseteq
$$\subseteq$$
\supset
$$\supset$$
\supseteq
$$\supseteq$$
\sqsupset
$$\sqsupset$$
\sqsupseteq
$$\sqsupseteq$$
\cup
$$\cup$$
\bigcup
$$\bigcup$$
\sqcup
$$\sqcup$$
\bigsqcup
$$\bigsqcup$$
\cap
$$\cap$$
\bigcap
$$\bigcap$$
\sqsubset
$$\sqsubset$$
\sqsubseteq
$$\sqsubseteq$$
\varnothing
$$\varnothing$$
\biguplus
$$\biguplus$$
\emptyset
$$\emptyset$$
\sqcap
$$\sqcap$$
\notin
$$\notin$$
\setminus
$$\setminus$$

Logic and Arrows

LaTeX Symbol LaTeX Symbol
\And
$$\And$$
\land
$$\land$$
\bar{q}
$$\bar{q}$$
\lor
$$\lor$$
\lnot
$$\lnot$$
\neg q
$$\neg q$$
\wedge
$$\wedge$$
\bigwedge
$$\bigwedge$$
\vee
$$\vee$$
\bigvee
$$\bigvee$$
\setminus
$$\setminus$$
\smallsetminus
$$\smallsetminus$$
\leftarrow
$$\leftarrow$$
\gets
$$\gets$$
\to
$$\to$$
\rightarrow
$$\rightarrow$$
\leftrightarrow
$$\leftrightarrow$$
\longleftarrow
$$\longleftarrow$$
\longrightarrow
$$\longrightarrow$$
\mapsto
$$\mapsto$$
\longmapsto
$$\longmapsto$$
\hookrightarrow
$$\hookrightarrow$$
\hookleftarrow
$$\hookleftarrow$$
\nearrow
$$\nearrow$$
\searrow
$$\searrow$$
\swarrow
$$\swarrow$$
\nwarrow
$$\nwarrow$$
\uparrow
$$\uparrow$$
\downarrow
$$\downarrow$$
\updownarrow
$$\updownarrow$$
\Leftarrow
$$\Leftarrow$$
\Rightarrow
$$\Rightarrow$$
\Leftrightarrow
$$\Leftrightarrow$$
\Longleftarrow
$$\Longleftarrow$$
\Longrightarrow
$$\Longrightarrow$$
\Longleftrightarrow
$$\Longleftrightarrow$$

Brackets

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
$$\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
                            \qquad
                            \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}
$$\binom{n}{k}$$ Binomial coefficients
\tbinom{n}{k}
$$\tbinom{n}{k}$$ Small binomial coefficients
\dbinom{n}{k}
$$\dbinom{n}{k}$$ Large binomial coefficients
\begin{matrix} 
                             x & y \\ 
                             z & v 
                             \end{matrix}
$$\begin{matrix} x & y \\ z & v \end{matrix}$$ Matrices
\begin{vmatrix} 
                             x & y \\ 
                             z & v 
                             \end{vmatrix}
$$\begin{vmatrix} x & y \\ z & v \end{vmatrix}$$
\begin{Vmatrix} 
                             x & y \\ 
                             z & v 
                             \end{Vmatrix}
$$\begin{Vmatrix} x & y \\ z & v \end{Vmatrix}$$
\begin{bmatrix} 
                             0 & \cdots & 0 \\ 
                             \vdots & \ddots & \vdots \\  0 & \cdots & 0 
                             \end{bmatrix}
$$\begin{bmatrix} 0 & \cdots & 0 \\ \vdots & \ddots & \vdots \\ 0 & \cdots & 0 \end{bmatrix}$$
\begin{Bmatrix} 
                             x & y \\ 
                             z & v 
                             \end{Bmatrix}
$$\begin{Bmatrix} x & y \\ z & v \end{Bmatrix}$$
\begin{pmatrix} 
                             x & y \\ 
                             z & v  
                             \end{pmatrix}
$$\begin{pmatrix} x & y \\ z & v \end{pmatrix}$$
\bigl( \begin{smallmatrix} 
                             a&b\\ 
                             c&d 
                             \end{smallmatrix} \bigr)
$$\bigl( \begin{smallmatrix} a&b\\ c&d \end{smallmatrix} \bigr)$$
\begin{array}{|c|c||c|} 
                             a & b & S \\ 
                             \hline 
                             0&0&1\\ 
                             0&1&1\\ 
                             1&0&1\\ 
                             1&1&0 
                             \end{array}
$$\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) = 
                             \begin{cases} 
                             n/2,  & \mbox{if }n\mbox{ is even} \\
                             3n+1, & \mbox{if }n\mbox{ is odd} 
                             \end{cases}
$$f(n) = \begin{cases} n/2, & \mbox{if }n\mbox{ is even} \\ 3n+1, & \mbox{if }n\mbox{ is odd} \end{cases}$$ Case distinctions
\begin{cases} 
                             3x + 5y +  z &= 1 \\ 
                             7x - 2y + 4z &= 2 \\ 
                             -6x + 3y + 2z &= 3 
                             \end{cases}
$$\begin{cases} 3x + 5y + z &= 1 \\ 7x - 2y + 4z &= 2 \\ -6x + 3y + 2z &= 3 \end{cases}$$ Simultaneous equations
\begin{align} 
                             f(x) & = (a+b)^2 \\ 
                             & = a^2+2ab+b^2 
                             \end{align}
$$\begin{align} f(x) & = (a+b)^2 \\ & = a^2+2ab+b^2 \end{align}$$ Multiline equations
\begin{alignat}{2} 
                             f(x) & = (a-b)^2 \\ 
                             & = a^2-2ab+b^2 
                             \end{alignat}
$$\begin{alignat}{2} f(x) & = (a-b)^2 \\ & = a^2-2ab+b^2 \end{alignat}$$
\begin{array}{lcl} 
                             z & = & a \\ 
                             f(x,y,z) & = & x + y + z 
                             \end{array}
$$\begin{array}{lcl} z & = & a \\ f(x,y,z) & = & x + y + z \end{array}$$ Multiline equations(left alignment
\begin{array}{lcr} 
                             z & = & a \\ 
                             f(x,y,z) & = & x + y + z 
                             \end{array}
$$\begin{array}{lcr} z & = & a \\ f(x,y,z) & = & x + y + z \end{array}$$ Multiline equations(right alignment

Greek Alphabet

LaTeX Symbol LaTeX Symbol
\Gamma
$$\Gamma$$
\Delta
$$\Delta$$
\Theta
$$\Theta$$
\Lambda
$$\Lambda$$
\Xi
$$\Xi$$
\Pi
$$\Pi$$
\Sigma
$$\Sigma$$
\Upsilon
$$\Upsilon$$
\Phi
$$\Phi$$
\Psi
$$\Psi$$
\Omega
$$\Omega$$

                                                        
$$$$
\alpha
$$\alpha$$
\beta
$$\beta$$
\gamma
$$\gamma$$
\delta
$$\delta$$
\epsilon
$$\epsilon$$
\zeta
$$\zeta$$
\eta
$$\eta$$
\theta
$$\theta$$
\iota
$$\iota$$
\kappa
$$\kappa$$
\lambda
$$\lambda$$
\mu
$$\mu$$
\nu
$$\nu$$
\xi
$$\xi$$
\omicron
$$\omicron$$
\pi
$$\pi$$
\rho
$$\rho$$
\sigma
$$\sigma$$
\tau
$$\tau$$

                                                        
$$$$
\upsilon
$$\upsilon$$
\phi
$$\phi$$
\chi
$$\chi$$
\psi
$$\psi$$
\omega
$$\omega$$

                                                        
$$$$
\varepsilon
$$\varepsilon$$
\digamma
$$\digamma$$
\vartheta
$$\vartheta$$
\varkappa
$$\varkappa$$
\varpi
$$\varpi$$
\varrho
$$\varrho$$
\varsigma
$$\varsigma$$
\varphi
$$\varphi$$

Accents

LaTeX Symbol LaTeX Symbol
\acute{a}
$$\acute{a}$$
\grave{a}
$$\grave{a}$$
\hat{a}
$$\hat{a}$$
\tilde{a}
$$\tilde{a}$$
\breve{a}
$$\breve{a}$$

                                                        
$$$$
\check{a}
$$\check{a}$$
\bar{a}
$$\bar{a}$$
\ddot{a}
$$\ddot{a}$$
\dot{a}
$$\dot{a}$$

Special

LaTeX Symbol LaTeX Symbol
\And
$$\And$$
\eth
$$\eth$$
\S
$$\S$$

                                                        
$$$$
\%
$$\%$$
\dagger
$$\dagger$$
\ddagger
$$\ddagger$$
\ldots
$$\ldots$$
\cdots
$$\cdots$$
\colon
$$\colon$$
\smile
$$\smile$$
\frown
$$\frown$$
\wr
$$\wr$$
\triangleleft
$$\triangleleft$$
\triangleright
$$\triangleright$$
\infty
$$\infty$$
\bot
$$\bot$$
\top
$$\top$$
\vdash
$$\vdash$$
\vDash
$$\vDash$$
\Vdash
$$\Vdash$$
\models
$$\models$$
\lVert
$$\lVert$$
\rVert
$$\rVert$$
\imath
$$\imath$$
\hbar
$$\hbar$$
\ell
$$\ell$$
\mho
$$\mho$$
\Finv
$$\Finv$$
\Re
$$\Re$$
\Im
$$\Im$$
\wp
$$\wp$$
\complement
$$\complement$$

                                                        
$$$$
\diamondsuit
$$\diamondsuit$$
\heartsuit
$$\heartsuit$$
\clubsuit
$$\clubsuit$$
\spadesuit
$$\spadesuit$$
\Game
$$\Game$$
\flat
$$\flat$$
\natural
$$\natural$$
\sharp
$$\sharp$$
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.

\begin{equation} 
                             x = a_0 + \cfrac{1}{a_1 
                                       + \cfrac{1}{a_2 
                                       + \cfrac{1}{a_3 + \cfrac{1}{a_4} } } }
                             \end{equation}
$$\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 {}.

\sqrt[n]{1+x+x^2+x^3+\dots+x^n}
$$\sqrt[n]{1+x+x^2+x^3+\dots+x^n}$$

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:

P\left(A=2\middle|\frac{A^2}{B}>4\right)
$$P\left(A=2\middle|\frac{A^2}{B}>4\right)$$
\left.\frac{x^3}{3}\right|_0^1
$$\left.\frac{x^3}{3}\right|_0^1$$

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} =  
                             \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}
$$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.

\ce{CO2}
$$\ce{CO2}$$

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

\ce{H+}
$$\ce{H+}$$
\ce{NH4+}
$$\ce{NH4+}$$

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

\ce{Fe(CN)_{$\frac{6}{2}$}}
$$\ce{Fe(CN)_{$\frac{6}{2}$}}$$

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.

\ce{(NH4)2S}
$$\ce{(NH4)2S}$$
\ce{[AgCl2]-}
$$\ce{[AgCl2]-}$$
\ce{[\{(X2)3\}2]^3+}
$$\ce{[\{(X2)3\}2]^3+}$$

5. Superscript & Subscript

\ce{^{227}_{90}Th+}
$$\ce{^{227}_{90}Th+}$$
\ce{H2+}
$$\ce{H2+}$$

6. Chemical Bond

\ce{CH3-CHO}
$$\ce{CH3-CHO}$$
\ce{CH2=CH2}
$$\ce{CH2=CH2}$$
\ce{CH#CH}
$$\ce{CH#CH}$$
A→B←C
$$A→B←C$$

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.

\begin{align*} 
                             & \ce{CO2 + 3H2 <=> CH3OH + H2O}\\ 
                             & \ce{CO2 + H2 <=> CO + H2O}\\ 
                             & \ce{CO + 2H2 <=> CH3OH}\\ 
                             & \ce{CH3OH <=> CH3OCH3 + H2O} 
                             \end{align*}
$$\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 2020?
  2. Next: What are the differences between Trial and Full Version of XMind 2020?
We use cookies to provide, improve, and promote our service. We do not leak or sell the collected data to third parties. Click Got It or continue, you consent to our Privacy Policy.
Got it Got it