\textwidth
, it's aligned with the left margin; I'd like to center it so that it exceeds both margins equally: how is that done?Text Formatting ⇒ tikz-qtree | Center wide Tree
-
- Posts: 132
- Joined: Wed Feb 11, 2009 11:38 pm
tikz-qtree | Center wide Tree
When the tree is wider than
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
tikz-qtree | Center wide Tree
Hi,
you could use
This way it equally overlaps on both sides.
Stefan
you could use
\makebox
(where it's centered by default) for putting it into a box of width \textwidth
, such asCode: Select all
\noindent\makebox[\textwidth]{%
\begin{tikzpicture}...
...
\end{tikzpicture}}
Stefan
LaTeX.org admin
-
- Posts: 132
- Joined: Wed Feb 11, 2009 11:38 pm
Re: tikz-qtree | Center wide Tree
Danke, Stefan!