Getting rid of indentation of first paragraph in AMS classes
Clash 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
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
add a comment |Â
up vote
2
down vote
favorite
Consider the following MWE:
documentclassamsbook
usepackagelipsum
begindocument
chapterTest
sectionTest
lipsum
enddocument
Then a partial output is given by
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
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
add a comment |Â
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
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
Consider the following MWE:
documentclassamsbook
usepackagelipsum
begindocument
chapterTest
sectionTest
lipsum
enddocument
Then a partial output is given by
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
indentation amsart amsbook
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
add a comment |Â
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
add a comment |Â
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.
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
add a comment |Â
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
add a comment |Â
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.
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
add a comment |Â
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.
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
add a comment |Â
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.
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.
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
add a comment |Â
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
add a comment |Â
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
add a comment |Â
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
add a comment |Â
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
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
answered 8 mins ago
egreg
693k8518443096
693k8518443096
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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