common.tex 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. \setmainfont{PT Serif}
  2. \newfontfamily\headingfont[]{Metamorphous}
  3. \titleformat*{\section}{\LARGE\headingfont}
  4. \titleformat*{\subsection}{\Large\headingfont}
  5. \definecolor{CondRed}{RGB}{153,51,51}
  6. \definecolor{MoveBlue}{RGB}{51,102,153}
  7. \definecolor{SpellPurp}{RGB}{153,51,102}
  8. \definecolor{TagGreen}{RGB}{51,153,102}
  9. \newcommand{\condition}[1]{\textbf{\color{CondRed} #1}}
  10. \newcommand{\move}[1]{{\color{MoveBlue}$\diamond$#1}}
  11. \newcommand{\spell}[1]{{\color{SpellPurp}$\star$#1}}
  12. \newcommand{\itag}[1]{\textit{\color{TagGreen}#1}}
  13. \newcommand{\ntag}[2]{\textit{\color{TagGreen}#1 #2}}
  14. % specific tags
  15. \newcommand{\weight}[1]{\ntag{#1}{weight}}
  16. \newcommand{\damage}[1]{\ntag{#1}{damage}}
  17. \newcommand{\armor}[1]{\ntag{#1}{armor}}
  18. \newcommand{\armorForward}[1]{\ntag{#1}{armor} forward}
  19. \newcommand{\uses}[1]{\ntag{#1}{uses}}
  20. \newcommand{\ammo}[1]{\ntag{#1}{ammo}}
  21. \newcommand{\hexes}[1]{\textit{#1 hexes}}
  22. \newcommand{\forward}[1]{#1 forward}
  23. \newcommand{\ongoing}[1]{#1 ongoing}
  24. \newcommand{\yourLoad}[1]{Your Load is \textbf{#1+STR}}
  25. \newcommand{\onSuccess}{\textbf{On a 10+}}
  26. \newcommand{\onPlainSuccess}{\textbf{On a 10--11}}
  27. \newcommand{\onMassiveSuccess}{\textbf{On a 12+}}
  28. \newcommand{\onPartial}{\textbf{On a 7--9}}
  29. \newcommand{\onHit}{\textbf{On a 7+}}
  30. \newcommand{\onMiss}{\textbf{On a miss}}
  31. \newcommand{\moveReplaces}[1]{\textbf{Replaces}: \move{#1}}
  32. \newcommand{\moveRequires}[1]{\textbf{Requires}: \move{#1}}
  33. \newcommand{\moveRequiresLst}[1]{\textbf{Requires}: #1}
  34. \newcommand{\onMassiveSuccessFor}[1]{%
  35. When you use \move{#1} and \textbf{roll a 12+}}
  36. \newcommand{\onPlainSuccessFor}[1]{%
  37. When you use \move{#1} and \textbf{roll a 10--11}}
  38. \newcommand{\onPartialFor}[1]{%
  39. When you use \move{#1} and \textbf{roll a 7+}}
  40. \newcommand{\advancesigil}{$\triangleright$}
  41. \newcommand{\firstAdvances}{\advancesigil When you \textbf{gain a
  42. level from 2--5}, choose from these moves.}
  43. \newcommand{\secondAdvances}{\advancesigil When you \textbf{gain a
  44. level from 6--10}, choose from these moves or the level 2--5
  45. moves.}
  46. \newcommand{\blank}{\underline{\phantom{mountain}}}
  47. \newcommand{\directive}[1]{\textbf{#1}}
  48. \newenvironment{amove}[1]
  49. {\Checkbox{6pt}\ {\color{MoveBlue}$\diamond$\headingfont #1}\begin{quote}
  50. }
  51. {\end{quote}
  52. }
  53. \newenvironment{optfeature}[2][]
  54. {\Checkbox{6pt}\ {\headingfont #2}\hfill\textit{#1}\phantom{asdf}\begin{quote}
  55. }
  56. {\end{quote}
  57. }
  58. \newenvironment{aspell}[2]
  59. {\Checkbox{6pt}\ {\headingfont\ \spell{#1}}\hfill\textit{#2}\phantom{asdf}\begin{quote}
  60. }
  61. {\end{quote}
  62. }
  63. \newenvironment{fragment}[1]
  64. {\begin{quote}{\headingfont #1}\begin{quote}
  65. }
  66. {\end{quote}\end{quote}
  67. }
  68. \newcommand{\subheader}[1]{\large\headingfont #1}
  69. \newenvironment{basicmove}[1]
  70. {\begin{quote}{\color{MoveBlue}$\diamond$\headingfont #1}\begin{quote}
  71. }
  72. {\end{quote}\end{quote}
  73. }