|
| From: | Ulrich J. Herter |
| Subject: | [O] pgfplots and tikz break LaTeX inline overlay colors |
| Date: | Sun, 3 Jul 2016 19:10:57 +0200 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi everyone,
Today I found a strange issue which I couldn't find a solution for:
When using pgfplots and tikz LaTeX packages for graphics in a
document, the colouring of LaTeX overlays in org-mode is broken. The
font colour of snippets is always black, super hard to read in on a
dark colour scheme. See attached images.
Steps to reproduce:
- - Do C-c C-x C-l on one of the formulas.
- - When pgfplots or tikz is loaded, the :foreground setting in
org-format-latex-options is ignored...
Any help with that would be much appreciated!
Thanks
Uli
Minimal example:
- --------------------------8<-------------------------------------
#+LATEX_HEADER: \usepackage{pgfplots}
# #+LATEX_HEADER: \usepackage{tikz}
Formula: $$1+1=2$$
Inline Latex snippet: $$1+1=2$$
#+begin_src emacs-lisp :results pp
(print org-format-latex-options)
#+end_src
#+RESULTS:
: (:foreground auto :background default :scale 3 :html-foreground
"Black" :html-background "Transparent" :html-scale 1.0 :matchers
: ("begin" "$1" "$" "$$" "\\(" "\\["))
- ------------------------>8---------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQErBAEBCAAVBQJXeUccDhx1amhAcG9zdGVvLmRlAAoJEG7lIfkMHh7QYQoH/1sE
joMoWd78gXkwvihQzqTe2BwbEmK2qwwFJ+BroPLm3vb+O5c/vDlPVVPDfOw0e1yh
46W3vEWM4O2YQYXbNHyiR33I6LdY6A7fA6eeXzQ8eVCWggTahUfom3papowpOsqf
YhOxZsNNa5jE314MG+oJSt2kq9rY29pc9c6WsUG5Ajxk67idb87yjN8phHQbnsV5
iUQWiecIrpRsQdfaTWO/2yYU3ZctXRbOD0L/Cn49s0iuBZEZfNvdA8/FANQciSjQ
QuYiUXNZS/o6P2p7uW4uj351IwxNlrdO0eYr7p3iS1KX8x4GB047JccSBgxr9w0C
N5cQ+fptUbSuxJSju98=
=E4Fj
-----END PGP SIGNATURE-----
SnipNoPgfplots.png
Description: PNG image
SnipWithPgfplots.png
Description: PNG image
SnipNoPgfplots.png.sig
Description: PGP signature
SnipWithPgfplots.png.sig
Description: PGP signature
| [Prev in Thread] | Current Thread | [Next in Thread] |