On Fri, 25 Oct 2013 18:51:04 +0200 Tadziu Hoffmann <hoffm...@usm.uni-muenchen.de> wrote:
> > > BTW, you need a .br on a line between your first .EQ and the > > second .EN. Otherwise the two equations will be run together. > > Not necessarily. It depends on how your EQ/EN macros are defined. > In the simplest case you can define > > .de EQ > .sp .5 > .ce 1 > .. > .de EN > .sp .5 > .. > > For something more fancy, try > > .de EQ > .br > .nr xx \\n(.n > .nr EQ +1 > .di XX > .. > .de EN > .br > .di > .nr =^ \\n(.l-\\n(.i > .ie \w'\\*(10'<(\\n(.l-\\n(.i-(2*\\n(xx)-2m) \{\ > .ne \\n(dnu > .\} > .el \{\ > .ne \\n(dnu+.5v > .sp .5v > .\} > .ta \\n(.lu/2uC \\n(.luR > \t\\*(10\t(\\n(EQ) > .sp .5v > .ns > .. > > which gives you automatic equation numbering > (and also makes the spacing nicer). Thank you! Now I have to go study these so that I understand what they're doing. :-) While I use Groff, and enjoy it, I don't really understand what it's doing. So this will be a nice bit of mental exercise. --Dale -- "Duct tape is like the Force. It has a light side, a dark side, and it holds the universe together." --Carl Zwanzig