From ac1d97e0deea86e4a5fb0981bb50b9a8bf6401cc Mon Sep 17 00:00:00 2001 From: Kenneth Odle Date: Tue, 31 Oct 2023 13:28:17 -0400 Subject: [PATCH] Added section on LaTeX units --- lbol.tex | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/lbol.tex b/lbol.tex index abec888..ab26ac1 100644 --- a/lbol.tex +++ b/lbol.tex @@ -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.