I would like to remove the "Chapter 3" on the last page. I would like to keep everything else as is, including the toc content.
\documentclass{book}
\usepackage{lipsum}
\begin{document}
\tableofcontents
\chapter{Lorem}
\lipsum[3]
\chapter{Ipsum}
\lipsum[3]
\chapter{Dolor}
\lipsum[3]
\end{document}
I am aware of the solution of adding this in the header:
\usepackage{titlesec}
\titleformat{\chapter}[display]
{\normalfont\bfseries}{}{0pt}{\Huge}
I would like to remove the "Chapter X" only once, however. The only work-around that I can come up with is using the above solution and adding "Chapter N" for all the other chapters manually. Seems clumsy, though.

\clearpage \thispagestyle{empty}; that will also omit the page number. – barbara beeton Dec 07 '23 at 20:52\chapter*{Dolor} \stepcounter{chapter} \addcontentsline{toc}{chapter}{3 Dolor}does what you need? – Marijn Dec 07 '23 at 21:12\chapter*{Dolor} \stepcounter{chapter} \addcontentsline{toc}{chapter}{\protect\numberline{3}Dolor}. – Werner Dec 07 '23 at 21:13\stepcounterand\numberlinepart) – Marijn Dec 07 '23 at 21:23\refstepcounter. However, the usual format is not to number a chapter like this anywhere, but to use\chapter*{Dolor}and, if desired, add an unnumbered chapter to the toc. Similar things for headers/footers etc. if they would otherwise include a chapter number. This is common for things like bibliographies, references and, indeed, tables of contents. – cfr Dec 08 '23 at 00:28\bibliography(BibTeX) or\printbibliography(BibLaTeX) commands. These don't get the 'Chapter X' header. There are options to choose your own title for the section (Bibliography, References, Literature, something else) and there is a package that lets you choose whether or not to include this section in the Table of Contents. – Marijn Dec 18 '23 at 08:47