Prev Next Index-> contents reference index search external Up-> overview format math overview-> License why Install get_started running files titles+headings cross format spellchecking latex other browser glossary whatsNew format-> nobreak pre codep codei color math number th syntax hilite center table list special font math Headings-> Description Pre-formatted Font Escape Sequences New Lines Using The Delimiter Changing Escape

Math Mode
 Syntax $math text$$ See Also latex , pre , syntax Description This command is used for displaying mathematical expressions in HTML format using only ascii characters. (The latex command can be used to display an extended set of mathematical symbols in MathML format.) The argument text must be a delimiter sequence . Pre-formatted The characters in text are output in a pre-formatted font . This enables you to line up one equation above another. Font In math mode, letters are displayed in italic font. For example, the input  math%x * y%$$  results in the output  x * y Escape Sequences In math mode, the escape character and the letters that follow it, represent an escape sequence. If the sequence is one of those listed below, the output is translated to the corresponding symbol. If the sequence is not one of those listed below, the escape character is removed and the sequences of letters that follow are printed in normal font (as opposed to italic font). The backslash is the default escape character and if the current escape character is different, it should replace the occurrences of the backslash character in the table below.  >   \ge <   \le \   \\ For example, $math%\int f(x) dx \le 1%$$ results in the following output  int f(x) dx < 1 New Lines In math mode, new lines are transferred to the output so that the resulting equation has the same number of lines as the input. In addition, tabs are translated to spaces. For example, the input  math% x * z = 1 y = 2 %$$  would result in:       x * z = 1          y = 2

Using The Delimiter
Neither the delimiter nor the escape character are included in the output. The delimiter can be used for spacing the equations so they line up. For example, the input  $math% % \minimize f(x) \subject \to g(x) <= 0 %$$ would result in:  minimize f(x) subject to g(x) <= 0  Changing Escape If there is a backslash in a formula, it can be useful to changed the escape character. For example, the following input  escape #$$$math% / 1 0 0 \ | 0 1 0 | \ 0 0 1 / %  produces the following output       / 1 0 0 \      | 0 1 0 |      \ 0 0 1 / 
Input File: math.omh