Questions tagged [titletoc]

{titletoc} is a package to handle ToC entries. Its philosophy is similar to that of its companion {titlesec} -- instead of hooking the commands as defined by standard LaTeX and classes, there are new commands to format the ToC entries in a generic way.

is a package to handle entries. Its philosophy is similar to that of its companion — instead of hooking the commands as defined by standard LaTeX and classes, there are new commands to format the ToC entries in a generic way.

Frequently Asked Questions

  1. How can I customize the table of contents with TikZ?
  2. How can I include chapters in the list of figures using titletoc?
  3. Understanding an example in titletoc's documentation
  4. Modifying mini-ToC content
363 questions
5
votes
1 answer

minitoc for section printing the starred versions of subsection

My objective is to print a mini ToC under a section but this mini ToC should only print the subsection* automatically and not appear in the main ToC. As a reference, I am using the following: sample and another sample. What I have gathered so far…
azetina
  • 28,884
2
votes
1 answer

Section titles alignement with titletoc

with the following code \documentclass{book} \usepackage[T1]{fontenc} \usepackage[english]{babel} \usepackage{titletoc} \titlecontents{chapter} [0em] {\vspace*{\baselineskip}} {\mdseries \contentslabel[\thecontentspage] {0mm} \hspace*{1.4em} …
user41063
  • 1,967
1
vote
1 answer

How to format \contentslabel in titletoc?

so in making ToC, \contentslabel gives you the section number, and using \thecontentslabel give you the default format. The problem is that this number is in arabic, while I want to use roman. Titletoc gave \contentslabel[] to reformat this,…
1
vote
0 answers

How to add a TOC of subsections at the beginning of each section in a book

Right after each section title, I would like a partial TOC of the subsections in that section and that section only. titledoc's \startcontents[sections] \printcontents[sections]{p-}{2}[2] prints all the subsections in the chapter and I have not…
schremmer
  • 2,107
1
vote
2 answers

Insert tab space in title of contents text

I have sections with names that follow the format and some of the numbers are longer than others. When the table of contents is created, the portions are not aligned. For example, with the attached MWE, the table of contents looks like this: I…
rsgny
  • 281
1
vote
0 answers

Titletoc - addtocontents not obeying partial toc \startcontents

Consider the following MWE: Two chapters. The first chapter additional injects two items to toc a) - One via \addcontentsline b) - A second via \addtocontents (a) behaves properly in respect of the partial toc (b) is carried through to the partial…
1
vote
0 answers

Assigning Page Numbers to SubSections in titletoc

I am working on a Table of Contents that was typeset in LaTeX (I didn't do it manually). The TOC is created using the titletoc package. Here is the current code of importance: \documentclass{easychair} \titlerunning{ICMI Study…
1
vote
0 answers

upgrade to texlive 2019 - printcontents from titletoc doesn't use specified titlecontents formatting

Just upgraded to the 2019 version of LaTeX. Prior to upgrading, this command had no problems: \printcontents{l}{0}{\setcounter{tocdepth}{1}} After upgrading, this command does not print the secondary table of contents. If I remove the…
1
vote
1 answer

Indentation after line wrap in listoftables/listoffigures using titletoc

I am trying to better understand the titletoc package behavior. I am wondering if there is a decent way to control the hspace infront of all the "wrapped" lines. In other words, of all lines except the one containing the label. Is there a way to…
ls.
  • 125
1
vote
0 answers

How to increase linespread in titletoc?

I was using titletoc to include 'CHAPTER' in the table of contents. But for long chapter titles, the linespread became uneven (see figure). This has disrupted the double spacing format using \linespred{2} that I have applied and wanted to be…
enryck
  • 65
  • 1
  • 5
1
vote
1 answer

Subsection titles (and not only) alignement with titletoc

Referring to this tread Section titles alignement with titletoc I've a further and (I hope) last question. I've a problem to apply this code to subsection to obtain this result: My (wrong) code it's only a rough and wrong attempt to change the fine…
user41063
  • 1,967
1
vote
0 answers

Mfirstuc.sty not found error at \usepackage{titletoc}

\usepackage[nottoc,notlot,notlof,numbib]{tocbibind} \usepackage[titletoc]{appendix} \usepackage{titletoc} One of these line is giving the error mfirstuc.sty not found. I tried installing package using miktex 2.9, it apparently does not know any…
1
vote
1 answer

Roman numbered sections missing when using titletoc

Working on my thesis template and need help understanding titletoc. I've found an example of a TOC i liked, copy/paste, looks wonderful, but my sections that have roman numerals are missing their numering. The code that does things with the TOC…
Buschmann
  • 943
0
votes
0 answers

Figure captions stagger out of margin in List of Figures using package titletoc

Figure captions stagger out of margin in the Chapter List of Figure created using the package titletoc. How to fix and make sure captions stay within the margin? Using package tocloft changes the heading title from the other chapters.
0
votes
0 answers

Default arguments for tabletoc tablecontents?

I am trying to add some text in my table of contents a la this question. I am already using titlesec, so the titlecontents command from the titletoc package seems to fit the bill. However, I am not sure how to only edit the bits that I need. …
Him
  • 169
  • 1
  • 8
1
2