From 7a7be7eaa67109eac37916ea48662c24ddc570d0 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 25 Apr 2020 03:01:16 +0000 Subject: CTAN sync 202004250301 --- .../contrib/willowtreebook/willowtreebook.tex | 37 ++++++++++++++++++---- 1 file changed, 31 insertions(+), 6 deletions(-) (limited to 'macros/latex/contrib/willowtreebook/willowtreebook.tex') diff --git a/macros/latex/contrib/willowtreebook/willowtreebook.tex b/macros/latex/contrib/willowtreebook/willowtreebook.tex index f284c8d734..96cb7d3190 100644 --- a/macros/latex/contrib/willowtreebook/willowtreebook.tex +++ b/macros/latex/contrib/willowtreebook/willowtreebook.tex @@ -1,5 +1,5 @@ \documentclass{willowtreebook} -\Title{The Willow Tree Book Class v1.0} +\Title{The Willow Tree Book Class 1.01} \Author{Benjamin \scotsMc{}Kay} \Colophon{Released under the \LaTeX{} Public Project License 1.3c} \BibliographyFile{willowtreebook} @@ -38,21 +38,25 @@ THE END Compile with \verb!latex! or \verb!pdflatex!. \chapter{Definitions, Problems and Theorems} \section{Definitions} -We can define a term like \emph{hamster}\define{hamster}, or say that the term hamster appears again later\SubIndex{hamster}. -We add notation like when we use a variable called \(\omega\), we put it in the list of notation.\Notation{omega}{\omega}{A variable called $\omega$} +We can define a term like \emph{hamster}\define{hamster}, or say that the term hamster\SubIndex{hamster} appears again later. \begin{Verbatim}[frame=leftline] \chapter{Definitions, Problems and Theorems} \section{Definitions} We can define a term like \emph{hamster}\define{hamster}, -or say that the term hamster appears again later\SubIndex{hamster}. +or say that the term hamster\SubIndex{hamster} appears again later. \end{Verbatim} Compile, for a book called \verb!filename.tex!, with \begin{Verbatim}[frame=leftline] makeindex filename \end{Verbatim} -We add notation like when we use a variable called \(\omega\), +We add notation like when we use a variable called \(\omega\), we put it in the list of notation.% -\Notation{omega}{\omega}{A variable called $\omega$}. +\Notation{omega}{\omega}{A variable called $\omega$} +\begin{Verbatim} +We add notation like when we use a variable called \(\omega\), +we put it in the list of notation.% +\Notation{omega}{\omega}{A variable called $\omega$} +\end{Verbatim} If you use notation, compile with \begin{Verbatim}[frame=leftline] makeindex -s notation.gst -o not.gls not.glo @@ -96,4 +100,25 @@ In any triangle with sides of lengths \(a,b,c\), side of length \(c\) is a right angle. \end{theorem} \end{Verbatim} +I often want to present an example, and make clear where it starts and stops. +\begin{example} +The integral +\[ +\int e^{x^2}x\,dx +\] +is evaluated by substituting \(u=x^2\), so +\[ +\int e^{x^2}x\,dx=\int e^u \frac{du}{2}. +\] +\end{example} +\begin{Verbatim}[frame=leftline] +The integral +\[ +\int e^{x^2}x\,dx +\] +is evaluated by substituting \(u=x^2\), so +\[ +\int e^{x^2}x\,dx=\int e^u \frac{du}{2}. +\] +\end{Verbatim} \end{document} -- cgit v1.2.3