Convert cleric to use prelude
Getty Ritter
7 years ago
| 1 | 1 | \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} | |
| 88 | 4 | |
| 89 | 5 | % Modify this commands to define Class name, Base HP, Base Load and Damage Dice (only number) |
| 90 | 6 | \newcommand{\Class}{Cleric} |
| 92 | 8 | \newcommand{\BaseLoad}{10} |
| 93 | 9 | \newcommand{\Damage}{6} |
| 94 | 10 | |
| 95 | % Don't replace here, replace before every section | |
| 96 | \newcommand{\SectionTitle}{4} | |
| 97 | ||
| 98 | ||
| 99 | ||
| 100 | ||
| 101 | 11 | \begin{document} |
| 102 | 12 | \openup -0.3em |
| 103 | 13 | |
| 104 | 14 | \input{figuras/TopBanner} |
| 105 | %\input{figuras/TopBanner10Plus} %Use this instead when damage dice has 10 or more faces | |
| 106 | 15 | |
| 107 | 16 | \begin{multicols}{2} |
| 108 | \renewcommand{\SectionTitle}{\headingfont Folk} | |
| 109 | \input{figuras/LeftBanner} | |
| 17 | \leftbanner{Folk} | |
| 110 | 18 | |
| 111 | 19 | \begin{amove}{Dwarf} |
| 112 | 20 | are one with stone. When you commune you are also granted a special |
| 126 | 34 | |
| 127 | 35 | \ |
| 128 | 36 | |
| 129 | \renewcommand{\SectionTitle}{\headingfont Alignment} | |
| 130 | \input{figuras/LeftBanner} | |
| 131 | ||
| 37 | \leftbanner{Alignment} | |
| 132 | 38 | |
| 133 | 39 | \begin{amove}{Good} |
| 134 | 40 | Endanger yourself to heal another. |
| 145 | 51 | |
| 146 | 52 | \ |
| 147 | 53 | |
| 148 | \renewcommand{\SectionTitle}{\headingfont Bonds} | |
| 149 | \input{figuras/LeftBanner} | |
| 54 | \leftbanner{Bonds} | |
| 150 | 55 | |
| 151 | 56 | \begin{quote} |
| 152 | 57 | \textbf{V:}\enspace\hrulefill |
| 175 | 80 | \columnbreak |
| 176 | 81 | |
| 177 | 82 | |
| 178 | \renewcommand{\SectionTitle}{\headingfont Starting Moves} | |
| 179 | \input{figuras/RightBanner} | |
| 83 | \rightbanner{Starting Moves} | |
| 180 | 84 | |
| 181 | 85 | \begin{basicmove}{Deity} |
| 182 | 86 | 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: |
| 255 | 159 | \end{multicols} |
| 256 | 160 | \clearpage |
| 257 | 161 | |
| 258 | \renewcommand{\SectionTitle}{\headingfont Gear} | |
| 259 | \input{figuras/RightBannerEquipment} | |
| 162 | \gearbanner | |
| 260 | 163 | |
| 261 | 164 | \begin{multicols}{2} |
| 262 | 165 | |
| 298 | 201 | \end{multicols} |
| 299 | 202 | |
| 300 | 203 | \begin{multicols}{2} |
| 301 | \renewcommand{\SectionTitle}{\headingfont Advanced Moves (2-5)} | |
| 302 | \input{figuras/LeftBanner} | |
| 204 | \leftbanner{Advanced Moves (2-5)} | |
| 303 | 205 | |
| 304 | 206 | When you \textbf{gain a level from 2--5}, choose from these moves. |
| 305 | 207 | |
| 370 | 272 | \vfill\null |
| 371 | 273 | \columnbreak |
| 372 | 274 | |
| 373 | \renewcommand{\SectionTitle}{\headingfont Advanced Moves (6-10)} | |
| 374 | \input{figuras/RightBanner} | |
| 275 | \rightbanner{Advanced Moves (6-10)} | |
| 375 | 276 | |
| 376 | 277 | When you \textbf{gain a level from 6--10}, choose from these moves or |
| 377 | 278 | the level 2--5 moves. |