{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}.
1
vote
1answer
63 views
How to write additional content into bbl file?
How can I tell LaTeX to write additional content to bbl file?
Background of my question (see also MWE below): The page number for the bibliography displayed in the table of contents is correct if ...
0
votes
1answer
54 views
How to color the ToC and the references with a different color?
As the title reads, I'd like to color my ToC in let's say red and the references in my document with another color let's say blue.
here's a MWE of my document :
\documentclass{report}
...
2
votes
1answer
136 views
minted list of listings and TOC conflict
I am using minted for source code highlighting. I want a List of Listings, and I want the List of Listings to itself have an entry in the main Table of Contents. I thought I could do this with ...
1
vote
1answer
178 views
Separate book into parts and chapters
I am working with the book document class and want to create something like this. Moreover, in the Table of Contents I want the "Part" to be under- and over-lined and not to be numbered. I think of ...
2
votes
1answer
111 views
Customize TOC (colors) of classicthesis
I am using classicthesis as a template for my thesis. The thing is that I want to put a different color for the chapters on the table of contents.
Example:
CONTENTS
1 Introduction (on color ...
2
votes
1answer
207 views
fancy chapter title page for entire document
How to enable this style as well for TOC and bibliographypage ?
Note that, I'm using scrreprt document class
2
votes
1answer
65 views
Exclude section number from the ToC link
Is there a way I can make hyperref exclude section/chapter/etc numbering from the link in toc/lof/lot?
I want it becase I highlight the link, and number is not really a part of the ...
5
votes
1answer
51 views
color an entry in the list of figures
I have a command that prints an image and will be used inside a certain environment.
First I run a test if the file exists and is a valid image file
(see this question for the definition of ...
2
votes
2answers
149 views
coloring the page numbers in the table of contents
I try to color the page numbers of my table of contents.
I'm using the package hyperref along with the options :
\hypersetup{
colorlinks,
linkcolor=wine-stain % custom color
}
Here's the ...
3
votes
2answers
98 views
ToC on cover and continues on the second page
The design I am working on has the ToC as the cover, together with the title & author. There is a production restriction which the second page (inner cover) can't be printed. Please find the ...
2
votes
1answer
126 views
Make List of Algorithms formatting match LOT/LOF
I'm working on my thesis, and I have a minor formatting problem with my list of algorithms.
The entry is added properly in the TOC and the font, size dotting and numbering are perfect, but for some ...
7
votes
1answer
66 views
Supress `\cleardoublepage` for _some_ chapters
I am using book environment.
Between \listoffigures, \listoftables, \printglossary[glossaryname]s and appendices, I need a normal \clearpage between them (not a \cleardoublepage).
I still need to ...
2
votes
1answer
54 views
ntheorem: vertical space between chapters in listtheorems?
I have a ToC and list of problems in the same document. I struggle to make them look the same. I solved all, but the following issue.
In ToC (and LoF) there's a space between chapters. listtheorems ...
0
votes
1answer
53 views
List of problem title same style as list of figures title?
I have custom made list of problems, and list of figures generated by tocloft. I want the two list titles to be of the same style.
I looked into source of tocloft.sty and added a new command there:
...
4
votes
1answer
80 views
Making a list of hypothesis and references to the hypothesis
I have some problems with making a list of hypothesis and references to my hypothesis.
\documentclass[12pt, a4paper, makeidx]{memoir}
\usepackage{ntheorem}
% *************** hyperlinks in PDF ...
1
vote
1answer
124 views
Include glossary in table of contents
I am using \usepackage{glossaries}. How do you include it in \tableofcontents? The following does not do the trick:
\documentclass{book}
\usepackage{glossaries}
\makeglossaries
...
3
votes
2answers
88 views
Creating independently-numbered Chapter-level structures
I'm writing a book in which, between chapters, I may have chapter-size chunks of text that discuss a software package related to the book's content. Consequently, I wish to label these things ...
0
votes
1answer
79 views
Customizing table of contents
Could someone please give me a hint on how the virtual chapter is inserted ine the table of contents in the example below? I've tried to use \addcontentsline before this virtual chapter, but this ...
7
votes
3answers
174 views
TOC in double language
For my thesis, I have to write the table of contents in two different languages.. (don't ask me why...). Is there a way to do it?
2
votes
1answer
84 views
How to prevent “CONTENTS” from appearing as a header in ToC
In the documentclass report, how do I prevent "CONTENTS" from appearing in the header of the Table of contents?
In the preface I have no header, only page numbers, and in the main part I want ...
2
votes
1answer
62 views
Add new toc-type showing different section levels
All references I found so far on the subject only show how to set the number of levels shown in a table of contents (through \setcounter{tocdepth}{n}.
But I would like to define a new (additional) ...
2
votes
1answer
80 views
\addcontentsline on a page with image
According to Added chapter with \addcontentsline does not appear on ToC, the reason why section 2 doesn't show up in the TOC is because it is an empty page. However, even when I added an image, TOC ...
1
vote
1answer
196 views
How to remove the section name of \printglossary?
I added a heading for my glossary with \addcontentsline.
However the \printglossary command still creates an additional section heading.
How can this be removed?
Screenshot:
Code:
% Glossary
...
2
votes
0answers
83 views
TOC and companion headings in memoir class [closed]
I'm writing my thesis in the memoir class, with the companion headings (\pagestyle{companion}). Following on from the TOC, I have the acknowledgements, abbrevations and abstract, before the ...
1
vote
1answer
62 views
Merge items in list of floats
My seraching creativity didn't provide useable results so far, so I have to ask this question...
I have a group of related (figure-like) item types (music examples) which I include in different ways:
...
0
votes
0answers
177 views
Problem with table of contents [closed]
I have this code
\documentclass[11pt]{article}
\usepackage[landscape,twocolumn, margin=2cm]{geometry}
\usepackage{fancyhdr,lipsum}
\usepackage[utf8]{inputenc}
\pagestyle{fancy}
\fancyhf{}
...
5
votes
1answer
168 views
How do you modify LaTeX's sectioning hierarchy?
I am trying to create a new command, so I could use a new hierarchy level in a book document class.
The table of Contents should look like this:
Part I
Theme I
1. Chapter 1
2. ...
3
votes
1answer
115 views
How to change the font of page numbers in TOC LOT LOF without “tocloft”?
It can be easily done with tocloft, however, as there are already many settings for the whole document, using it caused the changing of spacing, and some conflicts with other packages, etc, compared ...
3
votes
1answer
178 views
How to add \lstlistoflistings to the table of contents?
can someone tell me, how to create an entry for the \lstlistoflistings command in the TOC? I want, that you can see the page number where the list can be found.
0
votes
0answers
109 views
List of Hypotheses [closed]
I have some problems with getting a list of Hypotheses.
I have tried to implement the solution suggested in the post “Custom list of hypotheses in table of contents format”.
When I run the example ...
3
votes
1answer
158 views
How to tweak the LOF and LOT without using any packages?
The list of figures/tables in default book class looks like:
Default looking:
List of Figures
1.1 Snapshots .................. 2
1.2 Snapshots .................. 4
1.3 Snapshots ...
0
votes
2answers
97 views
Glossaries in List of Figures overflow
Given a figure with a caption, in this caption a glossary term in used as in \gls{wysiwyg}
At the document beginning, after the contents, the \listoffigures command is given.
As the caption ...
3
votes
2answers
96 views
How to remove “Algorithm #” caption prefix but keep list of algorithms?
I am using the algorithm-package and would like to name my algorithms without any generated prefix. So I would like to remove "Algorithm #" as prefix from my caption, but still keep the list of ...
7
votes
1answer
108 views
How to change the display of subfigures in List of Figures?
I'm using the subcaption package and I would like to change the display in the List of Figures of the subfigures.
Right now, it displays as :
2.1 Caption 1 . . . . . . . . . . . . . . . . . . . . . ...
4
votes
1answer
92 views
How to add the pdf-bookmark of TOC without its name “Contents” in TOC
Since the link of TOC itself in TOC looks stupid,
\usepackage[nottoc]{tocbibind} % no `Contents` in TOC
is used to remove it.
However, The Bookmark Contents will disappear in the index (on the ...
1
vote
1answer
104 views
Subsections without numbering in ToC and document
I have a table of contents which I want to modify. I want subsections without a number, in the document and the ToC.
I'm using memoir.
\documentclass[12pt, a4paper, makeidx]{memoir}
I have the ...
3
votes
1answer
106 views
Add the word “Algorithm” before each entry in the List of Algorithms
I'm trying to add the word "Algorithm" before each entry in the List of Algorithms (because of unavoidable thesis guidelines).
I saw similar questions but the solutions listed there don't work for ...
1
vote
1answer
115 views
Change the chapter font in TOC without using “tocloft” package
As using tocloft in book class produces some unexpected side-effect, I wonder how to change the chapter font (e.g. 1 Introduction) as sans serif without using any other packages?
For example, change ...
7
votes
1answer
180 views
How to create fancy table of equations (to be typeset before the equations are rendered in text)
Is there a way to create a command which adds to a table or otherwise typesets in a place specified by the user? Example of what I'm after
\documentclass{article}
\begin{document}
\tableofequations
...
0
votes
0answers
122 views
Spacing issue when using tocloft and fontspec together
I'm using tocloft for creating a List of Equations and I think there's no other way to avoid using this package.
However, everytime when tocloft and fontspec from XeLaTeX are used together the ...
0
votes
0answers
143 views
How to print glossary and/or acronym in table of content (permeable) part in uclathesis class tex document [closed]
I am writing my phd thesis using uclathesis class and would like to put the glosser/acromyms in permeable of part (I am not sure if it is right to say in table of contents) Here is the code
...
6
votes
1answer
105 views
When writing my own document class, certain options don't get passed to base class. Why?
I'm trying to create my own class using scrbook as a base class, and biblatex as for my bibliography. Consider this MWE:
\documentclass[bibliography=totoc,fontsize=12]{scrbook}
...
7
votes
1answer
237 views
Text alignment issue in custom Table of Contents
As you can see from the image below, I have an issue with the text alignment of extra long chapter names. How can I fix it so that the text will not go further left than the start of the chapter name? ...
3
votes
2answers
101 views
What variable contains the word “Appendix” when a chapter is an appendix?
I've designed a whole new fancy chapter header layout, and have hard coded the word "Chapter" in there before the chapter number. I just realized now that this won't work because I have an appendix ...
3
votes
1answer
84 views
Subfigure link in List Of Figures don't redirect to the subfigure
I'm having some problems with my List Of Figures.
I have a couple subfigures in my report, and when I go to the list of Figures, the link for the main caption works well and redirects to the right ...
1
vote
1answer
65 views
Insert text in ToC but not in Shorttoc
I'm trying to find a way to insert some text at the end of the table of contents, without it being written in the shorttoc.
To be precise, my advisor does not want me to write "Written with \LaTeX" ...
3
votes
1answer
210 views
longtable list of tables caption problem
I am writing a MS dissertation, and using a long table in my thesis. I have a problem related with the caption of the long table in list of tables(LoT). Table 4.1 which is seen below, is a long table ...
0
votes
0answers
46 views
How do I change the header of table of contents with amsbook style file? [duplicate]
Possible Duplicate:
Using the amsbook Class
I am trying to change the header in the table of contents page with amsbook style file.
I tried:
\makepagestyle{calification}
...
3
votes
2answers
368 views
list of figures and page numbering
I made a list of figures at the end of my document and i have a problem. List of figures is longer than one page and i don't want any page numbers on any of these pages.
Unfortunately comands below ...
1
vote
0answers
69 views
Section anchors invisible in main body, but visible in table of contents?
I'm writing up my PhD thesis using the memior class. This thesis starts off by using chapters and sections as one normally would.
Later on in the thesis though, I insert many pdfs into this document ...
