Theses, Books, Title pages ⇒ How can I get rid of the first "Chapter #" header?
-
templateuser
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
Re: How can I get rid of the first "Chapter #" header?
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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: How can I get rid of the first "Chapter #" header?
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
-
templateuser
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
Re: How can I get rid of the first "Chapter #" header?
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
Re: How can I get rid of the first "Chapter #" header?
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
-
templateuser
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
Re: How can I get rid of the first "Chapter #" header?
Sliwa
-
templateuser
- Posts: 679
- Joined: Tue Mar 03, 2015 4:01 pm
Re: How can I get rid of the first "Chapter #" header?
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