Debian Codegraph @

texmf-dist/doc/latex/knittingpattern/template.tex

raw
1 \documentclass{knittingpattern}
2
3 % Commands
4 % \intro{Text}{pic}
5 % \note{borderColour}{backgroundColour}{Title}{Text}
6 % \diagram{diag}
7 % \begin{pattern}{colour1}{colour2} Col & (st) \end{pattern}
8 % \important{borderColour}{backgroundColour}{Text}
9 % \biog{pic}{Text}
10 % \cpyrght{Name}
11
12 % template.tex, version 1
13 %% Copyright 2010 Hugh Griffiths
14 %
15 % This work may be distributed and/or modified under the conditions
16 % of the LaTeX Project Public License, either version 1.3 of this
17 % license or (at your option) any later version. The latest version
18 % of this license is in http://www.latex-project.org/lppl.txt and
19 % version 1.3 or later is part of all distributions of LaTeX version
20 % 2005/12/01 or later.
21 %
22 % This work has the LPPL maintenance status `maintained'.
23 %
24 % The Current Maintainer of this work is Hugh Griffiths.
25 %
26 % This work consists of the files knittingpattern.cls, template.tex, template.pdf, introduction.tex and introduction.pdf
27
28 \definecolor{colour0}{HTML}{000000}
29 \definecolor{colour1}{HTML}{6699FF}
30 \definecolor{colour2}{HTML}{CC99FF}
31 \definecolor{colour3}{HTML}{99CCFF}
32 \definecolor{colour4}{HTML}{9966FF}
33 \definecolor{colour5}{HTML}{CCFFCC}
34
35 \begin{document}
36
37 \title{Title}
38 \author{Author}
39 \date{\today}
40 \maketitle
41
42 \cpyrght{\copyright 2010 Hugh Griffiths}
43
44 \intro{
45 Introduction introduction introduction introduction introduction
46 introduction introduction introduction introduction introduction
47 introduction introduction introduction introduction introduction
48 introduction introduction introduction introduction introduction
49 introduction introduction introduction introduction introduction
50 introduction introduction introduction introduction introduction.
51 Introduction introduction introduction introduction introduction
52 introduction introduction introduction introduction introduction
53 introduction introduction introduction introduction introduction
54 introduction introduction introduction introduction introduction
55 introduction introduction introduction introduction introduction
56 introduction introduction introduction introduction introduction.
57 Introduction introduction introduction introduction introduction
58 introduction introduction introduction introduction introduction
59 introduction introduction introduction introduction introduction
60 introduction introduction introduction introduction introduction
61 introduction introduction introduction introduction introduction
62 introduction introduction introduction introduction introduction.
63 }{lion.png}
64
65 \note{colour0}{colour2}{Materials}{
66 Wool wool wool wool wool wool.
67 }
68
69 \diagram{lion.png}
70
71 \note{colour0}{colour4}{Abbreviations}{K P Kfb etc.}
72
73 \section*{Section 1}
74
75 \intro{
76 Note note note note note note note note note note note note note note
77 note note note note note note note note note note note note note note
78 note note note note note note note note note note note note note note
79 note note note note note note note note note note note note note note
80 note note note note note note note note note note note note note note
81 note note note.
82 }{lion.png}
83
84 \begin{pattern}{colour2}{colour4}
85 Cast on & (st)\\
86 Instructions & (st)\\
87 Instructions & (st)\\
88 Instructions & (st)\\
89 Instructions & (st)\\
90 Instructions & (st)\\
91 Instructions & (st)\\
92 Instructions & (st)\\
93 \quad\vdots & \quad\vdots\\
94 \end{pattern}
95
96 Note note note note note note note note note note note note note note
97 note note note note note note note note note note note note note note
98 note note note note note note note note note note note note note note
99 note note note note note note note note note note note note note note
100 note note note note note note note note note note note note note note
101 note note note.
102
103 \section*{Section 2}
104
105 \intro{
106 Note note note note note note note note note note note note note note
107 note note note note note note note note note note note note note note
108 note note note note note note note note note note note note note note
109 note note note note note note note note note note note note note note
110 note note note note note note note note note note note note note note
111 note note note.
112 }{lion.png}
113
114 \begin{pattern}{colour2}{colour4}
115 Cast on & (st)\\
116 Instructions & (st)\\
117 Instructions & (st)\\
118 Instructions & (st)\\
119 Instructions & (st)\\
120 Instructions & (st)\\
121 Instructions & (st)\\
122 Instructions & (st)\\
123 Instructions & (st)\\
124 Instructions & (st)\\
125 Instructions & (st)\\
126 Instructions & (st)\\
127 Instructions & (st)\\
128 Instructions & (st)\\
129 \quad\vdots & \quad\vdots\\
130 \end{pattern}
131
132 \important{colour0}{colour5}{
133 Making up, making up, making up, making up, making up, making up,
134 making up, making up, making up, making up, making up, making up,
135 making up, making up, making up, making up, making up, making up,
136 making up, making up, making up, making up, making up, making up,
137 making up, making up, making up, making up, making up, making up.
138 }
139
140 Note note note note note note note note note note note note note note
141 note note note note note note note note note note note note note note
142 note note note note note note note note note note note note note note
143 note note note note note note note note note note note note note note
144 note note note note note note note note note note note note note note
145 note note note.
146
147 \biog[.4]{lion.png}{Biographical information. Talk about self, talk about
148 self, talk about self, talk about self, talk about self, talk about
149 self.}
150
151 \end{document}