You found the relevant section, the display
option is causing this numbering style. Change it for example to hang
to get a hanging label, such as with \section.
titlesec
is the package providing such headings. The manual explains options and syntax.
Besides the command reference for \titleformat
and \titlesection
this documentation provides a set of examples in its appendix, which produce the well known appearance of standard LaTeX headings. This is a great start for starting customizing headings.
You can also make it similar to the \titleformat{\section}
lines in the class file, just changing sizes and spacing.
Keep in mind, if you copy commands from a class file for using in your own preamble, use \makeatletter
before and \makeatother
afterwards, if a macro contains an @
symbol.
To get unnumbered chapters, parts, sections, subsections, etc, you just affix a *
(asterisk) to the respective sectioning command; hence, you'd type something like
\section*{Acknowledgments}
or
\chapter*{Introduction}
Exactly which sectioning command you ought to use will depend importantly on aspects of the document that you haven't told us about. E.g., should the respective parts begin on a page of their own, and how prominent do you want the caption of the sectioning command to be?
Note that unnumbered parts, chapters, sections, etc are not included automatically in the table of contents (ToC). In case you need some (or all) of them to be included, you should insert an \addcontentsline
instruction after each such sectioning command. For example, you'd type:
\chapter*{Foreword}
\addcontentsline{toc}{chapter}{Foreword}
The second argument of the \addcontentsline
instruction -- here, chapter
-- instructs LaTeX to typeset the entry in a given style, here, "chapter style".
The following MWE
\documentclass{report}
\begin{document}
\tableofcontents
\chapter*{Acknowledgments}
\addcontentsline{toc}{chapter}{Acknowledgments}
\chapter*{Introduction}
\addcontentsline{toc}{chapter}{Introduction}
\chapter{Experiments}
\chapter{Conclusion}
\end{document}
generates this ToC:

Best Answer
There is nothing fancy about creating such a document in LaTeX. You can use either the
report
orbook
document class (or another, likememoir
). The example below uses thebook
document class.The
\tableofcontents
shows the document structure. In order to have this structure accurately represent the document contents, you need to compile your code at least twice. Similar counter-resetting functionality is provided by thecnhgcntr
package via\counterwithin*{chapter}{part}
, although LaTeX provides its own\@addtoreset{<slave>}{<master>}
. Here is some information on counter resetting: Master and slave countersIf you want to have the numbering continue through the parts (rather than having it numbered on a per-part basis), you can comment the 3rd line of code.