{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

0
votes
0answers
16 views

subheading of titletoc exceeds dotts and beginning of pagenumber

I am using titletoc like this: \usepackage{titletoc} \newcommand\frontmatterchaptoc{% ...
2
votes
1answer
64 views

Add both part and chapter titles to list of figures with formatting and line wrapping

In a table of contents style list of figures I would like to combine the appearance of each of these questions. Part title in list of figures and tables? Include chapters in List of Figures with ...
0
votes
0answers
35 views

Paragraph skip preserving titlesec, titletoc, table of contents, list of figures and indentation

I have hard time dealing with paragraph skip while keeping titlesec/titletoc, table of contents, list of figures and indentation the same (this is a french book). I have the following class: ...
3
votes
1answer
60 views

Custom List of Listing Page Numbers Not Working

So I have been using this particular latex template for a while now and I keep adding and changing it to be what I want. Recently I tried reformatting to get rid of the leading dots in the TOC, LOF, ...
4
votes
1answer
83 views

titletoc: getting rid of empty line at TOC start

Consider the following simplified TOC style (yes, the real-life version does look better than this MWE). Thing looks okay except for the fact that the first TOC line lies one line below where it ...
0
votes
1answer
43 views

Fancy header trouble when used with titletoc

In a very big and complex document using the book class (so I can't reporduce easily a MWE, sorry), I want to use the fancyhdr package to display chapter name and number on the top left of even pages ...
0
votes
0answers
29 views

titletoc: Hyperref section number and page number [duplicate]

Using titletoc, is it possible to not only hyperlink the section name, but also the section number and the page number? Solution: http://tex.stackexchange.com/a/100413/71253
0
votes
0answers
18 views

Two ToCs in a document? [duplicate]

I want to have a first level ToC in the beginning of the document, and full ToC at the end. I'm using titletoc. There's a similar question but it is actually about printing ToC by parts. I expected ...
1
vote
3answers
113 views

How to hide chapter numbering in table of contents?

I know \setcounter{secnumdepth}{1} lets you set the depth of numberings, but I have to number sections and subsections only, not chapters. Is there a one-liner to do this? I have seen some answers to ...
2
votes
1answer
102 views

titlesec with the explicit option messes up toc title

When using titlesec with the option explicit the toc title "Contents" is formatted using settings from the (where the explicit #1 parameter must be used). I think the MWE shows it all. %!TEX ...
1
vote
1answer
108 views

Using titletoc's \contentspush{} to non-rigidly align titles in ToC

The document uses the book class. Currently I'm working on the ToC using the titletoc package. Attached here are Screenshot-1 and Screenshot-2. The screenshots were taken at 80% zoom. Screenshot-1: ...
1
vote
2answers
39 views

Include class numbering in TOC with a subclass entry when using titlesec and titletoc

I am trying to use titleclass to define two new classes : savoir and subsavoir. In the TOC, I would like to get something like this : Savoir 1 -- First knowkledge title Savoir 1.a -- First ...
2
votes
1answer
58 views

Is there a way to divide bibliography, indexes in two volumes?

I'm working on a big thesis, divided in two volumes (but one pdf), which are sequentially numbered. Main TOC and TOCs for volumes are made using titletoc package: \startcontents[main] ..... ...
5
votes
1answer
241 views

Customize part in TOC by titletoc

I want to represent the \part in the TOC as on the figure below: The problem is the \part could be represented so simple as other headers. As you see in the MWE below, the \part design has been ...
2
votes
2answers
187 views

How to change locally titletoc

Please, consider this code \begin{filecontents*}{\jobname.bib} @book{ hoyningen:1993, author = "Hoyningen-Huene, Paul", title = "Recontructing Scientific Revolutions", ...
2
votes
2answers
132 views

Show all level section numbering in text, but not in ToC?

I want section numbering in ToC to appear as \renewcommand\thesection{\Roman{section}} \renewcommand\thesubsection{\alph{subsection}} \renewcommand\thesubsubsection{\arabic{subsubsection}} but in ...
2
votes
1answer
41 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
140 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
165 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 ...
3
votes
1answer
53 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
70 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
74 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
101 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
425 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 ...
5
votes
1answer
237 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
81 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 ...
3
votes
0answers
120 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
38 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
71 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
59 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
159 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. ...
3
votes
1answer
86 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
71 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
193 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
96 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
60 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
63 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
189 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
175 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
44 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 ...
6
votes
2answers
176 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
134 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
102 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
605 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
602 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
105 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
1k 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
159 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
657 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} ...
5
votes
1answer
295 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 ...