From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Mark Edgington <edgimar@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: TikZ (circuitikz) and org-preview-latex-fragment don't play nicely together
Date: Wed, 11 Dec 2013 08:46:45 +0000 [thread overview]
Message-ID: <878uvrzsei.fsf@ucl.ac.uk> (raw)
In-Reply-To: <CAMsBe8rCRvEadn=69Mv8etHcf1KiWGsMNf8JEMuzBX3FHNN+Kg@mail.gmail.com> (Mark Edgington's message of "Tue, 10 Dec 2013 10:37:33 -0500")
Mark Edgington <edgimar@gmail.com> 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
next prev parent reply other threads:[~2013-12-11 9:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-10 15:37 TikZ (circuitikz) and org-preview-latex-fragment don't play nicely together Mark Edgington
2013-12-11 8:46 ` Eric S Fraga [this message]
2013-12-11 14:02 ` Mark Edgington
2013-12-11 15:06 ` Mark Edgington
2013-12-11 15:31 ` Nicolas Goaziou
2013-12-11 15:43 ` Mark Edgington
2013-12-11 15:55 ` Nicolas Goaziou
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=878uvrzsei.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=edgimar@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).