From: Leo <sdl.web@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Positioning Latex diagram on PDF output
Date: Sat, 08 Aug 2009 21:05:06 +0100 [thread overview]
Message-ID: <m0vdkyjclp.fsf@cam.ac.uk> (raw)
In-Reply-To: 2c75873c0908081129l4b0120a6o2537346bd32f31a7@mail.gmail.com
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
next prev parent reply other threads:[~2009-08-08 20:05 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 [this message]
2009-08-08 21:14 ` Graham Smith
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=m0vdkyjclp.fsf@cam.ac.uk \
--to=sdl.web@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).