Quick Reference Math in Microsoft Office
Quick Reference Math in Microsoft Office
Examples
f́ , f , fg, fg
´ f\ubar, \underbar f, \underbar(fg), (fg)\ubar
L+1, L−1, L +1, L – 1 L+1, L-1, L"+"1, L"2013 Alt x"1 (en-dash)
a a a
, a / b, a ∕ b, , a ÷ b, a/b, a\/b, a\ldiv b, a\sdiv b, a\div b, ribbon UI fraction
b b b
arg max f ϕ ,T "arg max" \below(\phi,T) \funcapply f_(\phi,T)
ϕ ,T
a
f= {b if y
f={\eqarray(a@ b" if "y)\close or f=\cases(a@ b" if "y)
Quick Reference for Math in Microsoft Office
a
f= {b ifa y
f={\matrix( a@ b" if "y)\close "Column Alignment" → Left on
b if y
f = a+b if a<5
{ f={\matrix(a+b&" if "a<5@c&"otherwise.")\close
c otherwise.
\smash(f^g^h) (reduce vertical space)
Δ= p −⌊ p ⌋−δ ,δ ∈ 0 , 1 , 0 , 1
Insert → Bookmark with some name such as eq_x. {( ) ( ) ( ) ( )}
0 0 1 1
Type “Equation ” and perform Insert → Cross-reference →
BookMark → Paragraph number and select eq_x.
See also these macros for equation numbers (Office 2007/2010).
Other built-in examples
Line spacing ∞
nπx nπx
Within a paragraph, formulas such as f^g^h may be taller than the
h
paragraph text, e.g., f g , resulting in uneven vertical spacing.
f ( x )=a0 + ∑ an cos
n=1
( L
+b n sin
L )
Instead, we can ignore vertical size using \smash(f^g^h) to −b ± √ b2−4 ac
x=
create the formula which does not alter the line spacing. 2a
An alternative used in this paragraph is to force the paragraph line
h
spacing to a specific value, here 10pt – thus we get f g . x x x2 x3
e =1+ + + +… ,−∞< x <∞
1! 2! 3!
Display versus inline
Display mode: A paragraph containing just a math formula, Hugues Hoppe (Microsoft Research) 2014-08-27
without any characters before or after the formula, is auto-
centered. (The period is inside the formula.)
∑ a+b .
i
Inline mode: To obtain this more compact style, append a space
after the formula (or place the period outside the formula) and set
paragraph formatting to “center”:
∑ a+b.
i
To preserve display-mode, insert text inside math using double-
quotes, e.g., " where " in:
∑ a+b where a≠ b .
i