General ⇒ Chapter headings without the word chapter!
Chapter headings without the word chapter!
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
Chapter headings without the word chapter!
Code: Select all
\renewcommand{\chaptername}{}
Code: Select all
\renewcommand{\thechapter}{}
Re: Chapter headings without the word chapter!
How can I get a "Chapter 0"?
Something like:
Chapter 0: Introduction
Chapter 1: Bla
Chapter 2: Blabla
Chapter headings without the word chapter!
Code: Select all
\setcounter{chapter}{-1}
Chapter headings without the word chapter!
gmedina wrote: Add in the preambleCode: Select all
\setcounter{chapter}{-1}
Thanks!
And


Re: Chapter headings without the word chapter!
How do you remove the word "Chapter" from the table of contents without modifying the body of the document.
For Example:
TOC:
1 Preliminaries.................3
2 Exciting News...............7
Body:
Chapter 1 Preliminaries
Chapter 2 Exciting News
Chapter headings without the word chapter!
kdmckale wrote:OK...here's a tough one:
How do you remove the word "Chapter" from the table of contents without modifying the body of the document.
For Example:
TOC:
1 Preliminaries.................3
2 Exciting News...............7
Body:
Chapter 1 Preliminaries
Chapter 2 Exciting News

Code: Select all
\documentclass{book}
\begin{document}
\tableofcontents
\chapter{Preliminaries}
\chapter{Exciting News}
\end{document}
Chapter headings without the word chapter!
From the previous post, I take it to mean by default it's not to automatically have the word Chapter in the table of contents but is something added in by the thesis template????
P.S. They are here:
http://www.math.ttu.edu/department/thesis.shtml
Chapter headings without the word chapter!
Of course it helps.kdmckale wrote:I guess it helps to mention I'm working within the confines of a mathematical thesis and a template provided by my department???
[/quote]kdmckale wrote:From the previous post, I take it to mean by default it's not to automatically have the word Chapter in the table of contents...
Yes, the default behaviour for the standard book and report document classes is the one obtained with the code in my previous response.
I do not understand that question.kdmckale wrote: ... but is something added in by the thesis template????
P.S. They are here:
http://www.math.ttu.edu/department/thesis.shtml
There are two document classes in that link. I used the file ttuthes.cls and did a test with the following code (I attached the pdf I obtained):
Code: Select all
\documentclass{ttuthes}
\begin{document}
\tableofcontents
\chapter{Dummy chapter one}
\section{Dummy section}
\chapter{Dummy chapter two}
\section{Dummy section}
\end{document}
- Attachments
-
- test.pdf
- (9.57 KiB) Downloaded 3038 times
Re: Chapter headings without the word chapter!
I managed to remove the chapter word and number from my file with the commands you gave :
\renewcommand{\chaptername}{}
\renewcommand{\thechapter}{}
But I would like to create titles manually for each of my chapter. So is it possible to remove also the name of the chapter (for example "Introduction") at the beginning of it, but with keeping the name of the chapter written in small at the top of the other pages of the chapter, as well as the number of the chapter (that has disappeared because I used the command above) ?
Thank you very much for your help !