123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- \usepackage{color}
- \usepackage{hyperref}
- \usepackage{lmodern}
- \usepackage{amssymb,amsmath}
- \usepackage{ifxetex,ifluatex}
- \usepackage{anyfontsize}
- \usepackage[percent]{overpic}
- \usepackage[margin=0.5in]{geometry}
- \usepackage{multicol}
- \setlength{\columnsep}{0.05cm}
- \usepackage[T1]{fontenc}
- \usepackage[utf8]{inputenc}
- \usepackage{fontspec} % For loading fonts
- \usepackage{titlesec}
- \setmainfont{PT Serif}
- \newfontfamily\headingfont[]{Metamorphous}
- \titleformat*{\section}{\LARGE\headingfont}
- \titleformat*{\subsection}{\Large\headingfont}
- \newenvironment{amove}[1]
- {\Checkbox{6pt}\ {\headingfont #1}\begin{quote}
- }
- {\end{quote}
- }
- \newenvironment{basicmove}[1]
- {\begin{quote}{\headingfont #1}\begin{quote}
- }
- {\end{quote}\end{quote}
- }
- \newenvironment{choices}[1]
- {#1
- \begin{quote}
- }
- {\end{quote}
- }
- \newcommand{\choice}{\Checkbox{6pt} }
- \pagestyle{empty}
- \IfFileExists{upquote.sty}{\usepackage{upquote}}{}
- % use microtype if available
- \IfFileExists{microtype.sty}{%
- \usepackage[]{microtype}
- \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
- }{}
- \PassOptionsToPackage{hyphens}{url} % url is loaded by hyperref
- \makeatother
- % Scale images if necessary, so that they will not overflow the page
- % margins by default, and it is still possible to overwrite the defaults
- % using explicit options in \includegraphics[width, height, ...]{}
- \setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
- \IfFileExists{parskip.sty}{%
- \usepackage{parskip}
- }{% else
- \setlength{\parindent}{0pt}
- \setlength{\parskip}{6pt plus 2pt minus 1pt}
- }
- \setlength{\emergencystretch}{3em} % prevent overfull lines
- \providecommand{\tightlist}{%
- \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
- \setcounter{secnumdepth}{0}
- % Redefines (sub)paragraphs to behave more like sections
- \ifx\paragraph\undefined\else
- \let\oldparagraph\paragraph
- \renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
- \fi
- \ifx\subparagraph\undefined\else
- \let\oldsubparagraph\subparagraph
- \renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
- \fi
- % set default figure placement to htbp
- \makeatletter
- \def\fps@figure{htbp}
- \makeatother
- \date{}
- \usepackage{etoolbox}
- \patchcmd{\quote}{\rightmargin}{\leftmargin 1em \rightmargin}{}{}
- \usepackage{tikz}
- \newcommand{\Checkbox}[1]{\tikz{\path[draw=black] (0,0) rectangle (#1,#1);}}
- % Don't replace here, replace before every section
- \newcommand{\SectionTitle}{4}
- \newcommand{\leftbanner}[1]{
- \begin{overpic}[width=3.71260in,height=0.40945in]{assets/templateL.png}
- \put (2,4) {\fontsize{16}{40}\selectfont \textcolor{white}{\headingfont #1}}
- \end{overpic}
- }
- \newcommand{\rightbanner}[1]{
- \begin{overpic}[width=3.71260in,height=0.40945in]{assets/templateR.png}
- \put (5,4) {\fontsize{16}{40}\selectfont \textcolor{white}{\headingfont #1}}
- \end{overpic}
- }
- \newcommand{\gearbanner}{
- \begin{overpic}[width=7.47986in,height=0.40945in]{assets/templateEquip.png}
- \put (3,2) {\fontsize{16}{40}\selectfont \textcolor{white}{\headingfont Gear}}
- \end{overpic}
- }
- \newcommand{\topbanner}[1]{
- \begin{overpic}[width=7.47986in,height=1.0in]{assets/templateRuleHeader.png}
- \put (1,2) {\fontsize{32}{40}\selectfont\headingfont \textcolor{white}{#1}}
- \end{overpic}
- }
- \newcommand{\widebanner}[1]{
- \begin{overpic}[width=7.47986in,height=1.0in]{assets/templateThinHeader.png}
- \put (1,1) {\fontsize{16}{40}\selectfont\headingfont \textcolor{white}{#1}}
- \end{overpic}
- }
- \newcommand{\charbanner}{
- \input{assets/TopBanner}
- }
|