emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/modus-operandi-theme 08586a4 058/112: Add support for A


From: Stefan Monnier
Subject: [elpa] externals/modus-operandi-theme 08586a4 058/112: Add support for AUCTEX/TEX
Date: Mon, 30 Mar 2020 15:59:38 -0400 (EDT)

branch: externals/modus-operandi-theme
commit 08586a4744be11fbd727fc9641f5567b1f6db6de
Author: Protesilaos Stavrou <address@hidden>
Commit: Protesilaos Stavrou <address@hidden>

    Add support for AUCTEX/TEX
    
    I received a request for these via email and got some feedback on the
    result.  Feel free to suggest any further refinements.
---
 README.org              |  1 +
 modus-operandi-theme.el | 45 +++++++++++++++++++++++++++++++++++++++++++++
 modus-vivendi-theme.el  | 45 +++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 91 insertions(+)

diff --git a/README.org b/README.org
index a516459..a90f17a 100644
--- a/README.org
+++ b/README.org
@@ -174,6 +174,7 @@ the "full support" may not be 100% true…
 + apropos
 + apt-sources-list
 + artbollocks-mode
++ auctex and TeX
 + auto-dim-other-buffers
 + avy
 + bm
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index 52d1af2..40f0754 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -64,6 +64,7 @@
 ;;     apropos
 ;;     apt-sources-list
 ;;     artbollocks-mode
+;;     auctex and TeX
 ;;     auto-dim-other-buffers
 ;;     avy
 ;;     breakpoint (provided by built-in gdb-mi.el)
@@ -622,6 +623,50 @@ between foreground and background is >= 7:1)."
    `(artbollocks-lexical-illusions-face ((,class (:inherit 
modus-theme-refine-magenta :underline t))))
    `(artbollocks-passive-voice-face ((,class (:background ,bg-alt :foreground 
,cyan-alt-other :underline t))))
    `(artbollocks-weasel-words-face ((,class (:background ,bg-alt :foreground 
,yellow-alt-other :underline t))))
+   ;;;; auctex and Tex
+   `(font-latex-bold-face ((,class (:foreground ,fg-special-calm :weight 
bold))))
+   `(font-latex-doctex-documentation-face ((,class (:foreground 
,fg-special-cold :slant ,modus-theme-slant))))
+   `(font-latex-doctex-preprocessor-face ((,class (:foreground ,magenta-alt 
:weight ,modus-theme-bold))))
+   `(font-latex-italic-face ((,class (:foreground ,fg-special-calm :slant 
italic))))
+   `(font-latex-math-face ((,class (:foreground ,cyan-alt-other))))
+   `(font-latex-script-char-face ((,class (:foreground ,cyan-alt-other))))
+   `(font-latex-sectioning-0-face ((,class (:inherit 
,modus-theme-variable-pitch
+                                                     :foreground ,blue-nuanced 
:weight bold
+                                                     ,@(when 
modus-operandi-theme-scale-headings
+                                                         (list :height 
modus-operandi-theme-scale-4))))))
+   `(font-latex-sectioning-1-face ((,class (:inherit 
,modus-theme-variable-pitch
+                                                     :foreground ,blue-nuanced 
:weight bold
+                                                     ,@(when 
modus-operandi-theme-scale-headings
+                                                         (list :height 
modus-operandi-theme-scale-3))))))
+   `(font-latex-sectioning-2-face ((,class (:inherit 
,modus-theme-variable-pitch
+                                                     :foreground ,blue-nuanced 
:weight bold
+                                                     ,@(when 
modus-operandi-theme-scale-headings
+                                                         (list :height 
modus-operandi-theme-scale-2))))))
+   `(font-latex-sectioning-3-face ((,class (:inherit 
,modus-theme-variable-pitch
+                                                     :foreground ,blue-nuanced 
:weight bold
+                                                     ,@(when 
modus-operandi-theme-scale-headings
+                                                         (list :height 
modus-operandi-theme-scale-1))))))
+   `(font-latex-sectioning-4-face ((,class (:inherit 
,modus-theme-variable-pitch
+                                                     :foreground ,blue-nuanced 
:weight bold))))
+   `(font-latex-sectioning-5-face ((,class (:inherit 
,modus-theme-variable-pitch
+                                                     :foreground 
,blue-nuanced))))
+   `(font-latex-sedate-face ((,class (:foreground ,magenta-alt-other :weight 
,modus-theme-bold))))
+   `(font-latex-slide-title-face ((,class (:inherit ,modus-theme-variable-pitch
+                                                     :foreground ,cyan-nuanced 
:weight bold
+                                                     ,@(when 
modus-operandi-theme-scale-headings
+                                                         (list :height 
modus-operandi-theme-scale-4))))))
+   `(font-latex-string-face ((,class (:foreground ,blue-alt))))
+   `(font-latex-subscript-face ((,class (:height 0.95))))
+   `(font-latex-superscript-face ((,class (:height 0.95))))
+   `(font-latex-verbatim-face ((,class (:background ,bg-dim :foreground 
,fg-special-mild))))
+   `(font-latex-warning-face ((,class (:foreground ,yellow-alt-other))))
+   `(tex-match ((,class (:foreground ,blue-alt-other))))
+   `(tex-verbatim ((,class (:background ,bg-dim :foreground 
,fg-special-mild))))
+   `(texinfo-heading ((,class (:foreground ,magenta))))
+   `(TeX-error-description-error ((,class (:foreground ,red :weight bold))))
+   `(TeX-error-description-help ((,class (:foreground ,blue))))
+   `(TeX-error-description-tex-said ((,class (:foreground ,blue))))
+   `(TeX-error-description-warning ((,class (:foreground ,yellow :weight 
bold))))
    ;;;; auto-dim-other-buffers
    `(auto-dim-other-buffers-face ((,class (:background ,bg-alt))))
    ;;;; avy
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index 9421e31..840336b 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -64,6 +64,7 @@
 ;;     apropos
 ;;     apt-sources-list
 ;;     artbollocks-mode
+;;     auctex and TeX
 ;;     auto-dim-other-buffers
 ;;     avy
 ;;     breakpoint (provided by built-in gdb-mi.el)
@@ -622,6 +623,50 @@ between foreground and background is >= 7:1)."
    `(artbollocks-lexical-illusions-face ((,class (:inherit 
modus-theme-refine-magenta :underline t))))
    `(artbollocks-passive-voice-face ((,class (:background ,bg-alt :foreground 
,cyan-alt-other :underline t))))
    `(artbollocks-weasel-words-face ((,class (:background ,bg-alt :foreground 
,yellow-alt-other :underline t))))
+   ;;;; auctex and TeX
+   `(font-latex-bold-face ((,class (:foreground ,fg-special-calm :weight 
bold))))
+   `(font-latex-doctex-documentation-face ((,class (:foreground 
,fg-special-cold :slant ,modus-theme-slant))))
+   `(font-latex-doctex-preprocessor-face ((,class (:foreground ,magenta-alt 
:weight ,modus-theme-bold))))
+   `(font-latex-italic-face ((,class (:foreground ,fg-special-calm :slant 
italic))))
+   `(font-latex-math-face ((,class (:foreground ,cyan-alt-other))))
+   `(font-latex-script-char-face ((,class (:foreground ,cyan-alt-other))))
+   `(font-latex-sectioning-0-face ((,class (:inherit 
,modus-theme-variable-pitch
+                                                     :foreground ,blue-nuanced 
:weight bold
+                                                     ,@(when 
modus-vivendi-theme-scale-headings
+                                                         (list :height 
modus-vivendi-theme-scale-4))))))
+   `(font-latex-sectioning-1-face ((,class (:inherit 
,modus-theme-variable-pitch
+                                                     :foreground ,blue-nuanced 
:weight bold
+                                                     ,@(when 
modus-vivendi-theme-scale-headings
+                                                         (list :height 
modus-vivendi-theme-scale-3))))))
+   `(font-latex-sectioning-2-face ((,class (:inherit 
,modus-theme-variable-pitch
+                                                     :foreground ,blue-nuanced 
:weight bold
+                                                     ,@(when 
modus-vivendi-theme-scale-headings
+                                                         (list :height 
modus-vivendi-theme-scale-2))))))
+   `(font-latex-sectioning-3-face ((,class (:inherit 
,modus-theme-variable-pitch
+                                                     :foreground ,blue-nuanced 
:weight bold
+                                                     ,@(when 
modus-vivendi-theme-scale-headings
+                                                         (list :height 
modus-vivendi-theme-scale-1))))))
+   `(font-latex-sectioning-4-face ((,class (:inherit 
,modus-theme-variable-pitch
+                                                     :foreground ,blue-nuanced 
:weight bold))))
+   `(font-latex-sectioning-5-face ((,class (:inherit 
,modus-theme-variable-pitch
+                                                     :foreground 
,blue-nuanced))))
+   `(font-latex-sedate-face ((,class (:foreground ,magenta-alt-other :weight 
,modus-theme-bold))))
+   `(font-latex-slide-title-face ((,class (:inherit ,modus-theme-variable-pitch
+                                                     :foreground ,cyan-nuanced 
:weight bold
+                                                     ,@(when 
modus-vivendi-theme-scale-headings
+                                                         (list :height 
modus-vivendi-theme-scale-4))))))
+   `(font-latex-string-face ((,class (:foreground ,blue-alt))))
+   `(font-latex-subscript-face ((,class (:height 0.95))))
+   `(font-latex-superscript-face ((,class (:height 0.95))))
+   `(font-latex-verbatim-face ((,class (:background ,bg-dim :foreground 
,fg-special-mild))))
+   `(font-latex-warning-face ((,class (:foreground ,yellow-alt-other))))
+   `(tex-match ((,class (:foreground ,blue-alt-other))))
+   `(tex-verbatim ((,class (:background ,bg-dim :foreground 
,fg-special-mild))))
+   `(texinfo-heading ((,class (:foreground ,magenta))))
+   `(TeX-error-description-error ((,class (:foreground ,red :weight bold))))
+   `(TeX-error-description-help ((,class (:foreground ,blue))))
+   `(TeX-error-description-tex-said ((,class (:foreground ,blue))))
+   `(TeX-error-description-warning ((,class (:foreground ,yellow :weight 
bold))))
    ;;;; auto-dim-other-buffers
    `(auto-dim-other-buffers-face ((,class (:background ,bg-alt))))
    ;;;; avy



reply via email to

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