From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Cubizolles Subject: Embedded Tikz Picture Date: Thu, 11 Jul 2013 23:33:12 +0200 Message-ID: <87txk0wzmv.fsf@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxOpz-0004vJ-Bt for emacs-orgmode@gnu.org; Thu, 11 Jul 2013 17:55:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxOpy-0008VV-EF for emacs-orgmode@gnu.org; Thu, 11 Jul 2013 17:55:43 -0400 Received: from plane.gmane.org ([80.91.229.3]:42781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxOpy-0008VF-7W for emacs-orgmode@gnu.org; Thu, 11 Jul 2013 17:55:42 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UxOpv-0000uy-7t for emacs-orgmode@gnu.org; Thu, 11 Jul 2013 23:55:39 +0200 Received: from 37.160.22.27 ([37.160.22.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Jul 2013 23:55:39 +0200 Received: from j.cubizolles by 37.160.22.27 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Jul 2013 23:55:39 +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: emacs-orgmode@gnu.org 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. 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.