<?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_HeadingNoNumber</title><link>https://sourceforge.net/p/koma-script/wiki-en/HowTo_HeadingNoNumber/</link><description>Recent changes to HowTo_HeadingNoNumber</description><atom:link href="https://sourceforge.net/p/koma-script/wiki-en/HowTo_HeadingNoNumber/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 23 Jun 2021 19:32:56 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/koma-script/wiki-en/HowTo_HeadingNoNumber/feed" rel="self" type="application/rss+xml"/><item><title>HowTo_HeadingNoNumber modified by Markus Kohm</title><link>https://sourceforge.net/p/koma-script/wiki-en/HowTo_HeadingNoNumber/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="how-to-set-an-outline-level-in-the-text-without-a-number-but-with-a-number-in-the-table-of-contents"&gt;How to set an outline level in the text without a number but with a number in the table of contents&lt;/h1&gt;
&lt;p&gt;A quite common requirement is to set a heading in the text without a number, but to include the number in the table of contents. Mostly this concerns the top level of outline and the levels below should still be numbered in the text.&lt;/p&gt;
&lt;p&gt;The KOMA-Script classes have statements &lt;code&gt;\partformat&lt;/code&gt;, &lt;code&gt;\chapterformat&lt;/code&gt; (only &lt;code&gt;scrbook&lt;/code&gt; and &lt;code&gt;scrreprt&lt;/code&gt;), &lt;code&gt;\sectionformat&lt;/code&gt; etc. for all numbered outline levels. These determine the output of the outline number in the heading itself. This makes it very easy to disable the output:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;\documentclass&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;\renewcommand*&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;&lt;span class="k"&gt;\sectionformat&lt;/span&gt;&lt;span class="nb"&gt;}&lt;/span&gt;[1]&lt;span class="nb"&gt;{&lt;/span&gt;&lt;span class="c"&gt;% Change counter format in headings as follows:&lt;/span&gt;
  &lt;span class="c"&gt;% ... output nothing&lt;/span&gt;
&lt;span class="nb"&gt;}&lt;/span&gt;
&lt;span class="k"&gt;\usepackage&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;blindtext&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;\blinddocument&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;/pre&gt;&lt;/div&gt;


&lt;p&gt;If the number in the header should also be switched off when using running heads, &lt;code&gt;\...markformat&lt;/code&gt; is responsible for this:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;\documentclass&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;\renewcommand*&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;&lt;span class="k"&gt;\sectionformat&lt;/span&gt;&lt;span class="nb"&gt;}&lt;/span&gt;[1]&lt;span class="nb"&gt;{&lt;/span&gt;&lt;span class="c"&gt;% Change counter format in headers as follows:&lt;/span&gt;
  &lt;span class="c"&gt;% ... output nothing&lt;/span&gt;
&lt;span class="nb"&gt;}&lt;/span&gt;
&lt;span class="k"&gt;\renewcommand*&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;&lt;span class="k"&gt;\sectionmarkformat&lt;/span&gt;&lt;span class="nb"&gt;}&lt;/span&gt;[1]&lt;span class="nb"&gt;{&lt;/span&gt;&lt;span class="c"&gt;% Change counter format in running heads as follows:&lt;/span&gt;
  &lt;span class="c"&gt;% ... output nothing&lt;/span&gt;
&lt;span class="nb"&gt;}&lt;/span&gt;
&lt;span class="k"&gt;\usepackage&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;blindtext&lt;span class="nb"&gt;}&lt;/span&gt;
 &lt;span class="k"&gt;\pagestyle&lt;/span&gt;&lt;span class="nb"&gt;{&lt;/span&gt;headings&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;\blinddocument&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;/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>Wed, 23 Jun 2021 19:32:56 -0000</pubDate><guid>https://sourceforge.net8904748ede207d446d1cbf174fdbac59a8d1f3ab</guid></item></channel></rss>