summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/knittingpattern/template.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/knittingpattern/template.tex')
-rw-r--r--macros/latex/contrib/knittingpattern/template.tex151
1 files changed, 151 insertions, 0 deletions
diff --git a/macros/latex/contrib/knittingpattern/template.tex b/macros/latex/contrib/knittingpattern/template.tex
new file mode 100644
index 0000000000..0909c67268
--- /dev/null
+++ b/macros/latex/contrib/knittingpattern/template.tex
@@ -0,0 +1,151 @@
+\documentclass{knittingpattern}
+
+% Commands
+% \intro{Text}{pic}
+% \note{borderColour}{backgroundColour}{Title}{Text}
+% \diagram{diag}
+% \begin{pattern}{colour1}{colour2} Col & (st) \end{pattern}
+% \important{borderColour}{backgroundColour}{Text}
+% \biog{pic}{Text}
+% \cpyrght{Name}
+
+% template.tex, version 1
+ %% Copyright 2010 Hugh Griffiths
+ %
+ % This work may be distributed and/or modified under the conditions
+ % of the LaTeX Project Public License, either version 1.3 of this
+ % license or (at your option) any later version. The latest version
+ % of this license is in http://www.latex-project.org/lppl.txt and
+ % version 1.3 or later is part of all distributions of LaTeX version
+ % 2005/12/01 or later.
+ %
+ % This work has the LPPL maintenance status `maintained'.
+ %
+ % The Current Maintainer of this work is Hugh Griffiths.
+ %
+ % This work consists of the files knittingpattern.cls, template.tex, template.pdf, introduction.tex and introduction.pdf
+
+\definecolor{colour0}{HTML}{000000}
+\definecolor{colour1}{HTML}{6699FF}
+\definecolor{colour2}{HTML}{CC99FF}
+\definecolor{colour3}{HTML}{99CCFF}
+\definecolor{colour4}{HTML}{9966FF}
+\definecolor{colour5}{HTML}{CCFFCC}
+
+\begin{document}
+
+\title{Title}
+\author{Author}
+\date{\today}
+\maketitle
+
+\cpyrght{\copyright 2010 Hugh Griffiths}
+
+\intro{
+Introduction introduction introduction introduction introduction
+introduction introduction introduction introduction introduction
+introduction introduction introduction introduction introduction
+introduction introduction introduction introduction introduction
+introduction introduction introduction introduction introduction
+introduction introduction introduction introduction introduction.
+Introduction introduction introduction introduction introduction
+introduction introduction introduction introduction introduction
+introduction introduction introduction introduction introduction
+introduction introduction introduction introduction introduction
+introduction introduction introduction introduction introduction
+introduction introduction introduction introduction introduction.
+Introduction introduction introduction introduction introduction
+introduction introduction introduction introduction introduction
+introduction introduction introduction introduction introduction
+introduction introduction introduction introduction introduction
+introduction introduction introduction introduction introduction
+introduction introduction introduction introduction introduction.
+}{lion.png}
+
+\note{colour0}{colour2}{Materials}{
+Wool wool wool wool wool wool.
+}
+
+\diagram{lion.png}
+
+\note{colour0}{colour4}{Abbreviations}{K P Kfb etc.}
+
+\section*{Section 1}
+
+\intro{
+Note note note note note note note note note note note note note note
+note note note note note note note note note note note note note note
+note note note note note note note note note note note note note note
+note note note note note note note note note note note note note note
+note note note note note note note note note note note note note note
+note note note.
+}{lion.png}
+
+\begin{pattern}{colour2}{colour4}
+Cast on & (st)\\
+Instructions & (st)\\
+Instructions & (st)\\
+Instructions & (st)\\
+Instructions & (st)\\
+Instructions & (st)\\
+Instructions & (st)\\
+Instructions & (st)\\
+\quad\vdots & \quad\vdots\\
+\end{pattern}
+
+Note note note note note note note note note note note note note note
+note note note note note note note note note note note note note note
+note note note note note note note note note note note note note note
+note note note note note note note note note note note note note note
+note note note note note note note note note note note note note note
+note note note.
+
+\section*{Section 2}
+
+\intro{
+Note note note note note note note note note note note note note note
+note note note note note note note note note note note note note note
+note note note note note note note note note note note note note note
+note note note note note note note note note note note note note note
+note note note note note note note note note note note note note note
+note note note.
+}{lion.png}
+
+\begin{pattern}{colour2}{colour4}
+Cast on & (st)\\
+Instructions & (st)\\
+Instructions & (st)\\
+Instructions & (st)\\
+Instructions & (st)\\
+Instructions & (st)\\
+Instructions & (st)\\
+Instructions & (st)\\
+Instructions & (st)\\
+Instructions & (st)\\
+Instructions & (st)\\
+Instructions & (st)\\
+Instructions & (st)\\
+Instructions & (st)\\
+\quad\vdots & \quad\vdots\\
+\end{pattern}
+
+\important{colour0}{colour5}{
+Making up, making up, making up, making up, making up, making up,
+making up, making up, making up, making up, making up, making up,
+making up, making up, making up, making up, making up, making up,
+making up, making up, making up, making up, making up, making up,
+making up, making up, making up, making up, making up, making up.
+}
+
+Note note note note note note note note note note note note note note
+note note note note note note note note note note note note note note
+note note note note note note note note note note note note note note
+note note note note note note note note note note note note note note
+note note note note note note note note note note note note note note
+note note note.
+
+\biog[.4]{lion.png}{Biographical information. Talk about self, talk about
+self, talk about self, talk about self, talk about self, talk about
+self.}
+
+\end{document}