Re: An org-latex face

2021-06-07 Thread Léo Ackermann
ock-faces '("latex" (:inherit default :extend t))) > > All the best, > *Timothy* > > * From*: Léo Ackermann <%22Léo+ackermann%22+%3cleo.ko...@gmail.com%3E> > * Subject*: An org-latex face > * To*: "emacs-orgmode@gnu.org" > * Date*: Tue, 01 Jun

Re: An org-latex face

2021-06-01 Thread Timothy
Hi Léo, For what it’s worth, I currently make do with: ┌ │ (setq org-highlight-latex-and-related '(native script entities)) │ (add-to-list 'org-src-block-faces '("latex" (:inherit default :extend t))) └ All the best, *Timothy*

Re: An org-latex face

2021-06-01 Thread Sébastien Miquel
Sébastien Miquel writes: There's already an `org-latex-and-relatex` regexp I meant the `org-latex-and-related` face. -- Sébastien Miquel

Re: An org-latex face

2021-06-01 Thread Sébastien Miquel
Hi Léo, Léo Ackermann writes: When it comes to preview inline LaTeX fragments within org-mode, the org package applies the `org-block` face. It would be nice to *treat inline latex block specially*, to make integration of the those preview-block easier when surrounded by plaintext. This

An org-latex face

2021-06-01 Thread Léo Ackermann
that highlight blocks (source code, examples) without the background artifact you can see in attachment when previewing latex fragments. It seems that a way to adress this is to add another `org-latex` face, as we already have with `org-quote`. One could also change the `org-src-font-lock-fontify