Math Notation Help


This glossary will help you build complex mathematical equations using the Tex markup language. This will involve using @@ or $$ before and after the expression to display the desired results.
Browse the glossary using this index

Special | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ALL

M

math spaces

List of predefined spaces:

Math Spaces
CommandExampleResult
\, (smallest predefined)$$a\,b$</td><td valign="top" width="33%">a\,b$$
\:  (second smallest predefined)$$a\:b$</td><td valign="top" width="33%">a\:b$$
\;  (third smallest predefined)$$a\;b$</td><td valign="top" width="33%">a\;b </td></tr><tr><td valign="top" width="33%">\/  (avoiding ligatures)</td><td valign="top" width="33%">$$V\/A$ instead of $$VA$</td><td valign="top" width="33%">V\/A instead of VA$$
\quad  (space of current character set size)$$a\quad~b$</td><td valign="top" width="33%">a\quad~b$$
\qquad  (double space of current character set size)$$a\qquad~b$</td><td valign="top" width="33%">a\qquad~b</td></tr><tr><td valign="top" width="33%">\_ <em>(where _ is blank!)</em></td><td valign="top" width="33%"><p>$$a\ b$

(whereas $$a\b$ is <em>not</em> a valid filter expression since the blank space is missing; it is recommended to use the tilde ~ instead of the simple whitespace)</font></p></td><td valign="top" width="33%"><p>a\ b</p><p></p></td></tr><tr><td valign="top" width="33%">\hspace{n} ,where n positive integer (= n Pixels)</td><td valign="top" width="33%"><p>$$a~\hspace{30}~b$

$$a~\hspace{15}~b$</p><p>$$a~\hspace{2}~b$

$$a~\hspace{1}~b$</p></td><td valign="top" width="33%"><p>a~\hspace{30}~b</p><p>a~\hspace{15}~b</p><p>a~\hspace{2}~b</p><p>a~\hspace{1}~b</p></td></tr><tr><td valign="top" width="33%">\unitlength{m}\hspace{n}, changes the default unit length (m=1px) to be applied</td><td valign="top" width="33%"><p>$$a~\hspace{2}~b\unitlength{10}~\hspace{2}~c$

(second space is 10x2=20px)

a~\hspace{2}~b\unitlength{10}~\hspace{2}~c

Note: Simple blank spaces and tildes (~) are ignored by the TeX filter and don't produce any space. You must use one of the defined math spaces to get a visible (extra) space.


mathematics expression

  • A valid expression inside the $'s is rendered as mathematics in an inserted gif image.
  • Ex.: $$x=y^2$ creates  </li></ul><p align="center">x=y^2$$


matrix

  • An (m,n)-matrix is considered as an array of m*n elements, where the elements of a column are separated by "&" and the rows by "\\".
  • Syntax for an (m,n)-matrix:
    \begin{array}{colformat}a11&...&a1n\\a21&...&a2n\\... \\am1&...&amn \end{array}

    where
    colformat defines the format of each of the n columns: l for left, r for right and c for center (hence {ccccc} defines for a (m,5)-matrix in which all columns are centered)

  • Ex.: $$\left(\begin{array}{lcr}a_{\tiny1}+d & a_{\tiny2}+d & a_{\tiny3}+d \\ b_{\tiny1}& b_{\tiny2}& b_{\tiny3} \\ c_{\tiny1} & c_{\tiny2} & c_{\tiny3} \end{array}\right)$ gives</li></ul><p align="center">\left(\begin{array}{lcr}a_{\tiny1}+d & a_{\tiny2}+d & a_{\tiny3}+d \\ b_{\tiny1}& b_{\tiny2}& b_{\tiny3} \\ c_{\tiny1} & c_{\tiny2} & c_{\tiny3} \end{array}\right)$$

    Note in the example above that "lcr" has the effect that column 1 is left aligned, column 2 centered and colums 3 right aligned.


minus

$$-$ is -$$

minus plus

$$\mp~a$ gives \mp~a$$

mu (lower case greek letter)

$$\mu$ gives \mu$$

multiplication

$$x*y=z$ is x*y=z$$

multiplication (with cdot)

$$a\cdot~b$ gives a\cdot~b$$