Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I would like to list some pages of my report under a chapter. This chapter should be printed in the text without the header but with an entry in the Table of Contents.

It should look like this:

TOC:
 1. chapter1
 2. chapter2
 3. chapter3

chapter1:
 LOREM IPSUM
chapter2:
 LOREM IPSUM

% from here on I would like to list the text under chapter 3 in the ToC 
% but don't what to print "Chapter 3:" at all
 LOREM IPSUM

This would be something like \addcontentsline{file}{sec_unit}{entry} but without printing the chapter header in text.

share|improve this question
    
Welcome to TeX.sx! It is always best to compose a fully compilable MWE that illustrates the problem including the \documentclass and the appropriate packages so that those trying to help don't have to recreate it. –  tohecz Mar 5 '13 at 11:20
add comment

1 Answer

up vote 5 down vote accepted

+1 You got it, \addcontentsline really exists!

\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{My Dummy Chapter Title}

Issuing \cleardoublepage is necessary only if you want your non-chapter to start on a new page. Issuing \phantomsection is necessary only when you load the hyperref package.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.
http://tex.stackexchange.com/questions/100989/show-chapter-in-table-of-contents-but-do-not-print-its-header-in-text
tex.stackexchange.com
crawl=CC-MAIN-2014-15
63967
application/http; msgtype=response
sha1:4NO3JNITYDAIFD4DC3BYLTUZQ7TVZ7CP
<urn:uuid:612c6317-860d-4c54-bd1c-697ec6dbd350>
2014-04-16T19:59:33Z
198.252.206.140
sha1:5R2ROQPSIILMJ42KLYQDGWP2FD3XC2MH
<urn:uuid:e5fcbb77-ea9c-4152-be8d-85f7e97c2bdf>
http://tex.stackexchange.com/questions/100989/show-chapter-in-table-of-contents-but-do-not-print-its-header-in-text
response
<urn:uuid:429e0da9-f9e5-4bf0-8687-052e0fd48bf5>
robots: classic
hostname: ip-10-147-4-33.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2014-15
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for April 2014
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf