new feature `dynindent` for ToC entry style `toctext`
KOMA-Script is a bundle of versatile LaTeX classes and packages
Brought to you by:
kohm
For example in cases like shown in my answer to Section and subsection numbers overlaping in the ToC it would be useful to have support for dynindent
not only with ToC style tocline
but also toctext
. So the manual correction of indent+=.4em
to the indent + width of the numbers of the previous level would not be needed and
\DeclareTOCStyleEntry[…,indent+=.4em]{toctext}{subsection}
could be replaced by
\DeclareTOCStyleEntry[…,dynindent]{toctext}{subsection}
So the user would not need to know the indent of the previous level resp. find it out by try and error.
Ah, ok, in case of using
dynindent
also for the parent level this is somehow more complicated than I thought after reading your first request.Would it be useful? Yes.
Will is be added to KOMA-Script 3.46? I don't know, because there are already several new features in KOMA-Script 3.46 that need to be tested (but AFAIK currently nobody feels responsible to test before the release).
Related
Issues:
#87