summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-04-22 20:51:16 +0000
committerKarl Berry <karl@freefriends.org>2020-04-22 20:51:16 +0000
commit1204f24aa0cc8a8f72ce5ecffa8b1f35480e6e6d (patch)
treef4d3a0d84bd52180511febf9c3d5fa005858ce12 /Master/texmf-dist/doc
parent8cefef32705bb30289f033d7dc655ce9b6ffc6d7 (diff)
willowtreebook (22apr20)
git-svn-id: svn://tug.org/texlive/trunk@54839 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/willowtreebook/README20
-rw-r--r--Master/texmf-dist/doc/latex/willowtreebook/willow.jpgbin0 -> 10482937 bytes
-rw-r--r--Master/texmf-dist/doc/latex/willowtreebook/willowtreebook.bib11
-rw-r--r--Master/texmf-dist/doc/latex/willowtreebook/willowtreebook.pdfbin0 -> 13965747 bytes
-rw-r--r--Master/texmf-dist/doc/latex/willowtreebook/willowtreebook.tex99
5 files changed, 130 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/willowtreebook/README b/Master/texmf-dist/doc/latex/willowtreebook/README
new file mode 100644
index 00000000000..fa86ae90f3f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/willowtreebook/README
@@ -0,0 +1,20 @@
+Willow Tree Book Class
+v1.0
+22 April 2020
+
+Authors:
+Ben McKay
+
+Maintainer:
+Ben McKay
+
+E-mail:
+b.mckay@ucc.ie
+
+Licence:
+Released under the LaTeX Project Public License v1.3c or later.
+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.
+
diff --git a/Master/texmf-dist/doc/latex/willowtreebook/willow.jpg b/Master/texmf-dist/doc/latex/willowtreebook/willow.jpg
new file mode 100644
index 00000000000..1bbbd17e752
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/willowtreebook/willow.jpg
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/willowtreebook/willowtreebook.bib b/Master/texmf-dist/doc/latex/willowtreebook/willowtreebook.bib
new file mode 100644
index 00000000000..d7c1c37f406
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/willowtreebook/willowtreebook.bib
@@ -0,0 +1,11 @@
+@book {Homer:Iliad,
+ AUTHOR = {Homer},
+ TITLE = {The {I}liad},
+ EDITION = {Third},
+ NOTE = {An epic poem in dactylic hexameter, translated from the Greek by A. Guy},
+ PUBLISHER = {McHaw-Grill Book Co., New Cork},
+ YEAR = {1978},
+ PAGES = {xi+331},
+ ISBN = {0-07-000657-1},
+}
+
diff --git a/Master/texmf-dist/doc/latex/willowtreebook/willowtreebook.pdf b/Master/texmf-dist/doc/latex/willowtreebook/willowtreebook.pdf
new file mode 100644
index 00000000000..b3a61d60a64
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/willowtreebook/willowtreebook.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/willowtreebook/willowtreebook.tex b/Master/texmf-dist/doc/latex/willowtreebook/willowtreebook.tex
new file mode 100644
index 00000000000..f284c8d7343
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/willowtreebook/willowtreebook.tex
@@ -0,0 +1,99 @@
+\documentclass{willowtreebook}
+\Title{The Willow Tree Book Class v1.0}
+\Author{Benjamin \scotsMc{}Kay}
+\Colophon{Released under the \LaTeX{} Public Project License 1.3c}
+\BibliographyFile{willowtreebook}
+\usepackage{fancyvrb}
+\usepackage{inconsolata}
+\begin{document}
+\includegraphics[width=\textwidth]{willow-2.jpg}%
+\chapter{Preface}
+The Willow Tree Book class is a simplified derivative of the \verb!memoir! book class.
+I use it for my lecture notes.
+The document you are reading is in the Willow Tree Book class.
+\afterpreface
+\chapter{Use}
+Here is a typical book using the Willow Tree Book class:
+\begin{Verbatim}[frame=leftline]
+\documentclass{willowtreebook}
+\Title{Odyssey}
+\Author{Homer}
+\BibliographyFile{odyssey}
+ % The name of the .bib file, without file extension.
+\begin{document}
+\chapter{Preface}
+This is the preface to my book.
+\afterpreface
+\chapter{We meet Odysseus}
+Tell me, O muse, of that ingenious hero \dots
+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.
+\par\bigskip\noindent
+THE END
+ % End the document without loading the bibliography
+ % or the index, or the list of notation.
+\end{document}
+\end{Verbatim}
+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$}
+\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}.
+\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 put it in the list of notation.%
+\Notation{omega}{\omega}{A variable called $\omega$}.
+If you use notation, compile with
+\begin{Verbatim}[frame=leftline]
+ makeindex -s notation.gst -o not.gls not.glo
+\end{Verbatim}
+\section{Problems}
+\begin{problem}{label.for.the.first.problem}
+What is the point of your life?
+\end{problem}
+\begin{answer}{label.for.the.first.problem}
+Your life is pointless.
+\end{answer}
+In problem~\ref{problem:label.for.the.first.problem}, we can clearly see ...
+\begin{Verbatim}[frame=leftline]
+ % We add problems by:
+\begin{problem}{label.for.the.first.problem}
+What is the point of your life?
+\end{problem}
+ % and answers by:
+\begin{answer}{label.for.the.first.problem}
+Your life is pointless.
+\end{answer}
+In problem~\ref{problem:label.for.the.first.problem}, we can clearly see ...
+\end{Verbatim}
+\chapter{Citations}
+Our bibliography file looks like
+\VerbatimInput[frame=leftline]{willowtreebook.bib}
+We can cite works from the bibliography, like Homer~\cite{Homer:Iliad}, p. 12.
+\begin{Verbatim}[frame=leftline]
+We can cite works from the bibliography, like Homer~\cite{Homer:Iliad}, p. 12.
+\end{Verbatim}
+Compile with \verb!bibtex!.
+\section{Theorems}
+You have the usual theorem environments, like \texttt{amsthm}.
+\begin{theorem}[Pythagoras]
+In any triangle with sides of lengths \(a,b,c\), \(a^2+b^2=c^2\) just when the angle opposite the side of length \(c\) is a right angle.
+\end{theorem}
+\begin{Verbatim}[frame=leftline]
+\begin{theorem}[Pythagoras]
+In any triangle with sides of lengths \(a,b,c\),
+\(a^2+b^2=c^2\) just when the angle opposite the
+side of length \(c\) is a right angle.
+\end{theorem}
+\end{Verbatim}
+\end{document}