Menu

#88 new feature `dynindent` for ToC entry style `toctext`

KOMA-Script 3.48
open
2025-08-28
2025-06-26
Cabohah
No

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.

Discussion

  • Markus Kohm

    Markus Kohm - 2025-06-26

    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

  • Markus Kohm

    Markus Kohm - 2025-08-20
    • Milestone: KOMA-Script 3.46 --> KOMA-Script 3.47
     
  • Markus Kohm

    Markus Kohm - 2025-08-28
    • Milestone: KOMA-Script 3.47 --> KOMA-Script 3.48
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.