I'm new to LaTeX but want to try to tex my Linear Algebra lecture. My lecturer is using the following structure:
Chapter 0: Basics
- § 1 Sets
- Def. 1.1: Some definition
- Def. 1.2: Some definition
- Pro. 1.3: Some proposition
- Exm. 1.4: Some example
- § 2 Other section
- § 3 Other section
- Def. 3.1: Some definition
- Def. 3.2: Some definition
- Pro. 3.3: Some proposition
- Exm. 3.4: Some example
- § 4 Other section
Chapter 1: Groups, Rings and Fields
- § 5 Groups
- Def. 5.1: Some definition
- …
- § 6 Rings
The structure in words:
- Chapters
- Numbered (starting from 0)
- Section (in Chapters)
- Numbered
- not affected by chapter numbered
- don't reset when a new chapter is started
- Start with a §-symbol
- Subsections (Definitions, Examples, Propositions)
- Numbered with current Section-Number as prefix
- Reset each new section
It would be great to be able to write something like this:
\documentclass{book}
...
\begin{document}
\chapter{Basics}
\section{Sets}
\subsection{Def. :}
Some definition.
\subsection{Example :}
Some example.
\section{NewSection}
....
\chapter{Groupds, Rings, Fields}
\section{Groups}
\subsection{Def. :}
Some definition
...
\end{document}
The behaviour differs from the desired behaviour in the following ways: Chapter-Numbering starts at 1, Section-Numbering reset each chapter. Sections don't start with a §-symbol automatically. Subsections contain chapter/section and subsection numbers.
How can I get my desired layout?
Best Answer
In case of numbering sections independent from chapters, the question will be raised how to number definitions/propositions/examples that are placed in a chapter but are not be placed in a section?
E.g.:
How should definitions/propositions/examples in Chapter 1 be named?
They don't belong to section 2. And they don't belong to section 3.
How should definitions/propositions/examples in Chapter 2 be named? They don't belong to section 3. And they don't belong to section 4.
I suggest
<???>=<chapter>/<definition/proposition/example number>
in these cases:Another question is about the numbering of footnotes, tables, figures and equations.
I suggest numbering footnotes per chapter.
I suggest numbering tables, figures and equations per section as deeper sectioning-levels might have equally numbered definition/proposition/example-pendants.
I suggest handling the case of tables/figures/equations in a chapter but not in a section in the same way as definition/proposition/example in a chapter but not in a section, i.e. by prepending "/" to the corresponding number.
Yet another question:
Do you want definitions/propositions/examples to occur within the table of contents as well?
Do you wish something like a separate List of definitions / List of propositions / List of examples.
I suggest not having definitions/propositions/examples occur within the table of contents.
I suggest not having a a separate List of definitions / List of propositions / List of examples.
These things require more crude hacking of the documentclass / of the book class.