2022 Developer Survey is open! Take survey.

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
16 views

Wrong page number in TOC for endnote

When I set the list heading of an endnote part to \chapter in order to have a page break, it occur a bad pagenumber of the endnote part in the TOC. MWE \documentclass{book} \usepackage{lipsum} \...
user avatar
  • 2,080
0 votes
0 answers
13 views

Graphic size error in lyx

i am getting this error : Latex error :cannot determine size of graphic Try typing to proceed. If that doesn't work, type X to quit.
user avatar
0 votes
1 answer
26 views

Capital Appendices in TOC

I'm fairly new to latex and I am trying to prepare my thesis document by using Latex. Unfortunately, I have a problem in table of content. In TOC, "Appendices" should be capital like "...
user avatar
  • 3
1 vote
2 answers
48 views

Dot spaces in Contents and Index

First an MWE and its output: \documentclass[a4paper, 10pt]{book} \usepackage{hyperref} \usepackage{imakeidx} \makeindex \newcommand{\AddIndexLetterToTOC}[1]{\textbf{#1}\phantomsection\...
user avatar
  • 2,791
2 votes
1 answer
34 views

Correct way to add index letters to TOC

First a MWS and its output are as follows. \documentclass[a4paper, 10pt]{book} \usepackage{hyperref} \usepackage{imakeidx} \makeindex \usepackage{filecontents} \begin{filecontents}{\jobname.mst} ...
user avatar
  • 2,791
0 votes
1 answer
34 views

Change Acronyms header to match list of tables/List of figures (glossaries)

I'm using Overleaf to write my thesis. I want to format my list of tables/list of figures and add them to the table of contents. Most of the following code is copy and paste from other answers on this ...
user avatar
0 votes
1 answer
20 views

table of content file is empty after pdflatex compilation

On compiling a tex file into a pdf by pdflatex sample.tex, which contains \tableofcontents command, file sample.toc is generated as expected. However it is empty (0 bytes). Here are the files: sample....
user avatar
0 votes
0 answers
17 views

the headline of the table overlap with the first section

I'm facing a problem with using a ready package, I need the section header in the same line as text but at the same time I don't want the headline of the table of contents to overlap with the abstract ...
user avatar
  • 1
0 votes
1 answer
29 views

Section name not displaying correctly in ToC

I faced a problem with the Table Of Content in LaTeX (see the picture) The code I'm using: Preambule: \usepackage[left=1.5cm,right=1.5cm,top=2.5cm,bottom=1.5cm]{geometry} \usepackage{fancyhdr} \...
user avatar
1 vote
1 answer
24 views

Creation of a new command so that you do not have to write a certain caption by hand

I have a problem. My figures should have a caption like <Caption> - Own representation, based on [1]. As you can see I am writing Own representation, based on [<literature>]. Is there an ...
user avatar
  • 151
0 votes
2 answers
42 views

bold math in section yields wrong navigation text

I have the problem, that I want a math-symbol with text in the section name. The problem is, that \boldsymbol yields something really weird in the navigation bar on the left (namely something like ...
user avatar
  • 103
0 votes
1 answer
22 views

Edit a Part title page. Book document

Could anyone give me some help with editing a \part title page? When introducing a part a whole page is reserved for the name of this part before the rest of text in it, and I would like to add some ...
user avatar
0 votes
0 answers
9 views

Creating a document header with titlesec

I am making a small document and want to add a smaller header at the top of the first page as opposed to making a title page. I have some simple design ideas in mind; however, I'm not sure how to ...
user avatar
  • 143
0 votes
1 answer
37 views

In the kaobook class template, I've managed to add a subsubsection; but what do I have to do for showing subsubsections in kaobook side TOC?

%\setcounter{secnumdepth}{\kao@secnumdepth} % Set section numbering %depth \setcounter{secnumdepth}{3} \counterwithin*{sidenote}{chapter} % Uncomment to reset the sidenote counter at each chapter %\...
user avatar
0 votes
0 answers
19 views

How to make the page of toc generated by tableofcontents related with the number of chapter?

Here is an MWE: \documentclass{book} \usepackage{tocloft} \makeatletter \ExplSyntaxOn \renewcommand{\cftsecpagefont}{ \int_to_arabic:n { \c@chapter } - } \ExplSyntaxOff \makeatother \begin{...
user avatar
  • 419
0 votes
1 answer
45 views

How to create a list of symbols in online LaTex editor Overleaf?

I would like to: a) create a list of symbols; b) which is listed on the table of contents. I've tried the following code but the title "List of Symbols" does not appear on the table of ...
user avatar
0 votes
0 answers
31 views

Font and style in Table of Contents

I am using a template for my thesis (Thesis - University of Bergen - Masters thesis pre-template (Infomedia)), and there is a problem with the style of the contents. The number to the far right is in ...
user avatar
0 votes
0 answers
27 views

unnumbered Section* in Header without using chapter

\documentclass{article} \documentclass[12pt,twoside]{article} \usepackage[utf8]{inputenc} \usepackage[a4paper, left=2cm, right=2cm, top=2cm]{geometry} \usepackage{fancyhdr} \pagestyle{fancy} \...
user avatar
0 votes
1 answer
53 views

How to place tables side-by-side by using "\minipage"?

I hope my final table to be like: | SUBTBL1 | SUBTBL2 | | SUBTBL3 | SUBTBL4 | and it is, but part of the table overlaps with the text, what should i do? Here is my preamble : \documentclass[...
user avatar
0 votes
0 answers
24 views

How do I change the font type in the table of contents in LyX

Hi all I would like to change the font type of my table of contents of a document written in LyX to Calibri (I have it installed and the rest of my document is in calibri) Document class: Article Page ...
user avatar
0 votes
1 answer
30 views

Tufte-handout table of contents font problem with kpfonts and lualatex

I am trying to use kpfonts with tufte-handout class. For some reason the table of contents font defaults to Computer Modern roman when compiled with lualatex, rest of the document compiles correctly. ...
user avatar
  • 1,549
1 vote
0 answers
42 views

How to create an alphabetical attachment list that supports unicode characters?

I would like to be able to create a list of attachments similar to the list of figures or tables. However, since it makes little sense to sort the attachments by page number, I would like to sort them ...
user avatar
  • 281
0 votes
2 answers
48 views

write "Section 1" instead of "1.1"

How can I write section 1 instead of 1.1 in my report and show it on Table of Contents this is the only solution I have founded but this do not show section on table of content \section*{Section 1 :...
user avatar
0 votes
0 answers
12 views

Making all ToC entries uppercase with memoir class & hyperref

I need to update my organization's style file to make it hyperref-compatible. It uses the memoir class and requires all of the table of contents entries to be in all-caps: Per Lowercase TOC with ...
user avatar
  • 133
0 votes
0 answers
68 views

tableofcontents, chapter, etc. showing up in weird font

PROBLEM SOLVED, SEE EDITS 2 AND 3. so i have several files written in bulgarian that are set up to compile into one PDF however in the process of doing so, several errors popped up despite me ...
user avatar
0 votes
1 answer
31 views

Wrong page in toc using book document class

I am using this template for my book but am unable to correct page numbering for chapters. In TOC, it shows page 1 but actually, the chapter starts on page 2. I want chapter 1 to start on page 1. ...
user avatar
0 votes
0 answers
31 views

How to hide/show some levels of the Table of Contents in different tables?

I am writing a project where I include different table of contents and levels go from Parts to subsubsections. I would like to include a table of contents at the start before all the parts that only ...
user avatar
0 votes
1 answer
25 views

Remove page link/number from table of contents for Part, make it centered and name in new line

I am trying to reproduce the format of table of contents shown here: My attempt: \documentclass[12pt]{book} \usepackage{tocloft,titletoc} %\cftsetindents{section}{0em}{2em} %\cftsetindents{...
user avatar
  • 757
0 votes
1 answer
16 views

How to Increase the Separation of the Numbering and Caption on a List of Definitions to Avoid Overlays

I'm working with a list of definitions (LOD) that wich, in essence, is the one presented in the following pice of code (except for the numbering). I am running into the issue that, for large numbers, ...
user avatar
1 vote
1 answer
17 views

Section number not appearing

Disclaimer: Essentially none of the code is original to me; I got it from various places online (for example, the nice looking TOC was from this answer.) My problem: The section number is not ...
user avatar
  • 13
0 votes
1 answer
16 views

Figure caption with long description, but description not in list of figures

I try to have longer descriptions for my figures after the caption. So far, I found a solution to do that. However, the longer description is also displayed in the list of figures, which I don't want. ...
user avatar
0 votes
1 answer
21 views

Hyperref from document to the page of Table of Abbreviations

I am creating a glossary in a big document using \printnoidxglossaries. At some point, in the document I want to mention "The abbreviations can be found in \ref{abbrs}". However, if I try to ...
user avatar
  • 21
0 votes
0 answers
22 views

Im Trying to make a Table of Contents, however There is some Overlapping of the Text and the Roman Numerals

If I execute The following code, I get a Problem that stuff is overlapping each other, Can someone help me? \documentclass{report} \usepackage[ngerman]{babel} \usepackage{textgreek} \usepackage[...
user avatar
0 votes
1 answer
36 views

No "chapter" text for one chapter in tocloft

I currently have the following ToC code: \usepackage{tocloft} \renewcommand{\cftchapfont}{\chaptername } \newcommand{\likechapter}[1]{ \chapter*{#1} \phantomsection \addcontentsline{...
user avatar
2 votes
0 answers
35 views

Format table of contents in beamer

I can create a table of contents in beamer using \begin{frame}\frametitle{Outline} \tableofcontents \end{frame} which will lead to a list similar to enumerate, i.e. first section second section ... ...
user avatar
  • 21
0 votes
0 answers
16 views

amsart: Two Tables Of Content, one for Main Text, the other for Supplementary Material

I wish two TOCs for an amsart document. But the second TOC should appear after the main text (and after bibliography). I found a solution somewhere (which I cannot find again) but it uses book and ...
user avatar
  • 4,498
1 vote
2 answers
33 views

Increase spacing in table of contents only for specific portion

I have a text with some chapters, then all the indices and afterwards the appendices. When I just print the table of contents in the beginning, the heading of the appendix is too long and it overlaps ...
user avatar
0 votes
0 answers
46 views

Specifying a Second Line Indentation When addtocontents Entries are Long

This post asks a more general question than Formatting the Display of Multi-Lined addtocontents Entries. Consider: \documentclass{book} \begin{document} \Large \addtocontents{toc}{\protect {\textbf{I....
user avatar
1 vote
0 answers
43 views

Formatting the Display of Multi-Lined addtocontents Entries

In the following MWE \documentclass{book} \begin{document}\large \addtocontents{toc}{\vskip 10pt} \addtocontents{toc}{\protect {III. The words of this sentence are quite a few; I would like the ...
user avatar
0 votes
0 answers
13 views

Addition of text to LOF makes it appear twice in TOC

I added a quote to my list of figures using the following code, and this makes the LOF appear twice in the TOC. Does anyone know how to solve this by any chance? \addtocontents{lof}{% \protect\...
user avatar
  • 239
0 votes
0 answers
31 views

How to have text in ToC be different to text in Chapter title

So I'm writing a document that requires me to add an asterisk after a chapter title. However, I cannot have the asterisk be a part of the chapter title in the table of contents. Is there a way to ...
user avatar
0 votes
0 answers
13 views

Repeat TOC at each part and highlight relevant entries

At every part I would like to repeat the full table of content, but would like to highlight the entries that are in this part. Is there a toc package which supports this?
user avatar
0 votes
2 answers
27 views

table of content section numbering dots remove

I want to remove the dots from the section numbering from the ToC. Babel is enabled.
user avatar
1 vote
2 answers
84 views

Align equations separated by paragraphs

I would like to align equations separated by paragraphs while retaining there auto-generated label and \listof label for after the toc. How would I align these equations and keep the \...
user avatar
0 votes
1 answer
23 views

Page number always centered in automatically generated TOC

I have a setup where my page number is always on the bottom right side on the page, I do this with: \usepackage{fancyhdr} \pagestyle{fancy} \fancyfoot{} \fancyfoot[RE,RO]{\thepage} However, when I ...
user avatar
  • 1
1 vote
1 answer
38 views

Aligning the reference centred on the heading

I have a problem. The reference under the list of tables and list of figures is not centred on the heading. It is slightly indented, like with a tab (see the first photo). The second photo shows how ...
user avatar
  • 151
1 vote
2 answers
64 views

How do I number all the chapters but the first?

It seems that \tableofcontents gets assigned the number 0 when using the article class. I want that remove – basically, remove the 0 and keep everything else the same. This is the code: \...
user avatar
0 votes
0 answers
22 views

Some edits with thebibliography environment

I'm finishing a work (format: book) and I wonder if there's any way to achieve this 3 requests with thebibliography environment: Change name of section. As I include some webgraphy, I rather to show &...
user avatar
  • 85
1 vote
2 answers
66 views

latex if condition showing up

I have a latex template which auto generates a table of contents (my university made this template). They have since changed their formatting requirements but won't offer help in updating the template....
user avatar
0 votes
1 answer
35 views

Change font style for specific entry in TOC

Is there a way to specify a different font style for one specific entry in the TOC using tocloft or otherwise? For example, is it possible to bold just the first section: Section 1 ..... 1 <-- ...
user avatar

1
2 3 4 5
132