Math Auto Correct
Math Auto Correct
using
Math AutoCorrect or Unicode
Disclaimer
This guidance may include references to external websites, services or
products for which UKAAF accepts no responsibility. This information is
given without any representation or endorsement of those websites,
services or products.
Copyright © 2017
UK Association for Accessible Formats (UKAAF). Not for re-sale. You
may reproduce in whole or in part with acknowledgement to UKAAF.
1
Generating mathematical symbols using
Math AutoCorrect or Unicode
Contents
Introduction ................................................................................... 3
Microsoft Word .............................................................................. 3
Setting up Math AutoCorrect in WORD ......................................... 4
Using Unicode............................................................................... 5
Problems with entry method .......................................................... 5
Grade 1 indicators and spacing ..................................................... 5
Table of symbols and codes.......................................................... 6
Playing card symbols .................................................................. 10
Greek letters ............................................................................... 11
Examples using Math AutoCorrect .............................................. 13
Adding more!............................................................................... 14
Appendix A
Fonts ........................................................................................... 15
Appendix B
Setting up Math AutoCorrect in WORD without using a mouse ... 18
Appendix C
Symbols which must be in grade 1 .............................................. 19
2
Introduction
There are more symbols used in mathematics than are shown on a
standard keyboard. Whilst there are various ways to generate additional
symbols this document has been written to help with two specific
methods within Microsoft Word. Consideration has also been given to the
result when these symbols are translated into Braille using the Duxbury
Braille Translator software.
I am grateful to James Bowden for the guidance and support he has
provided in the creation of this document.
David Spybey
March 2017
Microsoft Word
Microsoft Word has many built in mathematical symbols that can be
created using its Math AutoCorrect feature. It is a useful feature which
can be used if you do not have mathematical typesetting software or if
you are writing mathematics which does not contain complex notation.
The tables below show a wide range of mathematical symbols that will
translate correctly into UEB using the Duxbury Braille Translator (11.3 or
12.1). Other braille translation software may also translate these symbols
correctly.
The entries in the "Print Outcome" column in all the tables are shown in
the font Cambria Math. The "Normal" font used in a document may affect
the style of the print outcome and more detail is provided in Appendix A.
To find a full list of symbols that can be generated using Math
AutoCorrect go to https://support.office.com and search for "math
autocorrect".
3
Setting up Math AutoCorrect in WORD
The explanation below is based on a Microsoft web page.
The reference to the font Cambria Math may be unnecessary but there
are some symbols that are preferable in this font and more information
about this is given in Appendix A.
Appendix B provides details of how to set up Math AutoCorrect for those
who are not using a mouse or mouse pad.
***************
To insert a Math AutoCorrect symbol, type one of the codes given in the
tables below followed by a delimiting term. For example, after you type a
code, type a punctuation mark, or press SPACEBAR or ENTER. To
ensure that the Math AutoCorrect symbols appear the same in your
document as they do in the AutoCorrect dialog box, on the Home tab, in
the Font group, select Cambria Math.
To insert a Math AutoCorrect symbol outside of an equation, you need to
select the Use Math AutoCorrect rules outside of math regions check
box in the AutoCorrect dialog box.
Use Math AutoCorrect rules outside of an equation
Click the Microsoft Office Button , and then click Word Options.
Click Proofing, and then click AutoCorrect Options.
Click the Math AutoCorrect tab.
Select the Use Math AutoCorrect rules outside of math regions
check box.
***************
4
Using Unicode
Unicode is a computing industry standard for the encoding of text and
symbols. Some Unicode values contain a letter and the standard way to
display these codes uses capital letters but lower case letters work
equally well. For example, 25A1 and 25a1 both lead to a hollow square.
To use Unicode type the symbol's Unicode value and then Alt+X, i.e.
after the Unicode value hold down the Alt key and tap the X key.
You cannot have a number, or one of the letters a-f, before the Unicode
value so it may be necessary to insert a space before the Unicode value
and then delete it afterwards.
5
Table of symbols and codes
6
Math Print Braille
Unicode Description
AutoCorrect outcome translation
\gets 2190 ← \[ left arrow
\gg 226B ≫ .@> much greater than
\hbar 210F ℏ @3h Dirac constant, h-bar
\hookleftarrow 21A9 ↩ \5533[ left arrow with hook
\hookrightarrow 21AA ↪ \9933o right arrow with hook
\in 2208 ∈ ^e is an element of
increment, Laplace
\inc 2206 ∆ ,.d operator, same as
capital delta
\infty 221E ∞ #= infinity
\int 222B ∫ ! integral
left pointing angle
\langle 2329 〈 @<
bracket
\lbrace 007B { _< left curly bracket
\lbrack 005B [ .< left square bracket
\ldots 2026 … 444 ellipsis
\le 2264 ≤ _@< less than or equal to
\leftarrow 2190 ← \[ left arrow
\Leftarrow 21D0 ⇐ \7[ left double arrow
left harpoon with
\leftharpoondown 21BD ↽ \,r[
barb downwards
left harpoon with
\leftharpoonup 21BC ↼ \@r[
barb upwards
\leftrightarrow 2194 ↔ \wro left right arrow
left right double
\Leftrightarrow 21D4 ⇔ \w7ro
arrow
\leq 2264 ≤ _@< less than or equal
\ll 226A ≪ .@< much less than
\mapsto 21A6 ↦ \\ro right arrow from bar
7
Math Print Braille
Unicode Description
AutoCorrect outcome translation
\matrix 25A0 ■ _$#d solid square
\minus 2212 − "- minus sign
\models 22A8 ⊨ ^_3 is valid
\mp 2213 ∓ _- minus or plus
\nabla 2207 ∇ ^d nabla
\ne 2260 ≠ "7@: not equal to
\nearrow 2197 ↗ \s northeast arrow
\neq 2260 ≠ "7@: not equal to
contains as an
\ni 220B ∋ @^e
element
\nwarrow 2196 ↖ \: northwest arrow
\oint 222E ∮ @! closed line integral
\ominus 2296 ⊖ $=["- minus sign in a circle
\oplus 2295 ⊕ $=["6 plus sign in a circle
\over 002F / _/ forward slash
\parallel 2225 ∥ #l is parallel to
\partial 2202 ∂ @d curly d
\pm 00B1 ± _6 plus or minus
\pprime 2033 ″ 77 double prime
\prime 2032 ′ 7 prime
product operator,
\prod 220F ∏ ,.p
capital Greek pi
\propto 221D ∝ _"7 proportional to
\rangle 232A 〉 @> right angle bracket
\ratio 2236 ∶ 3 ratio, colon
\rbrace 007D } _> right curly bracket
\rbrack 005D ] .> right square bracket
\rightarrow 2192 → \o right arrow
8
Math Print Braille
Unicode Description
AutoCorrect outcome translation
\Rightarrow 21D2 ⇒ \7o right double arrow
right harpoon with
\rightharpoondown 21C1 ⇁ \,ro
barb downwards
right harpoon with
\rightharpoonup 21C0 ⇀ \@ro
barb upwards
\searrow 2198 ↘ \< southeast arrow
\sim 223C ∼ @9 tilde
approximately equal
\simeq 2243 ≃ _9
to
\sqrt 221A √ "% square root
\subset 2282 ⊂ ^< subset of
\subseteq 2286 ⊆ _^< subset of or equal to
summation sign,
\sum 2211 ∑ ,.s
capital Greek sigma
\superset 2283 ⊃ ^> superset of
superset of or equal
\superseteq 2287 ⊇ _^>
to
\swarrow 2199 ↙ \> southwest arrow
\times 00D7 × "8 multiplication sign
\therefore 2234 ∴ ;,* therefore
\updownarrow 2195 ↕ \wr+ up down arrow
up down double
\Updownarrow 21D5 ⇕ \w7r+
arrow
\vdash 22A2 ⊢ _3 assertion
\vee 2228 ∨ @6 logical or
\vert 007C | _\ vertical bar
\wedge 2227 ∧ @8 logical and
9
Playing card symbols
The following playing card symbols are translated into words.
Math Print
Unicode Braille translation Description
AutoCorrect outcome
@$<black club
\clubsuit 2663 ♣ club suit sign
suit>
@$<white diamond suit
\diamondsuit 2662 ♢
diamond suit> sign
@$<white
\heartsuit 2661 ♡ heart suit sign
heart suit>
@$<black
\spadesuit 2660 ♠ spade suit sign
spade suit>
10
Greek letters
Notes:
\epsilon (Unicode 03F5) gives the symbol ϵ which is a "lunate epsilon"
and this currently translates as @$u"6#c;f#e which is not correct.
\varsigma (Unicode 03C2) gives the symbol ς but this symbol is not
recognised in UEB and the current translation .@s is not correct UEB
code.
11
Math Print Braille
Unicode Description
AutoCorrect outcome translation
\Lambda 039B Λ ,.l capital lambda
\mu 03BC μ .m mu
\Mu 039C Μ ,.m capital mu
\nu 03BD ν .n nu
\Nu 039D Ν ,.n capital nu
\xi 03BE ξ .x xi
\Xi 039E Ξ ,.x capital xi
\o 03BF ο .o omicron
\O 039F Ο ,.o capital omicron
\pi 03C0 π .p pi
\Pi 03A0 Π ,.p capital pi
\rho 03C1 ρ .r rho
\Rho 03A1 Ρ ,.r capital rho
\sigma 03C3 σ .s sigma
\Sigma 03A3 Σ ,.s capital sigma
\tau 03C4 τ .t tau
\Tau 03A4 Τ ,.t capital tau
\upsilon 03C5 υ .u upsilon
\Upsilon 03A5 Υ ,.u capital upsilon
\phi 03D5 ϕ .f open or loopy phi
\varphi 03C6 φ .f phi
\Phi 03A6 Φ ,.f capital phi
\chi 03C7 χ .& chi
\Chi 03A7 Χ ,.& capital chi
\psi 03C8 ψ .y psi
\Psi 03A8 Ψ ,.y capital psi
\omega 03C9 ω .w omega
\Omega 03A9 Ω ,.w capital omega
12
Examples using Math AutoCorrect
Example 1
Type Print Braille translation
\sqrt 49 = 7 √49 = 7 "%#di "7 #g
Here, after typing \sqrt and pressing space, the backspace key was used
before the 4 so that the result was √49 and not √ 49.
Example 2
Type Print Braille translation
36\div 8 = 4.5 36÷8 = 4.5 #cf"/#h "7 #d4e
Here, after typing \div and pressing space, the backspace key was used
before the 8 so that the result was ÷8 and not ÷ 8.
The braille translation follows the spacing in the print so there is no
space around the ÷ sign but there is a space before and after the =
sign in the text in order to get the desired spacing in the braille.
Example 3
Type Print Braille translation
\alpha \mapsto \alpha+\beta α ↦ α+β .a ;\\ro .a"6.b
This example demonstrates the ease of this method for some material as
there was no need to insert extra spaces or delete any spaces.
13
Adding more!
It is possible to add to the Math AutoCorrect options but these will not
necessarily translate correctly.
Example:
You may choose to set your copy of Word so that it changes 1/4 to ¼
automatically.
One way to do this is to go to Insert→Symbol→More Symbols and find
the symbol ¼. With this symbol highlighted go to the AutoCorrect button
and type 1/4 (you could choose \1/4 if you wished) in the Replace box.
The Duxbury Braille Translator translates ¼ correctly but if you try a
symbol such as the tick symbol then, as there is currently no UEB
coding for this symbol, it is not surprising if this symbol is simply missed
out.
14
Appendix A
Fonts
The material from the Microsoft web page mentioned "on the Home tab,
in the Font group, select Cambria Math". This seems to be unnecessary
for most symbols.
When using the Math AutoCorrect in any font the resulting print symbol
seems to be automatically changed into Cambria Math if the current font
does not have the print symbol in it.
For example
The text below starts in Arial. In (1) the symbol was obtained using Math
AutoCorrect and in (2) Unicode was used.
15
The following shows an example which again uses the Arial font,
(1) used Math AutoCorrect and (2) used Unicode. It all stays in Arial as
the symbols are available in the Arial font. The font Cambria Math is not
present in any of the resulting text.
Whilst Arial, or some other font, may be fine for most symbols the table
below show some symbols where the Cambria Math font may be
preferred.
Math Cambria
Unicode Arial Description
AutoCorrect Math
\infty 221E ∞ ∞ infinity
\matrix 25A0 ■ ■ solid square
\sqrt 221A √ √ square root
\sum 2211 ∑ ∑ summation sign
\times 00D7 × × multiplication sign
\gamma 03B3 γ γ gamma
\Gamma 0393 Γ Γ capital gamma
\delta 03B4 δ δ delta
\kappa 03BA κ κ kappa
\lambda 03BB λ λ lambda
\Lambda 039B Λ Λ capital lambda
\nu 03BD ν ν nu
\pi 03C0 π π pi
\tau 03C4 τ τ tau
\upsilon 03C5 υ υ upsilon
\chi 03C7 χ χ chi
16
When preparing documents changing between the Normal font and
Cambria Math can be a be a nuisance and it may well be helpful to set
up a "Style" in Word to help.
If you create a new style called "Maths" create it as a "Character style"
and make the font "Cambria Math". The size of the font may be left blank
so that the Maths style will pick up the size of the Normal font used in the
document. Setting up a shortcut key for the style at this stage will make it
easier to use.
Ctrl+spacebar is a shortcut for returning to the Normal style.
If the shortcut chosen for the "Maths" style is Ctrl+Alt+# then the
following key entry can be used.
To obtain:
The value of π is 3.142 to three decimal places.
Using Unicode
Type: The value of [space]
Press: Ctrl+Alt+#
Type : 03C0
Press: Alt+X
Press: Ctrl+spacebar
Type: [space] is 3.142 to three decimal places.
17
Appendix B
Setting up Math AutoCorrect in WORD without using
a mouse
Math AutoCorrect only needs to be set up once.
The following provides the key strokes to use and describes the effect of
the key strokes.
Tab to each check box and if needed press Space to check the box.
Finally, Tab to the OK button to close the changes. Then exit the main
Word Options dialog similarly.
18
Appendix C
Symbols which must be in grade 1
All the symbols in the following table need to be in grade 1 as they have
an alternative grade 2 meaning. Grade 1 may be set up by a grade 1
symbol/word/passage indicator or by a numeric indicator.
19
Math Print Braille
Unicode Description
AutoCorrect outcome translation
\Rightarrow 21D2 ⇒ \7o right double arrow
right harpoon with
\rightharpoondown 21C1 ⇁ \,ro
barb downwards
right harpoon with
\rightharpoonup 21C0 ⇀ \@ro
barb upwards
\searrow 2198 ↘ \< southeast arrow
\swarrow 2199 ↙ \> southwest arrow
\therefore 2234 ∴ ,* therefore
\updownarrow 2195 ↕ \wr+ up down arrow
up down double
\Updownarrow 21D5 ⇕ \w7r+
arrow
Note:
Math Print Braille
Unicode Description
AutoCorrect outcome translation
\pprime 2033 ″ 77 double prime
\prime 2032 ′ 7 prime
Prime and double prime are unusual symbols as they may or may not
need to be in grade 1.
If they are immediately preceded and followed by a letter then they need
to be in grade 1 as they would represent "gg". Otherwise their meaning
is not ambiguous and they do not need to be in grade 1. .
20
UK Association for Accessible Formats (UKAAF)
Contact details
Tel: 01270 449 165
Email: enquiries@ukaaf.org
Web: www.ukaaf.org
Further Information
President: Lord Low of Dalston CBE
Registered charity number: 1126966
Registered as a company in England and Wales number: 6748900
21