gdritter repos chalcedony-playbooks / 8594adc
Move prelude into assets folder Getty Ritter 6 years ago
18 changed file(s) with 142 addition(s) and 142 deletion(s). Collapse all Expand all
11 \documentclass[8pt]{extarticle}
2 \input{prelude}
2 \input{assets/prelude}
33
44 % Modify this commands to define Class name, Base HP, Base Load and Damage Dice (only number)
55 \newcommand{\Class}{Artificer}
1 \usepackage{color}
2 \usepackage{hyperref}
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 \begin{quote}
36 }
37 {\end{quote}
38 }
39
40 \newcommand{\choice}{\Checkbox{6pt} }
41
42 \pagestyle{empty}
43 \IfFileExists{upquote.sty}{\usepackage{upquote}}{}
44 % use microtype if available
45 \IfFileExists{microtype.sty}{%
46 \usepackage[]{microtype}
47 \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
48 }{}
49 \PassOptionsToPackage{hyphens}{url} % url is loaded by hyperref
50
51 \makeatother
52 % Scale images if necessary, so that they will not overflow the page
53 % margins by default, and it is still possible to overwrite the defaults
54 % using explicit options in \includegraphics[width, height, ...]{}
55 \setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
56 \IfFileExists{parskip.sty}{%
57 \usepackage{parskip}
58 }{% else
59 \setlength{\parindent}{0pt}
60 \setlength{\parskip}{6pt plus 2pt minus 1pt}
61 }
62 \setlength{\emergencystretch}{3em} % prevent overfull lines
63 \providecommand{\tightlist}{%
64 \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
65 \setcounter{secnumdepth}{0}
66 % Redefines (sub)paragraphs to behave more like sections
67 \ifx\paragraph\undefined\else
68 \let\oldparagraph\paragraph
69 \renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
70 \fi
71 \ifx\subparagraph\undefined\else
72 \let\oldsubparagraph\subparagraph
73 \renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
74 \fi
75
76 % set default figure placement to htbp
77 \makeatletter
78 \def\fps@figure{htbp}
79 \makeatother
80
81
82 \date{}
83
84 \usepackage{etoolbox}
85 \patchcmd{\quote}{\rightmargin}{\leftmargin 1em \rightmargin}{}{}
86
87 \usepackage{tikz}
88 \newcommand{\Checkbox}[1]{\tikz{\path[draw=black] (0,0) rectangle (#1,#1);}}
89
90
91 % Don't replace here, replace before every section
92 \newcommand{\SectionTitle}{4}
93
94 \newcommand{\leftbanner}[1]{
95 \begin{overpic}[width=3.71260in,height=0.40945in]{assets/templateL.png}
96 \put (2,4) {\fontsize{16}{40}\selectfont \textcolor{white}{\headingfont #1}}
97 \end{overpic}
98 }
99
100 \newcommand{\rightbanner}[1]{
101 \begin{overpic}[width=3.71260in,height=0.40945in]{assets/templateR.png}
102 \put (5,4) {\fontsize{16}{40}\selectfont \textcolor{white}{\headingfont #1}}
103 \end{overpic}
104 }
105
106 \newcommand{\gearbanner}{
107 \begin{overpic}[width=7.47986in,height=0.40945in]{assets/templateEquip.png}
108 \put (3,2) {\fontsize{16}{40}\selectfont \textcolor{white}{\headingfont Gear}}
109 \end{overpic}
110 }
111
112 \newcommand{\topbanner}[1]{
113 \begin{overpic}[width=7.47986in,height=1.0in]{assets/templateRuleHeader.png}
114 \put (1,2) {\fontsize{32}{40}\selectfont\headingfont \textcolor{white}{#1}}
115 \end{overpic}
116 }
117
118 \newcommand{\widebanner}[1]{
119 \begin{overpic}[width=7.47986in,height=1.0in]{assets/templateThinHeader.png}
120 \put (1,1) {\fontsize{16}{40}\selectfont\headingfont \textcolor{white}{#1}}
121 \end{overpic}
122 }
123
124 \newcommand{\charbanner}{
125 \input{assets/TopBanner}
126 }
11 \documentclass[8pt]{extarticle}
22
3 \input{prelude.tex}
3 \input{assets/prelude.tex}
44
55 % Modify this commands to define Class name, Base HP, Base Load and Damage Dice (only number)
66 \newcommand{\Class}{Bard}
11 \documentclass[8pt]{extarticle}
22
3 \input{prelude}
3 \input{assets/prelude}
44
55 % Modify this commands to define Class name, Base HP, Base Load and Damage Dice (only number)
66 \newcommand{\Class}{Cleric}
11 \documentclass[8pt]{extarticle}
22
3 \input{prelude}
3 \input{assets/prelude}
44
55 % Modify this commands to define Class name, Base HP, Base Load and Damage Dice (only number)
66 \newcommand{\Class}{Collector}
11 \documentclass[8pt]{extarticle}
2 \input{prelude}
2 \input{assets/prelude}
33
44 % Modify this commands to define Class name, Base HP, Base Load and Damage Dice (only number)
55 \newcommand{\Class}{Druid}
11 \documentclass[8pt]{extarticle}
2 \input{prelude}
2 \input{assets/prelude}
33
44 % Modify this commands to define Class name, Base HP, Base Load and Damage Dice (only number)
55 \newcommand{\Class}{Fighter}
11 \documentclass[8pt]{extarticle}
2 \input{prelude}
2 \input{assets/prelude}
33
44 % Modify this commands to define Class name, Base HP, Base Load and Damage Dice (only number)
55 \newcommand{\Class}{Lantern-Bearer}
11 \documentclass[8pt]{extarticle}
22
3 \input{prelude}
3 \input{assets/prelude}
44
55 % Modify this commands to define Class name, Base HP, Base Load and Damage Dice (only number)
66 \newcommand{\Class}{Mage}
11 \documentclass[8pt]{extarticle}
2 \input{prelude}
2 \input{assets/prelude}
33
44 % Modify this commands to define Class name, Base HP, Base Load and Damage Dice (only number)
55 \newcommand{\Class}{Paladin}
+0
-126
prelude.tex less more
1 \usepackage{color}
2 \usepackage{hyperref}
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 \begin{quote}
36 }
37 {\end{quote}
38 }
39
40 \newcommand{\choice}{\Checkbox{6pt} }
41
42 \pagestyle{empty}
43 \IfFileExists{upquote.sty}{\usepackage{upquote}}{}
44 % use microtype if available
45 \IfFileExists{microtype.sty}{%
46 \usepackage[]{microtype}
47 \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
48 }{}
49 \PassOptionsToPackage{hyphens}{url} % url is loaded by hyperref
50
51 \makeatother
52 % Scale images if necessary, so that they will not overflow the page
53 % margins by default, and it is still possible to overwrite the defaults
54 % using explicit options in \includegraphics[width, height, ...]{}
55 \setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
56 \IfFileExists{parskip.sty}{%
57 \usepackage{parskip}
58 }{% else
59 \setlength{\parindent}{0pt}
60 \setlength{\parskip}{6pt plus 2pt minus 1pt}
61 }
62 \setlength{\emergencystretch}{3em} % prevent overfull lines
63 \providecommand{\tightlist}{%
64 \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
65 \setcounter{secnumdepth}{0}
66 % Redefines (sub)paragraphs to behave more like sections
67 \ifx\paragraph\undefined\else
68 \let\oldparagraph\paragraph
69 \renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
70 \fi
71 \ifx\subparagraph\undefined\else
72 \let\oldsubparagraph\subparagraph
73 \renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
74 \fi
75
76 % set default figure placement to htbp
77 \makeatletter
78 \def\fps@figure{htbp}
79 \makeatother
80
81
82 \date{}
83
84 \usepackage{etoolbox}
85 \patchcmd{\quote}{\rightmargin}{\leftmargin 1em \rightmargin}{}{}
86
87 \usepackage{tikz}
88 \newcommand{\Checkbox}[1]{\tikz{\path[draw=black] (0,0) rectangle (#1,#1);}}
89
90
91 % Don't replace here, replace before every section
92 \newcommand{\SectionTitle}{4}
93
94 \newcommand{\leftbanner}[1]{
95 \begin{overpic}[width=3.71260in,height=0.40945in]{assets/templateL.png}
96 \put (2,4) {\fontsize{16}{40}\selectfont \textcolor{white}{\headingfont #1}}
97 \end{overpic}
98 }
99
100 \newcommand{\rightbanner}[1]{
101 \begin{overpic}[width=3.71260in,height=0.40945in]{assets/templateR.png}
102 \put (5,4) {\fontsize{16}{40}\selectfont \textcolor{white}{\headingfont #1}}
103 \end{overpic}
104 }
105
106 \newcommand{\gearbanner}{
107 \begin{overpic}[width=7.47986in,height=0.40945in]{assets/templateEquip.png}
108 \put (3,2) {\fontsize{16}{40}\selectfont \textcolor{white}{\headingfont Gear}}
109 \end{overpic}
110 }
111
112 \newcommand{\topbanner}[1]{
113 \begin{overpic}[width=7.47986in,height=1.0in]{assets/templateRuleHeader.png}
114 \put (1,2) {\fontsize{32}{40}\selectfont\headingfont \textcolor{white}{#1}}
115 \end{overpic}
116 }
117
118 \newcommand{\widebanner}[1]{
119 \begin{overpic}[width=7.47986in,height=1.0in]{assets/templateThinHeader.png}
120 \put (1,1) {\fontsize{16}{40}\selectfont\headingfont \textcolor{white}{#1}}
121 \end{overpic}
122 }
123
124 \newcommand{\charbanner}{
125 \input{assets/TopBanner}
126 }
11 \documentclass[8pt]{extarticle}
22
3 \input{prelude}
3 \input{assets/prelude}
44
55 % Modify this commands to define Class name, Base HP, Base Load and Damage Dice (only number)
66 \newcommand{\Class}{Priest}
11 \documentclass[8pt]{extarticle}
2 \input{prelude}
2 \input{assets/prelude}
33
44 % Modify this commands to define Class name, Base HP, Base Load and Damage Dice (only number)
55 \newcommand{\Class}{Ranger}
11 \documentclass[8pt]{extarticle}
2 \input{prelude}
2 \input{assets/prelude}
33
44 % Modify this commands to define Class name, Base HP, Base Load and Damage Dice (only number)
55 \newcommand{\Class}{Survivor}
11 \documentclass[8pt]{extarticle}
2 \input{prelude}
2 \input{assets/prelude}
33
44 % Modify this commands to define Class name, Base HP, Base Load and Damage Dice (only number)
55 \newcommand{\Class}{Thief}
11 \documentclass[8pt]{extarticle}
2 \input{prelude.tex}
2 \input{assets/prelude.tex}
33
44 \begin{document}
55 \openup -0.2em
11 \documentclass[8pt]{extarticle}
2 \input{prelude}
2 \input{assets/prelude}
33
44 % Modify this commands to define Class name, Base HP, Base Load and Damage Dice (only number)
55 \newcommand{\Class}{Witch}
11 \documentclass[8pt]{extarticle}
2 \input{prelude}
2 \input{assets/prelude}
33
44 % Modify this commands to define Class name, Base HP, Base Load and Damage Dice (only number)
55 \newcommand{\Class}{Wizard}