Microsoft Equation Editor Syntax

Does anyone know where to find the syntax specification for entering equations into 2007/2010 equation editors using only the keyboard? A search simply provides a lot of links to people talking about how big the editor is, rather than instructions on how to use it. I saw this in several demos of the product, but there is no documentation in it, even in MS Help.

+7
ms-office
source share
3 answers

Formula input is very natural. Here are some general rules:

  • "a ^ b" is automatically converted to b . If your exhibitor contains several members, write "a ^ (b + c)", which will be converted to b + c . If you really want a (b + c) write "a ^ ((b + c))".

  • The same goes for index: \ epsilon_0, for example

  • The same applies to fractions, for example. 1 / (a ​​+ b) is converted to expected.

  • To insert "sin x", be sure to insert a space between "a" and "sin". Otherwise, the sin function will not be recognized, and therefore it will be italicized (which is incorrect).

  • Special characters are inserted using the \ chr syntax. Try for example. \ alpha, \ Delta, \ cdot, \ oplus, etc.

  • In addition, you can try different styles: \ scriptD, \ scriptO, \ doubleR, \ frakturR, etc.

  • To change a character, try v \ bar, f \ hat, x \ dot, x \ ddot, etc.

  • To write an n-dimensional sum, just write "\ sum_ (k = 1) ^ \ infty" and then a space to automatically get the sum symbol with "k = 1" below and the infinity sign above. This also works with \ prod, \ int, \ oint, \ bigotimes, etc.

  • To write the square root, write \ sqrt followed by a space, or with a paranthesized expression.

  • Brackets of different types are automatically rebuilt. For example, you can write "[a, b]" and get the true bracket. You can also try \ bra \ phi_1 | \ phi_2 \ ket, etc.

  • You can also write β€œweird” brackets, such as [0, 1 [(as the Swedes write [0, 1)), only with a little effort: [0, 1\right[ and space.

  • To switch bold / italic on / off, use Ctrl + B / Ctrl + I (is it Microsoft Word, remember? :)) But you can check the formatting of your last added formulas every time you open the document, because sometimes formatting (bold / italic ) that you changed during the last session is lost or changes when you reopen the document. Reusing formatting usually makes it a stick. However, it seems impossible to correctly format the formulas in the headings and captions of the figures; the default style for these objects (usually bold) cannot be manually "reordered" by the principle "character by character" inside the formula.

  • To insert a 3 Γ— 3 matrix, write \ matrix (@@ & &) followed by a space. To get the brackets, write (\ matrix (@@ & &)) and a space. You can also enter elements directly (guess how!), But it is often easier to do this after creating the matrix.

  • You may find Shift + Return useful in some cases when you want to align formulas. In addition, you probably already realized that (x+4)^2 >= 0, \forall x\in\doubleR looks very good in its own line, if you put two spaces after the comma!

  • To enter plain text in a formula, write the text inside double quotes: for example, a =\above("by the lemma") 0 . Hint: You can create very beautiful double arrows (implication or equivalence) by adding many spaces above them. I recommend this a lot. But be careful: using literal spaces inside formulas often leads to the seemingly random loss of characters next to spaces due to an error (at least in Word 2007 and 2010).

Finally, do not forget the context menu (context menu). It is very context sensitive and has many convenient commands (remove accent, add lower / upper limit, remove exponent, add argument, remove brackets, etc.). If the keyboard has a menu key in Microsoft Word (sections on mathematics), or - if you are really hardcore - the specification of the "linear format" used to enter formulas in Word.

+14
source share

There is something like a linear format specification for a word equation editor. See the following blog entry from Murrays:

http://blogs.msdn.com/b/murrays/archive/2010/03/13/linear-format-version-3.aspx

There he refers to a specification document: http://www.unicode.org/notes/tn28/UTN28-PlainTextMath-v3.pdf

You will find many utf8 sequences as well as LaTeX shortcuts.

+2
source share
0
source share

All Articles