{table-of-contents} is about the creation or modification of the Table of Contents or similar listings like List of Figures and List of Tables as well as custom lists. Popular packages are {tocloft}, {titletoc}, and {minitoc}.

learn more… | top users | synonyms (6)

2
votes
2answers
4k views

Some ToC & page numbering questions

I am just in the last stages of sorting out a book for my publishers. The main problems are with page numbering, and ToC. The publishers require: Table of contents (numbered with Roman numerals) a ...
5
votes
1answer
713 views

Hyperref PDF sidebar table of content lines numbering?

How can I tell hyperref to generate PDF toc (showed in PDF viewer's sidebar) such that each chapter/section gets its numbering instead of just headings?
1
vote
1answer
682 views

Pagenumbers aligned raggedleft in scrartcl with tocstyle?

When trying to typeset a table of contents with KOMAscriptand tocstyle(alpha 0.2d), I finally managed to change the font of the pagenumbers (like the rest of the document to CMSS) with \settocfeature{...
4
votes
1answer
8k views

No page numbering for the table of contents

How do I skip numbering until the beginning of chapter 1 with scrbook? I'm using something alone the lines of \begin{document} \pagestyle{empty} \pagenumbering{none} \maketitle \tableofcontents \...
4
votes
1answer
244 views

How to use different font and shape characters properly in headers?

I'm using Kpfonts for the text of my documents, but I'd like to use the Computer Modern italic ampersand in my headings. To this end, I've defined a command \amp to insert the proper character. The ...
5
votes
1answer
1k views

Personalizing chapter lines in table of contents

I am using scrbook and would like to tune my table of contents to look like the one in this book : http://biblefacts.org/church/Charisma.pdf , with a text saying "Chapter #" on top of each entry. I ...
19
votes
5answers
6k views

Adjusting vertical space between TOC entries using Beamer

I have a rather lengthy table of contents for a presentation. Beamer is not compressing the vertical space between TOC entries, but instead running the last item off the bottom of the output! Is ...
7
votes
1answer
2k views

How can I add a section/subsection to the TOC but not the navigation bar?

I'm making a presentation using Beamer, and I would like for my subsection titles to appear in the table of contents, but not the navigation bar. I only know that \subsection*{title} does the ...
9
votes
1answer
645 views

Include images in TOC?

I've got a large document whose table of contents is being generated by the usual \tableofcontents command. I'd really like to include a small image next to each line in the TOC. How can I do that? ...
5
votes
1answer
1k views

\listoffigures chokes on inline math delimiters in captions. What is going on?

I'm working on my thesis, and I've realized that, any time I try to use \( \)-type inline delimiters in captions, that pdflatex breaks. While I can weasel out of actually \needing\ math in my captions,...
3
votes
1answer
588 views

Change spacing between elements in \newfloat listof

I have created a new float type with the following in my preamble: \floatstyle{plain} \newfloat{myfloat}{thpb}{myfloat}[chapter] \floatname{myfloat}{\bf My Float} Then I use the following to create ...
2
votes
1answer
3k views

How to get the chapter name and other TOC data in the table of contents?

It's a good solution. But could you help me to change it a little bit. For example using report style in text I wrote: \documentclass{report} \usepackage{tocloft,calc} \renewcommand\chaptername{...
26
votes
4answers
21k views

How to show \listoffigures and \listoftables on one page and in the ToC?

Is it possible to put the list of figures and tables onto one page? I only have two tables in my thesis, so having it on an extra page looks quite bad. I've read about the tocloft package and tried ...
7
votes
2answers
2k views

Subsections in the ToC when using memoir

Following on from Turn on subsection numbering in memoir, having numbered my subsections, how can I get them to appear in the ToC?
9
votes
3answers
15k views

List of Equations / Table of Equations

After finding Table of Equations and http://www.latex-community.org/forum/viewtopic.php?f=5&t=428, I set about making a List of Equations for my document. The catch here is that we already have a ...
3
votes
1answer
962 views

Changing the font of the numbers in the ToC in the memoir class

I found these rows of code in this thread: \renewcommand{\cftchapterfont}{\normalfont\sffamily} \renewcommand{\cftsectionfont}{\normalfont\sffamily} which changes the font for the listings but ...
8
votes
2answers
640 views

In memoir, can I number abstracts as sections in the toc?

I'm writing up my thesis right now, using memoir, and I have a problem with abstracts. Each chapter - besides the intro and conclusion - is an article published in a journal, and has its own abstract ...
3
votes
1answer
2k views

Subfig, KOMA script, caption - how to suppress some list of figures entries?

I am using KOMA script and the subfig package like this \documentclass[11pt,a4paper,BCOR10mm,DIV11,toc=listof]{scrbook} \usepackage[caption=false, font=footnotesize, justification=RaggedRight]{subfig}...
2
votes
1answer
1k views

Short List of Figures in Memoir

I really like the appearance of the short list of contents, introduced in the memoir manual. What I want is a short list of figures command changing the LoF style similarly. Centered captions followed ...
2
votes
1answer
918 views

Short title that is not displayed in the ToC {hyperref}

I am using TexShop and because there is nothing like a navigation (or at least I don't know how to create it) and my document comprises about 200-300 pages, I try to build my own navigation in the ...
11
votes
2answers
7k views

Extra space for numbered titles in table of contents

Background A manual with chapters, sections, subsections, and sub-subsections. Using KOMA Script v2. Problem The spacing between the heading title and its number is too close to the number in some ...
8
votes
1answer
8k views

Breaking table of contents between frames in beamer

I've got a rather long table of contents for my presentation in beamer, and it doesn't fit on one frame. I know I can provide a table of contents per section, or to manually break it between sections ...
1
vote
1answer
656 views

Reduce vertical spacing/gap - for \listoftables, \listoftables between heading and first entry

The following MWE demonstrates the large gap between the heading 'List of Tables' and the caption for the first entry in this list. How can the vertical space between the heading and first line of ...
10
votes
2answers
7k views

Changing the TOC style of an Article document-class

When typesetting an article documentclass, the sections appear as bold in the table of contents, with no leading dots. I would like to change these to non-bold, and insert some leading dots. I tried ...
5
votes
2answers
952 views

Removing space before Section in Table of Contents when using Article

How can I remove the vertical spacing before each section in the table of contents from a 'article' documentclass?
2
votes
1answer
1k views

fncychap: vertical space between text and heading too large - shift left heading - improving on fix?

To reduce space between the table of contents heading and the first entry in the table of contents the following solution is used: \addtocontents{toc}{\vskip-40pt The heading to display} However, ...
4
votes
2answers
2k views

fncychap package - vertical gap/space between text and heading too large - how to reduce?

The below example shows the table large gap between the top of the table of contents its section heading. How can this gap be reduced? \documentclass{book} \usepackage[Bjornstrup]{fncychap} \begin{...
15
votes
3answers
12k views

List of Figures - how to add caption label

I'm using the caption package. In the List-Of-Figures I get only the numbers, but I also want to have the prefix. It currently looks like that: List of Figures 1 Caption of Figure 1........1 ...
3
votes
1answer
577 views

How to prevent Table of Contents from being added to the bookmarks of a pdf file

I have a set of pdf files (without the latex source) which I merged into a larger pdf file. Each individual pdf file is an article with sections. I created a set of bookmarks for the larger pdf which ...
9
votes
2answers
5k views

How do I use LaTeX to create a table of contents for a set of pdf files which I am merging into a single large pdf?

I have a set of pdf files which I want to merge into a larger pdf files. Each individual pdf file is an article with sections. I am hoping to make the merged pdf file into a book format with each ...
12
votes
3answers
2k views

Is it possible to add \chapter after a few \part's at the same level of hierarchy?

Consider the following code: \documentclass{scrbook} \usepackage[bookmarks, bookmarkstype=toc]{hyperref} \begin{document} \tableofcontents \chapter{Introduction} \part{First part} \chapter{...
12
votes
2answers
996 views

How do I create custom “list of…”s on a section level?

I have a long document with frequent uses on an environment that needs to be indexed on a per-section basis. I know that the tocloft package allows creation of custom "list of..."s I also know that ...
6
votes
2answers
1k views

How to center the TOC?

I would like to design the table of contents aligned to a vertical line near the center of the page. The chapter and section titles need to be flushright, the numbers flushleft, and between titles and ...
6
votes
4answers
2k views

Elements of TOC styling using memoir class

I have yet another (baffling) question. Suppose I have the figure attached The question is how can I move the chapter numbers to align with the first line of the chapter title ? i.e using the ...
6
votes
1answer
448 views

How to make chapter numbers in TOC as non-link (hyperref package)

I'm using the hyperref package to enable PDF links & bookmarks in the output file. I would like to achieve the following behavior ([] denotes clickable area} 1 [The first chapter] .............. ...
3
votes
2answers
1k views

Table of contents problems

I am writing my thesis and I am having a few problems with my format. My thesis structure is as follows: I Introduction II Part 1 chapter 1 chapter 2 III Part 2 ...
6
votes
1answer
1k views

Writing in the same line as the section title

I needed to add some text after some of my section title and it certainly needs to be in the same line, and not to be in ToC or bookmarks. Therefore i decided to create my own subsection-type-thingy ...
4
votes
1answer
754 views

Hyperref breaks my all-caps ToC entries

I started out on this earlier question. I now have a simple and elegant etoolbox solution to making all-caps chapter entries, but leaving appendix entries untouched. Simple, elegant, and incompatible ...
6
votes
1answer
1k views

Making memoir Chapter entries in ToC all-caps and Appendix entries regular case, without breaking hyperref

I have a thesis style working, but around 10% of my code is a copy of memoir's \def\@chapter that lets me put all regular chapter entries in all caps, and keep appendix entries in regular case. This ...
49
votes
2answers
30k views

Adding unnumbered sections to TOC

I have many unnumbered sections in my report (more than 100), all created with: \section*{section name} I want to find a way to easily add them all to the TOC (specifically to a minitoc). Since I ...
3
votes
1answer
850 views

Automated partial TOC [duplicate]

Possible Duplicate: List sections of chapter at beginning of that chapter Hello, I need to make a small chapter TOC at each chapter. What I need is something like: Chapter 3 - Chapter 3 name ...
4
votes
1answer
999 views

lstlistoflistings font

I'd like to change my list of listings to match my list of figures, which I have changed using tocloft: \renewcommand{\cftfigfont}{\sffamily\mdseries\upshape} Is there a way to do the same with my ...
64
votes
1answer
26k views

Captions for figures in \listoffigures

When I use \listoftables and \listoffigures I get in the list long captions that appear next to the tables/figures. I would like to use short captions for this list which summarize these captions. Is ...
8
votes
1answer
2k views

Table of Contents: Customize space between dots before page number?

I am writing a small KOMA-Script scrartcl document with multiple sections. In the table of contents, LaTeX fills the current line with dots between the end of the section name and the page number. Is ...
1
vote
1answer
592 views

How to control \chapter text related to \tableofcontents

How can I control \chapter text associated with \tableofcontents How to change the font size of \chapter{text} in TOC page. How to restrict TOC pages to ONE. (Two pages are coming as default). At ...
6
votes
2answers
2k views

Add a link to the TOC

I'd like to link the Table of Contents in the footer of each page. I can achieve this thanks to this hint like so: # In the hyperref section of the document preamble \cfoot{\hyperlink{page.1}{TOC}} ...
8
votes
3answers
2k views

Number mhchem reactions and create a \listofreactions

Is there a way to create an environment for reactions defined with mhchem that behaves similarly to equation in terms of numbering the reactions (including a \nonumber command)? Can I get a list of ...
28
votes
1answer
4k views

Adding Table of Contents to existing PDF

How can I add a Table of Contents (TOC) to an existing PDF? I have an existing PDF (scanned notes from a class). I'd like to improve this basic scan as much as possible. I do not think that any OCR ...
24
votes
4answers
13k views

How to remove the self-reference of the ToC from the ToC?

I'm having a very weird problem. The following example should illustrate it quite right. \documentclass[a4paper,12pt]{memoir} \begin{document} \frontmatter \tableofcontents \clearpage \...
5
votes
1answer
462 views

How can I restore Chapter page numbers in minitoc with memoir?

Here's my minimal example: \documentclass{memoir} \usepackage{minitoc} \usepackage{lipsum} \doparttoc \begin{document} \tableofcontents \part{The Only Part} \parttoc \chapter{The Only Chapter} \...