Tagged Questions

{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 (4)

2
votes
1answer
49 views

Remove appendices page in ToC

i am creating my thesis report in latex.While adding appendices i am getting a page only with a string "Appendices" before Appendix A and Appendix B. The code for the appendix is as follows ...
6
votes
1answer
145 views

List of tables (or figures) by section - LaTeX

I am writing a master's thesis and I wish to create a list of tables and list of figures that is ordered by section, with the name of the section clearly displayed. The numbering of my tables (and ...
2
votes
1answer
24 views

complaints of glue length “mu”; amsart; list of definitions

So I have the following MWE: \documentclass{amsart} \usepackage{etoolbox} % Modifications to amsart ToC-related macros... \makeatletter \let\old@tocline\@tocline \let\section@tocline\@tocline % ...
0
votes
0answers
19 views

roman numbers are not correctly cross-referenced, conflict between hyperref and other packages? [duplicate]

This problem only occurs in my whole PhD thesis, and not in a MWE (shown here). Would the problem be the other packages I use besides the hyperref package? MWE code (works well, see attached image): ...
1
vote
1answer
144 views

Latex Beamer - Toc too long

I'm preparing for a master thesis defense... but my presentation is getting a bit lengthy... ...anyways when the ToC gets too long on the side it stretches over. See attached image. Any good advise ...
0
votes
0answers
41 views

Table of Content Inquiry--LaTeX

I have sections made by the code \section*{} (the asterisk to hide the section number), but when I insert a table of contents, none of the sections are showing up in the contents. I think it's because ...
0
votes
0answers
282 views

Fancy Table of Contents

How can I make a table of contents like the following? MWE: ‎\documentclass[10pt,a4paper,openany]{book}‎‎ ‎\usepackage{titletoc,xcolor}‎ ‎‎ \titlecontents{chapter}% <section-type> [0pt]% ...
4
votes
2answers
63 views

Changing the default layout produced by algorithm and algorithmic packages

If the default output of the algorithm and algorithmic packages for the following code: \begin{algorithm} \begin{algorithmic}[1] \PRINT \texttt{‘‘Hello, World!’’} \end{algorithmic} ...
3
votes
1answer
42 views

Titlesec creates entry in ToC for a starred part

I have the following code, creating section titles starting with "Section [number].", exactly as I wish: \documentclass{article} \usepackage[hidelinks]{hyperref} \usepackage[explicit]{titlesec} ...
1
vote
0answers
41 views

Leaving 2 blank pages upon compilation

I am trying to add a non numbered chapter. I have done so successfully for other chapters using the same code. The code I am using is: \clearpage \chapter*{Nomenclature} ...
1
vote
1answer
54 views

Wrong page number in contents

I am trying to add a non number chapter in the table of contents. Below are the packages already in use for the complete document. \documentclass[12pt,twoside,a4paper]{report} ...
0
votes
0answers
35 views

How can I suppress table of contents that is appearing before every slide in beamer?

How can I suppress table of contents that is appearing before every slide in beamer? I don't want to get the contents slide, but still I want the second slide highlighting current section in between ...
1
vote
1answer
33 views

Have tableofcontents as PDF bookmark, but not lstlistoflistings

I want to have the "Contents" section appear as a PDF bookmark. I have found this question, and the following generally works: \makeatletter \usepackage{etoolbox} \pretocmd{\tableofcontents}{% ...
2
votes
3answers
57 views

Missing pagenumber in bookmarks

The pagenumber from "Inhaltsverzeichnis" is missing in the bookmarks. I manually added the Inhaltsverzeichnis (TOC) with \addcontentsline{toc}{chapter}{Inhaltsverzeichnis} but it doesn't print the ...
3
votes
1answer
47 views

amsart with table of contents with “to” and “from” hyperlinks

My question (I don't know about the answer) is relatively simple. I am often obligated to use amsart documentclass and so like this post, How to do this amsart Table of Contents excluding dots on ...
1
vote
1answer
39 views

\MakeUppercase in \section and \chapter with hyperref cause trouble

I use hyperref package to make TOC in the pdf file (you know, the pdf reader can display a toc). But, when hyperref is used, the command \MakeUppercase in a structure command (like \section or ...
0
votes
0answers
33 views

Include the list of parts and their sections in a global tableofcontents of beamer

I'm using beamer to produce a long presentation with several parts. Is there any way to generate a global TOC which should contains all the parts and their sections ? MWE: \documentclass{beamer} ...
0
votes
0answers
38 views

Alphabetizing a customized List of Abbreviations

I maintain a style file which offers a list of abbreviations. The most common request that I get is to provide a way to alphabetize the list. The entries in the list file myThesis.loabb look like ...
2
votes
1answer
65 views

How to show my plan after each part (\part)? (memoir class)

In the first page of my document a table of content is displayed. However, I would like to show a plan after each \part 's title. I don't have the slightest idea how to do it. Should I use ...
4
votes
1answer
40 views

Patching \chapter command such that all lower sections are set in twocolumn in ToC

I've been trying to typeset my ToC like the one in the question How to make the ToCs part entry in onecolumn while the others are in two columns however, I don't have parts and therefore I want the ...
2
votes
3answers
132 views

Linking the section titles to toc using only hyperref

How to link section titles back to toc? I want to use only hyperref and not any toc related packages (answer with titlesec can be found here) I can do the hypertarget to toc sections (answer provided ...
5
votes
3answers
106 views

list of newcounter

I've set up a newcounter in a LaTeX document: \newcounter{example}[section] \newenvironment{example}[1][]{\refstepcounter{example}\par\medskip \textbf{Example~\theexample. #1} \rmfamily}{\medskip} ...
3
votes
1answer
122 views

Beamer (with Bergen theme) how to move ToC from sidebar to “main part” of slide?

How would I move the table of contents produced by \tableofcontents from the left sidebar to the main part of the slide? It produces a lot of unused white space, as in the following: This code ...
2
votes
1answer
84 views

Table of Contents unbold chapter names

I require chapter names unbold in Table of Contents. Please guide me how I unbold the heading of chapter names only in Table of Contents.
2
votes
1answer
123 views

Changing the section and subsection font color in contents page in beamer

I want to change the section and subsection names in my contents page on beamer. Plz help me. Thanx in advance
1
vote
0answers
38 views

Reproducing the standard layout of the “book” class with “titletoc”

Is there a reference that shows how to use titletoc commands (\titlecontents, etc.) to approximate the layout of the table of contents in the standard book class? In particular, I would like to see ...
0
votes
1answer
29 views

Two distinct aliaspagestyles for a document (Or another solution to pagenumbering problem)

Is there any way to make two distinct aliaspagestyles for different parts of the document. That is to say, can I make one aliaspagestyle for the first page of the TOC while having a different one for ...
1
vote
0answers
128 views

Wrong page numbers in the table of contents of a LaTeX document [closed]

I am writing my thesis in LaTeX. Everything was going fine until I decided to insert some of my publications into the LaTeX thesis document. The error is in the table of contents, which is showing ...
0
votes
1answer
42 views

How do I list a section in table of contents that appears before the table of contents? [duplicate]

My institution requires a summary of a report to be on page iii, then the table of contents start on page v (there is other front matter inserted by the publications dept on pages i, ii and iv). I ...
0
votes
0answers
21 views

How to put table of contents at the beginning of each chapter? [duplicate]

How can i have such a format in every chapter in my thesis. More specifically i would like this table of contents for each chapter depending on its subsections.
1
vote
0answers
24 views

biblatex combined with refsection and List of Tables

I have the following problem: Some Tables have captions with references in them. This works, however, when I add a List of tables (and I'm using biblatex with refsection=chapter), this reference gets ...
1
vote
2answers
65 views

Unnumbered chapter in toc and heading

I'm writing a thesis using scrreprt and want the preface to appear as an unnumbered chapter. When I use \chapter*{Preface} \addcontentsline{toc}{chapter}{Preface} I get the correct entry in the ...
4
votes
2answers
73 views

Dots after section number in TOC

I am writing my thesis in Lyx and my supervisor has very specific edditing requirements. He wants that the chapter number in TOC would be followed by dot, but section numbers not. Here's code from ...
2
votes
2answers
84 views

How to reset the space between the label and the content of the item

As described above, I need to enlarge the space between the label and the content of the item of the section of Table of content (\l@part to be exact). and I typed the command ...
0
votes
0answers
58 views

ComplexTable of Contents

Id like to create a table structure within my document based upon a \newlesson command for example. \newcommand{\newlesson}[1]{ \newpage \addtocounter{LessonNumber}{1}\subsubsection{{Lesson ...
0
votes
2answers
59 views

Custom section in conflict with TOC

I adapted this answer to make a custom section I need. My intention is that it looks something like the second heading from this image: So the numbering must be made using (\Alph) and it must be ...
0
votes
0answers
46 views

Customize ToC entries for appendices

I want to customize the names of the appendix in the ToC. I redefined the chapternames to "Week" with \addto\captionsdutch{ \renewcommand\chaptername{Week}} and I included the chapter name in ...
2
votes
1answer
52 views

Exclude functions and procedures completely from list of algorithms in algorithm2e

I'm referring to this answer of the question on 'how to exclude functions from \listofalgorithms in algorithm2e'. The solution provided in the answer just omits the word function within the list of ...
2
votes
2answers
215 views

How to use tocloft to create a list which appears in the middle of the document

I have a document in IEEE (conf) format and I want to add a new environment using tocloft. The relevant code looks like this (slightly abbreviated): \documentclass[conference]{IEEEtran} ...
1
vote
1answer
21 views

Sections in ToC with links but without headings

I want to include some external documents (PDFs) in the appendix of the document I am writing. I would like to have these included documents listed in my table of contents, but no section heading ...
1
vote
0answers
66 views

Chapter Number only unbold in TOC

I have created toc and how do unbold the chapter number in table of contents. The dotsep between chapter title and page number is also disapper? How do on the dotsep. My MWE is: \documentclass{book} ...
0
votes
0answers
48 views

Customization of List of Tables and List of Figures title

I'm working on my thesis, and need a list of figures and list of tables. However, in the book document class I'm using the default format is not a format I can use. I did find a fix for the Table of ...
2
votes
2answers
83 views

Counters for Chapter and Section environments when using tcolorbox for listings

This is a followup question of this question. With my MWE I'm getting wrong Listing numbers, wrong toc (including Chapter and Section environments from listings) and wrong bookmarks in pdf toc. Any ...
2
votes
0answers
108 views

Using Titlesec, titletoc, and titleps together affects the command \tableofcontents

Writing a book of probability in arabic, I want to use the titleps package for different beautiful headpages, in my files where I use titletoc for partial table of contents. All was good until I used ...
0
votes
1answer
55 views

How to have footer in first page? (Table of contents is also in the first page)

I have footer in my article file, but the footer does not show in the first page. The Table of Contents is in the first page too, there is a page number in the bottom of the page, but I do not need ...
0
votes
1answer
29 views

Reduce line-spacing in ToC for certain sections in amsbook

Is it possible in LaTeX to reduce the line-spacing in the table of contents just for certain sections? Left is how it currently looks like, right is how I want it to look like: Thanks a lot! :-)
0
votes
1answer
61 views

Table of content problem

I have prepared table of contents for my thesis like that But our university wants like that The main difference between them, In the second screenshot, chapter and section heading numbers are ...
1
vote
0answers
38 views

Table of content margin

According to the below the figure, how can i adjust the margin of table of content according to the red line \usepackage[titles]{tocloft} \renewcommand{\cftchapleader}{\cftdotfill{\cftdotsep}} ...
4
votes
2answers
118 views

Different numbering format between toc and body

To complete my memory, I would like to display different numbering format beetween my section in the body of my document and the one in the toc You will find just below my MWE : \documentclass{book} ...
3
votes
1answer
50 views

Overfull \hbox in the Table of Figures when using custom page numbering

I use a custom page numbering for appendices: \renewcommand{\thepage}{A~--~\arabic{page}} The problem is there is a overfull \hbox in the Table of Figures for the custom page numbering: The ...