org-auctex icon indicating copy to clipboard operation
org-auctex copied to clipboard

Incorrect foreground color for latex previews of special environments

Open 101scholar opened this issue 2 years ago • 4 comments

When emacs uses dark theme (doom-one in my case), the foreground color of environment like algorithm is incorrect. Any ideas how to fix this?

P.S. I find a similar issue for emacs native latex preview and workaround therein. Don't know if related.

101scholar avatar Jun 20 '22 08:06 101scholar

The above question is about previews generated from latex environment \begin{algorithm} \end{algorithm}. And another related question is about org-mode faces. If I apply a certain face to a region, can org-acutex generate previews using the same foreground and background?

Specfiically, I apply self-defined face to content within #+BEGIN_THEOREM and #+END_THEOREM in org-mode. So the background and foreground is a little different from the default face. Can org-auctex read corresponding background and foreground, and apply to the previews?

101scholar avatar Jun 21 '22 00:06 101scholar

@101scholar Did you find a solution to setting the foreground correctly?

aalexei avatar Sep 03 '22 03:09 aalexei

@aalexei I am afraid not.

101scholar avatar Sep 04 '22 05:09 101scholar

I'm looking at a similar problem to the one you linked.

I'm using a dark theme, and while the package renders everything perfectly, I need the rendered LaTeX preview to be colored white. Is there a solution?

Iddodo avatar Jan 03 '23 12:01 Iddodo