From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Subject: Re: Positioning Latex diagram on PDF output Date: Sat, 08 Aug 2009 21:05:06 +0100 Message-ID: References: <2c75873c0908081129l4b0120a6o2537346bd32f31a7@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MZsAU-0004PL-Tq for emacs-orgmode@gnu.org; Sat, 08 Aug 2009 16:05:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZsAP-0004NO-FZ for emacs-orgmode@gnu.org; Sat, 08 Aug 2009 16:05:29 -0400 Received: from [199.232.76.173] (port=45607 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZsAP-0004NI-AV for emacs-orgmode@gnu.org; Sat, 08 Aug 2009 16:05:25 -0400 Received: from mx20.gnu.org ([199.232.41.8]:36324) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MZsAN-0004wS-UQ for emacs-orgmode@gnu.org; Sat, 08 Aug 2009 16:05:24 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MZsAM-0003mc-Av for emacs-orgmode@gnu.org; Sat, 08 Aug 2009 16:05:22 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MZsAG-0007oD-JR for emacs-orgmode@gnu.org; Sat, 08 Aug 2009 20:05:16 +0000 Received: from sl392.st-edmunds.cam.ac.uk ([131.111.223.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Aug 2009 20:05:16 +0000 Received: from sdl.web by sl392.st-edmunds.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Aug 2009 20:05:16 +0000 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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