Text FormattingLong chapter title or something in TOC and chapter page

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
samcan
Posts: 6
Joined: Tue Mar 16, 2010 7:51 am

Long chapter title or something in TOC and chapter page

Post by samcan »

Hello,

I am trying to create a table of contents page that shows the "description of the chapter," such as "Blah blah blah---Blah blah blah 2---Some more blah blah blah---etc." The chapter title could look similar on the actual page. I'm trying to typeset a book that used this older style of chapter titles, and I'd like to make it look good in LaTeX.

An example is the TOC for Gulliver's Travels (http://www.gutenberg.org/files/17157/17 ... 7157-h.htm), but the book I'm doing has longer ones...

Forgive me if someone has answered this before...I conducted an admittedly superficial search.

Thank you!

samcan

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

php1ic
Posts: 192
Joined: Wed Jan 28, 2009 8:17 pm

Long chapter title or something in TOC and chapter page

Post by php1ic »

To get a different title in the table of contents use

Code: Select all

\chapter[toc title]{Title on Page}
To format the table of contents like the link however, I don't know. The titlesec package is mentioned a lot on the forum and seems to be very configurable.

http://www.ctan.org/tex-archive/macros/ ... /titlesec/
samcan
Posts: 6
Joined: Tue Mar 16, 2010 7:51 am

Re: Long chapter title or something in TOC and chapter page

Post by samcan »

Thank you for suggesting titlesec, php1ic...I've hacked something together that I think will work for the chapter title page (I need to use at least two: one for the regular chapters, and one for the preface and introduction...I need to see about the appendices.) I also have to figure out titletoc to get a good looking table of contents.

Thank you for your help!
arwintcher
Posts: 29
Joined: Thu Feb 19, 2009 3:23 pm

Re: Long chapter title or something in TOC and chapter page

Post by arwintcher »

I think you want a "chapter precis" command:

\chapterprecis{Example of a chapter precis. Our hero is introduced; family tree; early days.}

Put it after your chapter title in the text, and the text will be displayed in both the table of contents and under the chapter heading.
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Long chapter title or something in TOC and chapter page

Post by gmedina »

Hi,
arwintcher wrote:I think you want a "chapter precis" command:

\chapterprecis{Example of a chapter precis. Our hero is introduced; family tree; early days.}

Put it after your chapter title in the text, and the text will be displayed in both the table of contents and under the chapter heading.
arwintcher's suggestion will work in the memoir document class.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply