-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bonjour,

I would like to know if there is an easy way (ie. a tutorial with
examples...) to have a syntax highlighting for my own macros.


For instance, I would like to add some lines to my .emacs file to get
this result: I create a command \foo and I want to be able to have
\foo with a special color and

\foo[arg1-with my color1]{arg2 with my color 2}

Up to now, I have found this model on the web:
(setq font-latex-match-reference-keywords
  '(
    ("foo" "[{")))

but I want to change the colors for the command itself and for its
arguments.

Thank you.

- -- 
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 8394 5849
http://www.math-info.univ-paris5.fr/~patte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlO1B1kACgkQdE6C2dhV2JWR5QCgrUC+b0An9gLr7MnKgNCk61hQ
inoAoNOlpT328kvYWyym5BFukl/EkGTt
=CEuI
-----END PGP SIGNATURE-----

_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to