Questions tagged [etoc]
The {etoc} package allows to customize the table of contents.
106
questions
0
votes
1
answer
36
views
etoc alters heading style of contents with classicthesis
Coming from How to obtain a minitoc with classicthesis?, i now use etoc to produce local tocs with classicthesis style. However, the use of the etoc package alters the style of the contents heading to ...
1
vote
1
answer
32
views
Duplicate TOC in tabular format
For one of our large thesis project we are in need to add a duplicate TOC in tabular format with some square boxes like \Box. I am looking for solution where the output will be something to this:
\...
1
vote
1
answer
28
views
Is there a less hacky way to add section summary info to this longtable etoc TOC?
For external reasons, I need to make an actually tabular local TOC for a single section, and be able to annotate those sections with summaries. I did it, but I'm not happy with the way I abused ...
1
vote
2
answers
31
views
Uppercase for TOC entries with etocname
I'm trying to customize my TOC with etoc in book class, but I'm failing to apply MakeUppercase to \etocname.
I'm using local TOCs, hyperref and fancyhdr in case that is relevant.
My main question:
...
1
vote
1
answer
18
views
Etoc.pdf: cannot extract the snippets?
How do I access the snippets of the etoc.pdf?
Here is how page 71 looks like on my system:
I am on a Macbook with Ventura. Using "Aperçu" or "Skim", Click or Ctrl+Click has no ...
1
vote
1
answer
38
views
Can some one help me adjust my MWE for my TOC?
can someone help me adjust my TOC with the MWE code which I am going to provide.
I am trying to add dots between the titles and the page number.
The title for the section 2.1, chapter 3 and subsection ...
1
vote
1
answer
47
views
Suppress non-numbered sections from global toc and put into local toc
I am using \documentclass{book}. There are 6 chapters. The first 4 have numbered sections, created using \section{}. The last two have no numbered sections, but I artificially add several to toc using ...
0
votes
1
answer
87
views
different depths for etoc and toc
I am trying to set the depths of toc and etoc to different values, but I can't seem to work it out. The depth of etoc follows that of toc. Here is a MWE:
\documentclass[
10=2pt, % The default ...
3
votes
3
answers
95
views
Lines do not break for Chinese text in a braces scope
In our team we are encountering an issue with the line break of Chinese text when using the packages babel and etoc and compiling with xelatex. The issue only occurs when the content is placed within ...
1
vote
1
answer
44
views
etoc: typeset locallistoffigures or locallistoftables elsewhere
As it is described in reference manual of etoc, p.34, it is possible to typeset a \localtableofcontents at any place of the document.
One needs only to follow the steps:
\...
1
vote
1
answer
49
views
How to remove Bibliography from local ToC?
I am using the etoc package to print local ToCs on the scope of parts, but there is a problem: I have a global bibliography at the end of my document, which is not supposed to belong to the last part, ...
1
vote
1
answer
131
views
Using \etocsetstyle to set the style for one TOC level affects that of others
I am using the etoc package to create local TOCs, however, for some reason, when using \etocsetstyle to set the style for some levels, affects the stype of others. More concretely: when I define ...
3
votes
1
answer
85
views
Create a local TOC with arbitrary scope
I'm using the kaobook class, which in turn uses the etoc package to create local TOCs in my document. Because the local TOCs should be in the margin of the page where where they are called (typically ...
1
vote
1
answer
60
views
How can I use etoc package to customize toc with crammed sections?
How can I use etoc package to customize toc with crammed sections like the picture below?
By the way, can anybody please give a brief intro about etoc package? It seems very powerful for customizing ...
1
vote
0
answers
51
views
Attempting to recreate the 'TOC as a TikZ mind map'
I'm attempting to recreate the 'TOC as a TikZ mind map' as featured on p.47 of Jean-Francois Burnol's "The etoc package" but I cannot resolve the error that occurs on line 115:
(\...
0
votes
1
answer
81
views
Customizing TOC by combination use of etoc and tcolorbox gives unexpected output
In the following codes, I try to shipout a table of contents with two columns by etoc package. I put this toc into a tcolorbox because tcolorbox has the capacity of page-breakable. The real typeset ...
0
votes
1
answer
55
views
Make only elements appears between mainmatter and backmatter on TOC
I use etoc package in book class and try to list only elements in mainmatter.
The chapters appearing before mainmatter or after backmatter shouldn’t appear.
How to do it?
1
vote
1
answer
37
views
How to feature only chosen subsubsections in the toc
I am working on a document which contains a lot of sections, subsections, and subsubsections. I am only printing the sections and subsections in the table of contents to keep it less cluttered. ...
0
votes
1
answer
70
views
How to remove the text added by \addtocontents
\documentclass{article}
\usepackage{etoc}
\begin{document}
\addtocontents{toc}{\hfill Page\par}
% The first TOC
\tableofcontents
\section{first part}
\subsection{first part}
% The second TOC
%%%% I ...
2
votes
2
answers
314
views
Why does one \tableofcontents give two tables of contents?
I just want a table of contents with two columns by the etoc package. But the following code typesets two TOCs (please see the attached figure). Why? What's wrong with my code?
Code:
\documentclass{...
2
votes
1
answer
67
views
KOMA script etoc package changes vertical spacing between TOC heading and entries
Based on the question KOMA-script list of listings and LOF have unequal space below heading I have extended the example with a TOC. I use the etoc package in my document and the KOMA option parskip=...
0
votes
2
answers
253
views
Breakable, local table of contents with indented page numbers using etoc
I am trying to create a local, breakable table of contents using etoc. So far I had defined a new command called \chaptertoc where I placed the \localtableofcontents within a parbox. But now that the ...
4
votes
1
answer
307
views
problem with localtableofcontents from package etoc
I have large document with many chapters and many sections and subsections. (one subsection per problem) and there can be hundreds of problems in each section.
I use \localtableofcontents to make ...
1
vote
1
answer
135
views
DocumentClass-Independent Table of Contents (eToC)
I want to create a local table of contents, and am currently using etoc. I noticed that the formatting is largely dependent of the documentclass.
Below is a screenshot for the article document class ...
0
votes
0
answers
169
views
Conflict between titles mode of tocloft and tocbiding and etoc packages
I am having an issue when I use the [titles] mode of the tocloft package. I took care to load tocloft before etoc, but two problems remain. First, the titles instructions do not apply to the ...
0
votes
0
answers
41
views
KOMA script : appendix TOC with etoc package wrong label names
I use the etoc-package together with KOMA-script class scrreprt to create a appendix sub TOC. This sub TOC lists all appendices on section level down to subsubsections. The appendix titles are not ...
1
vote
1
answer
416
views
minitoc not appearing
Here is a small example of what I am trying to do:
\documentclass[a4paper]{report}
\usepackage{lipsum}
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage{float}
\usepackage{amsmath}
...
0
votes
1
answer
154
views
minitoc don't appear in chapter
the minitoc do not appear in the chapters.
Somebody knows where I went wrong?
Here is my preamble
\documentclass[a4paper,12pt,oneside]{book}
\usepackage{lmodern}
\usepackage[francais]{babel}
\...
0
votes
2
answers
109
views
How to add two two tables of contents to my document?
I need two tables of contents: one has to be short, it is an overview; the other has to be detailed and must contain every section. This latter will be inserted in the end of my document, just after ...
2
votes
1
answer
447
views
Beamer: Table of Contents based on Frame Numbers (instead of page number)
I am trying to generate a table of contents in beamer, but instead of displaying the page number on the right side, I would like to access/display the frame number. So my question is:
How do I create ...
0
votes
2
answers
74
views
Custom Table of Contents Style with Horizontal Rules
I'm trying to reproduce a custom-designed ToC (image below) with horizontal rules under the end of each chapter. I'm new to LaTeX, and not sure if something like this is even possible. I've looked at ...
1
vote
1
answer
1k
views
Subfiles package and ToC
I'm using the Subfiles package to compile a relatively large document in smaller steps. Each subfile is actually a chapter of the document. I would like to have a ToC in each chapter (in addition to ...
1
vote
1
answer
48
views
Multiple tables of contents with unnumbered parts
I want to make a 3-part document that has two tables of contents listing the sections in the second and third parts of the document, respectively. All the parts need to be unnumbered, and the tables ...
1
vote
1
answer
428
views
minitoc not work
I try to use minitoc but I don't get the style like I want :
here the code :
\documentclass[12pt, twoside, openany]{book}
\usepackage{mathptmx}
\usepackage[spanish, es-tabla]{babel}
\usepackage[...
1
vote
1
answer
214
views
Problem when customizing ToC with abntex2 and etoc
I need to customize the ToC of the text as follows:
But when using the MWE bellow:
\documentclass[
12pt,
oneside,
a4paper,
hyphens,
chapter=TITLE, % títulos de capítulos ...
2
votes
3
answers
653
views
How to create a fake ToC on a title page?
I wrote a large book of 2000 pages, so I have to split it into 4 or 5 volumes of about 500 pages (250 paper sheets), for printing and paper binding issues. Each volume would have its own front title ...
2
votes
1
answer
263
views
How to obtain a minitoc with classicthesis?
Suppose you want to write a report with a local TOC at the beginning of each chapter. This can be obtained with the minitoc package. MWE:
\documentclass[a4paper]{report}
\usepackage{minitoc}
%\input{...
0
votes
1
answer
210
views
layout problem with \full{\printindex} in Tufte documentclass
I want to edit two indexes (index and index [piece]) across the full page width in a Tufte documentclass. I am using the code as described in the following MWE:
\documentclass[nobib,twoside,symmetric,...
0
votes
1
answer
98
views
Sections do not appear in table of contents with etoc package
I use the package etoc to customize a table of contents in a Tufte-book documentclass, which contains Parts, chapters, sections, bibliography, glossary, index and "index of pieces". I use ...
7
votes
2
answers
159
views
Amsbook class + two tables of contents
I would like to show two tables of contents with the amsbook class: Consider the following MWE,
\documentclass{amsbook}
\usepackage{shorttoc}
\title{Title}
\begin{document}
\maketitle
\shorttoc{...
0
votes
2
answers
89
views
Is it possible to add a Table of Content into a chapter?
The Table of Content i want to add to the chapter is the ToC of my thesis. The Document I'm writing is the proposal for the thesis. So i want to add a ToC to a chapter of my document which is ...
0
votes
1
answer
95
views
Additional values besides title in TOC
I have an article class with multiple sections. I would like to include more values in TOC, beside just the title of the section, in a table representation. For better understanding: it will be a song ...
1
vote
0
answers
63
views
Have different section titles in \tableofcontents and \localtableofcontents
Question
Is it possible to define shorter section titles for etoc's localtableofcontents without affecting the main toc and the section titles themselves? Perhaps something akin to \section[short-...
2
votes
2
answers
772
views
How to remove a part in table of contents
I want to have two table of contents in one document so I used the package etoc and I had two table of contents of the same contents, I want like this
\documentclass{book}
\usepackage{etoc}
\begin{...
0
votes
1
answer
162
views
Sub-Toc with Multiple Colums
Using etoc, I would like to display a multi-column \localtableofcontents on the cover page of a part, with a column for each chapter.
One way to go might be the use of longtable.
Using the etoc, ...
2
votes
1
answer
137
views
Table of Contents for arbitrary objects
I am working on a document that contains a large amount of content of different type, that needs to be listed in several tables of contents.
e.g.
Contents
Chapter 1........................1
...
0
votes
1
answer
314
views
Using the etoc package with appendices -- how to make it say "appendix" instead of "chapter" in the TOCs?
I'm currently working on getting the senior thesis I've written to fit within the format requirements that I'm expected to adhere to. The last bit I'm hung up on is that the appendices must be called ...
1
vote
0
answers
90
views
memoir: Exclude entry of other TOC from each of two TOCs
I'm using the etoc package with the memoir document class to get two tables of contents (TOCs): a Short Contents listing only chapters and sections, and a Detailed Contents also including subsections.
...
3
votes
1
answer
496
views
How to correctly indent a local table of contents with etoc?
I'm using etoc to create local Table Of Contents of each chapter, but it doesn't indent it correctly. In the general TOC, it works all right, but in the local TOC, sections, subsections and paragraphs ...
2
votes
2
answers
172
views
Typesetting mind map table of contents spanning over two pages, displayed on both even and odd page
in my book project, I was inspired by fantastic table of contents display as a mindmap, posted as answer in this question:
Visual table of contents using tikz mindmap or similar
but in my case, the ...