From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: Embedded Tikz Picture Date: Thu, 11 Jul 2013 16:16:24 -0600 Message-ID: <8738rk4u9z.fsf@gmail.com> References: <87txk0wzmv.fsf@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxPC4-0000lp-Ee for emacs-orgmode@gnu.org; Thu, 11 Jul 2013 18:18:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxPC2-0006v7-KD for emacs-orgmode@gnu.org; Thu, 11 Jul 2013 18:18:32 -0400 Received: from mail-pa0-x232.google.com ([2607:f8b0:400e:c03::232]:53358) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxPC2-0006v1-Dn for emacs-orgmode@gnu.org; Thu, 11 Jul 2013 18:18:30 -0400 Received: by mail-pa0-f50.google.com with SMTP id fb1so8344883pad.37 for ; Thu, 11 Jul 2013 15:18:29 -0700 (PDT) In-Reply-To: <87txk0wzmv.fsf@free.fr> (Julien Cubizolles's message of "Thu, 11 Jul 2013 23:33:12 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Julien Cubizolles Cc: emacs-orgmode@gnu.org Julien Cubizolles writes: > What would be the best way to use some tikz code in an org-file=C2=A0? > > I've succeeded so far by putting it in a=20 > #+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=C2=A0? > > 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. > > > --=20 Eric Schulte http://cs.unm.edu/~eschulte