I have a TikZ picture that overlaps with the text. I'm sure this one is easy, but I didn't find a solution.
Here is a snapshot:

And this is the code:
\section{Algorithm Outline}
blabla
\begin{figure}[H]
\selectlanguage{american}%
\begin{centering}
\ttfamily
\begin{tikzpicture}[node distance = 2cm,
auto, x=1cm, y=1cm, transform canvas={scale=0.62},
>=stealth]
[picture code]
\end{tikzpicture}
\par\end{centering}
\selectlanguage{english}%
\caption{Algorithm Outline}
\end{figure}
The focus of this paper is on finding a feasible and good ....
I hope someone has a solution.
transform canvas, which causes PGF to "[lose] track of positions of nodes and of picture sizes" (PGF manual). I would try settingscale=0.62, every node/.append style={transform shape}, but it's hard to test without some TikZ code. – Jake Feb 11 '13 at 16:15\selectlanguagecommands? In the standard setup,americanandenglishdo exactly the same. Note also that\centeringis not an environment; just put\centeringinstead of\begin{centering}and remove\par\end{centering}– egreg Feb 11 '13 at 16:361cmlength (which is the default value). Could you specify what you mean with "it does not work"? – Jake Feb 11 '13 at 16:56