[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] TikZ (circuitikz) and org-preview-latex-fragment don't play nice
From: |
Eric S Fraga |
Subject: |
Re: [O] TikZ (circuitikz) and org-preview-latex-fragment don't play nicely together |
Date: |
Wed, 11 Dec 2013 08:46:45 +0000 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
Mark Edgington <address@hidden> 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