summaryrefslogtreecommitdiffstats
path: root/main.tex
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--main.tex44
1 files changed, 44 insertions, 0 deletions
diff --git a/main.tex b/main.tex
new file mode 100644
index 0000000..385710e
--- /dev/null
+++ b/main.tex
@@ -0,0 +1,44 @@
1\documentclass{report}
2\usepackage[a4paper, margin=0.75in]{geometry}
3\usepackage[T1]{fontenc}
4\usepackage[utf8]{inputenc}
5\usepackage[english]{babel}
6\usepackage{longtable, etoolbox, tabularx, amsmath, booktabs, titlesec, makeidx, enumitem}
7
8\makeindex
9
10\newcommand{\attr}[1]{#1\index{Attributes!#1}} % Attributes
11\newcommand{\wpn}[1]{#1\index{Weapons!#1}} % Weapons
12\newcommand{\monster}[1]{#1\index{Monsters!#1}} % Monsters
13\newcommand{\spell}[1]{#1\index{Spells/Abilities!#1}} % Spells/Abilities
14\newcommand{\eq}[1]{#1\index{Equipment!#1}} % Equipment
15\newcommand{\kw}[1]{#1\index{#1}}
16
17\AtBeginEnvironment{tabularx}{\footnotesize}
18\AtBeginEnvironment{longtable}{\footnotesize}
19
20% Preventing default chapters and making them look like 1: XYZ
21\titleformat{\chapter}[hang]
22 {\normalfont\huge\bfseries}
23 {\thechapter:}{1em}{}
24\titlespacing*{\chapter}{0pt}{-10pt}{*3}
25
26\begin{document}
27\input{components/front}
28
29\twocolumn
30
31\include{chapters/intro}
32\include{chapters/combat}
33\include{chapters/exploration}
34\include{chapters/magic}
35\include{campains/greyhaven}
36\chapter{Character Sheet}
37\input{components/sheet}
38
39
40\clearpage
41\renewcommand{\indexname}{Keyword List}
42\printindex
43
44\end{document}