[latexrefman] First submission (text file attachment)
Bob
solimeno at gmail.com
Tue Oct 9 14:35:26 CEST 2018
Here's my first submission to the mailing list, hoping that an attached
text file works.
Hello Jim and Karl - Thanks for this challenge.
Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/latexrefman/attachments/20181009/a3e0e909/attachment.html>
-------------- next part --------------
19.11 \bigskip & \medskip & \smallskip
\skip
The TeX skip register prefix. TeX has 256 skip registers: \skip0 to
\skip255. Each of these may hold ‘glue,’ or an adjustable white
space. Registers used by LaTeX allocate space for commands like
bigskip & \medskip & \smallskip. LaTeX itself allocates 31 \skip
registers and that list may expand depending upon the document class
in use, e.g. report class adds two \skip registers:
\abovecaptionskip and \belowcaptionskip. Packages may add many more.
****
\smash
This (math mode) macro takes its contents and prints it as if its
height and depth were zero. It is defined in both plain TeX and
LaTeX.
Usage (from 'The TeXbook' p. 178):
'\smash{<subformula>}', "... yields the same result as
'{<subformula>}' but makes the height and depth zero. By using both
\smash and \vphantom any subformula you can typeset any subformula and
give it any desired nonnegative height and depth. For example:
\mathop{\smash\limsup\vphantom\liminf}
produces a large operator that says 'lim sup', but its height
and depth are those of \liminf (i.e. the depth is zero)."
****
\relbar
Defined in LaTeX as {\mathrel{\smash-}} and produces a long bar.
This macro uses \smash, because - (minus) has the same height as + (plus).
Example:
% Making a longer right arrow
\documentclass[12pt,letterpaper]{article}
\usepackage{amsmath}
\begin{document}
\rightarrow\\
{\relbar\joinrel\relbar\joinrel\rightarrow}
\end{document}
More information about the latexrefman
mailing list