Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for AUCTeX's font-latex-underline-face #744

Open
dr-scsi opened this issue Aug 7, 2022 · 0 comments
Open

Add support for AUCTeX's font-latex-underline-face #744

dr-scsi opened this issue Aug 7, 2022 · 0 comments
Labels
is:faces Pertains to extending/improving support for Emacs or plugin faces needs-triage Issue hasn't been assessed yet

Comments

@dr-scsi
Copy link

dr-scsi commented Aug 7, 2022

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 dr-scsi added is:faces Pertains to extending/improving support for Emacs or plugin faces needs-triage Issue hasn't been assessed yet labels Aug 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is:faces Pertains to extending/improving support for Emacs or plugin faces needs-triage Issue hasn't been assessed yet
Projects
None yet
Development

No branches or pull requests

1 participant