General ⇒ getting emacs to recognize new commands
getting emacs to recognize new commands
emacs knows about the standard latex commands and uses pretty colours for their arguments. For environments, it leaves them on a separate line if you use Alt-Q to neaten up the text before or after. Emacs obviously doesn't realize that \beq is an environment and it doesn't use pretty colours for the arguments of user newcommands.
Does anyone know what I would need to put in my .emacs file to make emacs treat \beq it in the same way as \begin{equation} and put the argument of \figref in pretty colours?
Many thanks in advance,
Mike
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis