Friday, April 26, 2024, 5:22 AM
Site: Saint Martin's University Moodle
Course: Saint Martin's University Moodle (SMU)
Glossary: Math Notation Help
05 SPACES
\; - \; (backslash semicolon) inserts the third smallest predefined space in a formula
- Equivalent: \hspace{6}
- Ex.: $$a\;b$$ gives
- Ex.: $$a~\hspace{6}~b$$ gives also
|
|
\: - \: inserts the second smallest predefined space in a formula
- Equivalent: \hspace{4}
- Ex.: $$a\:b$$ gives
- Ex.: $$a~\hspace{4}~b$$ gives also
|
|
\/ (backslash slash) - \/ (backslash slash) avoids ligatures
- Ex.: $$V\/A$$ gives in contrast to $$VA$$ which gives
|
|
\~ - In order to prevent some browser specific problems with whitespaces, it is advisable to use ~ (tilde) as the whitespace instead of the normal blank key (in places where whitespaces are mandatory, e.g. after commands).
- Ex.: $$\frac~xy$$ to produce
- Ex.: $$\sqrt~n$$ to produce
|
|
\hspace{n} - inserts a space of n pixels
- Ex.: $$f(x)\hspace{6}=\hspace{6}0$$ gives
- can be combined with the preceding command \unitlength{m}(default: m=1px) , which defines the applied unit
- Ex.: $$\unitlength{20}a\hspace{2}b$$ gives , i.e. a space of 20x2=40px
|
|
\qquad - inserts a double space of current character set size
- Ex.: $$a\qquad~b$$ gives
|
|
\quad - inserts a space of current character set size
- Ex.: $$a\quad~b$$ gives
|
|
math spaces List of predefined spaces: Math Spaces | Command | Example | Result | \, (smallest predefined) | $$a\,b$$ | | \: (second smallest predefined) | $$a\:b$$ | | \; (third smallest predefined) | $$a\;b$$ | | \/ (avoiding ligatures) | $$V\/A$$ instead of $$VA$$ | instead of | \quad (space of current character set size) | $$a\quad~b$$ | | \qquad (double space of current character set size) | $$a\qquad~b$$ | | \_ (where _ is blank!) | $$a\ b$$ (whereas $$a\b$$ is not a valid filter expression since the blank space is missing; it is recommended to use the tilde ~ instead of the simple whitespace) |
| \hspace{n} ,where n positive integer (= n Pixels) | $$a~\hspace{30}~b$$ $$a~\hspace{15}~b$$ $$a~\hspace{2}~b$$ $$a~\hspace{1}~b$$ |
| \unitlength{m}\hspace{n}, changes the default unit length (m=1px) to be applied | $$a~\hspace{2}~b\unitlength{10}~\hspace{2}~c$$ (second space is 10x2=20px) | |
|
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. |
|
06 SYMBOLS
alpha (lower case greek letter) $$\alpha$$ gives |
|
beta (lower case greek letter) $$\beta$$ gives |
|