gift icon Map Your Life Balance & Win Premium Free Trial!

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
a2 Superscript
a_2
a2 Subscript
a^{2+2}
a2+2 Grouping
x_2^3
x23 Combining sub & super
{}_1^2\!X_3^4
12X34 Preceding sub & super
\bigcap_1^{n} p
1np Intersections
\bigcup_1^{k} p
1kp Unions
x'
x Derivatives
\dot{x}
x˙ Derivative dots
\ddot{y}
y¨
\vec{c}
c Vectors
\overleftarrow{a b}
ab
\overrightarrow{c d}
cd
\widehat{e f g}
efg^
\overset{\frown} {AB}
AB Arc
\overline{h i j}
hij¯ Overline
\underline{k l m}
klm_ Underline
\overbrace{1+2+\cdots+100}
1+2++100 Overbrace
\underbrace{a+b+\cdots+z}
a+b++z Underbrace
\sum_{k=1}^N k^2
k=1Nk2 Sum
\prod_{i=1}^N x_i
i=1Nxi Product
\coprod_{i=1}^N x_i
i=1Nxi Coproduct
\lim_{n \to \infty}x_n
limnxn Limit
\int_{-N}^{N} e^x\, dx
NNexdx Integral
\iint_{D}^{W} \, dx\,dy
DWdxdy Double integral
\iiint_{E}^{V} \, dx\,dy\,dz
EVdxdydz Triple integral
\oint_{C} x^3\, dx + 4y^2\, dy
Cx3dx+4y2dy Quadruple integral

Root

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

Operators

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

Geometric

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

Functions

LaTeX Symbol LaTeX Symbol
\sin\theta
sinθ
\min L
minL
\cos\theta
cosθ
\inf s
infs
\tan\theta
tanθ
\sup t
supt
\cot
cot
\exp\!t
expt
\sec
sec
\ln X
lnX
\csc
csc
\lg X
lgX
\arcsin\frac{L}{r}
arcsinLr
\log X
logX
\arccos\frac{T}{r}
arccosTr
f \ker g
fkerg
\arctan\frac{L}{T}
arctanLT
\log_{10}
log10
\sinh g
sinhg
\log_\alpha X
logαX
\cosh h
coshh
\deg x
degx
\tanh i
tanhi
\arg x
argx
\operatorname{sh}j
shj
\dim x
dimx
\max H
maxH
\lim_{t\to n}T
limtnT

Sets

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

Logic and Arrows

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

Brackets

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

Fractions, Matrices, Multilines

LaTeX Symbol Feature
\frac{1}{2}=0.5
12=0.5 Fractions
\tfrac{1}{2} = 0.5
12=0.5 Small fractions
\dfrac{k}{k-1} = 0.5
kk1=0.5 Large fractions
\dfrac{ \tfrac{1}{2}[1-(\tfrac{1}{2})^n] }{ 1-\tfrac{1}{2} } = s_n
12[1(12)n]112=sn 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
2c+2d+12=a2c+2d+12=a Continued fraction
\binom{n}{k}
(nk) Binomial coefficients
\tbinom{n}{k}
(nk) Small binomial coefficients
\dbinom{n}{k}
(nk) Large binomial coefficients
\begin{matrix} 
                                     x & y \\ 
                                     z & v 
                                     \end{matrix}
xyzv Matrices
\begin{vmatrix} 
                                     x & y \\ 
                                     z & v 
                                     \end{vmatrix}
|xyzv|
\begin{Vmatrix} 
                                     x & y \\ 
                                     z & v 
                                     \end{Vmatrix}
xyzv
\begin{bmatrix} 
                                     0 & \cdots & 0 \\ 
                                     \vdots & \ddots & \vdots \\  0 & \cdots & 0 
                                     \end{bmatrix}
[0000]
\begin{Bmatrix} 
                                     x & y \\ 
                                     z & v 
                                     \end{Bmatrix}
{xyzv}
\begin{pmatrix} 
                                     x & y \\ 
                                     z & v  
                                     \end{pmatrix}
(xyzv)
\bigl( \begin{smallmatrix} 
                                     a&b\\ 
                                     c&d 
                                     \end{smallmatrix} \bigr)
(abcd)
\begin{array}{|c|c||c|} 
                                     a & b & S \\ 
                                     \hline 
                                     0&0&1\\ 
                                     0&1&1\\ 
                                     1&0&1\\ 
                                     1&1&0 
                                     \end{array}
abS001011101110 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)={n/2,if n is even3n+1,if n is odd Case distinctions
\begin{cases} 
                                     3x + 5y +  z &= 1 \\ 
                                     7x - 2y + 4z &= 2 \\ 
                                     -6x + 3y + 2z &= 3 
                                     \end{cases}
{3x+5y+z=17x2y+4z=26x+3y+2z=3 Simultaneous equations
\begin{align} 
                                     f(x) & = (a+b)^2 \\ 
                                     & = a^2+2ab+b^2 
                                     \end{align}
f(x)=(a+b)2=a2+2ab+b2 Multiline equations
\begin{alignat}{2} 
                                     f(x) & = (a-b)^2 \\ 
                                     & = a^2-2ab+b^2 
                                     \end{alignat}
f(x)=(ab)2=a22ab+b2
\begin{array}{lcl} 
                                     z & = & a \\ 
                                     f(x,y,z) & = & x + y + z 
                                     \end{array}
z=af(x,y,z)=x+y+z Multiline equations(left alignment
\begin{array}{lcr} 
                                     z & = & a \\ 
                                     f(x,y,z) & = & x + y + z 
                                     \end{array}
z=af(x,y,z)=x+y+z Multiline equations(right alignment

Greek Alphabet

LaTeX Symbol LaTeX Symbol
\Gamma
Γ
\Delta
Δ
\Theta
Θ
\Lambda
Λ
\Xi
Ξ
\Pi
Π
\Sigma
Σ
\Upsilon
Υ
\Phi
Φ
\Psi
Ψ
\Omega
Ω

                                                                
\alpha
α
\beta
β
\gamma
γ
\delta
δ
\epsilon
ϵ
\zeta
ζ
\eta
η
\theta
θ
\iota
ι
\kappa
κ
\lambda
λ
\mu
μ
\nu
ν
\xi
ξ
\omicron
ο
\pi
π
\rho
ρ
\sigma
σ
\tau
τ

                                                                
\upsilon
υ
\phi
ϕ
\chi
χ
\psi
ψ
\omega
ω

                                                                
\varepsilon
ε
\digamma
ϝ
\vartheta
ϑ
\varkappa
ϰ
\varpi
ϖ
\varrho
ϱ
\varsigma
ς
\varphi
φ

Accents

LaTeX Symbol LaTeX Symbol
\acute{a}
a´
\grave{a}
a`
\hat{a}
a^
\tilde{a}
a~
\breve{a}
a˘

                                                                
\check{a}
aˇ
\bar{a}
a¯
\ddot{a}
a¨
\dot{a}
a˙

Special

LaTeX Symbol LaTeX Symbol
\And
&
\eth
ð
\S
§

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

                                                                
\diamondsuit
\heartsuit
\clubsuit
\spadesuit
\Game
\flat
\natural
\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
xX,yϵ

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θ)=cos2θsin2θ
\lim\limits_{x \to \infty} \exp(-x) = 0
limxexp(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}
kn+1=n2+kn2kn1
f(n) = n^5 + 4n^2 + 2 |_{n=17}
f(n)=n5+4n2+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}
n!k!(nk)!=(nk)

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}
x=a0+1a1+1a2+1a3+1a4

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}
1+x+x2+x3++xnn

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(A=2|A2B>4)
\left.\frac{x^3}{3}\right|_0^1
x33|01

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}
Am,n=(a1,1a1,2a1,na2,1a2,2a2,nam,1am,2am,n)
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}
COX2

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

\ce{H+}
HX+
\ce{NH4+}
NHX4X+

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

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

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}
(NHX4)X2S
\ce{[AgCl2]-}
[AgClX2]X
\ce{[\{(X2)3\}2]^3+}
[{(XX2)X3}X2]X3+

5. Superscript & Subscript

\ce{^{227}_{90}Th+}
X90227X2902227ThX+
\ce{H2+}
HX2X+

6. Chemical Bond

\ce{CH3-CHO}
CHX3CHO
\ce{CH2=CH2}
CHX2=CHX2
\ce{CH#CH}
CHCH
A→B←C
ABC

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}
2HX2+OX2ΔHX2O
\ce{ CO2 + C ->T[above][below] 2CO }
COX2+Cbelowabove2CO
\ce{2NaHCO3 \xlongequal{heating} Na2CO3 + H2O + CO2\uparrow}
2NaHCOX3 =heating NaX2COX3+HX2O+COX2

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

\ce{Ca(OH)2 + CO2 = CaCO3 v + H2O}
Ca(OH)X2+COX2=CaCOX3+HX2O
\ce{Fe + 2H+ = H2 ^ + Fe^2+}
Fe+2HX+=HX2+FeX2+

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}
NX2(g)+3HX2(g)2NHX3(g)ΔHf=92.5kJ

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*}
COX2+3HX2CHX3OH+HX2OCOX2+HX2CO+HX2OCO+2HX2CHX3OHCHX3OHCHX3OCHX3+HX2O

  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.