{etoolbox} is a package which provides several macros which take advantage of the {e-tex} extension of (La)TeX.

learn more… | top users | synonyms

2
votes
1answer
97 views

Adding tables to list of tables with custom chapter breakdown

Running the code below is supposed to modify my list of tables to show the Chapter number above each set of tables related to that chapter. \usepackage{etoolbox} \preto\table{% ...
7
votes
0answers
49 views

Compress 5-6 to 5f. in a citation's postnote: \rangelen in \ifnumequal

I am trying to automatically convert page ranges in a postnote given as, e.g., \textcite[4-5]{Smi83} to 4f. iff the range is exactly two pages long. It appears that biblatex' \rangelen is made for ...
1
vote
0answers
41 views

etoolbox preto command doesn't work when tocloft package is used

So I am trying to use: \preto\tableofcontents{ ... } to add something before ToC (and same thing for LoF and LoT) in the Class file (i.e. neither adding ... in the real .tex file, nor making ...