@ -536,11 +536,64 @@ You don’t know about me without you have read a book by the name of \textit{Th
\subsection{\texttt{vspace}}
The \texttt{vspace} command will allow you to insert a vertical space in any unit understood by \LaTeX{}.
\begin{Verbatim}[]
This line has a five millimeter high space below it.\vspace{5mm}
This is the next line
\end{Verbatim}
\noindent{}gives us this:
\medskip
\noindent{}This line has a five millimeter high space below it.\vspace{5mm}
\noindent{}This is the next line
\subsection{Other Vertical Spacing Commands}
There are other ways to insert a vertical small space, using a single command.
\begin{longtblr}
[
caption = {Vertical Spacing Commands},
label = {tb:vertspacom},
theme = {custom1},
]{
width = {\textwidth},
colspec = { X[1,l] X[3,l] },
hlines = {0.75pt,solid},
vline{1,3} = {0.75pt,solid},
rows = {5mm, m, rowsep=1.5pt},
rowhead = 1
}
\Verb+\vfill+ & Inserts a vertical space that will stretch to fill the space available. This can be used to push content to the bottom of the page. \\
\Verb+\smallskip+ & Adds an approximately 3pt skip. \\
\Verb+\medskip+ & Adds an approximately 6pt skip. \\
\Verb+\bigskip+ & Adds an approximately 12pt skip.
\end{longtblr}
\section{Horizontal Space}
\subsection{\texttt{hspace}}
The \texttt{hspace} command will allow you to insert a horizontal space in any unit understood by \LaTeX{}.
\begin{Verbatim}[]
This line has a\hspace{2cm}two centimeter wide space in the middle.
\end{Verbatim}
\noindent{}gives us this:
\medskip
\noindent{}This line has a \hspace{2cm}two centimeter wide space in the middle.
\subsection{Single Horizontal Spaces}
Spacing commands can be found in math mode, but most of the ones in the table below can be used in text mode if you load the \texttt{amsmath} package.
Spacing commands can be found in math mode, but most of the ones in the table below can be used in text mode if you load the \texttt{amsmath} package. Some of the commands below will \textit{only} work in math mode as shown in the ``code'' column.\footnote{For more information, see \kref{https://tex.stackexchange.com/questions/74353/what-commands-are-there-for-horizontal-spacing}{https://tex.stackexchange.com/questions/74353/what-commands-ar\\e-there-for-horizontal-spacing}.}
\begin{longtblr}
[
@ -549,28 +602,27 @@ Spacing commands can be found in math mode, but most of the ones in the table be
Nonbreaking space &\Verb+$<char>~<char>$+ &$O~O$\\
\end{longtblr}
\subsection{\texttt{hspace}}
\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.