I know that \:
in LaTeX produces a space when rendered.
Are there any alternatives, because my LaTeX renderer doesn't support \:
(it renders it as text), and there is no help / FAQ that I can find.
spacing
I know that \:
in LaTeX produces a space when rendered.
Are there any alternatives, because my LaTeX renderer doesn't support \:
(it renders it as text), and there is no help / FAQ that I can find.
Best Answer
There are a number of horizontal spacing macros for LaTeX:
\,
inserts a.16667em
space in text mode, or\thinmuskip
(equivalent to3mu
) in math mode; there's an equivalent\thinspace
macro;\!
is the negative equivalent to\,
; there's an equivalent\negthinspace
macro;\>
(or\:
) inserts a.2222em
space in text mode, or\medmuskip
(equivalent to4.0mu plus 2.0mu minus 4.0mu
) in math mode; there's an equivalent\medspace
;\negmedspace
is the negative equivalent to\medspace
;\;
inserts a.2777em
space in text mode, or\thickmuskip
(equivalent to5.0mu plus 5.0mu
) in math mode; there's an equivalent\thickspace
;\negthickspace
is the negative equivalent to\thickspace
;\enspace
inserts a space of.5em
in text or math mode;\quad
inserts a space of1em
in text or math mode;\qquad
inserts a space of2em
in text or math mode;\kern <len>
inserts a skip of<len>
(may be negative) in text or math mode (a plain TeX skip); there's also am
ath-specific\mkern <math len>
;\hskip <len>
(similar to\kern
);\hspace{<len>}
inserts a space of length<len>
(may be negative) in math or text mode (a LaTeX\hskip
);\hphantom{<stuff>}
inserts space of length equivalent to<stuff>
in math or text mode.\phantom{<stuff>}
is similar, inserting a horizontal and vertical space that matches<stuff>
. Should be\protect
ed when used in fragile commands (like\caption
and sectional headings);\
inserts what is called a "control space" (in text or math mode);\space
and{ }
.~
inserts an "unbreakable" space (similar to an HTML
) (in text or math mode);\hfill
inserts a so-called "rubber length" or stretch between elements (in text or math mode). Note that you may need to provide a type of anchor to fill from/to; see What is the difference between\hspace*{\fill}
and\hfill
?;Your usage should work in math mode, so try
$\:$
.