diff options
author | Karl Berry <karl@freefriends.org> | 2021-09-22 20:36:47 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-09-22 20:36:47 +0000 |
commit | 25292fae8f78dc5f137edf4ca0e4627c87db8609 (patch) | |
tree | b10128e1e3fdd348792293f92aa7b1d47d37a37c /Master/texmf-dist/doc | |
parent | a8366738879c71baedc648dce6fd95e55f9f187f (diff) |
willowtreebook (22sep21)
git-svn-id: svn://tug.org/texlive/trunk@60583 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/latex/willowtreebook/README | 5 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/willowtreebook/notation.gst | 12 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/willowtreebook/willowtreebook.pdf | bin | 13983793 -> 13991774 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/willowtreebook/willowtreebook.tex | 20 |
4 files changed, 33 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/willowtreebook/README b/Master/texmf-dist/doc/latex/willowtreebook/README index b1991b83285..df5fb11cab0 100644 --- a/Master/texmf-dist/doc/latex/willowtreebook/README +++ b/Master/texmf-dist/doc/latex/willowtreebook/README @@ -1,6 +1,6 @@ Willow Tree Book Class -v1.01 -24 April 2020 +v1.02 +22 September 2021 Authors: Ben McKay @@ -18,3 +18,4 @@ See http://www.latex-project.org/lppl.txt The willowtreebook class is a simple book class, which I use for lecture notes. It actually just selects options for the more sophisticated memoir class. +Changes: added hint and bibliography preambles, to load before the hints or bibliography. diff --git a/Master/texmf-dist/doc/latex/willowtreebook/notation.gst b/Master/texmf-dist/doc/latex/willowtreebook/notation.gst new file mode 100644 index 00000000000..2ee81b75a6e --- /dev/null +++ b/Master/texmf-dist/doc/latex/willowtreebook/notation.gst @@ -0,0 +1,12 @@ +%%% analysis.gst basic makindex glossary style file +%%% Output style parameters +preamble "\\begin{theglossary}" +postamble "\n\\end{theglossary}\n" +item_0 "\n\\glossitem" +delim_0 "{\\memglonum{" +encap_suffix "}}}" +headings_flag 1 +heading_prefix "\\doglobookmark{" +heading_suffix "}" +%%% Input style parameters +keyword "\\glossaryentry" diff --git a/Master/texmf-dist/doc/latex/willowtreebook/willowtreebook.pdf b/Master/texmf-dist/doc/latex/willowtreebook/willowtreebook.pdf Binary files differindex e799a3dc18c..0c3d8b6578f 100644 --- a/Master/texmf-dist/doc/latex/willowtreebook/willowtreebook.pdf +++ b/Master/texmf-dist/doc/latex/willowtreebook/willowtreebook.pdf diff --git a/Master/texmf-dist/doc/latex/willowtreebook/willowtreebook.tex b/Master/texmf-dist/doc/latex/willowtreebook/willowtreebook.tex index 96cb7d3190a..2418ae455ed 100644 --- a/Master/texmf-dist/doc/latex/willowtreebook/willowtreebook.tex +++ b/Master/texmf-dist/doc/latex/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} |