From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: TikZ (circuitikz) and org-preview-latex-fragment don't play nicely together Date: Wed, 11 Dec 2013 08:46:45 +0000 Message-ID: <878uvrzsei.fsf@ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45487) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqgRS-0006w4-W9 for emacs-orgmode@gnu.org; Wed, 11 Dec 2013 04:51:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VqgRJ-0007Iz-Me for emacs-orgmode@gnu.org; Wed, 11 Dec 2013 04:50:54 -0500 Received: from mail14-db9on0067.outbound.messaging.microsoft.com ([157.55.207.67]:4760 helo=DB9EHSNDR004.bigfish.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqgRJ-0007IX-8a for emacs-orgmode@gnu.org; Wed, 11 Dec 2013 04:50:45 -0500 In-Reply-To: (Mark Edgington's message of "Tue, 10 Dec 2013 10:37:33 -0500") 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: Mark Edgington Cc: emacs-orgmode Mark Edgington writes: [...] > Is there any way that I can make it so that without a lot of "hacks" I > can make the previews appear as white-on-black, and the PDFs print > black on white? Would something need to change with how org-mode > handles previewing to make this possible? I have the following for when I use org-tree-slide-mode for presentations, where my colour theme is light text on dark background: #+begin_src emacs-lisp :results none (setq org-format-latex-options '(:foreground "white" :background "black" :scale 3 :html-foreground "Black" :html-background "Transparent" :html-scale 1.0 :matchers ("begin" "$1" "$" "$$" "\\(" "\\[")) org-latex-create-formula-image-program 'imagemagick org-tree-slide-heading-emphasis t ) #+end_src I think the key is the =org-format-latex-options= variable. I have no idea whether this is used by the exporter or just for previewing LaTeX in org. -- : Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.2.4-322-gece429