auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Formatting and syntax highlighting


From: David Kastrup
Subject: Re: [AUCTeX] Formatting and syntax highlighting
Date: Sat, 11 Mar 2006 18:17:14 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"address@hidden" <address@hidden> writes:

> I have a couple of questions regarding syntax highlighting and
> formatting in AUCTeX.
>
> 1. I sometimes use a math environment defined with \newenvironment
> that just opens an eqnarray and changes the spacing. I'd like AUCTeX
> to recognize this as a math environment and change the syntax
> highlighting accordingly. How can I do this? I couldn't find any
> information in the documentation.

Probably not worth the trouble.  For most of mathematics, you are much
better off using the amsmath package (which AUCTeX supports): use

texdoc amsldoc

to learn about it.

> 2. Is there any way to enhance syntax highlighting in math mode? I'd
> like to have normal text and greek character macros in one color and
> other macros (like \sqrt, etc.) as well as maybe symbols (as "+") in
> another color because I think that would make it easier to read.
>
> 3. Is there any way to have a better way of formatting formulas with
> LaTeX-fill-environment? For example if I have a multiline
> align-environment I'd like to have a line break after each "\\" and
> if a line break needs to be inserted anywhere else I'd like to have
> some indentation like this:
>
> &= [some terms]
>       [some more terms] \\
> &= [next term]
>
> 4. Can I fold blocks of comments? This would be handy because sometimes
> I comment out large blocks that I might want to activate again later.
> But for the moment it would make reading the document easier if I could
> comment them out.

Maybe someone else has an idea about those.

> GNU Emacs 22.0.50.1 on Windows XP
> AUCTeX 11.82


-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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