Logo

Math Mindflow

数学思绪
Published on

Complete Reference on Ms Word Equation Editor Shortcut

本文字数:约2.6k·访问:加载中...
Authors
  • avatar
    Name
    Jing
    Twitter

原文地址 www.pickupbrain.com

Equation is an integral part of many technical manuscripts, including thesis and research papers. However, typing it in Ms Word is cumbersome and tiring task. To ease it, Microsoft Word has LaTeX type equation editor shortcut feature for typing equation. These equation editor shortcut as termed as Math AutoCorrect and are available in versions of Microsoft Word 2007 and above.

Equation editor shortcut has a potential to save a lot of time and effort. For e.g., to get Greek letter α\alpha, you can type \alpha instead of going to Symbols in Insert Tab and searching for α\alpha.

Enabling Math Autocorrect

Most version of Microsoft Word, Math AutoCorrect is enabled by default. To ensure you can visit, File Menu → Options → Proofing → Autocorrect Options → Math AutoCorrect and ensure box against “Replace text as you type” is checked. These shortcut work only inside Equation Editor. However, if you want to use it outside Equation Editor, then check “Use Math Autocorrect Rules outside of math regions

How to enable math autocorrect outside math region in Microsoft Word

Equation Editor Shortcut

Shortcut to get equation editor in Ms Word and Power Point is “Alt + =” (i.e. hold down Alt key while typing ‘=’). Although you can also click on “Equations” under the “Insert” Tab to get it.

Spaces is an important part of Math AutoCorrect shortcut. It tells Ms Word and Power Point when it is time to translate a part of equation into Mathematical Symbols/Operators. For clarity whenever necessary, space are shown as <sp> in Math AutoCorrect formula.

Subscript & Superscript

Equation editor shortcut for subscript and superscript is _ and ^. Anything after _ or ^ will get converted into subscript or superscript respectively, after hitting space. To include space in subscript or superscript, group them in () or parenthesis. These grouping parenthesis don’t appear after Math AutoCorrect. Grouping is also important as it distinguish between ai2a_i^2 and ai2a_i2. While adding pre-subscript or pre-superscript, use \zwsp along with _ and ^ sign as shown below.

UseForUseFor
A_circle<sp>AcircleA_{circle}r^2<sp>r2r^2
A_(big circle)<sp>Abig circleA_{big\ circle}H^(2 square)<sp>H2 squareH^2\ \text{square}
r^2_outer<sp>router2r^2_{outer}r^2_(outer circle)router circle2r^2_{outer\ circle}
\zwsp<sp>_c<sp>cRcR\zwsp<sp>^c<sp>RcR^cR
\zwsp<sp>_c^d<sp>RcdR_c^dR\zwsp<sp>_c^d<sp>_e^f<sp>cdRef_c^dR_e^f

Letters

Blackboard Bold letters or Double letters:

Use \doubleXX, where XX is the required uppercase letter for e.g. use \doubleA for A\mathbb{A} and \doubleR for R\mathbb{R}.

Fraktur letters

Fraktur is a calligraphic hand of the Latin alphabet. We can easily write it in Ms Word using \frakturXX where XX is an uppercase letter. For e.g. use Ms Word shortcut “\frakturB” for “B\mathfrak{B} and “\frakturG” for “G\mathfrak{G}“.

Greek letter

Greek letter has 24 different alphabets. There are four distinct ways of typing Greek alphabets in Microsoft Word. Of these, Math AutoCorrect method is the easiest to remember and the fastest of all four. This method of typing Greek letters is as easy as typing its spelling after \ (backslash). To get lower case Greek Alphabet, type name of Greek letter after \ in lower case (for e.g. \alpha for α\alpha) and for upper case Greek Alphabet type name of Greek letter after \ in Title Case (e.g. \Gamma for Γ\Gamma). You can also use Alt codes for typing Greek letters.

Name of Greek letterUppercaseShortcutLowercaseShortcut
AlphaA\Alphaα\alpha
BetaB\Betaβ\beta
GammaΓ\Gammaγ\gamma
DeltaΔ\Deltaδ\delta
EpsilonE\Epsilonε\epsilon
ZetaZ\Zetaζ\zeta
EtaH\Etaη\eta
ThetaΘ\Thetaθ\theta
IotaI\Iotaι\iota
KappaK\Kappaκ\kappa
LambdaΛ\Lambdaλ\lambda
MuM\Muμ\mu
NuN\Nuν\nu
XiΞ\Xiξ\xi
PiΠ\Piπ\pi
RhoP\Rhoρ\rho
SigmaΣ\Sigmaσ\sigma
TauT\Tauτ\tau
UpsilonΥ\Upsilonυ\upsilon
PhiΦ\Phiφ\phi
ChiΧ\Chiχ\chi
PsiΨ\Psiψ\psi
OmegaΩ\Omegaω\omega

Scientific and Mathematical Symbol Symbols

Equation editor shortcut for scientific and mathematical symbols like infinity, different arrows, operators (like partial, del and nabla), conditional symbols, dot, cross, mapsto, perpendicular, set symbols, for all, equivalent, congruent, angle, proportional etc are given in the following table.

Correct way to insert multiplication and division symbols in Ms Word Microsoft word shortcut for inserting division sign using Math Autocorrect
Symbol NameSymbolMS Word ShortcutSymbol NameSymbolMS Word Shortcut
Infinity\inftyHbarħ\hbar
Right Arrow\rightarrow, ->Left Arrow\leftarrow
Up Arrow\uparrowDown Arrow\downarrow
North-east Arrow\nearrowNorth-west Arrow\nwarrow
South-east Arrow\searrowSouth-west Arrow\swarrow
Left Right Arrow\leftrightarrowUp Down Arrow\updownarrow
Rightwards Double Arrow\RightarrowLeftwards Double Arrow\Leftarrow
Upwards Double Arrow\UparrowDownwards Double Arrow\Downarrow
Partial\partialNabla\nabla
Less Than or Equal To\leGreater Than or Equal To\ge
Double Less Than\llDouble Greater Than\gg
Timesa × ba \times bTensor Product / O Times\otimes
Dota · ba \cdot bO Dot\odot
O Plusx ⊕ y\oplusO Minusx ⊖ y\ominus
Maps Toa ↦ b\mapstoRight Arrow with Hook\hookrightarrow
Dotsa … b\dotsCenter dotsa ··· b\cdots
Perpendiculara ⟂ b\botTopa ⊤ b\top
IntersectionA ∩ B\bigcapUnionA ∪ B\bigcup
Big Square CupA ⨆ B\bigsqcupBig U with PlusA ⨄ B\biguplus
Stara ★ b\starFor All\forall
In\inExists\exists
Big Wedge\bigwedgeBig Vee\bigvee
Equivalent\equivCongruent\cong
Not Equal To\neApproximately Equal\approx
Similar\simSimilar To\simeq
Natural Join (Bowtie)\bowtieBox\box
Subset\subsetEmpty Set\emptyset
Therefore\thereforeBecause\because
Plus or Minus±\pm, +-Minus or Plus\mp
Angle\angleProportional To\propto
Degree C22 °C\degc

Accent

For various reasons you need to have an accent like bar, grave, tilde, dot (for denoting derivative) above symbol. We can easily achieve these using following word shortcut.

AccentFor (LaTeX, blog-safe)MS Word equation shortcut
Barxˉ\bar{x}x \bar<sp>
Double barxˉˉ\bar{\bar{x}}x \Bar<sp>
Under barx\underline{x}x \ubar<sp>
Double under barx\underline{\underline{x}}x \uBar<sp>
Acutexˊ\acute{x}x \acute<sp>
Gravexˋ\grave{x}x \grave<sp>
Vectorx\vec{x}x \vec<sp>
Hatx^\hat{x}x \hat<sp>
Left–right arrowx\overleftrightarrow{x}x \tvec<sp>
Left harpoonx\overleftharpoon{x}x \lhvec<sp>
Right harpoonx\overrightharpoon{x}x \rhvec<sp>
Dotx˙\dot{x}x \dot<sp>
Double dotx¨\ddot{x}x \ddot<sp>
Triple dotx...\dddot{x}x \dddot<sp>
Four dotx....\ddddot{x}x \ddddot<sp>
Brevex˘\breve{x}x \breve<sp>
Checkxˇ\check{x}x \check<sp>
Tildex~\tilde{x}x \tilde<sp>
Left vector (or left arrow)x\overleftarrow{x}x \lvec<sp>

Ms Word shortcut for Accents

Grouping and brackets

Equation editor causes brackets (such as [], and ()) to grow to fit the size of expression within them. However, parenthesis used for grouping are not displayed in the final formatted expression. However, when parenthesis is required to be displayed, it must be doubled (one for grouping which will vanish in final formatted expression and other for displaying). Escape sequence ( \ ) followed by desired bracket is used to prevent bracket from being reformatted.

To DisplayUseComment
xy\dfrac{x}{y}x/y/ is used for fraction
[xy]\left[\dfrac{x}{y}\right][x/y][] bracket automatically expands to adjust fraction
xy\dfrac{x}{y}{x/y}
(xy)\left(\dfrac{x}{y}\right)(x/y)Parentheses displayed as they are not used for grouping
ap+q\dfrac{a}{p+q}a/(p+q)Parentheses used for grouping (denominator here) are not displayed
a(p+q)\dfrac{a}{(p+q)}a/((p+q))Parentheses used for grouping (denominator here) are not displayed
[bay[_b^a y [ a \atop b \close y ]
pqrc+d\left\|\dfrac{p\mid q\mid r}{c+d}\right\||(p|q|r)/(c+d)|Again parentheses used for grouping are not displayed
abxa+b\left\|a\mid b\mid \dfrac{x}{a+b}\right\||a|b|x/(a+b)|Grouping parentheses not displayed
a\lVert a \rVert\norm a \norm

Brackets and grouping equation

Square root, Cube root, and more

Equation editor shortcut for square root, cube root and higher roots are \sqrt(), \cbrt() and \sqrt(n&x) respectively.

SymbolEquation Editor Shortcut
x\sqrt{x}\sqrt(x)<sp>
x+13\sqrt[3]{x+1}\cbrt(x+1)<sp>
x+1n\sqrt[n]{x+1}\sqrt(n&x)<sp>

Equation Editor Shortcut for square root, cube root & nth root

For more shortcut and example on root sign, visit our blog on Shortcut for Square root, and higher order roots

Matrices

Empty Matrix

The basic equation editor shortcut for creating an empty matrix of custom size is \matrix(@@&&&)<sp>. Matrix size decided by number of @ (for rows) and & (for columns) respectively. Number of @ and & symbol is one less than number of rows and columns, respectively.

Animation of fastest way to insert matrix in Ms Word using equation editor shortcut. Speed comparison of Two methods to insert 4×4 or larger matrix in Microsoft Word

Matrix with elements

You can also create matrix filled with elements using above shortcut. Using this method, we enter elements of the matrix row wise, starting with the top row. Use & to move to the next column and @ for the next row.

Sr. No.Equation Editor ShortcutOutput Matrix
1\matrix(@@&)\begin{matrix} \square & \square \\ \square & \square \\ \square & \square \end{matrix}
2\pmatrix(@@&) or (\matrix(@@&))()\begin{pmatrix} \square & \square \\ \square & \square \\ \square & \square \end{pmatrix}
3\Vmatrix(@@&)\begin{Vmatrix} \square & \square \\ \square & \square \\ \square & \square \end{Vmatrix}
4[ \matrix(1&2&3@4&5&6@7&8&9) ][123456789]\begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix}
5\pmatrix(1&2@3&4@5&6)(123456)\begin{pmatrix} 1 & 2 \\ 3 & 4 \\ 5 & 6 \end{pmatrix}

For more details and example, visit our blog on different methods and equation editor shortcut for typing matrix in Ms Word.

Piece wise function

There are two ways to insert piece wise function in using Equation Editor shortcut in Ms Word. First one uses \cases() method while the second one uses \matrix(). In both the cases, desired piecewise functions are entered inside the parenthesis.

Like matrix, @ is used as a row separator. To get only the opening curly braces { which automatically extends the height of piecewise function, use \close in place of closing }.

Sr. No.Equation Editor ShortcutOutputNote
1f(x) = { \cases(x, x>=0@-x, x<0) \closef(x)={x,x0x,x<0f(x)=\begin{cases} x, & x\ge 0 \\ -x, & x<0 \end{cases}@ is used as row separator and \close is required to ensure opening { expands vertically to cover all cases
2f(x) = { \matrix(x & x>=0@-x & x<0) \closef(x)={x,x0x,x<0f(x)=\begin{cases} x, & x\ge 0 \\ -x, & x<0 \end{cases}Similar to above, & is used as column separator
3f(x) = { \matrix(x & x>=0@-x & x<0)f(x)={x,x0x,x<0f(x)=\begin{cases} x, & x\ge 0 \\ -x, & x<0 \end{cases}Without \close, opening { doesn’t expand

Integral, Sum and Product

Shortcut for integral sign, sum and product signs are \int, \sum and \prod. You can use _ and ^ for inserting text below and above signs, respectively.

Equation Editor ShortcutOutputNote
\int<sp>f(x)dxf(x)dx\int f(x)\,dx
\int_(x=0)^1<sp>f(x)dxx=01f(x)dx\int_{x=0}^{1} f(x)\,dx_ for lower limit and ^ for upper limit
\iint<sp>f(x)dxf(x)dx\iint f(x)\,dx\iint for double integral
\iint\below(S)<sp>dsSds\iint_{S} dsuse \below to put text below symbol
\iiint\above(V)<sp><sp>dVVdV\iiint^{V} dVuse \above to put text above symbol
\oint<sp>f(x)dxf(x)dx\oint f(x)\,dx\oint for cyclic integral; similarly use \oiint for cyclic double integral
\sum_(i=1)^n<sp>A_i<sp>i=1nAi\sum_{i=1}^{n} A_i\sum for summation; _ & ^ place text below/above. Parentheses group text with spaces
\prod_(n=0)^N<sp>x^n<sp>n=0Nxn\prod_{n=0}^{N} x^nSimilar to sum

Ms Word shortcut for typing Integration, Sum and Product

Conclusion

Math Autocorrect shortcut provides useful shortcuts for typing most of the mathematical expression. They are often the fastest and efficient way of typing equation in Ms Word.

本文作者: Jing
版权声明: 本博客所有文章除特别声明外,均采用 BY-NC-SA 4.0 许可协议。转载请注明出处!