ITE @ GT

The Institute of Transportation Engineers – Georgia Tech Student Chapter

A LaTeX template for TRB

| 13 Comments

It’s that time again, to begin preparing papers for the TRB annual meeting. Most of you know that I have little love for Microsoft Office, but TRB has essentially required that I use it when preparing manuscripts. Well, not anymore.

A Google search for “latex trb” turns up lots of articles about people putting latex aggregate into high performance concrete. But the top of the list pointed me to David Pritchard’s website, where he had written a LaTeX template and BibTeX definitions file. I took his impressive work, tweaked it, and made some of the features automated (like that pesky word count on the title page).

The final document is TRBLaTeX.pdf This is by no means perfect, but it’s as good as most of the Word files that I’ve seen.

To make this document, you will need to install LaTeX and R on your system. You will also need the template .rnw file, BibTex definitions file, and the bibliography, which can be downloaded in a .zip file here.

Make the documents with the commands below.

Or, if you have GNU make installed, with this makefile and the command

Author: Greg Macfarlane

Greg Macfarlane is a recent Ph.D. graduate and a post-doctoral researcher under Dr. Guensler. He was the ITE webmaster from 2010-2013.

13 Comments

  1. Awesome! Thanks for sharing!

  2. Many thanks. I just wanted to give some tips for the ones that are not getting it right.
    I’m running Ubuntu 10.10 32 bits and for it to work I had to change the makefie to execute:

    R CMD Sweave instead of R64 CMD SWEAVE

    and before, of course, I had to search for “R CRAN” in Synaptic and install the base components.

  3. Thanks! My paper was much easier to format with your help!!

  4. It doesn’t work on my machine. I keep getting the error
    ! Undefined control sequence.
    l.1 \Sconcordance
    {concordance:TRBLaTeX.tex:TRBLaTeX.rnw:%

    • The \Sconcondordance command you have is one that I have never seen before. At what step does it crash? Did Sweave add this command? or is it in your document?

      • I didn’t modify any of your files. After I ran

        it created three files:

        Then when I ran

        I got that error.

      • Please delete my comments above. It turned out the \Sconcordance thing was added by RStudio automatically. Sorry!

        • I’m actually going to keep your comments because I think other people may have the same issue. No shame in mistakes while learning.

  5. I am also facing the same problem like sean. 🙁

  6. I updated this template with some formatting changes and added the total word count (including figure and table counts) into an updated template. You may find it here: http://ite.ce.gatech.edu/?p=1149

Leave a Reply

Required fields are marked *.