emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

An org-latex face


From: Léo Ackermann
Subject: An org-latex face
Date: Tue, 1 Jun 2021 08:04:47 +0200

Hi,

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 feature would allow to have a theme 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-block` function to include a subroutine for inline latex blocks. Nevertheless, the later seems to be harder to customize...
What do you think of this ?

Thank you for your job on this amazing program! 
Have a nice day!

Best,
Leo

Attachment: artifact.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]