The easiest way is to set \thechapter
to nothing, i.e. {}
, but this will leave \thesection
with a trailing .
and the chapter heading will still show Chapter
(or \chaptername
).
To get a continous figure numbering, the figure counter has to be kicked out of the chapter reset list, i.e. use \counterwithout{figure}{chapter}
. then.
Since the question is a little bit unclear, I don't change \@makechapterhead
right now.
\documentclass{book}
\usepackage{chngcntr}%
\renewcommand{\thechapter}{}%
\renewcommand{\thesection}{\arabic{chapter}.\arabic{section}}%
\counterwithout{figure}{chapter}
\begin{document}
\tableofcontents
\listoffigures
\chapter{First chapter}
\section{First section}
\begin{figure}
\caption{Dummy figure}
\end{figure}
\chapter{Second chapter}
\section{First section in 2nd chapter}
\begin{figure}
\caption{Another dummy figure}
\end{figure}
\end{document}
\chapter*{Foo}
, those are unnumbered. Having unnumbered chapters and numbered sections are a little bit weird, however, in my point of view