RedeclareSectionCommand introduces paragraph indentation

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












When using RedeclareSectionCommand a paragraph indentation is introduced:



documentclassscrbook
usepackageblindtext
RedeclareSectionCommand[beforeskip=0pt]chapter% introduces a paragraph indentation
begindocument
chapterChapter heading
blindtext[2]
enddocument


How can this be avoided (of course, one could manually work with noindent), but I am wondering whether there is a modification of RedeclareSectionCommand to achieve the same.










share|improve this question

























    up vote
    1
    down vote

    favorite












    When using RedeclareSectionCommand a paragraph indentation is introduced:



    documentclassscrbook
    usepackageblindtext
    RedeclareSectionCommand[beforeskip=0pt]chapter% introduces a paragraph indentation
    begindocument
    chapterChapter heading
    blindtext[2]
    enddocument


    How can this be avoided (of course, one could manually work with noindent), but I am wondering whether there is a modification of RedeclareSectionCommand to achieve the same.










    share|improve this question























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      When using RedeclareSectionCommand a paragraph indentation is introduced:



      documentclassscrbook
      usepackageblindtext
      RedeclareSectionCommand[beforeskip=0pt]chapter% introduces a paragraph indentation
      begindocument
      chapterChapter heading
      blindtext[2]
      enddocument


      How can this be avoided (of course, one could manually work with noindent), but I am wondering whether there is a modification of RedeclareSectionCommand to achieve the same.










      share|improve this question













      When using RedeclareSectionCommand a paragraph indentation is introduced:



      documentclassscrbook
      usepackageblindtext
      RedeclareSectionCommand[beforeskip=0pt]chapter% introduces a paragraph indentation
      begindocument
      chapterChapter heading
      blindtext[2]
      enddocument


      How can this be avoided (of course, one could manually work with noindent), but I am wondering whether there is a modification of RedeclareSectionCommand to achieve the same.







      koma-script indentation






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 58 mins ago









      Marius Hofert

      1,94412345




      1,94412345




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          2
          down vote



          accepted










          Starting with the next KOMA-Script Version (3.26, current is 3.25) there will be an option afterindent. Then you can use:



          documentclassscrbook[2018/10/23]% needs at least pre-release of version 3.26
          usepackageblindtext
          RedeclareSectionCommand[beforeskip=0pt,afterindent=false]chapter
          begindocument
          chapterChapter heading
          blindtext[2]

          KOMAScriptVersion
          enddocument


          The code can be tested using the pre-release from the KOMA-Script website. Default setting is afterindent=bysign, so the answer by @David Carlisle will work with version 3.26, too.



          Result:



          enter image description here






          share|improve this answer




















          • great, thanks, esdd
            – Marius Hofert
            32 mins ago










          • :-) I thought there might be a such an option and even checked the manual before posting the classic -ve length version, an option to control this seems a good idea. The OP should switch the tick over to this answer as it is (or will be) a better answer...
            – David Carlisle
            28 mins ago


















          up vote
          3
          down vote













          Use a negative but invisible length



          documentclassscrbook
          usepackageblindtext
          RedeclareSectionCommand[beforeskip=-1sp]chapter%
          begindocument
          chapterChapter heading
          blindtext[2]
          enddocument





          share|improve this answer




















          • ... that is brilliant... thanks a lot David!
            – Marius Hofert
            50 mins 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',
          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%2f458550%2fredeclaresectioncommand-introduces-paragraph-indentation%23new-answer', 'question_page');

          );

          Post as a guest






























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          2
          down vote



          accepted










          Starting with the next KOMA-Script Version (3.26, current is 3.25) there will be an option afterindent. Then you can use:



          documentclassscrbook[2018/10/23]% needs at least pre-release of version 3.26
          usepackageblindtext
          RedeclareSectionCommand[beforeskip=0pt,afterindent=false]chapter
          begindocument
          chapterChapter heading
          blindtext[2]

          KOMAScriptVersion
          enddocument


          The code can be tested using the pre-release from the KOMA-Script website. Default setting is afterindent=bysign, so the answer by @David Carlisle will work with version 3.26, too.



          Result:



          enter image description here






          share|improve this answer




















          • great, thanks, esdd
            – Marius Hofert
            32 mins ago










          • :-) I thought there might be a such an option and even checked the manual before posting the classic -ve length version, an option to control this seems a good idea. The OP should switch the tick over to this answer as it is (or will be) a better answer...
            – David Carlisle
            28 mins ago















          up vote
          2
          down vote



          accepted










          Starting with the next KOMA-Script Version (3.26, current is 3.25) there will be an option afterindent. Then you can use:



          documentclassscrbook[2018/10/23]% needs at least pre-release of version 3.26
          usepackageblindtext
          RedeclareSectionCommand[beforeskip=0pt,afterindent=false]chapter
          begindocument
          chapterChapter heading
          blindtext[2]

          KOMAScriptVersion
          enddocument


          The code can be tested using the pre-release from the KOMA-Script website. Default setting is afterindent=bysign, so the answer by @David Carlisle will work with version 3.26, too.



          Result:



          enter image description here






          share|improve this answer




















          • great, thanks, esdd
            – Marius Hofert
            32 mins ago










          • :-) I thought there might be a such an option and even checked the manual before posting the classic -ve length version, an option to control this seems a good idea. The OP should switch the tick over to this answer as it is (or will be) a better answer...
            – David Carlisle
            28 mins ago













          up vote
          2
          down vote



          accepted







          up vote
          2
          down vote



          accepted






          Starting with the next KOMA-Script Version (3.26, current is 3.25) there will be an option afterindent. Then you can use:



          documentclassscrbook[2018/10/23]% needs at least pre-release of version 3.26
          usepackageblindtext
          RedeclareSectionCommand[beforeskip=0pt,afterindent=false]chapter
          begindocument
          chapterChapter heading
          blindtext[2]

          KOMAScriptVersion
          enddocument


          The code can be tested using the pre-release from the KOMA-Script website. Default setting is afterindent=bysign, so the answer by @David Carlisle will work with version 3.26, too.



          Result:



          enter image description here






          share|improve this answer












          Starting with the next KOMA-Script Version (3.26, current is 3.25) there will be an option afterindent. Then you can use:



          documentclassscrbook[2018/10/23]% needs at least pre-release of version 3.26
          usepackageblindtext
          RedeclareSectionCommand[beforeskip=0pt,afterindent=false]chapter
          begindocument
          chapterChapter heading
          blindtext[2]

          KOMAScriptVersion
          enddocument


          The code can be tested using the pre-release from the KOMA-Script website. Default setting is afterindent=bysign, so the answer by @David Carlisle will work with version 3.26, too.



          Result:



          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 36 mins ago









          esdd

          57.2k34384




          57.2k34384











          • great, thanks, esdd
            – Marius Hofert
            32 mins ago










          • :-) I thought there might be a such an option and even checked the manual before posting the classic -ve length version, an option to control this seems a good idea. The OP should switch the tick over to this answer as it is (or will be) a better answer...
            – David Carlisle
            28 mins ago

















          • great, thanks, esdd
            – Marius Hofert
            32 mins ago










          • :-) I thought there might be a such an option and even checked the manual before posting the classic -ve length version, an option to control this seems a good idea. The OP should switch the tick over to this answer as it is (or will be) a better answer...
            – David Carlisle
            28 mins ago
















          great, thanks, esdd
          – Marius Hofert
          32 mins ago




          great, thanks, esdd
          – Marius Hofert
          32 mins ago












          :-) I thought there might be a such an option and even checked the manual before posting the classic -ve length version, an option to control this seems a good idea. The OP should switch the tick over to this answer as it is (or will be) a better answer...
          – David Carlisle
          28 mins ago





          :-) I thought there might be a such an option and even checked the manual before posting the classic -ve length version, an option to control this seems a good idea. The OP should switch the tick over to this answer as it is (or will be) a better answer...
          – David Carlisle
          28 mins ago











          up vote
          3
          down vote













          Use a negative but invisible length



          documentclassscrbook
          usepackageblindtext
          RedeclareSectionCommand[beforeskip=-1sp]chapter%
          begindocument
          chapterChapter heading
          blindtext[2]
          enddocument





          share|improve this answer




















          • ... that is brilliant... thanks a lot David!
            – Marius Hofert
            50 mins ago














          up vote
          3
          down vote













          Use a negative but invisible length



          documentclassscrbook
          usepackageblindtext
          RedeclareSectionCommand[beforeskip=-1sp]chapter%
          begindocument
          chapterChapter heading
          blindtext[2]
          enddocument





          share|improve this answer




















          • ... that is brilliant... thanks a lot David!
            – Marius Hofert
            50 mins ago












          up vote
          3
          down vote










          up vote
          3
          down vote









          Use a negative but invisible length



          documentclassscrbook
          usepackageblindtext
          RedeclareSectionCommand[beforeskip=-1sp]chapter%
          begindocument
          chapterChapter heading
          blindtext[2]
          enddocument





          share|improve this answer












          Use a negative but invisible length



          documentclassscrbook
          usepackageblindtext
          RedeclareSectionCommand[beforeskip=-1sp]chapter%
          begindocument
          chapterChapter heading
          blindtext[2]
          enddocument






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 54 mins ago









          David Carlisle

          474k3811031837




          474k3811031837











          • ... that is brilliant... thanks a lot David!
            – Marius Hofert
            50 mins ago
















          • ... that is brilliant... thanks a lot David!
            – Marius Hofert
            50 mins ago















          ... that is brilliant... thanks a lot David!
          – Marius Hofert
          50 mins ago




          ... that is brilliant... thanks a lot David!
          – Marius Hofert
          50 mins ago

















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f458550%2fredeclaresectioncommand-introduces-paragraph-indentation%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Displaying single band from multi-band raster using QGIS

          How many registers does an x86_64 CPU actually have?