auctex
[Top][All Lists]
Advanced

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

[AUCTeX] font-latex-user-keyword-classes doesn't work


From: micheal S
Subject: [AUCTeX] font-latex-user-keyword-classes doesn't work
Date: Wed, 7 Apr 2010 17:17:19 +0200

Hello!

I would like to have syntax highlighting for user defined LaTeX commands.
The auctex manual says, this could be done by setting the variable
font-latex-user-keyword-classes.

I've tried it (via M-x customize-variable), but unfortunately there
was no effect. After setting the variable this way, the corresponding
part of my .emacs file looked like:

(custom-set-variables
;; some other variables
 '(font-latex-user-keyword-classes (quote (("testcommand" nil
(:family "font-latex-sectioning-0-face" :width extra-expanded :weight
extra-bold) noarg))))
)

What did I do wrong?

Is there another way to accomplish the required syntax highlighting for
user defined LaTeX  commands?

When adjusting the variable it was also not clear to me what "font
keywords" I could use.

My auctex version is 11.86.

Thanks in advance
Michael




reply via email to

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