## LaTeX table and figure numbering style

Posted: 18th July 2011 by Tim in LaTeX
Tags: , , , , , , , , , , ,

In LaTeX, by default, tables are numbered Table 1, Table 2, Table 3 an so on (or Table 1.1, Table 1.2, Table 2.1, etc if you’re using chapters). Sometimes you may want to change the way these are numbered. The solution is very similar to changing list numbering styles using different keywords. Like enumeration lists, […]

## Rotating images in LaTeX

Posted: 19th March 2010 by Tim in LaTeX
Tags: , , , , , , , ,

Sometimes you want to display an image sideways if, for example, it’s wider than it is tall. Or sometimes you just want to show images at funny angles. Each to their own. In LaTeX, you can add parameters to the \includegraphics call (See this post on LaTeX figures to see how to add the images). […]

## Incorrect referencing in LaTeX documents

Posted: 24th February 2010 by Tim in LaTeX
Tags: , , , , , , , ,

If you’ve written up a LaTeX document and find that some of the figures, tables, algorithms, etc. are being referenced wrong (such as Figure 2.4 being referenced as figure 6), chances are you’ve put your caption and \label tags in the wrong order. LaTeX needs \label to be after \caption, or for \label to be […]

## Rotating a Page in LaTeX

Posted: 25th October 2009 by Tim in LaTeX
Tags: , , , , , , ,

Quite often you want to add a table or figure to a document which needs to be on a landscape page. You can use the pdflscape package to rotate single (or multiple) pages. Note that this works with latex as well as pdflatex. For example: \usepackage{pdflscape} … \begin{landscape} \begin{figure} \centering \includegraphics{my_figure} \label{fig:my_figure} \caption{My Figure} \end{figure} […]

## Placing borders around figures in LaTeX

Posted: 24th October 2009 by Tim in LaTeX
Tags: , , , , , ,

If you’re displaying a figure of pseudo-code or anything else which may blend into the text of your document, you will probably want to place a border around it to separate it. This may be done using the \fbox{} and minipage commands. In short, you’re putting the figure in a minipage and placing a border […]

## LaTeX Figures

Posted: 13th August 2009 by Tim in LaTeX
Tags: , , , , , , , , , ,

Adding figures to LaTeX documents is quite simple. Like tables, figures can be added to the List of Figures automatically. Images need to be converted into encapsulated post script (eps) in order to be added to the document (other file types may be used with the inclusion of some external packages, which won’t be covered […]