auctex
[Top][All Lists]
Advanced

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

[AUCTeX] Re: Extra braces in math mode


From: Ralf Angeli
Subject: [AUCTeX] Re: Extra braces in math mode
Date: Tue, 08 Aug 2006 07:50:46 +0200

* Yevgeniy Makarov (2006-08-07) writes:

> I am wondering if there is ever a reason for inserting the braces 
> following TeX math mode commands with no arguments. How does it help 
> that in text mode \lambda is followed by braces? It is not allowed in 
> text mode anyway.
>
> On the other hand, there are some TeX commands from lesser-known 
> packages which start math mode themselves (i.e., they don't require $ or 
> \[ ). For example, the author of proof.sty recommends using 
> \vcenter{\infer{...}{...}} for entering vertically centered deductions. 
> If I remember right, Paul Taylor in his diagrams package does not 
> recommend enclosing \begin{diagram}...\end{diagram} in display math. In 
> such cases, I presume, AUCTeX would consider it a text mode and insert 
> superfluous braces.

You can make AUCTeX aware of commands and environments by customizing
`texmathp-tex-commands'.  Insertion of braces can be controlled with
`TeX-insert-braces'.

-- 
Ralf





reply via email to

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