{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

1
vote
0answers
41 views

Titletoc / Titlesec numbers overlap text

Pretty simple problem, I have part numbers included in my section and subsection numbers, and I want to increase the space after the numbers, preferably without screwing up the rest of the alignment. ...
0
votes
2answers
67 views

Problems after adding starred sections headings in table of contents

My document has both starred and non-starred version of section, and I want to add both types to my table of contents. I am using titletoc and I tried to solve it as follows: ...
3
votes
1answer
24 views

Adding just chapter label and number, without the title

I am trying to create the following ToC with titletoc package: Chapter 1 .......... 1 Chapter 2 .......... 10 Chapter 3 .......... 20 The titletoc code is the following: ...
4
votes
1answer
54 views

Centred “Contents” in TOC in twocolumn document with custom sections

I want to adjust the TOC for my twocolumn document. I want to have the word "Contents" at the top and centre of the page, and the toc entries following in two columns afterwards. I found this which ...
0
votes
1answer
58 views

How to customize link style in Table of contents using titletoc?

I want to customize the links (appearance) in the TOC. In the entire document I use 'hidelinks' in hyperref (to turn of the box), and then have some fancy own link visualization (here for MWE replaced ...
2
votes
1answer
57 views

Hanging indent within a TOC entry with titletoc?

Is there a way to add horizontal space to the second and subsequent lines of every TOC entry with titletoc, whether the entry's title wraps to the second line (as in the first section below) or ...
2
votes
1answer
36 views

Problems to properly append chapter without numering to the table of contents

In my document I have a number of chapters, that have their numbering suppressed. I know that to append them to the table of contents one should use the \usepackage{etoolbox} and subsequently define ...
4
votes
1answer
57 views

Issue with TOC alignment when using fontspec and titletoc with font size >10pt

I am in the process of switching a large document to lualatex for various reasons, and I noticed an issue with the table of contents when the packages fontspec and titletoc are loaded together, AND ...
0
votes
1answer
89 views

Titletoc: split part title in two lines

I need to split the part title in the ToC as follow: Part I title of the part I am using the titletoc package. It seems easy with the chapter, but I am not able to figure out how to do it on parts. ...
1
vote
0answers
1k views

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 ...
2
votes
1answer
60 views

Appendices appear in sub-toc of previous chapter

I want to have a sub table of contents at the head of each chapter. I did this by using the titletoc package and redefining chapter. This works fine in the main matter, but when I add appendices, the ...
3
votes
1answer
59 views

conditional formatting of \thesection

here a not-so MWE: \documentclass{book} \usepackage{graphicx} \usepackage{polyglossia} \setmainlanguage[spelling=new,babelshorthands=true]{german} \usepackage[autostyle]{csquotes} \usepackage{lipsum} ...
0
votes
1answer
105 views

how to make only the chapter-titles to be in the middle of a new page

I am using Thesis.cls to write my thesis (From Easy Thesis tempalate). I wish to have the chapter title in a separate page and at the middle of the page. For that I browse the internet and I got ...
1
vote
1answer
116 views

Table of contents [toc]: Variable tocdepth within toc when using multiple tables of contents

I can universally vary the table of contents depth. This is typically handled with command:\setcounter{tocdepth}{ [depth] }. I can partially vary the table of contents depth. This is instead handled ...
1
vote
1answer
149 views

Modifying list of tables/images

I'd like to customize the list of figures and tables with a similar design to this: Modifying mini-toc content Does somebody know how to do a similar design for a list of tables/images?
2
votes
2answers
103 views

How to split the toc in two?

I want to split my thesis in two main parts: "Theory" and "Practice" in such a way that: 1) "Theory" and "Practice" appear as main bookmarks in the pdf; 2) the table of contests is splitted in two, ...
0
votes
0answers
26 views

subheading of titletoc exceeds dotts and beginning of pagenumber

I am using titletoc like this: \usepackage{titletoc} \newcommand\frontmatterchaptoc{% ...
2
votes
1answer
110 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
107 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
100 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
143 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
50 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
31 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
22 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
792 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
233 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
248 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: ...
2
votes
2answers
48 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
97 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
446 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
338 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
279 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
53 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 ...
2
votes
2answers
245 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
324 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
98 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
99 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
85 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
112 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
562 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
402 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 ...
2
votes
0answers
110 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
169 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
89 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 ...
2
votes
1answer
139 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
83 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
213 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
101 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 ...
2
votes
0answers
298 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
138 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 ...