|
From: | Jorge A. Alfaro-Murillo |
Subject: | Re: [AUCTeX] Change fontification of \textsl |
Date: | Fri, 03 Oct 2014 13:33:03 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
In the text properties, the face should indicate (font-latex-italic-face). If it does then the problem might be that you changed something in the face. Hit enter over (font-latex-italic-face) (or do "M-x describe-face font-latex-italic-face"), to see if you changed the face. For me it inherits italic (and it's foreground is DarkOliveGreen), which is what you want.
font-latex-built-in-keyword-classes should take care of that. What does "C-h v font-latex-built-in-keyword-classes" show for you. It should have as one of its elements:
#+BEGIN_SRC emacs-lisp ("italic-command" (("emph" "{") ("textit" "{") ("textsl" "{")) 'font-latex-italic-face 1 command) #+END_SRCAlso, be sure that you do not have "italic-command" in the list "font-latex-deactivated-keyword-classes". And restart emacs if you change that list.
Best, -- Jorge.
[Prev in Thread] | Current Thread | [Next in Thread] |