{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.

learn more… | top users | synonyms

2
votes
1answer
22 views

Character clash in ToC with long chapter numbers

I need to change \thechapter into something that spans several characters. Doing so mixes up characters in my customized table of contents (as well as the ordinary ToC). Here's an example: Here's ...
1
vote
2answers
57 views

Chapter numbering in table of contents

I have a not so far problem from the question opened here: Adding word "Chapter" into Table of Contents for only numbered chapter entries I'm using a "literal numbering for chapters, using ...
2
votes
2answers
56 views

remove leading “part” number in toc with titletoc

Is there a way to display part names, but not numbers in ToC with titletoc? simply removing \thecontentslabel seems easy enough for chapter, section etc, but not part. Background: I used the starred ...
2
votes
1answer
20 views

How to remove page numbers in a short toc, but not from the long toc?

I would like to have a short toc with no page numbers at the beginning of my document, but a long toc with page numbers at the end. My example : \documentclass[french,a4paper,12pt,twoside]{report} ...
1
vote
1answer
41 views

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 ...
0
votes
0answers
53 views

titletoc: strange output

Using the titletoc and titlesec packages and creating the specific pagestyle, I got the strange output as shown on the pictire below. The MWE is... \documentclass[a4paper,twoside]{article} ...
2
votes
1answer
87 views

Unravel the \writecontentsline mystery

Trying to program a macro that is similar to \adcontentsline: Applying \immediate\write to, say , \frameEntry{\insertframenumber}{\inserframetitle \}{\thepage} records the wrong page number. ...
6
votes
1answer
235 views

Modify Fancy Table of Contents

I am creating a fancy ToC based on @pluton 's question How to customize the table of contents using TikZ? Although this code works fine, it seems that it missbehaves when using an appendix. Instead ...
4
votes
1answer
94 views

titletoc: section titles ragged right

I need to typeset the table of contents entries ragged right (instead of being justified): 1.2.2 Short title . . . . . 42 1.2.3 Long section title can be wrapped . . . . 44 1.2.4 Another ...
1
vote
0answers
46 views

Check if a partial table of contents or list of figures/tables is empty before showing the title

I've created a command, \importchapter{<title>}{<folder>}{<file>}{<minitables>}, to import the main <file> of a chapter from a <folder> and automatically generate a ...
2
votes
0answers
73 views

Packages to place partial TOC, LOF, LOT, LOA and LOS in some of the chapters in a report?

Context I'm doing a template for a Master Thesis based on the report class and want to achieve the following characteristics: a) Tikz-based titles, headers and/or footers b) IEEE-alphanumeric style ...
0
votes
1answer
23 views

Adding title pages into document with \input

The code below works if I do not include \input{ChapterHeading.tex}, but I would like to include this if possible? \documentclass{article} \begin{document} \input{title.tex} \tableofcontents ...
1
vote
0answers
40 views

Appendix TOC printed with last chapter partial TOC with titletoc

I'm getting a weird behavior with the memoir class and the titletoc package. I'm printing a partial TOC after each chapter (works perfectly), but for the last chapter, the appendices are also added ...
3
votes
1answer
47 views

How to wrap a TOC entry in custom code

I have a book in which I'm using titletoc and tocloft. I would like to be able to add some custom code to the code written to the .toc file. For example, I currently have a line in the .toc file like ...
1
vote
0answers
109 views

Titletoc and minitoc are not working with cftsectionname (memoir class document)

In my memoir class document I would like to get a minitable of content after each \part 's title. I have tried the minitoc package, but it is not working with the titlesec package used in my document. ...
1
vote
0answers
40 views

Reproducing the standard layout of the “book” class with “titletoc”

Is there a reference that shows how to use titletoc commands (\titlecontents, etc.) to approximate the layout of the table of contents in the standard book class? In particular, I would like to see ...
0
votes
0answers
47 views

Customize ToC entries for appendices

I want to customize the names of the appendix in the ToC. I redefined the chapternames to "Week" with \addto\captionsdutch{ \renewcommand\chaptername{Week}} and I included the chapter name in ...
2
votes
0answers
111 views

Using Titlesec, titletoc, and titleps together affects the command \tableofcontents

Writing a book of probability in arabic, I want to use the titleps package for different beautiful headpages, in my files where I use titletoc for partial table of contents. All was good until I used ...
0
votes
1answer
63 views

Table of content problem

I have prepared table of contents for my thesis like that But our university wants like that The main difference between them, In the second screenshot, chapter and section heading numbers are ...
1
vote
1answer
49 views

titletoc: problem with “left” parameter (not working for LOF)

I am having trouble with changing the style of the LOF using titletoc. Everything works fine but the left parameter (i.e. the first parameter in the square brackets containing a length measure) of the ...
0
votes
1answer
39 views

How to adapt Contents header to match other chapter headers

I am using \documentclass[a4paper,11pt,twoside,openright]{book} and customized my headers using \usepackage{titlesec, blindtext, color} \definecolor{gray75}{gray}{0.75} ...
4
votes
1answer
103 views

Chapter font in TOC with package quotchap

I cannot get the chapter titles (not the label) in bold and Large font in the TOC, while using quotchap. I get the label "Chapter" in a good font (using titletoc), but not the title which stays in the ...
2
votes
1answer
94 views

How do I color the page number in a partial TOC?

I am writing a thesis and have the first two pages of each chapter colored gray with white text, before starting with the sections on white pages. I now want a partial TOC in each chapter, on these ...
4
votes
1answer
33 views

ellipsis+titletoc+…(utf character) : does it also cause a bug and how to solve it?

The error In the MWE \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{titletoc, ellipsis} \begin{document} \addcontentsline{toc}{section}{So…} \end{document} I get the error ...
5
votes
2answers
106 views

Hyperref links in TOC point to wrong location when using titletoc

I have modified the formatting of subsections in the toc, so that they appear in one line instead of separate lines. For this i used the titletoc package. Here is a MWE: \documentclass{scrbook} ...
2
votes
1answer
70 views

add \figurename to \listoffigures (package titletoc)

at the moment I'm a little bit fighting with my listoffigures. - I 'just' want to put the \figurename(here it is "Pict.") in front of the \contentslabel in the lof. Here's a little code example: ...
4
votes
1answer
73 views

How to make a separate toc in appendix

I want to have a table of contents in the appendix. My situation looks like this: --rest of document-- \appendix \setcounter{secnumdepth}{3} \chapter{Title of appendix} \stopcontents ...
2
votes
1answer
237 views

Alignement in table of contents (\titlecontents)

In the code below, I use \titlecontents{part} to customise the way the parts are displayed in my table of contents. \titlecontents{part} [0em] ...
2
votes
1answer
198 views

How to modify \titlecontents{part}?

For the moment, I have and I would like to change the part entry to obtain something like that Can you help me to modify the code below? \documentclass{book} \usepackage[english]{babel} ...
3
votes
1answer
72 views

On the use of \titleofcontents to customize the table of contents

I use the following piece of code (titletoc package) to customize the "part entries" of my table of contents. Can you help me to push the page number to the right so that it is aligned with the other ...
2
votes
2answers
701 views

Adding word “Chapter” into Table of Contents for only numbered chapter entries

I'm trying to use the titletoc package to add the word "Chapter" only to my numbered entries in my Table of Contents. I'm using a report document class. I'm really close (I think), I just need to know ...
4
votes
1answer
125 views

Generate a ToC from left to right: author, page number, title

This is the kind of layout that might occur in a compilation, front page of a journal, magazine, or a book with each author having a separate entry or article. I'm trying to generate a table of ...
6
votes
3answers
452 views

Titlesec & Titletoc: dangerous relationships

Please, consider the following code: \documentclass[a4paper]{report} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[italian]{babel} \usepackage{cfr-lm} \usepackage{titlesec} ...
4
votes
1answer
227 views

How to imitate great looking Motion Mountain ToC, including hyperlinks?

I wanted to customize my ToC to look more or less like the one in Motion Mountain physics textbook, including clickable page numbers. My decision was to use hyperref and titletocpackages. Now it seems ...
2
votes
1answer
516 views

Customization of chapter entries in Table of Contents

I want to customize chapter entries in Table of Contents. \documentclass[final]{book} \title{Title} \author{Author} \date{} \begin{document} \maketitle \tableofcontents \chapter*{Chapter Title} ...
6
votes
1answer
296 views

Custom table of contents with appendices, how to get 'Chapter' and 'Appendix'

I try to generate a table of contents which hopefully should look something like Chapter 1 First chapter .... Chapter 2 Second chapter .... Appendix A First appendix .... Appendix ...
8
votes
4answers
183 views

LOF: Formatting Figurenames and adding Column Names

Here is the specific format I have to apply to the LOF: It should be Basically 3 aligned columns that contain: page number - figure number - the figure name (in this very order, like a tabular). And I ...
0
votes
0answers
61 views

Table-of-Contents items appearing flush against the edge of the left margin

I am using \documentclass{amsart} and want my table of contents subsections to be indented slightly beneath the sections. Right now, all the sections and subsections are equally flush to the left ...
2
votes
0answers
151 views

Chapter Headings in TOC

I'm looking to accomplish what was shown here: Table of Contents with Chapter Where the toc was changed from 1 Introduction to Chapter 1 Introduction Except I also have an abstract, ...
4
votes
1answer
106 views

Chapter titles as hyperlinks in the list-of-figures

I would like to include the chapter titles in my list of figures. @GonzaloMedina previously answered this question using titletoc. However, not all my chapters are numbered, so I would like the ...
4
votes
2answers
326 views

Problem with titlesec/titletoc/tikz

I have a problem in the sheet dedicated to the table of contents. I'm using titlesec/titletoc/tikz which works fine except in the page "table of contents". I have this result : The problem is that ...
3
votes
1answer
130 views

Separation between label and Title

How can I increase the space between the Section number and the Section-Title in the TOC? I am using the titletocpackage and my code currently looks like this: \contentsmargin[25pt]{0pt} ...
3
votes
1answer
176 views

How to limit number of sections in minitoc using titletoc

Anyone know how to limit number of section titles, for example to 3 or 4, in one line minitoc using titletoc? So, in example bellow, sections starting with "Kolyvagin Classes" should be in the second ...
1
vote
1answer
187 views

how to make hard code in table of content?

I am using the pdfpages package for including a few pages of pdf to my main LaTeX document, therefore I would like to add some lines to the table of content for that pages by myself. I am using the ...
0
votes
1answer
450 views

Remove header and footer in titletoc

With the standard TOC, I use this code : %make the second and other page from TOC without header and footer \makeatletter \patchcmd{\tableofcontents}% <cmd> {\@starttoc}% <search> ...
2
votes
1answer
111 views

How to trim the space in the contents page?

I hope to remove some vertical space between the top of the content page and the word "Contents" so as to put a bit more lines in the page. I am using the "titletoc" package. Are there any way to ...
4
votes
1answer
822 views

Appendix with titletoc and memoir

I'm trying to customize the TOC layout with titletoc in a memoir document. The chapter styling works well as below, but if I try the appendix section, I'll get an error for missing number. I think I ...
4
votes
1answer
297 views

New titleclass not counted in the table of contents

The following defines a new titleclass which I would prefer not counted in the table of contents defined. How can this be achieved? \documentclass{book} \usepackage{titlesec} \usepackage{titletoc} ...
2
votes
1answer
167 views

Transfering Style of Sectioning-Titles to TOC-, LOF-, LOT-Titles

This is a continuation of my last (answered) question: I want to style the Title of TOC, LOF and LOT exactly the same as the Sectioning-Titles. Problem is that they (a) start "higher" than normal ...
2
votes
1answer
440 views

Titletoc and Titlesec in just some chapters

I have a twocolumn document and I should insert the minitoc in the first chapters with titlesec and titletoc. I read the answer to Customize minitoc; however, if I change the \titleformat before ...