LaTeX

References

Keep them under your pillow: 

Including SVN "Id" in LaTeX 

Very useful to include the revision number, date and author in a LaTeX document: 

\usepackage{fancyvrb}
\SaveVerb{SVNId}|$Id$|
\UseVerb{SVNId}

Centering a graphic wider than \linewidth

With \moveleft you can move a \vbox into the left margin.
\begin{figure}[htb]
    \moveleft0.08\linewidth\vbox{
        \includegraphics[width=1.16\linewidth]{MyImage.png}
    }
\caption{My Image}
\end{figure}

Correcting "Overfull \hbox" errors

Use Grep to get all Overfull errors: "grep Overfull MyDocument.log"

Make overfull errors more visible in the output PDF by setting \overfullrule: Add "\overfullrule=5pt" to the document's preamble.

Don't forget to use "\usepackage[T1]{fontenc}" for german text to make TeX hyphenate words with Umlauts.

Use "\-" to add hyphenation points to words.

Use the "microtype" package (only for pdfTeX). This package will automatically use wider or narrower font variants (font expansion) and align the right margin nicely (margin kerning).

Add "glue" (stretchable space) with \hskip. For example you could add "\hskip .5em plus 1em" after a colon (":") to give the TeX paragraph algorithm more freedom (more possibilities).

Insert a line break with "\linebreak".

Insert a hard line break with "\\" if appropriate. This will produce a ragged right.

Use LaTeX "sloppypar" environment.

Adjust TeX's parameters to allow larger inter-word whitespace gaps: Tune \pretolerance, \tolerance and/or \emergencystretch

Created by Henning Jacobs
Guerra Creativa - Creative Crowdsourcing