emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Graham Smith <myotisone@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Re: Positioning Latex diagram on PDF output
Date: Sat, 8 Aug 2009 22:14:19 +0100	[thread overview]
Message-ID: <2c75873c0908081414xd08208r6a3aa63f914c5eb2@mail.gmail.com> (raw)
In-Reply-To: <m0vdkyjclp.fsf@cam.ac.uk>

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.

  reply	other threads:[~2009-08-08 21:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-08 18:29 Positioning Latex diagram on PDF output Graham Smith
2009-08-08 20:05 ` Leo
2009-08-08 21:14   ` Graham Smith [this message]
2009-08-08 22:17     ` Leo
2009-08-09  7:33       ` Graham Smith
2009-08-09  9:58         ` Leo
2009-08-10 12:11           ` Graham Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2c75873c0908081414xd08208r6a3aa63f914c5eb2@mail.gmail.com \
    --to=myotisone@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).