Skip to content
Malin Freeborn edited this page Apr 12, 2021 · 4 revisions

Text Types

The Front Page

The front page has the form

\frontpage{Title}%
	{path/to/image.jpg}%
	{Subtext}

Boxtex

Sometimes you want to introduce an example of what to read out to players:


At the centre of the room sits a corpse, clutching a longsword by the tip.


You can get this in Latex with the boxtext environment:

\begin{boxtext}

At the centre of the room sits a corpse, clutching a longsword by the tip.

\end{boxtext}

Speech Text

If your example phrasing is all about someone speaking, try using speech text:

\begin{speechtext}

Hear ye, hear ye!

\end{speechtext}

This would produce a box in italics:


Hear ye, hear ye!


Examples

To make italicised examples of stories, or input blocks of history, you can use the exampletext environment:

\begin{exampletext}

Arnor, intent on bashing through the knight's heavy armour, bludgeons him withe heavy end of his sword.

\end{exampletext}

Encounters

To make an encounter table, use the 'encounters' environment. It takes on argument - the name of the area. After, two areas have to be specified.

An encounter table for Neverland with the areas 'Coast' and 'Forest' might look like this:

 \begin{encounters}{Neverland}

         Coast & Forest & Result \\\hline
         \li & Mermaids. \\
         \li & Fairy. \\
         \li \lii Pirates. \\
         \li \lii Lost boys. \\
         & \lii Indians. \\

 \end{encounters}

Listed items on the first column get a \li marker (which corresponds to the 'Coast' region here).. List items in the second column get a \lii entry (corresponding to the 'Forest' region).

List items not appearing in a region should get a simple '&'.

The output will produce a table like this:

Coast Forest Result
18 Mermaids
17 Fairy
16 18 Pirates
15 17 Lost boys
16 Indians

The top entry in the list will start at 18, and count down each time a new list item appears.

Locations

Encounters are often tied to locations, which have maps.

To make an entry in a map, you can use the \mapentry command, which makes a 'subsubsection' with a number.

At the start of the section, reset the list counter to 0 so the \mapentry command can begin counting up.

\setcounter{list}{0}

To make a map entry called 'The Port Cullis', you would use:

\mapentry{The Port Cullis}

This would then produce the output:

(1) The Port Cullis

Each new map entry increases the number by 1. Numbers should be placed on the map once the \mapentry commands are complete.

Pictures

We have the following four commands:

\pic{path/to/image}{label{bobTheDragon}}

\\sidepic{path/to/image}{label{bobTheDragon}}

\toppic{path/to/image}{label{bobTheDragon}}

\bottompic{path/to/image}{label{bobTheDragon}}

The image's extension can be either jpg or (preferrably) svg, but the extension itself is not written.

The \sidepic command can also take an optional argument for how big it is.

\\sidepic[3]{path/to/image}{label{bobTheDragon}}

This makes an image which is 30% the size of the text column, while writing '7' would make an image 70% the size of the text column.

Clone this wiki locally