Getting rid of indentation of first paragraph in AMS classes

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











up vote
2
down vote

favorite












Consider the following MWE:



documentclassamsbook
usepackagelipsum

begindocument
chapterTest
sectionTest
lipsum
enddocument


Then a partial output is given by



enter image description here



Thus the AMS class automatically indents the first line of a paragraph after a section (or more generally, after a heading). However, as far as I read, the standard convention is to not indent the first line of a paragraph after a heading. How can I achieve this in this specific class? Moreover, why is this default in the AMS class?










share|improve this question























  • Do you mean the first line of any paragraph or only the first line of the first paragraph after a heading? It is not at all unusual that the first lines of subsequent paragraphs are indented, but for the first paragraph you can either add the indentation or drop it. Both conventions are in use. I'd have thought that would be a matter of style and taste.
    – moewe
    36 mins ago










  • @moewe Sorry, added a clarification. I mean, I would like to not indent the first line after a heading.
    – TheGeekGreek
    34 mins ago














up vote
2
down vote

favorite












Consider the following MWE:



documentclassamsbook
usepackagelipsum

begindocument
chapterTest
sectionTest
lipsum
enddocument


Then a partial output is given by



enter image description here



Thus the AMS class automatically indents the first line of a paragraph after a section (or more generally, after a heading). However, as far as I read, the standard convention is to not indent the first line of a paragraph after a heading. How can I achieve this in this specific class? Moreover, why is this default in the AMS class?










share|improve this question























  • Do you mean the first line of any paragraph or only the first line of the first paragraph after a heading? It is not at all unusual that the first lines of subsequent paragraphs are indented, but for the first paragraph you can either add the indentation or drop it. Both conventions are in use. I'd have thought that would be a matter of style and taste.
    – moewe
    36 mins ago










  • @moewe Sorry, added a clarification. I mean, I would like to not indent the first line after a heading.
    – TheGeekGreek
    34 mins ago












up vote
2
down vote

favorite









up vote
2
down vote

favorite











Consider the following MWE:



documentclassamsbook
usepackagelipsum

begindocument
chapterTest
sectionTest
lipsum
enddocument


Then a partial output is given by



enter image description here



Thus the AMS class automatically indents the first line of a paragraph after a section (or more generally, after a heading). However, as far as I read, the standard convention is to not indent the first line of a paragraph after a heading. How can I achieve this in this specific class? Moreover, why is this default in the AMS class?










share|improve this question















Consider the following MWE:



documentclassamsbook
usepackagelipsum

begindocument
chapterTest
sectionTest
lipsum
enddocument


Then a partial output is given by



enter image description here



Thus the AMS class automatically indents the first line of a paragraph after a section (or more generally, after a heading). However, as far as I read, the standard convention is to not indent the first line of a paragraph after a heading. How can I achieve this in this specific class? Moreover, why is this default in the AMS class?







indentation amsart amsbook






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 33 mins ago

























asked 39 mins ago









TheGeekGreek

554313




554313











  • Do you mean the first line of any paragraph or only the first line of the first paragraph after a heading? It is not at all unusual that the first lines of subsequent paragraphs are indented, but for the first paragraph you can either add the indentation or drop it. Both conventions are in use. I'd have thought that would be a matter of style and taste.
    – moewe
    36 mins ago










  • @moewe Sorry, added a clarification. I mean, I would like to not indent the first line after a heading.
    – TheGeekGreek
    34 mins ago
















  • Do you mean the first line of any paragraph or only the first line of the first paragraph after a heading? It is not at all unusual that the first lines of subsequent paragraphs are indented, but for the first paragraph you can either add the indentation or drop it. Both conventions are in use. I'd have thought that would be a matter of style and taste.
    – moewe
    36 mins ago










  • @moewe Sorry, added a clarification. I mean, I would like to not indent the first line after a heading.
    – TheGeekGreek
    34 mins ago















Do you mean the first line of any paragraph or only the first line of the first paragraph after a heading? It is not at all unusual that the first lines of subsequent paragraphs are indented, but for the first paragraph you can either add the indentation or drop it. Both conventions are in use. I'd have thought that would be a matter of style and taste.
– moewe
36 mins ago




Do you mean the first line of any paragraph or only the first line of the first paragraph after a heading? It is not at all unusual that the first lines of subsequent paragraphs are indented, but for the first paragraph you can either add the indentation or drop it. Both conventions are in use. I'd have thought that would be a matter of style and taste.
– moewe
36 mins ago












@moewe Sorry, added a clarification. I mean, I would like to not indent the first line after a heading.
– TheGeekGreek
34 mins ago




@moewe Sorry, added a clarification. I mean, I would like to not indent the first line after a heading.
– TheGeekGreek
34 mins ago










2 Answers
2






active

oldest

votes

















up vote
5
down vote



accepted










Borrowing from the excellent indentfirst but reversing the logic, you can try



documentclassamsbook
usepackagelipsum

makeatletter
let@afterindenttrue@afterindentfalse
@afterindentfalse
makeatother

begindocument
chapterTest
sectionTest
lipsum
enddocument


There seems to be no consensus on whether or not the first paragraph after a heading should start indented or not, see No indent in the first paragraph in a section?, https://writing.stackexchange.com/q/3152 or https://practicaltypography.com/first-line-indents.html:




A first-line indent on the first paragraph of any text is optional, because it’s obvious where the paragraph starts.




I guess you could argue for both sides. But it does not seem to be an issue that sparks a lot of controversies.



The LaTeX standard classes don't start the first paragraph indented, but indentfirst enables this behaviour for people who want this. Apparently someone thought that feature was worth the ordeal of writing a package for it. Apparently the AMS agrees and also indents the first paragraph.






share|improve this answer






















  • Very nice! That works! Thank you.
    – TheGeekGreek
    27 mins ago










  • @TheGeekGreek If you want to know why the AMS start with a paragraph indent, you try and can ask barbara beeton, perhaps she happens to know who decided this.
    – moewe
    23 mins ago










  • +1 for the first 5 words:-)
    – David Carlisle
    18 mins ago


















up vote
0
down vote













You can patch chapter to issue @afterindentfalse instead of @afterindenttrue.



Also section should be patched so its fourth argument has a negative value instead of positive.



documentclassamsbook
usepackageetoolbox
usepackagelipsum

makeatletter
patchcmdchapter@afterindenttrue@afterindentfalse
patchcmdsection
.7linespacing@pluslinespacing
-.7linespacing@plus-linespacing

makeatother

begindocument
chapterTest

lipsum[3]

sectionTest

lipsum[4]

subsectionTest

lipsum[2]

enddocument


enter image description here





share




















    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%2f457757%2fgetting-rid-of-indentation-of-first-paragraph-in-ams-classes%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
    5
    down vote



    accepted










    Borrowing from the excellent indentfirst but reversing the logic, you can try



    documentclassamsbook
    usepackagelipsum

    makeatletter
    let@afterindenttrue@afterindentfalse
    @afterindentfalse
    makeatother

    begindocument
    chapterTest
    sectionTest
    lipsum
    enddocument


    There seems to be no consensus on whether or not the first paragraph after a heading should start indented or not, see No indent in the first paragraph in a section?, https://writing.stackexchange.com/q/3152 or https://practicaltypography.com/first-line-indents.html:




    A first-line indent on the first paragraph of any text is optional, because it’s obvious where the paragraph starts.




    I guess you could argue for both sides. But it does not seem to be an issue that sparks a lot of controversies.



    The LaTeX standard classes don't start the first paragraph indented, but indentfirst enables this behaviour for people who want this. Apparently someone thought that feature was worth the ordeal of writing a package for it. Apparently the AMS agrees and also indents the first paragraph.






    share|improve this answer






















    • Very nice! That works! Thank you.
      – TheGeekGreek
      27 mins ago










    • @TheGeekGreek If you want to know why the AMS start with a paragraph indent, you try and can ask barbara beeton, perhaps she happens to know who decided this.
      – moewe
      23 mins ago










    • +1 for the first 5 words:-)
      – David Carlisle
      18 mins ago















    up vote
    5
    down vote



    accepted










    Borrowing from the excellent indentfirst but reversing the logic, you can try



    documentclassamsbook
    usepackagelipsum

    makeatletter
    let@afterindenttrue@afterindentfalse
    @afterindentfalse
    makeatother

    begindocument
    chapterTest
    sectionTest
    lipsum
    enddocument


    There seems to be no consensus on whether or not the first paragraph after a heading should start indented or not, see No indent in the first paragraph in a section?, https://writing.stackexchange.com/q/3152 or https://practicaltypography.com/first-line-indents.html:




    A first-line indent on the first paragraph of any text is optional, because it’s obvious where the paragraph starts.




    I guess you could argue for both sides. But it does not seem to be an issue that sparks a lot of controversies.



    The LaTeX standard classes don't start the first paragraph indented, but indentfirst enables this behaviour for people who want this. Apparently someone thought that feature was worth the ordeal of writing a package for it. Apparently the AMS agrees and also indents the first paragraph.






    share|improve this answer






















    • Very nice! That works! Thank you.
      – TheGeekGreek
      27 mins ago










    • @TheGeekGreek If you want to know why the AMS start with a paragraph indent, you try and can ask barbara beeton, perhaps she happens to know who decided this.
      – moewe
      23 mins ago










    • +1 for the first 5 words:-)
      – David Carlisle
      18 mins ago













    up vote
    5
    down vote



    accepted







    up vote
    5
    down vote



    accepted






    Borrowing from the excellent indentfirst but reversing the logic, you can try



    documentclassamsbook
    usepackagelipsum

    makeatletter
    let@afterindenttrue@afterindentfalse
    @afterindentfalse
    makeatother

    begindocument
    chapterTest
    sectionTest
    lipsum
    enddocument


    There seems to be no consensus on whether or not the first paragraph after a heading should start indented or not, see No indent in the first paragraph in a section?, https://writing.stackexchange.com/q/3152 or https://practicaltypography.com/first-line-indents.html:




    A first-line indent on the first paragraph of any text is optional, because it’s obvious where the paragraph starts.




    I guess you could argue for both sides. But it does not seem to be an issue that sparks a lot of controversies.



    The LaTeX standard classes don't start the first paragraph indented, but indentfirst enables this behaviour for people who want this. Apparently someone thought that feature was worth the ordeal of writing a package for it. Apparently the AMS agrees and also indents the first paragraph.






    share|improve this answer














    Borrowing from the excellent indentfirst but reversing the logic, you can try



    documentclassamsbook
    usepackagelipsum

    makeatletter
    let@afterindenttrue@afterindentfalse
    @afterindentfalse
    makeatother

    begindocument
    chapterTest
    sectionTest
    lipsum
    enddocument


    There seems to be no consensus on whether or not the first paragraph after a heading should start indented or not, see No indent in the first paragraph in a section?, https://writing.stackexchange.com/q/3152 or https://practicaltypography.com/first-line-indents.html:




    A first-line indent on the first paragraph of any text is optional, because it’s obvious where the paragraph starts.




    I guess you could argue for both sides. But it does not seem to be an issue that sparks a lot of controversies.



    The LaTeX standard classes don't start the first paragraph indented, but indentfirst enables this behaviour for people who want this. Apparently someone thought that feature was worth the ordeal of writing a package for it. Apparently the AMS agrees and also indents the first paragraph.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 13 mins ago

























    answered 29 mins ago









    moewe

    80.8k7101308




    80.8k7101308











    • Very nice! That works! Thank you.
      – TheGeekGreek
      27 mins ago










    • @TheGeekGreek If you want to know why the AMS start with a paragraph indent, you try and can ask barbara beeton, perhaps she happens to know who decided this.
      – moewe
      23 mins ago










    • +1 for the first 5 words:-)
      – David Carlisle
      18 mins ago

















    • Very nice! That works! Thank you.
      – TheGeekGreek
      27 mins ago










    • @TheGeekGreek If you want to know why the AMS start with a paragraph indent, you try and can ask barbara beeton, perhaps she happens to know who decided this.
      – moewe
      23 mins ago










    • +1 for the first 5 words:-)
      – David Carlisle
      18 mins ago
















    Very nice! That works! Thank you.
    – TheGeekGreek
    27 mins ago




    Very nice! That works! Thank you.
    – TheGeekGreek
    27 mins ago












    @TheGeekGreek If you want to know why the AMS start with a paragraph indent, you try and can ask barbara beeton, perhaps she happens to know who decided this.
    – moewe
    23 mins ago




    @TheGeekGreek If you want to know why the AMS start with a paragraph indent, you try and can ask barbara beeton, perhaps she happens to know who decided this.
    – moewe
    23 mins ago












    +1 for the first 5 words:-)
    – David Carlisle
    18 mins ago





    +1 for the first 5 words:-)
    – David Carlisle
    18 mins ago











    up vote
    0
    down vote













    You can patch chapter to issue @afterindentfalse instead of @afterindenttrue.



    Also section should be patched so its fourth argument has a negative value instead of positive.



    documentclassamsbook
    usepackageetoolbox
    usepackagelipsum

    makeatletter
    patchcmdchapter@afterindenttrue@afterindentfalse
    patchcmdsection
    .7linespacing@pluslinespacing
    -.7linespacing@plus-linespacing

    makeatother

    begindocument
    chapterTest

    lipsum[3]

    sectionTest

    lipsum[4]

    subsectionTest

    lipsum[2]

    enddocument


    enter image description here





    share
























      up vote
      0
      down vote













      You can patch chapter to issue @afterindentfalse instead of @afterindenttrue.



      Also section should be patched so its fourth argument has a negative value instead of positive.



      documentclassamsbook
      usepackageetoolbox
      usepackagelipsum

      makeatletter
      patchcmdchapter@afterindenttrue@afterindentfalse
      patchcmdsection
      .7linespacing@pluslinespacing
      -.7linespacing@plus-linespacing

      makeatother

      begindocument
      chapterTest

      lipsum[3]

      sectionTest

      lipsum[4]

      subsectionTest

      lipsum[2]

      enddocument


      enter image description here





      share






















        up vote
        0
        down vote










        up vote
        0
        down vote









        You can patch chapter to issue @afterindentfalse instead of @afterindenttrue.



        Also section should be patched so its fourth argument has a negative value instead of positive.



        documentclassamsbook
        usepackageetoolbox
        usepackagelipsum

        makeatletter
        patchcmdchapter@afterindenttrue@afterindentfalse
        patchcmdsection
        .7linespacing@pluslinespacing
        -.7linespacing@plus-linespacing

        makeatother

        begindocument
        chapterTest

        lipsum[3]

        sectionTest

        lipsum[4]

        subsectionTest

        lipsum[2]

        enddocument


        enter image description here





        share












        You can patch chapter to issue @afterindentfalse instead of @afterindenttrue.



        Also section should be patched so its fourth argument has a negative value instead of positive.



        documentclassamsbook
        usepackageetoolbox
        usepackagelipsum

        makeatletter
        patchcmdchapter@afterindenttrue@afterindentfalse
        patchcmdsection
        .7linespacing@pluslinespacing
        -.7linespacing@plus-linespacing

        makeatother

        begindocument
        chapterTest

        lipsum[3]

        sectionTest

        lipsum[4]

        subsectionTest

        lipsum[2]

        enddocument


        enter image description here






        share











        share


        share










        answered 8 mins ago









        egreg

        693k8518443096




        693k8518443096



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f457757%2fgetting-rid-of-indentation-of-first-paragraph-in-ams-classes%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            Long meetings (6-7 hours a day): Being “babysat” by supervisor

            Is the Concept of Multiple Fantasy Races Scientifically Flawed? [closed]

            Confectionery