TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How to add the title of a page to the table of content?

I am writing my thesis. I am using a chapter named 'Dedication'. I want to skip the chapter title but still enter it into the Table of Contents. How to do it?

share|improve this question

marked as duplicate by cmhughes, Martin Schröder, Marco Daniel, Tom Bombadil, clemens Aug 24 '12 at 13:05

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

what do you mean with "skip the chapter title"? Something like \chapter[Title on the toc]{}? – Spike Jun 15 '12 at 12:57
duplicate: tex.stackexchange.com/q/59814/6621 – cmhughes Jun 15 '12 at 17:15
I don't think it's a duplicate: the solutions may be the same, but the questions that give rise to them are not. – Mico Jun 15 '12 at 17:38

You could use the command


on the page where the dedication is located. This will insert a line item in the table of contents (toc) even though no corresponding \chapter command is actually executed on the page in question. If you want to give the toc less visual prominence than what would be accorded to an entry of type "chapter", you could replace "chapter" in the line above with "section".

Addendum: If your document happens to load the hyperref package, you should also insert the instruction


immediately before the \addcontentsline instruction, so that clicking on the line "Dedication" in the table of contents will take the reader to the correct page.

share|improve this answer
Wouldn't there need to be a \phantomsection or null (or something else) for the \addcontentsline to attach to? – JohnReed Jun 15 '12 at 13:43
@JohnReed: Assuming the hyperref package -- which defines the macro \phantomsection -- is loaded, I suppose it wouldn't hurt to insert that instruction. I didn't mention this in the answer because the OP didn't mention he/she was using hyperref, so I didn't want to complicate matters needlessly. I'll add a sentence to mention this point, though. For sure, I am assuming that the OP is starting the dedication page material on a new page (via either \newpage or \clearpage) before the \addcontentsline macro gets executed. – Mico Jun 15 '12 at 13:47
Ok I see now. The implied \newpage (etc.) wasn't clear to me from the answer since I didn't read the question closely enough. Sounds like a fair assumption to me. – JohnReed Jun 15 '12 at 13:51
Instead of \phantomsection you can say \csname phantomsection\endcsname; this will activate \phantomsection only if hyperref is loaded but will cause no problem if it is not loaded. – Gonzalo Medina Jun 16 '12 at 0:37

Not the answer you're looking for? Browse other questions tagged or ask your own question.