Menu

#95 numberpostfix contains hard code autodot

KOMA-Script 3.48
closed
\autodot (1)
2025-09-09
2025-09-09
U_Fischer
No

scrartcl hard codes an \autodot into \numberline@numberpostfix and as far as I can see there is not way to get rid of it when using only public interfaces. So in the following document I end up with figure 1.: in the list of figures which looks rather bad.

\documentclass{scrartcl}
\DeclareTOCStyleEntry[
    ,dynnumwidth=true
    ,indent=0pt
    ,numberpostfix={:}
    ,numberprefix= \figurename\space
    ,numsep=6mm
]{tocline}{figure}

\begin{document}
\listoffigures
\section{blub}
\begin{figure}
\caption{blub}
\end{figure}

\appendix
\section{blub}
\end{document}

Discussion

  • Markus Kohm

    Markus Kohm - 2025-09-09
    • labels: --> \autodot
    • status: open --> closed
    • assigned_to: Markus Kohm
     
  • U_Fischer

    U_Fischer - 2025-09-09

    Well I think we can agree that .: looks bad. From the options in the wiki only redefining locally \autodot gets really rid of the period, and imho this feels a bit odd to redefine a KOMA command like this where there is a key to set the postfix text. I expected numberpostfix={:} to overwrite whatever is already there.

     
  • Markus Kohm

    Markus Kohm - 2025-09-09

    I am open to handing over the maintenance and development of KOMA-Script. If you would like to take it over, you can also implement any changes you would like to see.

     

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.