Added section on phantoms
This commit is contained in:
parent
95733f0100
commit
8029d134eb
16
lbol.tex
16
lbol.tex
@ -315,6 +315,7 @@ It is possible to combine these. For example, to write \textit{\textsc{Italic te
|
||||
|
||||
\section{Size Variations}
|
||||
|
||||
|
||||
\section{Displaying Code}
|
||||
|
||||
|
||||
@ -326,11 +327,22 @@ It is possible to combine these. For example, to write \textit{\textsc{Italic te
|
||||
|
||||
\section{Horizontal Space}
|
||||
|
||||
\section{Phantoms}
|
||||
|
||||
Sometimes you need to insert a blank space that is the width of a particular character or stretch of space. To do this, you will need to use the \texttt{phantom} command.
|
||||
|
||||
\begin{itemize}[noitemsep]
|
||||
\item \verb+\phantom+~ inserts an empty box with the same dimensions (horizontal as well as vertical) as the argument.
|
||||
\item \verb+\hphantom+~ inserts an empty box that has zero height, zero depth, but the width of its argument.
|
||||
\item \verb+\vphantom+~ inserts an empty box that has the height and depth of the argument, but zero width.
|
||||
\end{itemize}
|
||||
|
||||
\textit{height} is the length above the baseline and \textit{depth} is the length below the baseline. A character such as ``w'' will have a height but zero depth, and ``y'' has height as well as depth.
|
||||
|
||||
\section{Line Spacing}
|
||||
|
||||
|
||||
\chapter{Formatting Pages
|
||||
}
|
||||
\chapter{Formatting Pages}
|
||||
|
||||
\chapter{List Environments}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user