10

Is there any way to use chapters without the Chapter 1 etc listings? I want only the chapter name to appear not the number.

I. Wanderer
  • 1,089
  • Could you please make your question more precise? Do you want numbered chapters in the text and not numbered in the table of contents? If you don't want any number at all, just say \setcounter{secnumdepth}{-2} before \begin{document}. – egreg Aug 23 '12 at 13:07

2 Answers2

7

Have you tried \chapter*{here your chapter}?

Remember: If you use it and want to build a tableofcontents for each sectioning a addcontentsline should be added. See this page

Cheers

Dox
  • 5,729
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}

enter image description here

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 titletoc package 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