This project has been my attempt to make a latex template similar to the SWRPG books from Fantasy Flight. Built to serve my own needs, i've primarily for Force and Destiny, starting as a simple icon pack for inline icons, it quickly was expanded to text boxes, backgrounds and similar.
To use the package copy swrpg.sty
, the lib/
folder, as well as the images/
folder to the root of the tex document.
Then add the following lines to your master document
\usepackage{swrpg}
This package allows you to inline add the most used dice and other symbols inside of your document.
The currently supported dices
\dability{n}
-\dproficiency{n}
-\ddifficulty{n}
-\dchallenge{n}
-\dboost{n}
-\dsetback{n}
-\dforce{n}
-\dforce{n}
-
For example, if you want to show 3 dice () can be added using the command\dability{3}
.
The currently supported result symbols
\success{n}
-\failure{n}
-\advantage{n}
-\threat{n}
-\triumph{n}
-\despair{n}
-\lforce{n}
-\dforce{n}
-
The skillcheck command is a way to quickly add skillchecks to the document. For example, if you want to add an medium computer check. You can do that with the command \skillcheck[difficulty=2]{Medium}{computer check}
. That will add the text
to your document, in line with many of the skillchecks listed in the core rule book.
You can mix and match several types of dice, for example an opposed charm check \skillcheck[difficulty=1,challenge=2,setback=1]{Opposed}{charm check}
which would look like this:
The odd and even backgrounds used are images/bf_odd.jpg
and images/bg_even.jpg
. There are some other files in the directory that could be used instead, but that would require you to manually adjust the page numbers.
I also added some macros that I use in character creation for stats. \stats{STR}{AGI}{INT}{CUN}{WILL}{PRES}
and \secondarystats[soak=,wound=,strain=,mdef=,rdef=]
.
The \statsgrid{}
holds all the data in the table. Each entry in the table should be an \statentry{Name}{Data}
and if you need to list things within the statentry you can either use \equipmententry{Name}{Data}
or \skentry{Name}{Data}
.
\equipmententry
will let Name be bolded, and put Data on the next line, whilst skentry
will be smaller text and on one line. So its mostly useful for skills.
This is currently lacking a lot of functionality, It is currently a 2 row table available using \begin{swtable}
, \end{swtable}
.
You have two enviroments you can use to make a red(ment for read text) and black(tips, tricks) box. \begin{swredbox}
, \begin{swblackbox}
will create either of them.
The \swfrontpage{image}
, will create a frontpage and a linebreak. You need to make sure the image works cause its very unflexible atm.