[OS X TeX] amsmath +/- lingmacros
rloukano at stp.lingfil.uu.se
Sun May 18 20:57:28 CEST 2008
Alan, thanks a lot: I didn't know about linguex.sty, up to now. I have
tried it and examples look very pretty, with cases and sub-cases,
consequently enumerated and indented as the math align environment. They
are very intuitive to use.
I'll try linguex.sty more extensively for combinations with other
On Sun, 18 May 2008, Alan Munn wrote:
> At 12:06 AM +0200 5/18/08, Roussanka Loukanova wrote:
>> Hi again,
>> Please, accept my apologies for this another yet off-list topic question..
>> I have trouble using amsmath and lingmacros together because lingmacros
>> sets its own counter for enumerated displays.
>> I am typesetting a paper, in which I have math formulas and examples of
>> English sentences and need to have all them consecutively enumerated.
>> English sentences get nicely enumerated and left aligned, as is customary
>> in linguistics, with lingmacros.sty. But lingmacros.sty uses a separate
>> counter from that of amsmath.
> I would recommend using linguex.sty instead of lingmacros.
> To make the counters the same, add the following to your preamble (using
> \let\c at ExNo=\c at equation
> Then you can intersperse equations and example sentences.
> If you want to continue to use lingmacros, you can make the lingmacros
> counter use the equation counter in the same way:
> \let\c at enums=\c at equation
> However, because lingmacros uses a regular list, it indents the number, and
> you'd need to mess around
> to get the numbers to line up (so that your example numbers are indented the
> same distance as your equation numbers.)
> In principle you could do this with:
> But this will have the effect of making all lists have this indent, which may
> not be what you want, if you have other itemize/enumerate/description lists.
> This is why using linguex would probably be easier.
More information about the macostex-archives