gdritter repos chalcedony-playbooks / bbbab50
Convert cleric to use prelude Getty Ritter 6 years ago
2 changed file(s) with 10 addition(s) and 109 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 \newenvironment{basicmove}[1]
27 {\begin{quote}{\headingfont #1}\begin{quote}
28 }
29 {\end{quote}\end{quote}
30 }
31
32 \newenvironment{choices}[1]
33 {#1
34
35 \newcommand{\choice}{\Checkbox{6pt} }
36 \begin{quote}
37 }
38 {\end{quote}\let\choice\undefined
39 }
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);}}
2
3 \input{prelude}
884
895 % Modify this commands to define Class name, Base HP, Base Load and Damage Dice (only number)
906 \newcommand{\Class}{Cleric}
928 \newcommand{\BaseLoad}{10}
939 \newcommand{\Damage}{6}
9410
95 % Don't replace here, replace before every section
96 \newcommand{\SectionTitle}{4}
97
98
99
100
10111 \begin{document}
10212 \openup -0.3em
10313
10414 \input{figuras/TopBanner}
105 %\input{figuras/TopBanner10Plus} %Use this instead when damage dice has 10 or more faces
10615
10716 \begin{multicols}{2}
108 \renewcommand{\SectionTitle}{\headingfont Folk}
109 \input{figuras/LeftBanner}
17 \leftbanner{Folk}
11018
11119 \begin{amove}{Dwarf}
11220 are one with stone. When you commune you are also granted a special
12634
12735 \
12836
129 \renewcommand{\SectionTitle}{\headingfont Alignment}
130 \input{figuras/LeftBanner}
131
37 \leftbanner{Alignment}
13238
13339 \begin{amove}{Good}
13440 Endanger yourself to heal another.
14551
14652 \
14753
148 \renewcommand{\SectionTitle}{\headingfont Bonds}
149 \input{figuras/LeftBanner}
54 \leftbanner{Bonds}
15055
15156 \begin{quote}
15257 \textbf{V:}\enspace\hrulefill
17580 \columnbreak
17681
17782
178 \renewcommand{\SectionTitle}{\headingfont Starting Moves}
179 \input{figuras/RightBanner}
83 \rightbanner{Starting Moves}
18084
18185 \begin{basicmove}{Deity}
18286 You serve and worship some deity or power which grants you spells. Give your god a name (maybe Helferth, Sucellus, Zorica or Krugon the Bleak) and choose your deity’s domain:
255159 \end{multicols}
256160 \clearpage
257161
258 \renewcommand{\SectionTitle}{\headingfont Gear}
259 \input{figuras/RightBannerEquipment}
162 \gearbanner
260163
261164 \begin{multicols}{2}
262165
298201 \end{multicols}
299202
300203 \begin{multicols}{2}
301 \renewcommand{\SectionTitle}{\headingfont Advanced Moves (2-5)}
302 \input{figuras/LeftBanner}
204 \leftbanner{Advanced Moves (2-5)}
303205
304206 When you \textbf{gain a level from 2--5}, choose from these moves.
305207
370272 \vfill\null
371273 \columnbreak
372274
373 \renewcommand{\SectionTitle}{\headingfont Advanced Moves (6-10)}
374 \input{figuras/RightBanner}
275 \rightbanner{Advanced Moves (6-10)}
375276
376277 When you \textbf{gain a level from 6--10}, choose from these moves or
377278 the level 2--5 moves.
112112 \begin{overpic}[width=7.47986in,height=1.0in]{figuras/templateRuleHeader.png}
113113 \put (1,2) {\fontsize{32}{40}\selectfont\headingfont \textcolor{white}{#1}}
114114 \end{overpic}
115 }
115 }