Monday, December 8, 2008

LaTEX Information

This is the place where I'll keep an assortment of random LaTEX package and command information that has proven useful over the years. My intent here is to keep track of all the easy-to-forget commands and at the same time hopefully help out some random Googler who happens to put the right sequence of words in quotation marks and finds this page....good luck. If you have questions leave a comment (in the form of a question).


  1. How to remove items from the list of figures (lof) or list of tables (lot) using LaTEX. I came across this problem while writing my thesis. Figures and tables were not to be included in the appendix so I had to figure out a way to surpress them at some point in the document. The relevent command is: \captionsetup{list=no} . If the command is placed before the appendix it does not print the tables or figures in the LOF or LOT that appear in the appendix. Done.
  2. How to include whole PDFs in a LaTEX document. This may seem too simple, but use the pdfpages package and the \includepdfs[options]{file} command. Your best bet would be to Google the package and read over the documentation. It is straight forward from there.
  3. How to change the word Bibliography in the Bibliography heading. Sounds straight forward. Here's the command:  \renewcommand{\bibname}{References}. This changes the autogenerated Bibliography title to References. Of course you can change References to whatever you want. For example, "Things I Pretended to Read." As a bonus, \addcontentsline{toc}{chapter}{\numberline{}References} will add References to your table of contents, just make sure to add it in the right place in your document (for example, after \bibliographystyle{unsrt}).
  4. To be Updated...