summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/knittingpattern/template.tex
blob: 0909c672687723b370a5b5fd7125c16e48c6f5a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
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}