Skip to main content

Questions tagged [etoc]

The {etoc} package allows to customize the table of contents.

Filter by
Sorted by
Tagged with
1 vote
1 answer
46 views

etoc and hyperref or bookmark package (newly) nuking \tableofcontents

I think that the etoc and hyperref (and bookmark) packages are no longer compatible (they used to work together for me but suddenly stopped - hyperref looks like it was most recently updated). (And to ...
brad's user avatar
  • 23
0 votes
0 answers
33 views

No page number for TOC entry followed by entry deeper and same page

Let's assume that my Introduction is Chapter 1 on page 1, with no sectioning. And Chapter 2, Section 2.1 and Subsection 2.1.1 appear on page 3. And Subsection 2.1.2 and Section 2.2 and Section 2.3 ...
Olivier's user avatar
  • 75
0 votes
0 answers
85 views

How to generate TOC of examples with package etoc?

With package of etoc I can easily generate the list of chapters and sections using command \tableofcontents Also it can generate the list tables and figures with command \locallistoftables and \...
xaero's user avatar
  • 459
0 votes
1 answer
57 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 ...
Albert3r4's user avatar
1 vote
1 answer
40 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: \...
MoinR's user avatar
  • 13
1 vote
1 answer
49 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 ...
Alex Raster's user avatar
1 vote
2 answers
83 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: ...
B. Dors's user avatar
  • 129
1 vote
1 answer
20 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 ...
Joseph Marie's user avatar
1 vote
1 answer
44 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 ...
Abibo's user avatar
  • 65
1 vote
1 answer
55 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 ...
RSe's user avatar
  • 13
0 votes
1 answer
194 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 ...
Wallflower's user avatar
3 votes
3 answers
105 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 ...
suricata78's user avatar
1 vote
1 answer
63 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: \...
anykey's user avatar
  • 13
1 vote
1 answer
83 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, ...
mapf's user avatar
  • 241
1 vote
1 answer
278 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 ...
mapf's user avatar
  • 241
3 votes
1 answer
112 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 ...
mapf's user avatar
  • 241
1 vote
1 answer
107 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 ...
Future Liang's user avatar
2 votes
1 answer
84 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: (\...
RosesBouquet's user avatar
0 votes
1 answer
89 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 ...
lyl's user avatar
  • 2,747
0 votes
1 answer
86 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?
fauve's user avatar
  • 2,531
1 vote
1 answer
38 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. ...
Subhajit Paul's user avatar
0 votes
1 answer
93 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 ...
lyl's user avatar
  • 2,747
2 votes
2 answers
333 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{...
lyl's user avatar
  • 2,747
2 votes
1 answer
85 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=...
Daniel Stich's user avatar
0 votes
2 answers
316 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 ...
Nico's user avatar
  • 1,694
4 votes
1 answer
409 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 ...
Nasser's user avatar
  • 20.3k
1 vote
1 answer
168 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 ...
Otanan's user avatar
  • 135
0 votes
0 answers
223 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 ...
warped.wood's user avatar
0 votes
0 answers
44 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 ...
Daniel Stich's user avatar
1 vote
1 answer
582 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} ...
Afaf's user avatar
  • 169
0 votes
1 answer
177 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} \...
Elysée Kouassi's user avatar
0 votes
2 answers
142 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 ...
domi's user avatar
  • 1,503
2 votes
1 answer
500 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 ...
Raphael's user avatar
  • 308
0 votes
2 answers
88 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 ...
user avatar
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 ...
ariel67's user avatar
  • 13
1 vote
1 answer
50 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 ...
lethalSinger's user avatar
1 vote
1 answer
473 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[...
youssef115's user avatar
1 vote
1 answer
244 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 ...
L. Pupin's user avatar
2 votes
3 answers
819 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 ...
Cham's user avatar
  • 2,328
2 votes
1 answer
309 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{...
Karlo's user avatar
  • 3,257
0 votes
1 answer
226 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,...
Phil8544's user avatar
  • 407
0 votes
1 answer
109 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 ...
Phil8544's user avatar
  • 407
7 votes
2 answers
167 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{...
Christine's user avatar
  • 115
0 votes
2 answers
105 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 ...
Stephan's user avatar
0 votes
1 answer
108 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 ...
Alex Volodko's user avatar
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-...
hfelix's user avatar
  • 11
2 votes
2 answers
994 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{...
Espoir's user avatar
  • 110
0 votes
1 answer
182 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, ...
D.Roepo's user avatar
  • 3,357
2 votes
1 answer
155 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 ...
Patrick Trentin's user avatar
0 votes
1 answer
366 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 ...
Stan's user avatar
  • 195