Generaltoc /part suppress page numbers

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
quat
Posts: 3
Joined: Mon Oct 27, 2008 5:03 pm

toc /part suppress page numbers

Post by quat »

I am new to LaTex and am having a format problem. I wrote a paper that makes use of parts, chapters, sections and so on. In the TOC I need the parts to be centers and appear without a page number after them. In front of the part number it needs to say Part. The parts page that appears in the main body cannot have a page number on it.

I am using a custom class and sytle that I got from my school and know little about editing it.

Could someone steer me in the right direction.


Thanks
quat

Recommended reading 2024:

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

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

toc /part suppress page numbers

Post by localghost »

Seems to be a job for titletoc. Read its documentation carefully, make a first approach and ask further questions if necessary.


Best regards and welcome to the board
Thorsten¹
User avatar
Stefan Kottwitz
Site Admin
Posts: 10347
Joined: Mon Mar 10, 2008 9:44 pm

toc /part suppress page numbers

Post by Stefan Kottwitz »

Hi quat,

welcome to the board!
The package tocloft could also provide a solution for that issue.

Stefan
LaTeX.org admin
quat
Posts: 3
Joined: Mon Oct 27, 2008 5:03 pm

Re: toc /part suppress page numbers

Post by quat »

Thanks. I have found both of those pakages and am looking into them right now.


quat
quat
Posts: 3
Joined: Mon Oct 27, 2008 5:03 pm

Re: toc /part suppress page numbers

Post by quat »

Is it possible to keep the existing formatting and just add to it. When I incorporated tocloft into my document it changed my toc format. I would like to keep what was there and just fix what needs to be fixed. I don't want to rewrite all the format just to fix a couple of things.

quat
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Re: toc /part suppress page numbers

Post by phi »

You wrote that you use a custom document class. Most packages are built to cooperate with the standard classes and, perhaps, the KOMA-Script classes, but with a custom class, anything can happen. Without knowing that class, we can hardly say anything. In most cases, things like table-of-contents formatting are hard-coded in the document classes and are quite hard to change. The titletoc package tries to make it more flexible, but you still have to know the format you want.
Post Reply