## LaTeX forum ⇒ Theses, Books, Title pages ⇒ How can I get rid of the first "Chapter #" header? Topic is solved

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

### Re: How can I get rid of the first "Chapter #" header?

Hi,

is it possible to use

\usepackage{titlesec}
\titleformat{\chapter}{}{}{0em}{\bf\LARGE}

and still have numbers before the chapter names, which do not appear in the TOC?

Example:
Chapter name: 1 Introduction
TOC: 1 Introduction
Currently I get in the TOC: 1 1 Introduction

Thanks,
Toby

Tags:

Vel
Site Moderator
Posts: 459
Joined: Fri Jun 29, 2012 1:20 am
Hi Toby,

Not sure why you're getting two chapter numbers with that code. Try this, it prints the chapter number once before the chapter title in the document and in the ToC:

\usepackage{titlesec}
\titleformat{\chapter}{}{\bf\LARGE\thechapter~}{0em}{\bf\LARGE}

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com

templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm
Hello Vel,
I have a somewhat related question. I would like my introduction and conclusion to be in the ToC, but not as chapters:
Introduction
1. Chapter 1
2. Chapter 2
Conclusion

I tried /chapter*{Introduction} but that hides it from the ToC.
Thank you for this template by the way, it is great.

Sliwa

Vel
Site Moderator
Posts: 459
Joined: Fri Jun 29, 2012 1:20 am
Hi Sliwa,

You can add a top level heading to the table of contents like so: \addcontentsline{toc}{chapter}{Chapter One}. If you then also want to maintain subsection numbering after that, I'd recommend you have a look here: http://tex.stackexchange.com/questions/ ... ofcontents

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com

templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Sliwa

templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm
Hi Vel,
I am writing my thesis in latex. I just want to change the font size of chapter title. I used the titlesec package. But the problem is now "Chapter #" disappear and it just appears "# Introduction". I want to display it as

Chapter #
Introduction

I used
\titleformat{\chapter}
{\normalfont\Large\bfseries}{\thechapter}{1em}{}

or is there any other way to change the font size interactively?

Thanks you very much

shastry