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.

I am using amsbook. There, sections are numbered within chapters. For instance, if each of the first two chapters has 2 sections, then the sections are numbered as 1.1, 1.2, 2.1, 2.2.

I wonder how to make continuous section numbering 1, 2, 3, 4... (like the ones used in Halmos' measure theory book).

share|improve this question

marked as duplicate by lockstep, dustin, Werner, mafp, Stefan Kottwitz Aug 7 '13 at 19:29

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.

1  
    
Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. Usually, we don't put a greeting or a “thank you” in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Accepting and upvoting answers is the preferred way here to say “thank you” to users who helped you. –  Kurt Aug 7 '13 at 18:27
    
My effort to add conciseness by adding an MWE to the question just got deleted... Strange. Don't understand all the rejecting here. –  LaRiFaRi Aug 7 '13 at 18:36
    
@LaRiFaRi: You should be able to view your suggested edit rejection. My motivation for rejecting it is because the MWE did not replicate the output mentioned by the OP. –  Werner Aug 7 '13 at 18:41
    
@Werner could have included a hack to get 1.1 instead of 1... ok. But it shows perfectly what has been the problem and would have saved Ruben a minute of typing... –  LaRiFaRi Aug 7 '13 at 18:44

1 Answer 1

To Papiro: Taking into account that the question was tagged with amsbook, i won't say that this is a duplicate of the numerous sectioning threads, as far as it questions the possibility to change the sectioning in a specific documentclass. The answer is clearly, that one can aplly the "standard" solutions using changectr or remreset.

Here, i'd like to point out, that remreset is also viable, because in this case (with amsbook) there is no need to redefine the regarding \the<cntr>. So the solution would look like:

\documentclass{amsbook}
\usepackage{remreset}
\makeatletter
\@removefromreset{section}{chapter}
\makeatother

\begin{document}

\chapter{First Test Chapter}
\section{First Test Section}
\section{Second Test Section}

\chapter{Second Test Chapter}
\section{Third Test Section}
\section{Fourth Test Section}

\end{document}
share|improve this answer

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