From: Eric Schulte <schulte.eric@gmail.com>
To: Julien Cubizolles <j.cubizolles@free.fr>
Cc: emacs-orgmode@gnu.org
Subject: Re: Embedded Tikz Picture
Date: Thu, 11 Jul 2013 16:16:24 -0600 [thread overview]
Message-ID: <8738rk4u9z.fsf@gmail.com> (raw)
In-Reply-To: <87txk0wzmv.fsf@free.fr> (Julien Cubizolles's message of "Thu, 11 Jul 2013 23:33:12 +0200")
Julien Cubizolles <j.cubizolles@free.fr> writes:
> What would be the best way to use some tikz code in an org-file ?
>
> I've succeeded so far by putting it in a
> #+BEGIN_LaTeX
> #+END_LaTeX
> structure but from what I understand, this code will only be evaluated
> when I export to LaTeX.
>
> I also tried embedding the corresponding LaTeX code, but I only got a
> white square for the picture. I guess the relevant packages weren't
> loaded. Is it possible to make the embedded LaTeX code use the class
> defined by #+LATEX_CLASS ?
>
> Finally it seems Babel could be the way to go but I'm not sure what it
> offers for LaTeX source with respect to Embedded LaTeX in this case.
>
I actually just added this example to worg today, it should answer your
question.
Cheers,
http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-LaTeX.html#sec-4-3
>
> Thanks for your help. I'm trying to make the switch to Orgmode for all
> my LaTeX needs and it's quite a steep learning curve.
>
> Julien.
>
>
>
--
Eric Schulte
http://cs.unm.edu/~eschulte
next prev parent reply other threads:[~2013-07-11 22:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-11 21:33 Embedded Tikz Picture Julien Cubizolles
2013-07-11 22:16 ` Eric Schulte [this message]
2013-07-12 5:21 ` Julien Cubizolles
2013-07-14 15:35 ` Myles English
2013-07-15 8:14 ` Julien Cubizolles
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=8738rk4u9z.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=j.cubizolles@free.fr \
/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).