# How do i remove the chapter number from a section?

I want to show my "Attachments" in ToC, but I don't want there to be a chapter number in front of it. How do I remove it? Its the "Vedlegg" part in the picture.

Thanks for any help.

• Did you try \chapter*? – MaestroGlanz May 21 '16 at 17:34
• You have to clarify your question: 1. Do you want to remove the chapter number both in the chapter heading and in the table of contents? 2. Do you want to keep the chapter number in the chapter heading and only remove it in the table of content? – Sveinung May 21 '16 at 21:59

If you wish to remove page numbers for a certain level, such as subsection, redefine \l@subsection{title}{page number}.

• Hi, welcome to the site! :) I'm actually not too sure the OP was asking about the page numbers, I think they actually wanted to remove the section number, i.e. the 14 part of 14 Vedlegg – Au101 May 21 '16 at 19:40
• Hi. Thanks! oh, so in that case here is the answer ;) – TaaTaa May 22 '16 at 6:31

The basic idea is to use the starred form: \chapter*{Attachments} associated with \addcontentsline{toc}{chapter}{Attachments}. This last bit is needed because the starred form strips down the chapter number but also prevents it to appear in the table of contents.

\documentclass[a4paper,10pt]{book}
\begin{document}
\tableofcontents
\chapter{This is chapter1}
blah blah
\chapter*{Attachments}