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 23:17:16 +0100 Message-ID: References: <2c75873c0908081129l4b0120a6o2537346bd32f31a7@mail.gmail.com> <2c75873c0908081414xd08208r6a3aa63f914c5eb2@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 1MZuEH-0002rO-Km for emacs-orgmode@gnu.org; Sat, 08 Aug 2009 18:17:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MZuEC-0002rC-8M for emacs-orgmode@gnu.org; Sat, 08 Aug 2009 18:17:32 -0400 Received: from [199.232.76.173] (port=42866 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MZuEC-0002r9-2t for emacs-orgmode@gnu.org; Sat, 08 Aug 2009 18:17:28 -0400 Received: from main.gmane.org ([80.91.229.2]:46287 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MZuEB-0000wD-Ha for emacs-orgmode@gnu.org; Sat, 08 Aug 2009 18:17:27 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MZuE9-0003qa-Hu for emacs-orgmode@gnu.org; Sat, 08 Aug 2009 22:17:25 +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 22:17:25 +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 22:17:25 +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 22:14 +0100, Graham Smith wrote: > Based on this I have altered the headers in orgmode to > > #+LATEX_HEADER: \usepackage{tikz} > #+LATEX_HEADER: \usetikzlibrary{mindmap,trees} > #+LATEX_HEADER: \usepackage[active,tightpage]{preview} > #+LATEX_HEADER: \PreviewEnvironment{tikzpicture} > #+LATEX_HEADER: \setlength\PreviewBorder{20pt} > > This has certainly solved the mindmap position problem, but now the > resultant pdf loses all the text from the original orgmode file. :-( > > I assume I don't need to add the document class line? In that case, you can use geometry package or scale your tikz picture so that it fits into the textwidth. -- Emacs uptime: 1 day, 5 hours, 57 minutes, 35 seconds