gdritter repos chalcedony-playbooks / 212e840
Refactor common code into prelude Getty Ritter 5 years ago
2 changed file(s) with 167 addition(s) and 154 deletion(s). Collapse all Expand all
11 \documentclass[8pt]{extarticle}
2 \usepackage{color}
3 \usepackage{lmodern}
4 \usepackage{amssymb,amsmath}
5 \usepackage{ifxetex,ifluatex}
6 \usepackage{anyfontsize}
7 \usepackage[percent]{overpic}
8 \usepackage[margin=0.5in]{geometry}
9 \usepackage{multicol}
10 \setlength{\columnsep}{0.05cm}
11 \usepackage[T1]{fontenc}
12 \usepackage[utf8]{inputenc}
13 \usepackage{fontspec} % For loading fonts
14 \usepackage{titlesec}
15 \setmainfont{PT Serif}
16 \newfontfamily\headingfont[]{Metamorphous}
17 \titleformat*{\section}{\LARGE\headingfont}
18 \titleformat*{\subsection}{\Large\headingfont}
19
20 \newenvironment{amove}[1]
21 {\Checkbox{6pt}\ {\headingfont #1}\begin{quote}
22 }
23 {\end{quote}
24 }
25
26 \pagestyle{empty}
27 \IfFileExists{upquote.sty}{\usepackage{upquote}}{}
28 % use microtype if available
29 \IfFileExists{microtype.sty}{%
30 \usepackage[]{microtype}
31 \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
32 }{}
33 \PassOptionsToPackage{hyphens}{url} % url is loaded by hyperref
34
35 \makeatother
36 % Scale images if necessary, so that they will not overflow the page
37 % margins by default, and it is still possible to overwrite the defaults
38 % using explicit options in \includegraphics[width, height, ...]{}
39 \setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
40 \IfFileExists{parskip.sty}{%
41 \usepackage{parskip}
42 }{% else
43 \setlength{\parindent}{0pt}
44 \setlength{\parskip}{6pt plus 2pt minus 1pt}
45 }
46 \setlength{\emergencystretch}{3em} % prevent overfull lines
47 \providecommand{\tightlist}{%
48 \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
49 \setcounter{secnumdepth}{0}
50 % Redefines (sub)paragraphs to behave more like sections
51 \ifx\paragraph\undefined\else
52 \let\oldparagraph\paragraph
53 \renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
54 \fi
55 \ifx\subparagraph\undefined\else
56 \let\oldsubparagraph\subparagraph
57 \renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
58 \fi
59
60 % set default figure placement to htbp
61 \makeatletter
62 \def\fps@figure{htbp}
63 \makeatother
64
65
66 \date{}
67
68 \usepackage{etoolbox}
69 \patchcmd{\quote}{\rightmargin}{\leftmargin 1em \rightmargin}{}{}
70
71 \usepackage{tikz}
72 \newcommand{\Checkbox}[1]{\tikz{\path[draw=black] (0,0) rectangle (#1,#1);}}
2
3 \input{prelude.tex}
734
745 % Modify this commands to define Class name, Base HP, Base Load and Damage Dice (only number)
756 \newcommand{\Class}{Bard}
778 \newcommand{\BaseLoad}{9}
789 \newcommand{\Damage}{6}
7910
80 % Don't replace here, replace before every section
81 \newcommand{\SectionTitle}{4}
82
83
84
8511
8612 \begin{document}
8713 \openup -0.3em
8814
8915 \input{figuras/TopBanner}
90 %\input{figuras/TopBanner10Plus} %Use this instead when damage dice has 10 or more faces
9116
9217 \begin{multicols}{2}
93 \renewcommand{\SectionTitle}{\headingfont Folk}
94 \input{figuras/LeftBanner}
95
96
97 \Checkbox{6pt} \textbf{Elf}
98 \begin{quote}
18 \leftbanner{Folk}
19
20
21 \begin{amove}{Elf}
9922 When you enter an important location (your call) you can ask the GM for one fact from the history of that location.
100 \end{quote}
101
102 \Checkbox{6pt} \textbf{Human}
103 \begin{quote}
23 \end{amove}
24
25 \begin{amove}{Human}
10426 When you first enter a civilized settlement someone who respects the custom of hospitality to minstrels will take you in as their guest.
105 \end{quote}
106
107 \Checkbox{6pt} \textbf{Rihamm}
108 \begin{quote}
27 \end{amove}
28
29 \begin{amove}{Rihamm}
10930 When you speak frankly and openly with someone, ask them two questions instead of one.
110 \end{quote}
111
112 \
113
114 \renewcommand{\SectionTitle}{\headingfont Alignment}
115 \input{figuras/LeftBanner}
116
117
118 \Checkbox{6pt} \textbf{Good}
31 \end{amove}
32
33 \
34
35 \leftbanner{Alignment}
36
37 \choice \textbf{Good}
11938 \begin{quote}
12039 Perform your art to aid someone else.
12140 \end{quote}
12241
123 \Checkbox{6pt} \textbf{Neutral}
42 \choice \textbf{Neutral}
12443 \begin{quote}
12544 Avoid a conflict or defuse a tense situation.
12645 \end{quote}
12746
128 \Checkbox{6pt} \textbf{Chaotic}
47 \choice \textbf{Chaotic}
12948 \begin{quote}
13049 Spur others to significant and unplanned decisive action.
13150 \end{quote}
13352
13453 \
13554
136 \renewcommand{\SectionTitle}{\headingfont Bonds}
137 \input{figuras/LeftBanner}
55 \leftbanner{Bonds}
13856
13957 \begin{quote}
14058 \textbf{V:}\enspace\hrulefill
16381 \columnbreak
16482
16583
166 \renewcommand{\SectionTitle}{\headingfont Starting Moves}
167 \input{figuras/RightBanner}
84 \rightbanner{Starting Moves}
16885
16986 \begin{quote}
17087 {\headingfont Arcane Art}
187104 \end{quote}
188105 \end{quote}
189106
190 \begin{quote}
191 {\headingfont Bardic Lore}
192 \begin{quote}
193
107 \begin{basicmove}{Bardic Lore}
194108 Choose an area of expertise:
195109
196110 • Spells and Magicks
208122 • Gods and Their Servants
209123
210124 When you \textbf{first encounter an important creature, location, or item (your call) covered by your bardic lore} you can ask the GM any one question about it; the GM will answer truthfully. The GM may then ask you what tale, song, or legend you heard that information in.
211 \end{quote}
212 \end{quote}
213
214 \begin{quote}
215 {\headingfont Charming and Open}
216
217 \begin{quote}
125 \end{basicmove}
126
127 \begin{basicmove}{Charming and Open}
218128 When you \textbf{speak frankly with someone}, you can ask their player a question from the list below. They must answer it truthfully, then they may ask you a question from the list (which you must answer truthfully).
219129
220130 • Whom do you serve?
226136 • What are you really feeling right now?
227137
228138 • What do you most desire?
229 \end{quote}\end{quote}
230
231 \begin{quote}
232 {\headingfont A Port in the Storm}
233 \begin{quote}
139 \end{basicmove}
140
141 \begin{basicmove}{A Port in the Storm}
234142 When you \textbf{arrive at a civilized settlement spoken of in
235143 lore or song}, tell the GM something you've heard about the
236144 place. They’ll tell you how it’s changed since the Shattering.
237 \end{quote}
238 \end{quote}
145 \end{basicmove}
239146
240147 \vfill\null
241148 \end{multicols}
242149 \clearpage
243150
244 \renewcommand{\SectionTitle}{\headingfont Gear}
245 \input{figuras/RightBannerEquipment}
151 \gearbanner
246152
247153 \begin{multicols}{2}
248154
249155 \begin{quote}
250156 Your load is 9+Str. You have dungeon rations (5 uses, 1 weight). Choose one instrument, all are 0 weight for you:
251157
252 \Checkbox{6pt} Your father’s mandolin, repaired
253
254 \Checkbox{6pt} A fine lute, a gift from a noble
255
256 \Checkbox{6pt} The pipes with which you courted your first love
257
258 \Checkbox{6pt} A stolen horn
259
260 \Checkbox{6pt} A fiddle, never before played
261
262 \Checkbox{6pt} A songbook in a forgotten tongue
158 \choice Your father’s mandolin, repaired
159
160 \choice A fine lute, a gift from a noble
161
162 \choice The pipes with which you courted your first love
163
164 \choice A stolen horn
165
166 \choice A fiddle, never before played
167
168 \choice A songbook in a forgotten tongue
263169
264170 \end{quote}
265171
269175 \begin{quote}
270176 Choose your clothing:
271177
272 \Checkbox{6pt} Leather armor (1 armor, 1 weight)
273
274 \Checkbox{6pt} Ostentatious clothes (0 weight)
178 \choice Leather armor (1 armor, 1 weight)
179
180 \choice Ostentatious clothes (0 weight)
275181
276182 Choose your armament:
277183
278 \Checkbox{6pt} Dueling rapier (close, precise, 2 weight)
279
280 \Checkbox{6pt} Worn bow (near, 2 weight), bundle of arrows (3 ammo,
184 \choice Dueling rapier (close, precise, 2 weight)
185
186 \choice Worn bow (near, 2 weight), bundle of arrows (3 ammo,
281187 1 weight), and short sword (close, 1 weight)
282188
283189 Choose one:
284190
285 \Checkbox{6pt} Adventuring gear (1 weight)
286
287 \Checkbox{6pt} Bandages (0 weight)
288
289 \Checkbox{6pt} Halfling pipeleaf (0 weight)
290
291 \Checkbox{6pt} 3 coins
191 \choice Adventuring gear (1 weight)
192
193 \choice Bandages (0 weight)
194
195 \choice Halfling pipeleaf (0 weight)
196
197 \choice 3 coins
292198
293199
294200 \end{quote}
296202 \end{multicols}
297203
298204 \begin{multicols}{2}
299 \renewcommand{\SectionTitle}{\headingfont Advanced Moves (2-5)}
300 \input{figuras/LeftBanner}
205 \leftbanner{Advanced Moves (2-5)}
301206
302207 When you \textbf{gain a level from 2--5}, choose from these moves.
303208
369274 \vfill\null
370275 \columnbreak
371276
372 \renewcommand{\SectionTitle}{\headingfont Advanced Moves (6-10)}
373 \input{figuras/RightBanner}
277 \rightbanner{Advanced Moves (6-10)}
374278
375279 When you \textbf{gain a level from 6--10}, choose from these moves or
376280 the level 2--5 moves.
1 \usepackage{color}
2 \usepackage{lmodern}
3 \usepackage{amssymb,amsmath}
4 \usepackage{ifxetex,ifluatex}
5 \usepackage{anyfontsize}
6 \usepackage[percent]{overpic}
7 \usepackage[margin=0.5in]{geometry}
8 \usepackage{multicol}
9 \setlength{\columnsep}{0.05cm}
10 \usepackage[T1]{fontenc}
11 \usepackage[utf8]{inputenc}
12 \usepackage{fontspec} % For loading fonts
13 \usepackage{titlesec}
14 \setmainfont{PT Serif}
15 \newfontfamily\headingfont[]{Metamorphous}
16 \titleformat*{\section}{\LARGE\headingfont}
17 \titleformat*{\subsection}{\Large\headingfont}
18
19 \newenvironment{amove}[1]
20 {\Checkbox{6pt}\ {\headingfont #1}\begin{quote}
21 }
22 {\end{quote}
23 }
24
25 \newenvironment{basicmove}[1]
26 {\begin{quote}{\headingfont #1}\begin{quote}
27 }
28 {\end{quote}\end{quote}
29 }
30
31 \newenvironment{choices}[1]
32 {#1
33
34 \begin{quote}
35 }
36 {\end{quote}
37 }
38
39 \newcommand{\choice}{\Checkbox{6pt} }
40
41 \pagestyle{empty}
42 \IfFileExists{upquote.sty}{\usepackage{upquote}}{}
43 % use microtype if available
44 \IfFileExists{microtype.sty}{%
45 \usepackage[]{microtype}
46 \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
47 }{}
48 \PassOptionsToPackage{hyphens}{url} % url is loaded by hyperref
49
50 \makeatother
51 % Scale images if necessary, so that they will not overflow the page
52 % margins by default, and it is still possible to overwrite the defaults
53 % using explicit options in \includegraphics[width, height, ...]{}
54 \setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
55 \IfFileExists{parskip.sty}{%
56 \usepackage{parskip}
57 }{% else
58 \setlength{\parindent}{0pt}
59 \setlength{\parskip}{6pt plus 2pt minus 1pt}
60 }
61 \setlength{\emergencystretch}{3em} % prevent overfull lines
62 \providecommand{\tightlist}{%
63 \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
64 \setcounter{secnumdepth}{0}
65 % Redefines (sub)paragraphs to behave more like sections
66 \ifx\paragraph\undefined\else
67 \let\oldparagraph\paragraph
68 \renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
69 \fi
70 \ifx\subparagraph\undefined\else
71 \let\oldsubparagraph\subparagraph
72 \renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
73 \fi
74
75 % set default figure placement to htbp
76 \makeatletter
77 \def\fps@figure{htbp}
78 \makeatother
79
80
81 \date{}
82
83 \usepackage{etoolbox}
84 \patchcmd{\quote}{\rightmargin}{\leftmargin 1em \rightmargin}{}{}
85
86 \usepackage{tikz}
87 \newcommand{\Checkbox}[1]{\tikz{\path[draw=black] (0,0) rectangle (#1,#1);}}
88
89
90 % Don't replace here, replace before every section
91 \newcommand{\SectionTitle}{4}
92
93 \newcommand{\leftbanner}[1]{
94 \begin{overpic}[width=3.71260in,height=0.40945in]{figuras/templateL.png}
95 \put (2,4) {\fontsize{16}{40}\selectfont \textcolor{white}{\headingfont #1}}
96 \end{overpic}
97 }
98
99 \newcommand{\rightbanner}[1]{
100 \begin{overpic}[width=3.71260in,height=0.40945in]{figuras/templateR.png}
101 \put (5,4) {\fontsize{16}{40}\selectfont \textcolor{white}{\headingfont #1}}
102 \end{overpic}
103 }
104
105 \newcommand{\gearbanner}{
106 \begin{overpic}[width=7.47986in,height=0.40945in]{figuras/templateEquip.png}
107 \put (3,2) {\fontsize{16}{40}\selectfont \textcolor{white}{\headingfont Gear}}
108 \end{overpic}
109 }