On Monday 18 February 2002 14:23, [EMAIL PROTECTED] wrote: > Hello, > > I would like to know what must I do (i.e. what must I write into > the Latex preamble of my document (Book AMS) ?) for having (for > example) : > > Definition 1.1.1 > Example 1.1.1 > Definition 1.1.2 > Example 1.1.2 > etc... > > in the place of : > > Definition 1.1.1 > Example 1.1.2 > Definition 1.1.3 > Example 1.1.4 > etc...
If this is something you do a lot, it might be best to make a layout file to save on ERT. Copy your normal layout file, and add something like Style MyDefinition CopyStyle #write the name of the environment you were using before End Style MyExample CopyStyle #write the name of the environment you were using before End Save in $/.lyx/layouts and reconfigure LyX. This should give you the same styles, but the numbering will be independent for MyDefinition and MyExample (which should show up in the menu). Robin -- "Never mind the quality, feel the bandwidth." Robin Turner IDMYO, Bilkent Universitesi Ankara 06533 Turkey http://www.bilkent.edu.tr/~robin