themes icon indicating copy to clipboard operation
themes copied to clipboard

Add support for AUCTeX's `font-latex-underline-face`

Open dr-scsi opened this issue 2 years ago • 0 comments

Theme(s)

All themes (base)

What package(s)/face(s) do you want support for?

AUCTeX has a new face for underlined text called font-latex-underline-face. It was introduced with this change.

Is it possible to support this face in doom-themes? I'm not familiar with the code but I think this small change should be sufficient:

diff --git a/doom-themes-base.el b/doom-themes-base.el
index efe352c..4eacb2a 100644
--- a/doom-themes-base.el
+++ b/doom-themes-base.el
@@ -117,6 +117,7 @@
     ;;;; auctex <modes:latex-mode>
     (font-latex-bold-face         :inherit 'bold)
     (font-latex-italic-face       :inherit 'italic)
+    (font-latex-underline-face    :inherit 'underline)
     (font-latex-math-face         :foreground blue)
     (font-latex-sectioning-0-face :foreground blue    :weight 'ultra-bold)
     (font-latex-sectioning-1-face :foreground magenta :weight 'semi-bold)

TIA.

Screenshots

No response

dr-scsi avatar Aug 07 '22 20:08 dr-scsi