Hi Eric Thanks for your comments. I will look into both of them. Cheers, Rainer On Wed, Jul 7, 2010 at 1:17 PM, Eric S Fraga wrote: > Following up on my own message, one thing to consider is that > generating the figure in latex creates a PDF that takes up the whole > page but the figure is only a small part of this page. In latex, if I > wanted the PDF to include only the tikz figure, I would do the > following: > > --8<---------------cut here---------------start------------->8--- > \documentclass{article} > > [...] > > \usepackage[active,tightpage]{preview} > \setlength\PreviewBorder{5pt}% > > \begin{document} > % Define block styles > \begin{preview} > > [... the tikz commands ...] > > \end{preview} > \end{document} > --8<---------------cut here---------------end--------------->8--- > > It may be worthwhile providing this type of option to babel-latex? > > -- > Eric S Fraga > GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D > > -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Cell: +27 - (0)83 9479 042 Fax: +27 - (0)86 516 2782 Fax: +49 - (0)321 2125 2244 email: Rainer@krugs.de Skype: RMkrug Google: R.M.Krug@gmail.com