diff options
Diffstat (limited to 'macros/latex/contrib/willowtreebook/willowtreebook.tex')
-rw-r--r-- | macros/latex/contrib/willowtreebook/willowtreebook.tex | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/macros/latex/contrib/willowtreebook/willowtreebook.tex b/macros/latex/contrib/willowtreebook/willowtreebook.tex index 96cb7d3190..2418ae455e 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 1.01} +\Title{The Willow Tree Book Class 1.02} \Author{Benjamin \scotsMc{}Kay} \Colophon{Released under the \LaTeX{} Public Project License 1.3c} \BibliographyFile{willowtreebook} @@ -25,7 +25,8 @@ Here is a typical book using the Willow Tree Book class: This is the preface to my book. \afterpreface \chapter{We meet Odysseus} -Tell me, O muse, of that ingenious hero \dots +Tell me, O muse, of that ingenious hero + % The rest of the text goes here. Thus spoke Minerva, and Ulysses obeyed her gladly. Then Minerva assumed the form and voice of Mentor, and presently made a covenant of peace between the two contending parties. @@ -100,6 +101,8 @@ In any triangle with sides of lengths \(a,b,c\), side of length \(c\) is a right angle. \end{theorem} \end{Verbatim} +\newpage +\section{Examples} I often want to present an example, and make clear where it starts and stops. \begin{example} The integral @@ -112,6 +115,7 @@ is evaluated by substituting \(u=x^2\), so \] \end{example} \begin{Verbatim}[frame=leftline] +\begin{example} The integral \[ \int e^{x^2}x\,dx @@ -120,5 +124,17 @@ is evaluated by substituting \(u=x^2\), so \[ \int e^{x^2}x\,dx=\int e^u \frac{du}{2}. \] +\end{example} +\end{Verbatim} +\section{Preambles} +We can put some \LaTeX{} code before the hints: +\begin{Verbatim}[frame=leftline] +\RenewDocumentCommand\hintsPreamble{}{\par\noindent{}\textit{When you are describing, \\ A shape, or sound, or tint; \\ Don't state the matter plainly, \\ But put it in a hint; \\\ And learn to look at all things, \\ With a sort of mental squint.}\par\noindent{}---\ {Lewis Carroll}} +\end{Verbatim} +\RenewDocumentCommand\hintsPreamble{}{\par\noindent{}\textit{When you are describing, \\ A shape, or sound, or tint; \\ Don't state the matter plainly, \\ But put it in a hint; \\\ And learn to look at all things, \\ With a sort of mental squint.}\par\noindent{}---\ {Lewis Carroll}} +or before the bibliography: +\begin{Verbatim}[frame=leftline] +\RenewDocumentCommand\bibliographyPreamble{}{\par\noindent\textit{If those books are in agreement with the Quran, we have no need of them; and if these are opposed to the Quran, destroy them.}\par\noindent{}---\ {Omar}} \end{Verbatim} +\RenewDocumentCommand\bibliographyPreamble{}{\par\noindent\textit{If those books are in agreement with the Quran, we have no need of them; and if these are opposed to the Quran, destroy them.}\par\noindent{}---\ {Omar}} \end{document} |