Search found 20 matches

by chao
Fri Jun 20, 2008 6:35 pm
Forum: General
Topic: customizing TOC
Replies: 13
Views: 20676

Re: customizing TOC

The adding chapter in front of number problem is solved.

However,
"In the default ToC typsetting only the more minor entries have dotted leader \cftdot lines between the sectioning title and the page number. The tocloft package pro- vides for general leaders for all entries"

How to add dotted ...
by chao
Fri Jun 20, 2008 5:52 pm
Forum: General
Topic: [toc] how to add Chapter before 1.introduction in toc
Replies: 7
Views: 8359

Re: [toc] how to add Chapter before 1.introduction in toc

:lol:
it works.
I only changed \chapapp to "chapter"

a following question is how to add "...." to link the "chapter 1. introduction" to page number "1" in toc?
by chao
Fri Jun 20, 2008 4:50 pm
Forum: General
Topic: [toc] how to add Chapter before 1.introduction in toc
Replies: 7
Views: 8359

[toc] how to add Chapter before 1.introduction in toc

by default the toc formed like this

NameOf1stChapter
1. Introduction..................1
1.1 xxx.............................2

How to change it to

CHAPTER 1--NameOf1stChapter...........1
1. Introduction.........................................1
...

I used
\renewcommand{\cftchappresnum}{CHAPTER ...
by chao
Fri Jun 20, 2008 4:45 pm
Forum: General
Topic: [toc] how to add "...." between Dedication and page number
Replies: 1
Views: 1724

[toc] how to add "...." between Dedication and page number

Hi,
By default toc formed with
Dedication [blanks] i(page#)
Chapter [blanks] ii(page#)
....
1 Introduction..................1
1.1 xxx............................2

How to change to
Dedication .....................ii
Chapter..........................iii
...
1 Introduction..................1
1.1 xxx ...
by chao
Fri Jun 20, 2008 12:46 am
Forum: General
Topic: customizing TOC
Replies: 13
Views: 20676

Re: customizing TOC

sty file

\usepackage[subfigure]{tocloft}
...
\renewcommand{\contentsname}{Table of contents} % change "Contents" to "Table of Contents"
\renewcommand{\cfttoctitlefont}{\hfill\large\bfseries\MakeUppercase} % change toc title to upper case
\renewcommand{\cftaftertoctitle}{\hfill}

\renewcommand ...
by chao
Fri Jun 20, 2008 12:35 am
Forum: General
Topic: customizing TOC
Replies: 13
Views: 20676

Re: customizing TOC

I've went through "tocloft" and solved a few typesettings.
However, there are still some are remaining
1. How to insert "CHAPTERS" as a separate line before Chapter1, 2.... starts
2. How to change the font of all the contents listed NOT in bold face.
Only "Table of Contents" and "Chapter ...
by chao
Thu Jun 19, 2008 5:14 pm
Forum: General
Topic: customizing TOC
Replies: 13
Views: 20676

customizing TOC

Hi,
I know this has been asked before and given reference to tocloft package.
However, as I'm new to latex, I appreciate that if someone can give me an example script
TOC needs to be
Table of Contents (mid of page)
Chapter (left of page) Page (right)
DEDICATION...............................ii ...
by chao
Thu Jun 19, 2008 12:12 am
Forum: Document Classes
Topic: [package] tocloft conflicting with subfigure
Replies: 3
Views: 14710

Re: [package] tocloft conflicting with subfigure

Forgive me, I'm new to latex. The ability of searching document is still weak.
Thanks very much!
by chao
Wed Jun 18, 2008 11:56 pm
Forum: Document Classes
Topic: [package] tocloft conflicting with subfigure
Replies: 3
Views: 14710

[package] tocloft conflicting with subfigure

Hi,
\usepackage{subfigure}
\usepackage{tocloft}

error:
/usr/share/texmf-tetex/tex/latex/tocloft/tocloft.sty:608:Command \c@lofdepth already defined. \newcounter{lofdepth}
/usr/share/texmf-tetex/tex/latex/tocloft/tocloft.sty:609:Command \c@lotdepth already defined. \newcounter{lotdepth}

I would ...