Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [table-of-contents]

{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}, {minitoc} and {etoc}.

0
votes
0answers
13 views

Hyperref in LoF do badbox (overfull \hbox)

I write theses and when I compile the file, I get "Overfull \hbox (1.74275pt too wide) in paragraph at lines 21--21". I think it is the problem with hypperref as you can see in the picture bellow. (...
0
votes
1answer
25 views

Table of Contents Spacing/Indentation

I need help formatting my Table of Contents. All my sections have a roman numeral numbering system that I would like to keep but it does not space it right in the Table of Contents. I also prefer the ...
2
votes
1answer
36 views

Differentiated TOC/body section names in reledpar

In a reledpar project I'd like for some sections to appear in the TOC with different names than how they appear in the body. Normally this is straightforward: \section[name in TOC]{name in body}. ...
3
votes
2answers
66 views

Independently style head in TOC and in document

I'm using a custom typescript (after help in this question) which includes (among other things) two additional weights, medium and semibold, and their size modifiers (like \tfa, \tfb and so on). ...
0
votes
0answers
27 views

How to not list a quantum circuit (made with qcircuit) in the list of tables of the document?

I'm using qcircuit to draw quantum circuits. They're built using LaTeX's table environment, but my circuits are not tables. How can I make sure they're not listed in the list of tables built by \...
2
votes
1answer
31 views

ToC - add manual prefix “Part” to hyperref

I successfully added the prefix "Part" to my toc following this answer. However, it is not included in the hyperlink to that part of the document. Here is a MWE: \documentclass[a4paper,twoside,...
0
votes
1answer
33 views

Table of Contents incorrect header format [closed]

In my document, I have many pre-sections (i.e. Table of Contents, List of Figures and List of Tables). Unfortunately, when I run my LaTeX file, those sections (TOC, LOF and LOT) have the incorrect ...
2
votes
1answer
43 views

Problems regarding the prefix of TOC lists while hiding appendix caption/section titles in the TOC

Please take a look at the provided minimal example. I try to achive the following three things: Add "Equation" as prefix for each entry in the list of equations Add "SpecialAlgorithm" as prefix for ...
1
vote
2answers
36 views

Printing \toccontents and \tableofcontents

I want to print both \toccontents and \tableofcontents (in two separate parts of my document). However, printing the first stops the second from being printed. I have seen a number of related ...
2
votes
1answer
46 views

How to effectively use List of Symbols for a thesis using .bib files?

Actually, this question has been already asked here: How to effectively use List of Symbols for a thesis? And there is a very good answer with 4 methods. However... Thank you very much for the ...
2
votes
1answer
17 views

Customize the look of the table of content of beamer theme Boadilla

I want to get rid of the numbered circles in the table of content: And have normal text, like "1. First Section" "1.1 First Subsection" and so on. Here is a MWE: \documentclass{beamer} \usetheme{...
0
votes
0answers
30 views

Change paragraph TOC style

i'm modifying my LaTeX template, and I used the code from this answer to modify a few things in my TOC. Currently i have this code [Modified in order to make it compilable, using the same libraries my ...
0
votes
0answers
38 views

Adding list items to table of contents: with numbers and indentation

This post is focused on making the solution presented in this post more flexible. I have a document that consists mainly of a large nested list. It is appropriate to put the first two levels of list ...
0
votes
0answers
31 views

Add short toc entry to toc entry and vice versa

Taking heavy inspiration from the answer to: Hide toc from toc, and shorttoc from shorttoc I have made the following code: \documentclass{memoir} \newcommand{\shorttoc}{% \renewcommand*{\...
0
votes
0answers
24 views

Customize ToC and section formatting: Make the Table of Contents really a table

I am using LaTeX to store my solutions for some problems at school for future use. I store each solution in a section, like this: \documentclass{article} \usepackage{hyperref} \usepackage{lipsum} \...
0
votes
0answers
25 views

How to add indented TOC entry using \addcontentsline?

I am trying to manually add several subsections to my table of contents. How do I do this? When I use \addcontentsline the entries appear as sections (with no indent), not subsections. Specifically, ...
1
vote
1answer
17 views

Beamer raggedleft tableofcontents is not shown correctly in subsection and subsubsection

I would like to create right aligned tableofcontents in Beamer but subsection and subsubsection aren't fit for right to left aligned! current output: desired output: % !TEX TS-program = xelatex \...
2
votes
1answer
42 views

algorithm2e left-aligning the caption as the caption for figures in memoir

I am trying to left-align the caption of algorithms of algorithm2e to match the captions of the figures. Taking a look at Align Caption to the left , here is my code so far: \documentclass[12pt,...
1
vote
1answer
53 views

Error: Argument of \newcommand{…} has an extra }

I am trying to create a new command to help formatting the entries of the list of figures. Argument 1 should be optional and contain the date the source was accessed, argument 2 is simply the figure's ...
0
votes
0answers
25 views

List of listings: problem with the STYLE of table of contents

I have some problems with making of table of contents for listings. I would like to add to my document (memoir class) the List of Listings but I could only obtain it with totally a different style ...
3
votes
1answer
52 views

Adjust TOC title font, size and weight using tocloft

I would like to use the tocloft package to make some adjustments to my TOC. This MWE is based on the accepted answer to this question. \documentclass [a4paper,11pt,twoside]{book} \usepackage{...
2
votes
2answers
42 views

Add all my text in one cell of the table and being able to see the other columns

I want to have a table with three columns. The first column have a long text and the others have short. I am using below code: but the text in first column cannot be seen well and the other columns ...
4
votes
4answers
135 views

Additional short TOC in scrbook

Visibly the KOMA class lacks the possibility to add a second, e.g. short, table of contents (TOC), while memoir does as in the following adopted example. See also Include Detailed Contents entry in ...
1
vote
1answer
51 views

Tableofcontents with footer but without header

The header should be empty in the tableofcontents. The footer should contain the page number. The following code (which comes from another question which I cannot find anymore) does not display the ...
1
vote
2answers
49 views

ToC (fig, tab, index, glossary & bib) each in a subsection beneath a Section called References

How can I make ToC, LoF,gls, idx & bib lists as a subsection? I use lualatex and tocbibind package. But the bibliography does not show up in ToC as well as I would need to get the entries of all ...
0
votes
0answers
28 views

How can I left align the table captions in the list of tables in my book class document

Some of my table captions are long and they cause some words to have too much space between them. I think they would look much better if the captions were left aligned in the list of tables. I think ...
2
votes
1answer
30 views

New command for multiple subsection

I am writing an university report and I have to answer to a series of topics divided in points. I'd like to obtain a header like this 1.1.a,b,c. I have written this command to generate a single ...
2
votes
1answer
63 views

TOC in a bilingual paper at arXiv

I have one paper on arXiv with a translation. I followed the instructions here, and arXiv have made one pdf-file from two tex-files. However, every section in the table of contents (bookmarks) always ...
1
vote
0answers
46 views

`titlesec` and `memoir` class incompability

I know that titlesec is not fully compatible with memoir document class and generally it is not a good idea to combine them. However, I'm just curious, if it possible to work around my problem. MWE: ...
4
votes
2answers
115 views

A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

I found a lot of questions abount appendices and ToC. Many users want appendices to be grouped in an Appendix part, however some problems arise with ToC, hyperref, PDF viewer bookmarks, and so on. ...
0
votes
0answers
57 views

Suppressing page numbers

I am using the book document class and am trying to suppress the page number print out in the ToC. I am using the commands \phantomsection \addcontentsline{toc}{part}{lipsum} to include an entry ...
1
vote
0answers
21 views

text spacing of tables numbers in list of tables [duplicate]

I just use documentclass(report) and \listoftables. And my tables in the documents have so long names for section name, like III.3.1.1 , and so on. So, when i compile the tex file, it became like this ...
1
vote
1answer
39 views

controlling spacing between lines in tree of contents

Since yesterday I have learned that doing a hard reset on a git branch also throws away stashed changes. So, I need to recreate some steps that I have inadvertently thrown away. Unfortunately I cannot ...
0
votes
2answers
60 views

Listings, tables and figures in one Table of Contents

Because I am a completely newbie I do not know to solve the above described problem and I also did not found anything at researching the internet. I like to let it look like the following example: ...
1
vote
2answers
28 views

Memoir TOC default spacing for part numbers

Taking the following minimum working example: \documentclass{memoir} \begin{document} \tableofcontents \part{first part} \chapter{first chapter} \part{second part} \chapter{second chapter} \part{...
1
vote
2answers
29 views

How can the text of a subsection title in a report be set to one thing in the body of the report and set to another thing in the table of contents?

I have a subsection title like this: \subsection{${\boldsymbol{b}}$-tagging} As this is bold in the main body of the report, it looks fine, but in the table of contents, which are not bold for ...
2
votes
1answer
43 views

Customizing List of Figure

I need to format the LoF for my thesis write-up in this format; (LoF title with 14pt font size and list entries in regular 13pt font size) My code is; \documentclass[12pt,a4paper]{report} \...
0
votes
0answers
20 views

How to Customize Table of Contents [duplicate]

I need to format the ToC for my thesis write-up in this format; My code is; \documentclass[12pt,a4paper]{report} \usepackage[utf8]{inputenc} \usepackage[hidelinks]{hyperref} \hypersetup{colorlinks=...
1
vote
1answer
23 views

Format of TOC for thesis

I apologize for the unspecified and broad question but I have no way to be specific. I'm looking to generate the TOC and List of Figure, List of Table according to the format required by my university....
2
votes
2answers
65 views

How to split a PDF into chapters or sections?

I'm searching for a way to split up a full PDF into single PDFs containing the single chapters of the document. Usually I'm using pdfjam to split / merge / ... PDFs, is there a simple way to split up ...
0
votes
1answer
44 views

Table of Contents customization

I need help to get the ToC heading in the center of the page. The code \renewcommand{\contentsname}{\centering Table of Contents} did not work for me. I need the dots after the chapter names to be ...
0
votes
1answer
46 views

List of figures showing id of figures not included

I tried to make two separate list of figures. One for Appendix I and one for Appendix E. I found this code on stackexchange.com: \usepackage{titletoc} \startlist[main]{lof}% starts main list of ...
1
vote
2answers
46 views

table of content order is different as appear on page

I am writing my thesis with LaTeX. I am facing a problem with roman numbers. Numbers that appeared on pages are correct like i, ii, iii,... But arrangement in the table of content is different. It is ...
0
votes
0answers
34 views

Table of contents - To show just “Chapter 1: Introduction” in the ToC and rest of sections and subsections numbered

I am compiling my thesis in LaTeX and I am using "report" as the document class. The thesis has 8 chapters, and I want a ToC that looks like this: Chapter 1: Introduction...…………………………..23 At the ...
1
vote
1answer
20 views

Beamer TOC overlay: begin with only sections visible

In my Beamer presentation, I want to use overlays to uncover the TOC in the following manner: Uncover all sections simultaneously Starting with the first element following the first section, uncover ...
3
votes
1answer
28 views

Beamer: how to hide TOC from first overlay slide

I'd like to have the TOC appear line-by-line, starting with an empty slide with just the frametitle visible (to be more precise, I want it to be completely grayed out according to \setbeamercovered{...
1
vote
0answers
32 views

toc - add dot after part numbers

I am trying to modify my ToC to add a dot after the number in the part section (and only in ToC, I don't want to modify \thechapter command. I did that for the chapter using this code: \...
2
votes
1answer
36 views

Bold section headings in the Table of Contents of the Springer LNCS Template

I use the Springer LNCS Template for my document and print the table of contents. \documentclass{llncs} \begin{document} \setcounter{tocdepth}{2} \tableofcontents \section{Introduction} \section{...
2
votes
1answer
55 views

“There's no line to break” after a \\ in \titleformat

I have problems when trying to compile a document with \section modified. I wrote the following code for my format: \renewcommand{\thesection}{\Roman{section}} \titleformat{\section}{\centering \bf \...
2
votes
2answers
40 views

Indenting part numbers to the left

When I produce a table of contents in my latex document which is of the report type, with just the plain \tableofcontents command, I see the part numbers and chapter numbers are in the same column. I ...