2
votes
1answer
46 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 ...
3
votes
1answer
76 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 ...
0
votes
0answers
60 views

Different titles: toc and text with the package titletoc

Normally the section headings show up in the table of contents exactly as they are entered in the text. Sometimes this is not possible, because the heading is too long to fit into the table of ...
3
votes
1answer
63 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
74 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 ...
1
vote
1answer
122 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 ...
5
votes
1answer
65 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 ...
1
vote
2answers
144 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 ...
2
votes
1answer
84 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 ...
5
votes
1answer
153 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
103 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
196 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
40 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
76 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
249 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
202 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} ...
5
votes
2answers
268 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 ...
5
votes
1answer
218 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 ...
2
votes
1answer
432 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 ...
3
votes
1answer
219 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}}{} ...
10
votes
2answers
240 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] ...
5
votes
1answer
944 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
460 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 ...
15
votes
3answers
1k 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 ...
4
votes
1answer
518 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
260 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
239 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
504 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
195 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:
8
votes
2answers
646 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
211 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: ...
3
votes
1answer
527 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 ...
1
vote
0answers
64 views

List of Figures / Tables Prefixed with “Figures” or “Tables” [duplicate]

Possible Duplicate: Adding word 'Table' before each entry in list of tables I'm attempting to modify the figure and table listing in my document from: 3.1 Some_Figure To: Figure ...
4
votes
2answers
614 views

How to (quick) redefine the space between section number and section title in ToC

Following this post, I could use titletoc (which is want I want to do) and completely redefine the format with \titlecontents{<section>}[<left>]{<above>} {<before with ...
4
votes
1answer
658 views

Turn the section font from bold to roman in a table of contents

I have some trouble using the titletoc package to edit a simple ToC composed only of several sections. I would just like to turn their font from bold (which is the default font) to roman, but I am ...
2
votes
1answer
714 views

Add \numberline in TOC for part with scrbook

I'm using the scrbook document class for a publication. In order to properly format the part entries in the table of contents, I would like to write an entry like \contentsline ...
5
votes
1answer
331 views

Chapter descriptions in the TOC, but at a fixed width

I'm really in love with the TOC one gets using the accepted answer at Adding a per-chapter image along with group of entries in ToC. However, instead of having sections in my TOC, I'd like to ...
4
votes
0answers
333 views

tocloft recipe to simulate the titlecontents* behaviour of titletoc [closed]

I can't use titletoc, since there are incompatibilities between this package and others that I am using. However, tocloft works fine. I would like to simulate the \titlecontents* effect using ...
2
votes
2answers
463 views

How to linebreak part ToC entries using tocloft/titletoc and the book class

I'm currently writing a LaTeX document in the book documentclass. In my ToC I want the actual titles of certain entries (parts in my case) to come in a newline after a generic name of the section-type ...
7
votes
2answers
322 views

Location of entry's page number in toc, lot and lof

I'm using titlecontens offered by titletoc package to format the entries in toc, lot and lof. For a multiline entry, the default location of its corresponding page number is after the last line of ...
6
votes
1answer
1k views

Table of Contents Style

I really enjoy the table of contents formatting (all sections of a chapter in a single paragraph), of the Motion Mountain's physics books. Does anyone know how to reproduce that kind of style? Is ...
4
votes
2answers
1k views

How to access toc entries with titletoc

I'm bit lost with the content of titletoc.sty. I'd like to access toc entries, meaning chapter title, section title and so on to put them in a colorbox. I think it is somewhere in the ...
9
votes
3answers
2k views

How to customize the table of contents using TikZ?

Are you aware of tentatives to customize the table of contents with TikZ in LaTeX? I'm thinking of fancy graphical objects (coloured ovals, squares, rectangles, etc) coming with the usual terms ...
3
votes
1answer
397 views

Insert \nobreak into subsection title in titletoc's \titlecontents star version

I want the label and title of subsection typsetting as a paragraph but NEVER break down in a subsection title. Say, the code below \documentclass{article} \usepackage{titletoc} \titlecontents* ...