Page Layoutamsart | Random Full Stop with additional Subsection

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
dekerr
Posts: 1
Joined: Tue Aug 02, 2011 7:16 pm

amsart | Random Full Stop with additional Subsection

Post by dekerr »

Hi,

I am using document class amsart to write up my thesis. I have been using section/subsections. When I put in a new subsection the first paragraph starts with a full stop and I'm not sure where it has come from and how to get rid of it.

Just wondering if anyone knows how I could get rid of it?

Many thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

amsart | Random Full Stop with additional Subsection

Post by kaiserkarl13 »

That's the style for the amsart class (which I presume means "American Mathematical Society Article). If you want to remove the period, you can (a) use a different document class (such as "article" or "report"), or (b) redefine the command that produces the punctuation at the end of the sectioning commands, like so:

Code: Select all

\makeatletter
\def\@addpunct#1{%
  \relax\ifhmode
    \ifnum\spacefactor>\@m \else\fi
  \fi}
\makeatother
I take no responsibility for the above code (lines 61-64 of amsart.cls, with the "#1" omitted), or anything it breaks as a side effect.

I recommend option (a); the amsart class is not intended in any way to be used for a thesis. I'd recommend the "report" class, if your school doesn't have its own document class that does the formatting the way they want it. If it's a short document (i.e., no chapters), then "article" is better than "report"; most theses should use "report" or a variant on it.
Post Reply