[texhax] tabularx and titletoc/titlesec: harmful interaction?

Susan Dittmar Susan.Dittmar at gmx.de
Fri Jul 20 10:17:15 CEST 2012


Dear Donald,

Quoting Donald Arseneau (asnd at triumf.ca):
> LaTeX counters are meant to be global always, so commands/packages
> that manipulate counters may go wrong if you increment them locally.
> For example \include with \includeonly manages counter values, and 
> also tabularx does (tabularx needs to restore counters to original
> settings after each test-formatting used to measure column widths).

thanks for the explanation! So I'll instead use macros with \numdef (from
etoolbox) to increment the contents.

	Susan


More information about the texhax mailing list