%!TEX TS-program = xelatex %!TEX encoding = UTF-8 Unicode \documentclass[a4paper]{article} \usepackage{fancyhdr} \usepackage{geometry} \usepackage{fontspec} \usepackage{import} \usepackage[table,xcdraw]{xcolor} \usepackage[parfill]{parskip} \usepackage{enumitem} \usepackage{tabularx} \usepackage{titlesec} \usepackage{tikz} \pagestyle{fancy} \fancyhf{} \fancyheadoffset{0pt} \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} \fancyhead[R]{\thepage} \fancypagestyle{plain}{% \fancyhf{}% \fancyhead[R]{\thepage}% } % Alien-inspired colors \definecolor{titlecolor}{HTML}{558B2F} % Acid green \definecolor{subtitlecolor}{HTML}{4d7d2a} % Darker green \definecolor{tableheader}{HTML}{1B5E20} % Dark green header \definecolor{tablecolor1}{HTML}{E8F5E9} % Light green row \definecolor{tablecolor2}{HTML}{C8E6C9} % Slightly darker green row \definecolor{warncolor}{HTML}{FF6F00} % Warning amber \geometry{ a4paper, left=45pt, right=45pt, top=25pt, bottom=25pt, headsep=-10pt } \setcounter{secnumdepth}{0} \setmainfont[ Path=./fonts/, BoldFont=GothamBold.otf, ItalicFont=GothamBookItalic.ttf ]{GothamBook.ttf} \newfontfamily\titlefont[Path=./fonts/]{Idlewild-Bold.otf} \newfontfamily\aliensymbols[Path=./fonts/]{alien_symbols.ttf} \def\arraystretch{1.2} % Section formatting \titleformat*{\section}{\raggedright\fontsize{28}{34}\titlefont\color{titlecolor}} \titleformat*{\subsection}{\raggedright\fontsize{16}{19}\titlefont\color{titlecolor}} \titleformat*{\subsubsection}{\raggedright\fontsize{13}{16}\titlefont\color{subtitlecolor}} \titlespacing*{\section}{0pt}{5pt}{5pt} \titlespacing*{\subsection}{0pt}{10pt}{3pt} \titlespacing*{\subsubsection}{0pt}{8pt}{2pt} % Custom commands \newcommand{\wrap}[2]{\parbox{#2\textwidth}{\vspace{3pt}#1\vspace{3pt}}} \newcolumntype{P}[1]{>{\centering\arraybackslash}m{#1}} % Dice symbols \newcommand{\success}{{\aliensymbols ^^^^e806}} \newcommand{\facehugger}{{\aliensymbols ^^^^e805}} \begin{document} \setcounter{page}{1} \input{parts/basics.tex} \newpage \input{parts/stealth.tex} \newpage \input{parts/combat.tex} \newpage \input{parts/damage.tex} \newpage \input{parts/panic.tex} \end{document}