Newer
Older
\documentclass[a4paper,openany]{book}
This is a test document, to make sure new code works before sticking it in a project.
{0}}% CHARISMA
{0}% DR
{1}% COMBAT
}% SKILLS
{\Dagger, pieces of string}% EQUIPMENT
``Would you tell me, please, which way I ought to go from here?''
``That depends a good deal on where you want to get to.''
\subsection{And now for something completely different}
\magicitem{Noodle of Death}% NAME
{Extinguish}% SPELL
{Divinity (FSM)}% PATH
{Instant}% DURATION
{Pocket Spell}% TYPE
{2}% Potency
{5}% MP
\subsection{Encounters}
\begin{encounters}{Wonderland}
\li & Doormouse \\
\li & Dodo \\
\li \lii Unicorn \\
\li \lii Red Queen \\
& \lii Black Queen \\
& \lii Green Queen \\
\end{encounters}
\begin{rollchart}
Roll & Result \\\hline
12 & Success \\
11 & Failure \\
\end{rollchart}
\begin{boxtext}
\lipsum[4]
\end{boxtext}
\chapter{Stat Blocks}
\section{Humanoids}
\begin{multicols}{2}
\subsection{Humans}
\humanfarmer
\humansoldier
\humandiplomat
\humanbard
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
\humanthief
\humanalchemist
\necromancer
\subsection{Dwarves}
\dwarvensoldier
\dwarventrader
\dwarvenrunemaster
\subsection{Elves}
\elf
\elf
\elvenenchanter
\subsection{Gnomes}
\gnome
\gnomishillusionist
\subsection{Gnolls}
\gnollhunter
\gnollshaman
\gnollshaman
\end{multicols}
\begin{multicols}{2}
\bear
\boar
\chitincrawler
\basilisk
\begin{multicols}{2}
\ghoul
\ghast
\demilich
\lich
\end{multicols}
\chapter{Nura}
\begin{multicols}{2}
\subsection{Humanoids}
\goblin[\npc{\N}{Random Goblin}]
\goblin
\goblin
\goblinnuramancer
\hobgoblin
\ogre
\nurahorse
\nuracrab
\nuracat
\nuraslug
\nuraspider
\nurawolf
\archmage
\archmage
\dragon
\rockman
\section{Same}
\begin{multicols}{2}
\rockman
\archmage
\dragon
\archmage
\lavaman
\end{multicols}
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
\chapter{Bestiary Chapters}
\begin{multicols}{2}
\settoggle{bestiarychapter}{true}
When using a bestiary chapter, the stats appear as dice rolls, rather than fixed amounts.
\subsection{Humans}
\humanfarmer
\humansoldier
\humansoldier
\humandiplomat
\humanbard
\humanthief
\humanalchemist
\humanalchemist
\necromancer
\subsection{Dwarves}
\dwarvensoldier
\dwarventrader
\dwarvenrunemaster
\subsection{Elves}
\elf
\elf
\elvenenchanter
\subsection{Gnomes}
\gnome
\gnomishillusionist
\subsection{Gnolls}
\gnollhunter
\gnollshaman
\gnollshaman
\end{multicols}
\section{Forest Critters}
\begin{multicols}{2}
\bear
\boar
\chitincrawler
\basilisk
\end{multicols}
\section{Underground}
\begin{multicols}{2}
\umberhulk
\jelly
\jelly
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
\end{multicols}
\section{Undead}
\begin{multicols}{2}
\ghoul
\ghast
\demilich
\lich
\end{multicols}
\section{Nura}
\begin{multicols}{2}
\subsection{Animals}
\nurahorse
\nuracrab
\nuracat
\nuraslug
\nuraspider
\nurawolf
\subsection{Humanoids}
\goblin
\goblinnuramancer
\hobgoblin
\ogre
\end{multicols}
\settoggle{bestiarychapter}{false}
\chapter{Lots of Text}
\begin{multicols}{2}
\noindent
\lipsum
\end{multicols}
\newcommand{\tests}{
\chapter{Another Test}
\section{Test Section}
\begin{multicols}{2}
\humanbard
\lipsum[2]
\subsection{Test subsection}
\settoggle{allyCharacter}{true}
\settoggle{examplecharacter}{true}
\settoggle{allyCharacter}{false}
\subsubsection{Test sub-sub-section}
\lipsum[10]
\subsubsection{Test sub-sub-section again}
\subsection{Test subsection}
\lipsum[2]
\elf
\settoggle{examplecharacter}{false}
\lipsum[10]
\section{Last Section}
\lipsum[3]