auctex
[Top][All Lists]
Advanced

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

[AUCTeX] Italicizing user macros


From: Ognjen Maric
Subject: [AUCTeX] Italicizing user macros
Date: Wed, 27 Jul 2016 11:02:42 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

I'd like AUCTeX to render a particular macro I define (called inldef) the
same way that it renders \emph. Looking through the documentation, I tried:

(setq font-latex-match-italic-command-keywords '(("inldef" "{")))

But this doesn't seem to affect the rendering (both the macro name and the
argument are rendered as for any other user macro). 

My macro is defined simply as:

\newcommand{\inldef}{\emph}

This doesn't change anything either:

\newcommand{\inldef}[1]{\emph{#1}}

Thanks for any help!
Ognjen




reply via email to

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