On 2009-08-08 19:29 +0100, Graham Smith wrote: > I am experimenting with a TiKZ/pgf mindmap in orgmode. Although it > looks as if it should fit on the (A4) PDF page, it is offset to the > right and cut off, even though there seems to plenty of room on the > page to left of the diagram.
I think this is due to the geometry of your document. There's a left margin that pushes the tikz picture to the right. > The code is just the example from the manual, which I have modified a > bit, and is shown below. > > Is there some way of moving it across to the left a bit, so it will > fit on the page? You can use the preview package to trim the output so that it leaves, for example, 1pt on all sides of the tikz pictures. Here is a compilable example. %% ================================ \documentclass{article} \usepackage{tikz} \usetikzlibrary{mindmap} \usepackage[active,tightpage]{preview} \PreviewEnvironment{tikzpicture} \setlength\PreviewBorder{1pt} \begin{document} \begin{tikzpicture} \path[mindmap,concept color=black,text=white] node[concept] {Ecological Impact Assessment} [clockwise from=0] child[concept color=green!50!black] { node[concept] {Ecology} [clockwise from=90] child { node[concept] {theory} } child { node[concept] {field skills} } child { node[concept] {methods} } child { node[concept] {software engineer\-ing} } } child[concept color=blue] { node[concept] {Legislation} [clockwise from=-30] child { node[concept] {EIA} } child { node[concept] {Policy and Planning} } } child[concept color=red] { node[concept] {Data Analysis} [clockwise from=-30] child{node[concept]{Statistics}} child{node[concept]{GIS}} child{node[concept]{Decision Science}} } child[concept color=orange] { node[concept] {Professional Practice} [clockwise from=-75] child{node[concept]{Business skills}} child{node[concept]{Presentation skills}} child{node[concept]{EcIA best practice}} }; \end{tikzpicture} \end{document} > Many thanks, > > Graham Are you developing a mindmap exporter for org? If so, I am very interested ;) Best, Leo -- Emacs uptime: 1 day, 3 hours, 44 minutes, 23 seconds _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode