LaTeX caption options
In LaTeX the size and type of caption text, is normally the same as for the rest of the text. This can sometimes be confusing with long captions, because it can seems like the rest of the text.
The Caption package can be used to change the caption text, by adding
\usepackage[options]{caption}
to the preamble of your document.
Adding
\usepackage[small]{caption}
will make the caption smaller.
Adding
\usepackage[hang]{caption}
will align the caption text with caption "header", Figure 1:
Adding
\usepackage[bf]{caption}
will make the caption header bold.
Combining them like
\usepackage[hang,small,bf]{caption}
will give something like:
Figure 1.1: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Ut faucibus, elit at sagittis.
Word-wrap in LaTeX \table?
I am trying to make word-wrap in a table, which isn't going that well :)
I found a solution at this blog, which uses
\begin{tabular}{|c|p{5cm}|p{5cm}|}
to set the width of the two last columns to 5 cm. It is futhermore possible to use
p{\linewidth-2cm}
which for me is better, but I still would prefere not to have any fixed width in my docmument.
Any ideas?
Depth / number of levels in the table of content
If you need to adjust the depth / number of levels in the table of content, use
\setcounter{tocdepth}{n}
where n is the level, starting at 0.
This must be set in the preample - i.e. before \begin{document}