Standalone preamble for TikZ graphics

0 votes
asked Jan 11 in Wanted features by JohannesMeier (980 points)

Hello,

currently, the graphics build by TikZ are surrounded by an article document (class) like this:

\documentclass{article}

\usepackage{tikz}

\usepackage{aeguill}

\begin{document}

\begin{tikzpicture}

...

\end{tikzpicture}

\end{document}


Instead of using article, I recommend to use the standalone document class

\documentclass{standalone}

https://tex.stackexchange.com/questions/32127/standalone-tikz-pictures

Benefit: The size of the final PDF (generated by LaTeX) fits the graphic exactly. In particular, that is important for graphics which are bigger than the default paper size!

1 Answer

0 votes
answered Jan 11 by plantuml (138,660 points)
Ok, we've made the modification in last beta http://beta.plantuml.net/plantuml.jar

Does it sound better ?

Thanks!
...