# How to remove chapter numbering without removing it from tableofcontents

It seems I have a two day trying to find out the solution of my problem. I have just finished typing my M.Sc thesis using LATEX (MIKTEX 2.9). Unfortunately, all my chapters begin with the chapter number at the top left corner of a page. My supervisor asked me to remove that numbering of the chapters without removing it from the table of contents.

I have tried all my best to do that but I failed. The last attempt I made is \chapter*{chapter title}, the moment I compiled my work I found out that it begin sectioning from 0.1,0.2, and so on, which I don't like.

Please can somebody help me out?

I have this code in side my thesis:

\chapter*

%Introduction}{}
\pagenumbering{arabic}
\onehalfspacing
\begin{center}
\end{center}

\section{Introduction} This chapter gives a brief  highlight on the concept of the Newton and quasi-Newton methods for solving nonlinear system of equations. The chapter contains motivation of the study, the aim and objectives, scope and limitations, methodology of the research. It includes some basic fundamentals  and definitions of some basic terms.


After compiling, it gives me this:

CHAPTER ONE

INTRODUCTION

0.1 Introduction
This chapter gives a brief highlight on the concept of the Newton and quasi-
Newton methods for solving nonlinear system of equations. The chapter contains
motivation of the study, the aim and objectives, scope and limitations, methodol-
ogy of the research. It includes some basic fundamentals and definitions of some
basic terms.


NB: Please observe how the section Introduction is numbered. I want it to be numbered 1.1 not 0.1.

-
You can try adding \addtocontents{toc}{\cftpagenumbersoff{chapter*}} to the preamble. I haven't tested it yet though. Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. –  Mythio Apr 26 '13 at 8:23
Alright Mythio, I will add MWE. –  Hamif Apr 26 '13 at 8:29
see my answer below. –  Mythio Apr 26 '13 at 8:31
Do you want the chapters to be numbered in the table of contents? –  T. Verron Apr 26 '13 at 8:44

By adding \setcounter{chapter}{n} before the nth chapter seems to fix the numbering of subsections issue. Also though, you have to reset the numbering of sections. An easy way to do this would to just define a new command. For example:

\documentclass{report}
\newcommand{\mychapter}[2]{
\setcounter{chapter}{#1}
\setcounter{section}{0}
\chapter*{#2}
}
\begin{document}
\tableofcontents
\mychapter{0}{Acknowledgments}
\mychapter{1}{Introduction}
\section{Introduction}
\section{Further Introduction}
\mychapter{2}{Experiments}
\section{Experiment One}
\section{Experiment Two}
\end{document}


-
yes this is exactly what I wanted. Thank you so much for your help. –  Hamif Apr 26 '13 at 19:48

If I read that correctly, you want chapters to have numbers. These numbers should be shown in the ToC. But the numbers should not be printed in the chapter heading. This can be achieved with the titlesec package:

\documentclass{report}
\usepackage{titlesec}

\titleformat{\chapter}
{\Large\bfseries} % format
{}                % label
{0pt}             % sep
{\huge}           % before-code

\begin{document}
\tableofcontents
\chapter{Acknowledgments}
\chapter{Introduction}
\section{Introduction}
\section{Further Introduction}
\chapter{Experiments}
\section{Experiment One}
\section{Experiment Two}
\end{document}


The ToC then looks like

while the chapter heads in the text look like

-
How do you remove the numbers from the ToC as well? –  jlanza May 4 at 14:13

You can do something as is done in here. Use code similar to the following:

\documentclass{report}
\begin{document}
\tableofcontents
\chapter*{Acknowledgments}
\chapter*{Introduction}
\chapter{Experiments}
\chapter{Conclusion}
\end{document}


The idea is to use \chapter*{} for unnumbered chapters and then add them to the toc explicitly with the \addcontentsline. Which gives this result:

-
This still suffers from "it begin sectioning from 0.1,0.2, and so on, which I don't like". Doesn't it? I think the idea might be to redefine the chapter* so as to trigger the chapter counter without typesetting the chapter number explicitly. I'll post an answer if I figure out how to do it. –  kan Apr 26 '13 at 8:34
Thats because it doesn't really make typographical sense to have numbered sections in an unnumbered chapter. Would in the example above the chapter Experiments have number 3? It would look really strange imo. –  Mythio Apr 26 '13 at 8:37
If I understand the OP, he does not want to number any chapter at all. Not saying it makes typographical sense, but, we could try answer his question instead of tell him what he already knows. –  kan Apr 26 '13 at 8:42
Of course kan you truly understood what I meant. @Mythio, I have already tried your answer but still I have the section numbered 0.1, 0.2 and so on. What do you suggest? I like the section numbering in this form: 1.1, 1.2 ... for chapter one and 2.1, 2.2, ... for chapter two, and so on. –  Hamif Apr 26 '13 at 8:43
@Jite I have class now. I'll come back and see what I can do. –  kan Apr 26 '13 at 8:45

I don't think that you want to remove the numbering: You want to use words (one, two) instead of numbers in the heading. This can be done (for english) e.g. with the numname package. The exact code depends on your class, here is an example for book:

\documentclass{book}
\usepackage{numname}
\makeatletter
\vspace*{50\p@}%
{\parindent \z@ \raggedright \normalfont
\ifnum \c@secnumdepth >\m@ne
\if@mainmatter
\huge\bfseries \@chapapp\space \numtoName{\c@chapter}
\par\nobreak
\vskip 20\p@
\fi
\fi
\interlinepenalty\@M
\Huge \bfseries #1\par\nobreak
\vskip 40\p@
}}
\makeatother
\begin{document}
\tableofcontents
\chapter{abc}
\section{abc}
\end{document}

-