Skip to content

Macros to simplify inline dice and other symbols as well as skillchecks when writing Star Wars RPG modules or adventures.

License

Notifications You must be signed in to change notification settings

tommysolsen/LatexSWRPGTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LatexSWRPGSymbols

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.

Installation

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}

Icons

This package allows you to inline add the most used dice and other symbols inside of your document.

The currently supported dices

  • \dability{n} - Ability
  • \dproficiency{n} - Proficiency
  • \ddifficulty{n} - difficulty
  • \dchallenge{n} - challenge
  • \dboost{n} - boost
  • \dsetback{n} - setback
  • \dforce{n} - f
  • \dforce{n} - Ability
    For example, if you want to show 3 dice (AbilityAbilityAbility) can be added using the command \dability{3}.

The currently supported result symbols

  • \success{n} - Ability
  • \failure{n} - Ability
  • \advantage{n} - Ability
  • \threat{n} - Ability
  • \triumph{n} - Ability
  • \despair{n} - Ability
  • \lforce{n} - Ability
  • \dforce{n} - Ability

The skillcheck command

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

Medium(AbilityAbility) computer check

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:

Opposed(AbilityAbilityAbilityAbility) charm check

Background images

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.

Stats

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.

Tables

This is currently lacking a lot of functionality, It is currently a 2 row table available using \begin{swtable}, \end{swtable}.

Boxes

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.

Frontpage

The \swfrontpage{image}, will create a frontpage and a linebreak. You need to make sure the image works cause its very unflexible atm.

About

Macros to simplify inline dice and other symbols as well as skillchecks when writing Star Wars RPG modules or adventures.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages