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 | |
\pagestyle{empty}
|
33 | |
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
|
34 | |
% use microtype if available
|
35 | |
\IfFileExists{microtype.sty}{%
|
36 | |
\usepackage[]{microtype}
|
37 | |
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
|
38 | |
}{}
|
39 | |
\PassOptionsToPackage{hyphens}{url} % url is loaded by hyperref
|
40 | |
|
41 | |
\makeatother
|
42 | |
% Scale images if necessary, so that they will not overflow the page
|
43 | |
% margins by default, and it is still possible to overwrite the defaults
|
44 | |
% using explicit options in \includegraphics[width, height, ...]{}
|
45 | |
\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
|
46 | |
\IfFileExists{parskip.sty}{%
|
47 | |
\usepackage{parskip}
|
48 | |
}{% else
|
49 | |
\setlength{\parindent}{0pt}
|
50 | |
\setlength{\parskip}{6pt plus 2pt minus 1pt}
|
51 | |
}
|
52 | |
\setlength{\emergencystretch}{3em} % prevent overfull lines
|
53 | |
\providecommand{\tightlist}{%
|
54 | |
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
|
55 | |
\setcounter{secnumdepth}{0}
|
56 | |
% Redefines (sub)paragraphs to behave more like sections
|
57 | |
\ifx\paragraph\undefined\else
|
58 | |
\let\oldparagraph\paragraph
|
59 | |
\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
|
60 | |
\fi
|
61 | |
\ifx\subparagraph\undefined\else
|
62 | |
\let\oldsubparagraph\subparagraph
|
63 | |
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
|
64 | |
\fi
|
65 | |
|
66 | |
% set default figure placement to htbp
|
67 | |
\makeatletter
|
68 | |
\def\fps@figure{htbp}
|
69 | |
\makeatother
|
70 | |
|
71 | |
|
72 | |
\date{}
|
73 | |
|
74 | |
\usepackage{etoolbox}
|
75 | |
\patchcmd{\quote}{\rightmargin}{\leftmargin 1em \rightmargin}{}{}
|
76 | |
|
77 | |
\usepackage{tikz}
|
78 | |
\newcommand{\Checkbox}[1]{\tikz{\path[draw=black] (0,0) rectangle (#1,#1);}}
|
79 | |
|
80 | |
% Modify this commands to define Class name, Base HP, Base Load and Damage Dice (only number)
|
81 | |
\newcommand{\Class}{Bard}
|
82 | |
\newcommand{\BaseHP}{6}
|
83 | |
\newcommand{\BaseLoad}{9}
|
84 | |
\newcommand{\Damage}{6}
|
85 | |
|
86 | |
% Don't replace here, replace before every section
|
87 | |
\newcommand{\SectionTitle}{4}
|
88 | |
|
89 | |
|
90 | |
|
| 2 |
|
| 3 |
\input{prelude.tex}
|
91 | 4 |
|
92 | 5 |
\begin{document}
|
93 | 6 |
\openup -0.3em
|
|
95 | 8 |
%\input{figuras/TopBanner}
|
96 | 9 |
%\input{figuras/TopBanner10Plus} %Use this instead when damage dice has 10 or more faces
|
97 | 10 |
|
98 | |
\begin{overpic}[width=7.47986in,height=1.0in]{figuras/templateRuleHeader.png}
|
99 | |
\put (1,2) {\fontsize{32}{40}\selectfont\headingfont \textcolor{white}{Travel Rules}}
|
100 | |
\end{overpic}
|
| 11 |
\topbanner{Travel Rules}
|
101 | 12 |
|
102 | 13 |
\begin{multicols}{2}
|
103 | 14 |
|