diff --git a/lbol.tex b/lbol.tex index 659a2e3..7c71f5d 100644 --- a/lbol.tex +++ b/lbol.tex @@ -9,6 +9,8 @@ \usepackage{float} \raggedbottom +\usepackage{nicefrac} + % Where are our images? \graphicspath{{images/}} @@ -707,6 +709,18 @@ The Pythagorean Theorem is \[x^2 + y^2 = z^2\] \section{The \texttt{array} Environment} +\section{Special Math Environments} + +You can use the \texttt{nicefrac} package to get fractions with a diagonal slash. This is an ordinary fraction inline (using the \texttt{frac} command): $\frac{3}{4}$, and this is a ``nice'' fraction inline (using the \texttt{nicefrac} command): $\nicefrac{3}{4}$. + +The following array shows the difference between ordinary and ``nice'' fractions in display mode: + +\[\begin{array}{ccc} + +\frac{3}{4} & & \nicefrac{3}{4} + +\end{array}\] + \chapter{Images}