Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

This question already has an answer here:

I'm using amsbook style and I'd like first paragraphs to be not indented - what can I add to the header to do this?

I don't want to use /noindent as then I'd have to use it all the way through my 200 page document, I'd prefer to do it automatically.

share|improve this question

marked as duplicate by Thorsten Donig, Thorsten, mafp, Werner, cmhughes Sep 28 '13 at 14:40

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2  
\noindent can be invoked before the first paragraph. –  Oh my ghost Sep 28 '13 at 12:40
    
But I'd prefer not to have to add that throughout my entire thesis. –  tannoreth Sep 28 '13 at 12:42
    
See also tex.stackexchange.com/questions/40510/…. –  lhf Sep 28 '13 at 13:01

2 Answers 2

up vote 1 down vote accepted

You need to redefine \section. The relevant part of amsbook.cls is

\def\section{\@startsection{section}{1}%
  \z@{.7\linespacing\@plus\linespacing}{.5\linespacing}%
  {\normalfont\bfseries\centering}}

You want this:

\makeatletter
\def\section{\@startsection{section}{1}%
  \z@{-.7\linespacing\@plus\linespacing}{.5\linespacing}%
  {\normalfont\bfseries\centering}}
\makeatother

Note the negative value -.7.

Use\makeatletter ... \makeatother if you don't want to edit amsbook.cls.

share|improve this answer
\documentclass{amsbook}
\begin{document}
\noindent Don't be lukewarm. If you cannot be the best, be the worst.

Second paragraph here\ldots
\end{document}

enter image description here

share|improve this answer
    
Yes, that would work but I'd have to do it throughout my whole document and I'm sure there is a better way. –  tannoreth Sep 28 '13 at 13:14

Not the answer you're looking for? Browse other questions tagged or ask your own question.