-
Notifications
You must be signed in to change notification settings - Fork 6
/
PF2e-TeX Spellbook.tex
80 lines (57 loc) · 2.22 KB
/
PF2e-TeX Spellbook.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
\documentclass[10pt,letterpaper,onecolumn,openany]{book}
% The main PF2e package.
% Make sure the location is correct for where *you* put the library!!!
\usepackage[bg=full]{pf-book} % Options: bg-a4, bg-letter, bg-full, bg-print, bg-none.
% Some extra packages
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
% Autogen text...
\usepackage{lipsum}
% A command for this document, to make showing commands easier!
\DeclareRobustCommand{\showmacro}[1]{\string#1 #1}
% this macro doesn't work, and I can't figure out how to make it wwork right now...
\newenvironment{showenvironment}[1]{%
\begin{verbatim}%
#1%
\end{verbatim}%
#1%
}
% This is so we don't have Table of Contents explosion, remove if desired
\setcounter{secnumdepth}{0}
% Start document
\begin{document}
\frontmatter
% Your cover image, if you have one
\pfMakeCover[
image = ai-generated-cover-art,
title = PF2e-\TeX Spellbook,
subtitle = {Is it a spellbook, or a cheatsheet?} % Need the braces if there is a comma in the name
]
This is the inside cover.
Put some copyright stuff here, and all the legal stuff.
Blah blah blah, copyright me and stuff...
\lipsum[1-5]
\InsertORC{I'm attributing stuff...\\
}{I'm reserving Potatos!!\\
}{Licensed all material from Sorcerers on the Shore}
% Inserts Table of Contents
\tableofcontents
% Your content goes here...
\mainmatter
\chapter{Intro}
You know how most Paizo products have a cool splash section at the beginning of the chapter before it gets into the nitty-gritty of the text?
Well I haven't implemented anything like that yet!
So be patient while I work on that.
\begin{multicols}{2}
This is the intro chapter, where I introduce things!
Most of this is going to be showcasing the different functionality that is built in to these styles.
Each "chapter" is going to feature a different set of features.
Feel free to look at the source, at this document, and the others under /docs.
It will give you an idea of how much of this is intended to work.
First of all, I recommend not typing everything into one *.tex file.
For many reasons, but mainly as it is easier to organize your thoughts and whatnot if they are in separate chapters.
Thus, I do this:
\end{multicols}
\include{docs/actions}
\include{docs/sections}
\end{document}