font-latex-title-*-face color on light background terminals
Dan Nicolaescu <[email protected]>
| Newsgroups | gmane.emacs.auc-tex |
|---|---|
| Message-ID | <[email protected]> |
font-latex-title-[123]-face are defined to have the foreground yellow. On light background terminals (like white) it is hard to read these faces. Different colors could be used for dark and light backgrounds. For example blue for light backgrounds (no particular reason to choose that, use whatever you like). Like so: --- font-latex.el Tue Mar 1 22:19:59 2005 +++ ../auctex/font-latex.el Tue Mar 1 13:16:37 2005 @@ -163,7 +162,8 @@ (number-to-string num) ".") :group 'font-latex-highlighting-faces))) (eval `(defface ,face-name - '((((type tty pc) (class color)) (:foreground "yellow" :weight bold)) + '((((type tty pc) (class color) (background dark)) (:foreground "yellow" :weight bold)) + (((type tty pc) (class color) (background light)) (:foreground "blue" :weight bold)) (t (:height 1.2 :inherit ,(intern (concat "font-latex-title-" (number-to-string (1+ num))