2
votes
1answer
45 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
2answers
56 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
41 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: ...
3
votes
1answer
47 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
61 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] ...
1
vote
1answer
53 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
41 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
294 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
98 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 ...
3
votes
1answer
192 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
272 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
190 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
156 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 ...
2
votes
0answers
137 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
93 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 ...
3
votes
1answer
109 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
136 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
160 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
263 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
104 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
667 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
241 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
150 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
375 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 ...
7
votes
1answer
245 views

Typesetting listofalgorithms like listoffigures and listoftables using titletoc

I would like to typeset the \listofalgorithms generated by package algorithm in the same way than the \listoffigures and \listoftables, using package titletoc. However, I have not been able to find a ...
2
votes
2answers
381 views

Common style for global TOC, LOF, LOT and titletoc partial TOCs (with hyperref & caption)

I am currently writing my PhD thesis, and I have trouble defining a common style for my global TOC and the partial TOCs generated by titletoc. Basically if you check the following MWE, I like the ...
3
votes
1answer
146 views

How can I temporarily change title of contents of subsection formatting using titletoc

I have a common document type (grant application) which expects listed aims, usually enumerated as Aim 1, Aim 2, etc. In the MWE below, an article class works fine to format the subsection headings ...
7
votes
1answer
491 views

Weird behavior of Partial TOC with titletoc

I have been looking for two hours for an explanation to the problem I am facing, and so far I found no hint. In a document of the book class, I am trying to include partial TOC at the beginning of my ...
1
vote
1answer
139 views

Change Spacing Between Internal TOC numbering and subsection titles

In my Supporting Info chapter, I have my subsections defined as \renewcommand{\thesubsection}{\thechapter-\Roman{section}.\arabic{subsection}} Which is the format requested of me by my professor. ...
1
vote
1answer
306 views

Mimic memoir ToC layout in titletoc output

I with the help of a previous answer on here Different tocdepth for main toc and in-section toc, I have made it so my titletoc is able to contain subsections while my main toc does not have them. ...
0
votes
0answers
44 views

How to revert changes made with titletoc [duplicate]

Possible Duplicate: How to save and restore chapter's heading format I have a document with a structure : Content Appendix Bibliography As I wanted to change the ...
7
votes
1answer
147 views

Page Number Spacing Issue With Titletoc

I'm new to LaTeX and I could use a bit of help. I'm using the report class and I'm trying to color the chapter headings a green I have defined. I don't really want to change the default formatting, ...
2
votes
4answers
872 views

Generating .toc file without generating a ToC

Problem: I want to generate a .toc file without the table of contents actually being displayed anywhere in the text. Background: I want a short ToC at the beginning of my text, using shorttoc. Then, ...
5
votes
1answer
432 views

How to remove section indentation in partial ToC using titletoc?

See MWE below. How can I remove the indent in front of the section entries in the partial ToC (only there, not in the normal ToC)? \documentclass{book} \usepackage{titletoc} \usepackage{lipsum} ...
6
votes
2answers
616 views

Roman chapter numbers cause overfull hbox in titletoc-ToC

Overfull hbox in ToC after chapter numbers changed to Roman; see MWE below. With the tocloft package \setlength\cftchapternumwidth{3em} solves the problem. But: Is there any solution to the problem ...
6
votes
1answer
421 views

Remove entries from short ToC but not from long ToC

Please find a minimal example illustrating this question below. The problem is this: There is only one appendix chapter, which is divided into several paragraphs. These paragraphs should appear in ...
4
votes
1answer
1k views

How to add leaders to Table of Contents without tocloft?

I'm using a third-party non-standard document class which is based on book. Class be damned, I want to add dot leaders for chapters, sections and subsections in the Table of Contents. If I include ...
5
votes
1answer
434 views

How can I customize the listoftable with titletoc package

I know how to customize the chapter and section toc withtitletoc package just like this \titlecontents{chapter}[0pt]{\vspace{.1\baselineskip}\bfseries} {\thecontentslabel\hspace{2.8mm}}{} ...
11
votes
2answers
448 views

Different tocdepth for main toc and in-section toc

Having code like this \documentclass{article} \usepackage{lipsum} \usepackage{titletoc} \begin{document} \tableofcontents \section{A long section} \startcontents[section] ...
6
votes
1answer
3k views

Understanding titletoc example (and vertical alignment on line)

EDIT: TLDR summary (as I wrote in comments): What I want from this question (and couple of others referenced herein) is: -- section number (label) to be top-aligned with the title + AND I want the ...
6
votes
1answer
912 views

suppress pagebreaks in titletoc's titlecontents* blocks

How do I suppress pagebreaks in the toc "paragraphs" produced by titlesec's \titlecontents* command without stopping linebreaks between subsections? The follwoing suppresses linebreaks within ...
17
votes
3answers
3k views

Include chapters in List of Figures with titletoc?

I'm working on a book using titlesec&titletoc and want to include chapters (with their numbers and names, but no page number) in the list of figures, if and only if they contain figures. Manually ...
6
votes
1answer
1k views

Modifying mini-toc content

I have adapted the pretty table of contents solution written by Gonzalo Medina with the modification to the "blue box style" that Stephan Lehmke helped me with to design a somewhat consistent ...
2
votes
1answer
433 views

Modifying toc & bib titles

I would like to \flushright the toc's and bibliography's title, but the font size and spaces above and below should be the same as for regular chapters. Here is what I did: \documentclass{report} ...
8
votes
2answers
353 views

Custom ToC — Put vspace only below chapters that have sections in them

I’m using the titletoc package in the book class. Currently, my chapter entries are configured like this (I left out the unimportant parameters for simplicity): \titlecontents{chapter}[0pc] ...
5
votes
1answer
835 views

Indention of partial TOC (titletoc)

I'm happily using this solution I asked for few days ago: Two independent TOCs Now a follow-up question appeared: My second TOC contains only \subsubsection and deeper nested elements till ...
3
votes
1answer
374 views

Making the dots in a TOC go all the way up to a number (using titletoc)

I’m using the titletoc package to create a TOC. How can I make sure that my dotted lines always touch the number? More precisely, I want the dotted lines to look as in the following image:
9
votes
2answers
933 views

Inline table of contents

I am trying to generate an inline Table of Contents that would have no title, a depth of two and the following formatting: 1. Section one ‖ 1.1. Subsection one; 1.2. Subsection two ‖ 2. Section two ...
1
vote
0answers
346 views

Including a graphic in the contentsline of a Table of Contents [closed]

In a dictionary, I have the first page of each section — corresponding to a different letter of the alphabet — marked to appear in the table of contents, using the titletoc package: ...
5
votes
1answer
1k views

titletoc: How to format mini/partial tocs for each section (hspacing, vspace of entries)?

I would like to have partial tocs (mini-tocs) for each section. I would like to achieve this with the titletoc package. As you can see from the code below, it pretty much does the job but the problem ...