On Wed, Apr 17, 2002 at 07:29:56PM +0200, Herbert Voss wrote:
> Reuben D Budiardja wrote:
> 
> > Is there any way I can keep the equation numbering on automatically for the 
> > whole document? I read through the user guide, but it seems that the only way 
> > to have a numbered equation is by either insert a label for that equation, or 
> > by typing math-number in the mini buffer.

Or typing M-m n

> > 
> > What I'd like is just turn on numbering for all equations by default, and 
> > only put label for some of the equations, for example for some important 
> > formula for cross-referencing, and probably have a couple exceptions and turn 
> > off the numbering for that equation only. 
> 
> http://www.lyx.org/help/mathstuff/numbering.php3

This won't allow disable the numbering for some equations.

A different solution is to use a text editor (or sed/perl) to edit the lyx
file and replace every \[ by \begin{equation} and every \] by \end{equation}
You can also change the behavior of the C-S-m keybinding to create a
numbered equation by adding 
 \bind "C-S-m" "command-sequence math-display; math-number"
to the bind file.

Reply via email to