Text FormattingHow to move the "Table of Contents" out of "Table of Content

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
hellowezwz
Posts: 3
Joined: Wed Nov 25, 2009 8:46 am

How to move the "Table of Contents" out of "Table of Content

Post by hellowezwz »

Hi, dear friends:

I have an emergent problem for TOC (Table of Contents) format.

Currently, with a defined class file, the generated pdf file as

TABLES OF CONTENTS

DEDICATION................................iii
ACKNOWLEDGMENT............................iv
ABSTRACT...................................vi
TABLE OF CONTENTS...........................viii
LIST OF TABLES...............................xii


How can I remove the red"TABLE OF CONTENTS"?

I checked my class file, but I do not know how to change it.
\addcontentsline{toc}{chapter}%

Any suggestions? Thank you so much for the help.

hellowezwz

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

fatra2
Posts: 126
Joined: Fri May 01, 2009 1:43 pm

Re: How to move the "Table of Contents" out of "Table of Content

Post by fatra2 »

Did you try putting an asterisk (*) when you call you toc???
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

How to move the "Table of Contents" out of "Table of Content

Post by localghost »

This behaviour is unusual. Provide a minimal working example (MWE). In case you are using a class that is not listed on CTAN, attach it to your next post or give a link where to find it.


Best regards and welcome to the board
Thorsten¹
hellowezwz
Posts: 3
Joined: Wed Nov 25, 2009 8:46 am

Re: How to move the "Table of Contents" out of "Table of Content

Post by hellowezwz »

Hi, Thorsten and fatar2, thank you so much.

I have created MWE as TOC_test.zip.

Please give me help on this.

I do not know how to do a change on uofl.cls or do other changes to

remove that.
hellowezwz
Posts: 3
Joined: Wed Nov 25, 2009 8:46 am

Re: How to move the "Table of Contents" out of "Table of Content

Post by hellowezwz »

Thank you, all

I finally solved my problem by changing the class file and main.tex

Basically, it disable some toc commands in the class, and write new commands

in the main.tex.

Thank you so much for your time.
Post Reply