Christoffer Kjølbæk I have a blog, therefore I am…

30Sep/082

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?

Tagged som: 2 Kommentarer
3Dec/070

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}

Tagged som: Ingen kommentarer
15Feb/070

LaTeX on Ubuntu Feisty Fawn

sudo apt-get install lmodern texmaker tetex-base tetex-extra tetex-doc