[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Re: Positioning Latex diagram on PDF output
From: |
Graham Smith |
Subject: |
Re: [Orgmode] Re: Positioning Latex diagram on PDF output |
Date: |
Sat, 8 Aug 2009 22:14:19 +0100 |
leo
Thanks, this was useful, but...
> %% ================================
> \documentclass{article}
> \usepackage{tikz}
> \usetikzlibrary{mindmap}
> \usepackage[active,tightpage]{preview}
> \PreviewEnvironment{tikzpicture}
> \setlength\PreviewBorder{1pt}
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?
Graham
P.S. I'm not working on a Mindmap exporter just trying some pgf graphics.