<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to HowTo_PrefixNumberInListOf</title><link>https://sourceforge.net/p/koma-script/wiki-en/HowTo_PrefixNumberInListOf/</link><description>Recent changes to HowTo_PrefixNumberInListOf</description><atom:link href="https://sourceforge.net/p/koma-script/wiki-en/HowTo_PrefixNumberInListOf/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 09 Sep 2025 12:41:25 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/koma-script/wiki-en/HowTo_PrefixNumberInListOf/feed" rel="self" type="application/rss+xml"/><item><title>HowTo_PrefixNumberInListOf modified by Markus Kohm</title><link>https://sourceforge.net/p/koma-script/wiki-en/HowTo_PrefixNumberInListOf/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -42,7 +42,13 @@
 ```latex
 \DeclareTOCStyleEntries[numberpostfix=:]{tocline}{figure,table}
 ```
-is recommended. The advantage of this version is that the class options `numbers=autoenddot`, `numbers=enddot` or `numbers=noenddot` are still taken into account.
+is recommended. The advantage of this version is that the class options `numbers=autoenddot`, `numbers=enddot` or `numbers=noenddot` are still taken into account. If you do not want a period to be placed at the end of the number in the directories, regardless of the option `numbers`, continue to use the old version or
+```latex
+\BeforeStartingTOC[lof]{\renewcommand*{\autodot}{}}
+\BeforeStartingTOC[lot]{\renewcommand*{\autodot}{}}
+\DeclareTOCStyleEntries[numberpostfix=:]{tocline}{figure,table}
+```
+is the method of choice. Theoretically, KOMA-Script could of course determine whether the value of `numberpostfix` begins with a punctuation mark and then deactivate `\autodot`. However, this would also restrict the user and is by no means as clear-cut as is sometimes assumed. Since redefinitions of `\autodot` have also been a documented possibility since its introduction, the chosen solution seems plausible and consistent to me. Anyone who disagrees is welcome to define their own directory style and then specify a different behavior.

 Um sowohl den Präfix „Abbildung“ bzw. „Tabelle” als auch den Doppelpunkt auch bei Verwendung einer Standardklasse zu erreichen, kann man die letzte Lösung auch noch um eine passende Einstellung `numberprefix` erweitern. Zusätzlich sollte man dann `dynnumwidth` verwenden oder aber mit `numwidth` eine passende neue Breite für die Nummer einschließlich Präfix angeben:
 ```latex
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Markus Kohm</dc:creator><pubDate>Tue, 09 Sep 2025 12:41:25 -0000</pubDate><guid>https://sourceforge.netd9d68bdf753661a96e5fd51c3eb0122f462bfec4</guid></item><item><title>HowTo_PrefixNumberInListOf modified by Markus Kohm</title><link>https://sourceforge.net/p/koma-script/wiki-en/HowTo_PrefixNumberInListOf/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -30,3 +30,47 @@
 [[img src=LofLotPrefix.png alt="Figure: List of Figures and List of Tables with prefixed entry numbers"]]

 More information on the `listof=entryprefix` option can be found in the user manual.
+
+Incidentally, it is also very easy to insert a colon after "Figure N" or "Table N". As the KOMA-Script classes use the `\autodot` documented in the user guides, this only needs to be redefined locally for the two directories. To do this, simply add somewhere in the document preamble:
+```latex
+\BeforeStartingTOC[lof]{\renewcommand*{\autodot}{:}}
+\BeforeStartingTOC[lot]{\renewcommand*{\autodot}{:}}
+```
+More information on `\BeforeStartingTOC` can be found in the user guides.
+
+As of KOMA-Script 3.46 instead:
+```latex
+\DeclareTOCStyleEntries[numberpostfix=:]{tocline}{figure,table}
+```
+is recommended. The advantage of this version is that the class options `numbers=autoenddot`, `numbers=enddot` or `numbers=noenddot` are still taken into account.
+
+Um sowohl den Präfix „Abbildung“ bzw. „Tabelle” als auch den Doppelpunkt auch bei Verwendung einer Standardklasse zu erreichen, kann man die letzte Lösung auch noch um eine passende Einstellung `numberprefix` erweitern. Zusätzlich sollte man dann `dynnumwidth` verwenden oder aber mit `numwidth` eine passende neue Breite für die Nummer einschließlich Präfix angeben:
+```latex
+\documentclass{article}
+\usepackage[ngerman]{babel}
+\usepackage{tocbasic}
+\DeclareTOCStyleEntries[numberpostfix=:]{tocline}{figure,table}
+\DeclareTOCStyleEntry[numberprefix=\figurename\ ,dynnumwidth]{tocline}{figure}
+\DeclareTOCStyleEntry[numberprefix=\tablename\ ,dynnumwidth]{tocline}{table}
+\begin{document}
+\tableofcontents
+\listoffigures
+\listoftables
+\section{Beispiel}
+Dies ist ein Beispielabschnitt mit einer Abbildung und einer Tabelle.
+\begin{figure}
+  \centering
+  \rule{1cm}{1cm}
+  \caption{Ein Quadrat mit 1\,cm Kantenlänge}
+\end{figure}
+\begin{table}
+  \centering
+  \begin{tabular}{lr}
+  links &amp;amp; rechts \\
+  1     &amp;amp;      2 \\
+  \end{tabular}
+  \caption{Eine linksbündige linke Spalte und eine rechtsbündige rechte Spalte}
+\end{table}
+\end{document}
+```
+Of course, in this example the package `tocbasic`, which provides the required options, must be loaded explicitly.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Markus Kohm</dc:creator><pubDate>Wed, 13 Aug 2025 10:19:23 -0000</pubDate><guid>https://sourceforge.net481030bea53fa7031e6a1433b685762285d84094</guid></item><item><title>HowTo_PrefixNumberInListOf modified by Markus Kohm</title><link>https://sourceforge.net/p/koma-script/wiki-en/HowTo_PrefixNumberInListOf/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -27,4 +27,6 @@
 \end{document}
 ```

+[[img src=LofLotPrefix.png alt="Figure: List of Figures and List of Tables with prefixed entry numbers"]]
+
 More information on the `listof=entryprefix` option can be found in the user manual.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Markus Kohm</dc:creator><pubDate>Tue, 27 May 2025 11:37:18 -0000</pubDate><guid>https://sourceforge.net3a521e540b92f403494c560072a4d44ac6bd1d79</guid></item><item><title>HowTo_PrefixNumberInListOf modified by Markus Kohm</title><link>https://sourceforge.net/p/koma-script/wiki-en/HowTo_PrefixNumberInListOf/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -9,7 +9,6 @@
 \tableofcontents
 \listoffigures
 \listoftables
-\begin{document}
 \section{Example}
 This is an example section with a figure and a table.
 \begin{figure}
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Markus Kohm</dc:creator><pubDate>Tue, 27 May 2025 11:35:13 -0000</pubDate><guid>https://sourceforge.netdcaadd1de713f460e6c290feef7ad9a8a50d019c</guid></item><item><title>HowTo_PrefixNumberInListOf modified by Markus Kohm</title><link>https://sourceforge.net/p/koma-script/wiki-en/HowTo_PrefixNumberInListOf/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -27,3 +27,5 @@
 \end{table}
 \end{document}
 ```
+
+More information on the `listof=entryprefix` option can be found in the user manual.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Markus Kohm</dc:creator><pubDate>Tue, 27 May 2025 10:23:33 -0000</pubDate><guid>https://sourceforge.netb596763833ea9b32ce575cf97291c2b3d7d7ceeb</guid></item><item><title>HowTo_PrefixNumberInListOf modified by Markus Kohm</title><link>https://sourceforge.net/p/koma-script/wiki-en/HowTo_PrefixNumberInListOf/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="how-to-number-entries-to-directories-with-figure-n-resp-table-n"&gt;How to number entries to directories with “Figure &lt;em&gt;N&lt;/em&gt;” resp. “Table &lt;em&gt;N&lt;/em&gt;”&lt;/h1&gt;
&lt;p&gt;Although I consider it absolutely pointless to prefix the numbers in the list of figures or list of tables with “figure” or “table”, because nobody would expect anything other than a figure or table in the corresponding directory, the KOMA-Script classes nevertheless offer the option &lt;code&gt;listof=entryprefix&lt;/code&gt;. The text used is then &lt;code&gt;\listof*file extension*entryname&lt;/code&gt; before the number, i.e. &lt;code&gt;\listoflofentryname&lt;/code&gt; for the list of figures and &lt;code&gt;\listoflotentryname&lt;/code&gt; for the list of tables. These are predefined in the KOMA-Script classes with &lt;code&gt;\figurename&lt;/code&gt; or &lt;code&gt;\tablename&lt;/code&gt; and are therefore dependent on the current language.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="k"&gt;\documentclass&lt;/span&gt;&lt;span class="na"&gt;[listof=entryprefix]&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;scrartcl&lt;span class="nb"&gt;}&lt;/span&gt;
&lt;span class="k"&gt;\begin&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;document&lt;span class="nb"&gt;}&lt;/span&gt;
&lt;span class="k"&gt;\tableofcontents&lt;/span&gt;
&lt;span class="k"&gt;\listoffigures&lt;/span&gt;
&lt;span class="k"&gt;\listoftables&lt;/span&gt;
&lt;span class="k"&gt;\begin&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;document&lt;span class="nb"&gt;}&lt;/span&gt;
&lt;span class="k"&gt;\section&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;Example&lt;span class="nb"&gt;}&lt;/span&gt;
This is an example section with a figure and a table.
&lt;span class="k"&gt;\begin&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;figure&lt;span class="nb"&gt;}&lt;/span&gt;
  &lt;span class="k"&gt;\centering&lt;/span&gt;
  &lt;span class="k"&gt;\rule&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;1cm&lt;span class="nb"&gt;}{&lt;/span&gt;1cm&lt;span class="nb"&gt;}&lt;/span&gt;
  &lt;span class="k"&gt;\caption&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;A square of 1&lt;span class="k"&gt;\,&lt;/span&gt;cm width and height&lt;span class="nb"&gt;}&lt;/span&gt;
&lt;span class="k"&gt;\end&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;figure&lt;span class="nb"&gt;}&lt;/span&gt;
&lt;span class="k"&gt;\begin&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;table&lt;span class="nb"&gt;}&lt;/span&gt;
  &lt;span class="k"&gt;\centering&lt;/span&gt;
  &lt;span class="k"&gt;\begin&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;tabular&lt;span class="nb"&gt;}{&lt;/span&gt;lr&lt;span class="nb"&gt;}&lt;/span&gt;
  left &lt;span class="nb"&gt;&amp;amp;&lt;/span&gt; right &lt;span class="k"&gt;\\&lt;/span&gt;
  1     &lt;span class="nb"&gt;&amp;amp;&lt;/span&gt;      2 &lt;span class="k"&gt;\\&lt;/span&gt;
  &lt;span class="k"&gt;\end&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;tabular&lt;span class="nb"&gt;}&lt;/span&gt;
  &lt;span class="k"&gt;\caption&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;A left aligned left column and a right aligned right column&lt;span class="nb"&gt;}&lt;/span&gt;
&lt;span class="k"&gt;\end&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;table&lt;span class="nb"&gt;}&lt;/span&gt;
&lt;span class="k"&gt;\end&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;document&lt;span class="nb"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Markus Kohm</dc:creator><pubDate>Tue, 27 May 2025 10:19:08 -0000</pubDate><guid>https://sourceforge.net0dfed6a3a98b7d03dde67ba2c9ebea60d26675f9</guid></item></channel></rss>