KOMA report: unnumbered chapters, numbering within sections - how to remove period?How to modify the space...

Is it legal for company to use my work email to pretend I still work there?

Writing rule stating superpower from different root cause is bad writing

Dragon forelimb placement

Smoothness of finite-dimensional functional calculus

Can I ask the recruiters in my resume to put the reason why I am rejected?

How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?

Is this a crack on the carbon frame?

Modeling an IPv4 Address

Why, historically, did Gödel think CH was false?

Windows 98 hangs after entering password on fresh install

An academic/student plagiarism

Can divisibility rules for digits be generalized to sum of digits

What does it mean to describe someone as a butt steak?

Is it important to consider tone, melody, and musical form while writing a song?

Minkowski space

How to format long polynomial?

Why do falling prices hurt debtors?

How is it possible to have an ability score that is less than 3?

How is the claim "I am in New York only if I am in America" the same as "If I am in New York, then I am in America?

Adding span tags within wp_list_pages list items

Why dont electromagnetic waves interact with each other?

To string or not to string

Has the BBC provided arguments for saying Brexit being cancelled is unlikely?

Can I make popcorn with any corn?



KOMA report: unnumbered chapters, numbering within sections - how to remove period?


How to modify the space between the numbers and text of sectioning titles in the table of contents?Change title of Table of ContentsPage number on the left with book classHow to use unnumbered chapters with KOMA-script?KOMA-script's scrreprt and appendixLaTeX beamer: pagenumbering appendixHow to show Mini table only sections in a chapter not other chapter?How do I exclude some subsections in section, while other subsections within the same chapter not?Customizing format of float numbering in memoirHow to number theorems depending on whether there is a subsectionalternating numbering within sections













1















Using KOMA report, I'd like to have chapters without any numbering, and have normal (arabic numerals) numbering within each section (in text and in TOC), like so:



Chapter about A
1 Thing a
1.1 Subthing aa

Chapter about B
1 Thing b
1.1 Subthing bb

Chapter about C
1 Thing c
1.1 Subthing cc


Currently, this is the output I get, and the question is how to remove the extra period:



Chapter about A
.1 Thing a
.1.1 Subthing aa

Chapter about B
.1 Thing b
.1.1 Subthing bb

Chapter about C
.1 Thing c
.1.1 Subthing cc


Here's my MWE:



documentclass[]{scrreprt}

usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}

renewcommand{thechapter}{}

setcounter{secnumdepth}{5}
setcounter{tocdepth}{5}

begin{document}

tableofcontents

chapter{Chapter about A}
section{Thing a}
subsection{Subthing aa}

chapter{Chapter about B}
section{Thing b}
subsection{Subthing bb}

chapter{Chapter about C}
section{Thing c}
subsection{Subthing cc}

end{document}









share|improve this question





























    1















    Using KOMA report, I'd like to have chapters without any numbering, and have normal (arabic numerals) numbering within each section (in text and in TOC), like so:



    Chapter about A
    1 Thing a
    1.1 Subthing aa

    Chapter about B
    1 Thing b
    1.1 Subthing bb

    Chapter about C
    1 Thing c
    1.1 Subthing cc


    Currently, this is the output I get, and the question is how to remove the extra period:



    Chapter about A
    .1 Thing a
    .1.1 Subthing aa

    Chapter about B
    .1 Thing b
    .1.1 Subthing bb

    Chapter about C
    .1 Thing c
    .1.1 Subthing cc


    Here's my MWE:



    documentclass[]{scrreprt}

    usepackage[T1]{fontenc}
    usepackage[utf8]{inputenc}

    renewcommand{thechapter}{}

    setcounter{secnumdepth}{5}
    setcounter{tocdepth}{5}

    begin{document}

    tableofcontents

    chapter{Chapter about A}
    section{Thing a}
    subsection{Subthing aa}

    chapter{Chapter about B}
    section{Thing b}
    subsection{Subthing bb}

    chapter{Chapter about C}
    section{Thing c}
    subsection{Subthing cc}

    end{document}









    share|improve this question



























      1












      1








      1








      Using KOMA report, I'd like to have chapters without any numbering, and have normal (arabic numerals) numbering within each section (in text and in TOC), like so:



      Chapter about A
      1 Thing a
      1.1 Subthing aa

      Chapter about B
      1 Thing b
      1.1 Subthing bb

      Chapter about C
      1 Thing c
      1.1 Subthing cc


      Currently, this is the output I get, and the question is how to remove the extra period:



      Chapter about A
      .1 Thing a
      .1.1 Subthing aa

      Chapter about B
      .1 Thing b
      .1.1 Subthing bb

      Chapter about C
      .1 Thing c
      .1.1 Subthing cc


      Here's my MWE:



      documentclass[]{scrreprt}

      usepackage[T1]{fontenc}
      usepackage[utf8]{inputenc}

      renewcommand{thechapter}{}

      setcounter{secnumdepth}{5}
      setcounter{tocdepth}{5}

      begin{document}

      tableofcontents

      chapter{Chapter about A}
      section{Thing a}
      subsection{Subthing aa}

      chapter{Chapter about B}
      section{Thing b}
      subsection{Subthing bb}

      chapter{Chapter about C}
      section{Thing c}
      subsection{Subthing cc}

      end{document}









      share|improve this question
















      Using KOMA report, I'd like to have chapters without any numbering, and have normal (arabic numerals) numbering within each section (in text and in TOC), like so:



      Chapter about A
      1 Thing a
      1.1 Subthing aa

      Chapter about B
      1 Thing b
      1.1 Subthing bb

      Chapter about C
      1 Thing c
      1.1 Subthing cc


      Currently, this is the output I get, and the question is how to remove the extra period:



      Chapter about A
      .1 Thing a
      .1.1 Subthing aa

      Chapter about B
      .1 Thing b
      .1.1 Subthing bb

      Chapter about C
      .1 Thing c
      .1.1 Subthing cc


      Here's my MWE:



      documentclass[]{scrreprt}

      usepackage[T1]{fontenc}
      usepackage[utf8]{inputenc}

      renewcommand{thechapter}{}

      setcounter{secnumdepth}{5}
      setcounter{tocdepth}{5}

      begin{document}

      tableofcontents

      chapter{Chapter about A}
      section{Thing a}
      subsection{Subthing aa}

      chapter{Chapter about B}
      section{Thing b}
      subsection{Subthing bb}

      chapter{Chapter about C}
      section{Thing c}
      subsection{Subthing cc}

      end{document}






      table-of-contents numbering koma-script scrreprt






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 10 hours ago







      Zubo

















      asked 10 hours ago









      ZuboZubo

      25719




      25719






















          1 Answer
          1






          active

          oldest

          votes


















          2














          The default section numbering is



          newcommand*{thesection}{thechapter.arabic{section}}


          If thechapter is empty, the dot is still there. So you would have to redefine thesection too:



          renewcommand*{thesection}{arabic{section}}


          This will automatically also change thesubsectionthesubparagraph, because they all depend directly or indirectly on thesection.



          But what about figures, tables, equations? They all have similar definitions like the section. So you would also need to redefine thefigure, thetable and theequation similar to thesection. But then you will have several sections, subsection … subparagraphs and several figures, tables and equations with the same number. So I would recommend not just to redefine thesection, thetable, thefigure and theequation but make their counters independent from the chapter counter. You can use counterwithout to do so, e.g.,



          counterwithout{section}{chapter}


          to make the section counter independent from the chapter counter. This will also redefine thesection like I've shown with the explicit redefinition above.



          But this is not enough. In your example the chapter titles still start with an indent. This is the space between the (not existing) chapter number and the chapter title text. So you have to remove this space too. You can do this redefining chapterformat:



          renewcommand*{chapterformat}{}% No number and no space


          You should do the same for the running heads (used if you are using pagestyle{headings}):



          renewcommand*{chaptermarkformat}{}


          All together I would recommend:



          documentclass{scrreprt}

          usepackage[T1]{fontenc}
          usepackage[utf8]{inputenc}% Not needed with LaTeX from 2018-04-01

          % usepackage{chngcntr}% Only needed with old LaTeX.

          renewcommand*{thechapter}{}
          renewcommand*{chapterformat}{}% No number no space
          renewcommand*{chaptermarkformat}{}% No number no space
          counterwithout{section}{chapter}
          % This also results in renewcommand*{thesection}{arabic{section}}
          counterwithout{figure}{chapter}
          counterwithout{table}{chapter}
          counterwithout{equation}{chapter}

          setcounter{secnumdepth}{subparagraphnumdepth}% number every sectioning level from part till subparagraph (not recommended to do so)
          setcounter{tocdepth}{subparagraphtocdepth}% add every sectioning level from part till subparagraph to the ToC (not recommended to do so)

          begin{document}

          tableofcontents

          chapter{Chapter about A}
          section{Thing a}
          subsection{Subthing aa}

          chapter{Chapter about B}
          section{Thing b}
          subsection{Subthing bb}

          chapter{Chapter about C}
          section{Thing c}
          subsection{Subthing cc}

          end{document}


          If counterwithout results in an error, you should either update your LaTeX or activate the commented usepackage{chngcntr}.



          Maybe you'd also want to change the spacing in the table of contents. But this would be another question.






          share|improve this answer


























          • Beautiful. Thank you very much for taking the time to formulate this detailed answer, and for thinking ahead so many steps!

            – Zubo
            9 hours ago












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "85"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483537%2fkoma-report-unnumbered-chapters-numbering-within-sections-how-to-remove-peri%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          The default section numbering is



          newcommand*{thesection}{thechapter.arabic{section}}


          If thechapter is empty, the dot is still there. So you would have to redefine thesection too:



          renewcommand*{thesection}{arabic{section}}


          This will automatically also change thesubsectionthesubparagraph, because they all depend directly or indirectly on thesection.



          But what about figures, tables, equations? They all have similar definitions like the section. So you would also need to redefine thefigure, thetable and theequation similar to thesection. But then you will have several sections, subsection … subparagraphs and several figures, tables and equations with the same number. So I would recommend not just to redefine thesection, thetable, thefigure and theequation but make their counters independent from the chapter counter. You can use counterwithout to do so, e.g.,



          counterwithout{section}{chapter}


          to make the section counter independent from the chapter counter. This will also redefine thesection like I've shown with the explicit redefinition above.



          But this is not enough. In your example the chapter titles still start with an indent. This is the space between the (not existing) chapter number and the chapter title text. So you have to remove this space too. You can do this redefining chapterformat:



          renewcommand*{chapterformat}{}% No number and no space


          You should do the same for the running heads (used if you are using pagestyle{headings}):



          renewcommand*{chaptermarkformat}{}


          All together I would recommend:



          documentclass{scrreprt}

          usepackage[T1]{fontenc}
          usepackage[utf8]{inputenc}% Not needed with LaTeX from 2018-04-01

          % usepackage{chngcntr}% Only needed with old LaTeX.

          renewcommand*{thechapter}{}
          renewcommand*{chapterformat}{}% No number no space
          renewcommand*{chaptermarkformat}{}% No number no space
          counterwithout{section}{chapter}
          % This also results in renewcommand*{thesection}{arabic{section}}
          counterwithout{figure}{chapter}
          counterwithout{table}{chapter}
          counterwithout{equation}{chapter}

          setcounter{secnumdepth}{subparagraphnumdepth}% number every sectioning level from part till subparagraph (not recommended to do so)
          setcounter{tocdepth}{subparagraphtocdepth}% add every sectioning level from part till subparagraph to the ToC (not recommended to do so)

          begin{document}

          tableofcontents

          chapter{Chapter about A}
          section{Thing a}
          subsection{Subthing aa}

          chapter{Chapter about B}
          section{Thing b}
          subsection{Subthing bb}

          chapter{Chapter about C}
          section{Thing c}
          subsection{Subthing cc}

          end{document}


          If counterwithout results in an error, you should either update your LaTeX or activate the commented usepackage{chngcntr}.



          Maybe you'd also want to change the spacing in the table of contents. But this would be another question.






          share|improve this answer


























          • Beautiful. Thank you very much for taking the time to formulate this detailed answer, and for thinking ahead so many steps!

            – Zubo
            9 hours ago
















          2














          The default section numbering is



          newcommand*{thesection}{thechapter.arabic{section}}


          If thechapter is empty, the dot is still there. So you would have to redefine thesection too:



          renewcommand*{thesection}{arabic{section}}


          This will automatically also change thesubsectionthesubparagraph, because they all depend directly or indirectly on thesection.



          But what about figures, tables, equations? They all have similar definitions like the section. So you would also need to redefine thefigure, thetable and theequation similar to thesection. But then you will have several sections, subsection … subparagraphs and several figures, tables and equations with the same number. So I would recommend not just to redefine thesection, thetable, thefigure and theequation but make their counters independent from the chapter counter. You can use counterwithout to do so, e.g.,



          counterwithout{section}{chapter}


          to make the section counter independent from the chapter counter. This will also redefine thesection like I've shown with the explicit redefinition above.



          But this is not enough. In your example the chapter titles still start with an indent. This is the space between the (not existing) chapter number and the chapter title text. So you have to remove this space too. You can do this redefining chapterformat:



          renewcommand*{chapterformat}{}% No number and no space


          You should do the same for the running heads (used if you are using pagestyle{headings}):



          renewcommand*{chaptermarkformat}{}


          All together I would recommend:



          documentclass{scrreprt}

          usepackage[T1]{fontenc}
          usepackage[utf8]{inputenc}% Not needed with LaTeX from 2018-04-01

          % usepackage{chngcntr}% Only needed with old LaTeX.

          renewcommand*{thechapter}{}
          renewcommand*{chapterformat}{}% No number no space
          renewcommand*{chaptermarkformat}{}% No number no space
          counterwithout{section}{chapter}
          % This also results in renewcommand*{thesection}{arabic{section}}
          counterwithout{figure}{chapter}
          counterwithout{table}{chapter}
          counterwithout{equation}{chapter}

          setcounter{secnumdepth}{subparagraphnumdepth}% number every sectioning level from part till subparagraph (not recommended to do so)
          setcounter{tocdepth}{subparagraphtocdepth}% add every sectioning level from part till subparagraph to the ToC (not recommended to do so)

          begin{document}

          tableofcontents

          chapter{Chapter about A}
          section{Thing a}
          subsection{Subthing aa}

          chapter{Chapter about B}
          section{Thing b}
          subsection{Subthing bb}

          chapter{Chapter about C}
          section{Thing c}
          subsection{Subthing cc}

          end{document}


          If counterwithout results in an error, you should either update your LaTeX or activate the commented usepackage{chngcntr}.



          Maybe you'd also want to change the spacing in the table of contents. But this would be another question.






          share|improve this answer


























          • Beautiful. Thank you very much for taking the time to formulate this detailed answer, and for thinking ahead so many steps!

            – Zubo
            9 hours ago














          2












          2








          2







          The default section numbering is



          newcommand*{thesection}{thechapter.arabic{section}}


          If thechapter is empty, the dot is still there. So you would have to redefine thesection too:



          renewcommand*{thesection}{arabic{section}}


          This will automatically also change thesubsectionthesubparagraph, because they all depend directly or indirectly on thesection.



          But what about figures, tables, equations? They all have similar definitions like the section. So you would also need to redefine thefigure, thetable and theequation similar to thesection. But then you will have several sections, subsection … subparagraphs and several figures, tables and equations with the same number. So I would recommend not just to redefine thesection, thetable, thefigure and theequation but make their counters independent from the chapter counter. You can use counterwithout to do so, e.g.,



          counterwithout{section}{chapter}


          to make the section counter independent from the chapter counter. This will also redefine thesection like I've shown with the explicit redefinition above.



          But this is not enough. In your example the chapter titles still start with an indent. This is the space between the (not existing) chapter number and the chapter title text. So you have to remove this space too. You can do this redefining chapterformat:



          renewcommand*{chapterformat}{}% No number and no space


          You should do the same for the running heads (used if you are using pagestyle{headings}):



          renewcommand*{chaptermarkformat}{}


          All together I would recommend:



          documentclass{scrreprt}

          usepackage[T1]{fontenc}
          usepackage[utf8]{inputenc}% Not needed with LaTeX from 2018-04-01

          % usepackage{chngcntr}% Only needed with old LaTeX.

          renewcommand*{thechapter}{}
          renewcommand*{chapterformat}{}% No number no space
          renewcommand*{chaptermarkformat}{}% No number no space
          counterwithout{section}{chapter}
          % This also results in renewcommand*{thesection}{arabic{section}}
          counterwithout{figure}{chapter}
          counterwithout{table}{chapter}
          counterwithout{equation}{chapter}

          setcounter{secnumdepth}{subparagraphnumdepth}% number every sectioning level from part till subparagraph (not recommended to do so)
          setcounter{tocdepth}{subparagraphtocdepth}% add every sectioning level from part till subparagraph to the ToC (not recommended to do so)

          begin{document}

          tableofcontents

          chapter{Chapter about A}
          section{Thing a}
          subsection{Subthing aa}

          chapter{Chapter about B}
          section{Thing b}
          subsection{Subthing bb}

          chapter{Chapter about C}
          section{Thing c}
          subsection{Subthing cc}

          end{document}


          If counterwithout results in an error, you should either update your LaTeX or activate the commented usepackage{chngcntr}.



          Maybe you'd also want to change the spacing in the table of contents. But this would be another question.






          share|improve this answer















          The default section numbering is



          newcommand*{thesection}{thechapter.arabic{section}}


          If thechapter is empty, the dot is still there. So you would have to redefine thesection too:



          renewcommand*{thesection}{arabic{section}}


          This will automatically also change thesubsectionthesubparagraph, because they all depend directly or indirectly on thesection.



          But what about figures, tables, equations? They all have similar definitions like the section. So you would also need to redefine thefigure, thetable and theequation similar to thesection. But then you will have several sections, subsection … subparagraphs and several figures, tables and equations with the same number. So I would recommend not just to redefine thesection, thetable, thefigure and theequation but make their counters independent from the chapter counter. You can use counterwithout to do so, e.g.,



          counterwithout{section}{chapter}


          to make the section counter independent from the chapter counter. This will also redefine thesection like I've shown with the explicit redefinition above.



          But this is not enough. In your example the chapter titles still start with an indent. This is the space between the (not existing) chapter number and the chapter title text. So you have to remove this space too. You can do this redefining chapterformat:



          renewcommand*{chapterformat}{}% No number and no space


          You should do the same for the running heads (used if you are using pagestyle{headings}):



          renewcommand*{chaptermarkformat}{}


          All together I would recommend:



          documentclass{scrreprt}

          usepackage[T1]{fontenc}
          usepackage[utf8]{inputenc}% Not needed with LaTeX from 2018-04-01

          % usepackage{chngcntr}% Only needed with old LaTeX.

          renewcommand*{thechapter}{}
          renewcommand*{chapterformat}{}% No number no space
          renewcommand*{chaptermarkformat}{}% No number no space
          counterwithout{section}{chapter}
          % This also results in renewcommand*{thesection}{arabic{section}}
          counterwithout{figure}{chapter}
          counterwithout{table}{chapter}
          counterwithout{equation}{chapter}

          setcounter{secnumdepth}{subparagraphnumdepth}% number every sectioning level from part till subparagraph (not recommended to do so)
          setcounter{tocdepth}{subparagraphtocdepth}% add every sectioning level from part till subparagraph to the ToC (not recommended to do so)

          begin{document}

          tableofcontents

          chapter{Chapter about A}
          section{Thing a}
          subsection{Subthing aa}

          chapter{Chapter about B}
          section{Thing b}
          subsection{Subthing bb}

          chapter{Chapter about C}
          section{Thing c}
          subsection{Subthing cc}

          end{document}


          If counterwithout results in an error, you should either update your LaTeX or activate the commented usepackage{chngcntr}.



          Maybe you'd also want to change the spacing in the table of contents. But this would be another question.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 10 hours ago

























          answered 10 hours ago









          SchweinebackeSchweinebacke

          22.3k4577




          22.3k4577













          • Beautiful. Thank you very much for taking the time to formulate this detailed answer, and for thinking ahead so many steps!

            – Zubo
            9 hours ago



















          • Beautiful. Thank you very much for taking the time to formulate this detailed answer, and for thinking ahead so many steps!

            – Zubo
            9 hours ago

















          Beautiful. Thank you very much for taking the time to formulate this detailed answer, and for thinking ahead so many steps!

          – Zubo
          9 hours ago





          Beautiful. Thank you very much for taking the time to formulate this detailed answer, and for thinking ahead so many steps!

          – Zubo
          9 hours ago


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483537%2fkoma-report-unnumbered-chapters-numbering-within-sections-how-to-remove-peri%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Can't compile dgruyter and caption packagesLaTeX templates/packages for writing a patent specificationLatex...

          Schneeberg (Smreczany) Bibliografia | Menu...

          Hans Bellmer Spis treści Życiorys | Upamiętnienie | Przypisy | Bibliografia | Linki zewnętrzne |...