Is there any way to use chapters without the Chapter 1 etc listings? I want only the chapter name to appear not the number.
Asked
Active
Viewed 2.1k times
10
I. Wanderer
- 1,089
2 Answers
5
If you are using one of the standard classes (book, report) you can use the titlesec package and say something like
\documentclass{book}
\usepackage{titlesec}
\titleformat{\chapter}[display]
{\normalfont\huge\bfseries}{}{0pt}{\Huge}
\titlespacing*{\chapter}
{0pt}{10pt}{40pt}
\begin{document}
\tableofcontents
\chapter{Test Numbered Chapter}
\chapter*{Test Unnumbered Chapter}
\end{document}

The code above doesn't remove the numbers for entries in the ToC; to remove these numbers, add to the preamble
\usepackage{titletoc}
\titlecontents{chapter}[0em]{\bfseries}{}{}
{\hfill\contentspage}
Gonzalo Medina
- 505,128
-
I tried to use the
titletocpackage for a similar problem, but when I runned the spacing between the chapter names is lost in the table of contents. Is there any way to fix this? – Chacho Fuva Jan 19 '22 at 22:04
\setcounter{secnumdepth}{-2}before\begin{document}. – egreg Aug 23 '12 at 13:07