Skip to content

How to change the foreground/background colors of LaTeX equations exported to svg using dvisvgm? #612

Answered by kaushalmodi
kaushalmodi asked this question in Q&A
Discussion options

You must be logged in to vote

@Perangelot

I looked around in the Org manual and I found this node (org) Previewing LaTeX fragments -- There a variable org-format-latex-options is documented.

Upon doing C-h v org-format-latex-options, you will see:

org-format-latex-options is a variable defined in ‘org.el’.

Its value is
(:foreground default :background default :scale 1.0 :html-foreground "Black" :html-background "Transparent" :html-scale 1.0 :matchers
             ("begin" "$1" "$" "$$" "\\(" "\\["))

Options for creating images from LaTeX fragments.
This is a property list with the following properties:
:foreground  the foreground color for images embedded in Emacs, e.g. "Black".
             ‘default’ means use the …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Perangelot
Comment options

Answer selected by kaushalmodi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants