A LaTeX template for Transportation Research Board Annual Meeting papers.
This is a lighter version of the former TRB LaTeX template. The previous version was built primarily for people using R, Sweave, and LaTeX. Therefore, this version is created for people who need a straight-forward LaTeX template for TRB papers.
More instruction and details about the project can be found inside the
trb_template.tex
. The document uses external shell commands hence it needs
to be compiled with -shell-escape
option. This is necessary for word count
feature which uses texcount
program. For example:
latexmk trb_template.tex -pdf -pvc -shell-escape
Perl is necessary for texcount
to work and needs a Perl interpreter e.g. ActivePerl.
- Copy the files
trb.bst
andtrbunofficial.cls
into the directory for your document - Change the preamble of your document to correspond to the template (
trb_template.tex
) - Run
latexmk
to make your document as shown above. Note thatlatexmk
watches for changes and recompiles the document automatically. - Note also that if you use source control on your document (strongly recommended), you need to check in the template files into the repository as well.
Using -shell-escape
in TexStudio (original source):
Go to Options->Configure texstudio
. Click on Commands
. Add -shell-escape
flag to pdflatex
:
pdflatex.exe -synctex=1 -interaction=nonstopmode -shell-escape %.tex