This post suggests that scrhack
is required to format a list if listings consistently: How to have the list of code listings also in twocolumn? I would like to format my List of Listings consistently with my LoF and LoT by means of the KOMA-Script \DeclareTOCStyleEntries
but I do not know what to use in between the ??
. I've tried listing
, listings
, lstlisting
, listlistings
\DeclareTOCStyleEntries[%
indent=-5ex,
numwidth=5ex,
entryformat=\normalsize,
entrynumberformat=...
]{tocline}{figure,table,??listing??}
Error:(81) tocbasic: toc style `tocline' needs toc style level.