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.

» Math Notation Help