Added section on LaTeX units

This commit is contained in:
Kenneth John Odle 2023-10-31 13:28:17 -04:00
parent dc9ab652a5
commit ac1d97e0de

View File

@ -1717,6 +1717,37 @@ $ texhash ~/texmf
\chapter{Miscellaneous}
\section{\LaTeX{} Units}
\LaTeX{} is pretty loose about which unit you use. You can use any of the following pretty much interchangeably, depending on what you are measuring.
\begin{longtblr}
[
caption = {\LaTeX{} Units and Lengths},
label = {tb:units}
]{
width = {0.8\textwidth},
colspec = { X[1,l] X[3,l] },
hlines = {0.75pt,solid},
vline{1,3} = {0.75pt,solid},
rows = {5mm, m, rowsep=1.5pt}
}
pt & point, the default length unit, equal to approximately 0.3515mm \\
mm & millimeters \\
cm & centimeters \\
in & inches \\
ex & the height of the letter \texttt{x} in the current font \\
em & the width of the letter \texttt{m} in the current font \\
\Verb+\columnsep+ & the distance between columns \\
\Verb+\columnwidth+ & the width of the column \\
\Verb+\linewidth+ & the width of the line in the current environment \\
\Verb+\paperwidth+ & the width of the page \\
\Verb+\paperheight+ & the height of the page \\
\Verb+\textwidth+ & the width of the text \\
\Verb+\textheight+ & the height of the text \\
\Verb+\unitlength+ & the unit of length in the \texttt{picture} environment
\end{longtblr}
\begin{itemize}[noitemsep]
\item Notice that your footnotes are floating above the footer on some pages? Try adding \verb+\usepackage[bottom]{footmisc}+ to your preamble.