From 6d0117914f17e0a2218a772cb22af30210dadb0c Mon Sep 17 00:00:00 2001 From: Kenneth Odle Date: Sat, 22 Jul 2023 09:42:19 -0400 Subject: [PATCH] =?UTF-8?q?Added=20=C2=ABnicefrac=C2=BB=20information?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lbol.tex | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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}