2
votes
1answer
62 views

Separate sectioning titles for main text, headings, and toc for line breaking purposes

I am using the titlesec package with the toctitles option, which modifies the optional argument of sectioning commands so that this optional argument is used only in headings; the non-optional ...
2
votes
1answer
127 views

List all sections in TOC in one line wrapped [duplicate]

How can I list all sections under a chapter in TOC, in one (wrapped) line (without pagenumber is fine)? Thanks. Expected,: Chapter 1 .................................................... 10 section ...
2
votes
1answer
145 views

Long name of Chapter in TOC. Doesn't work \\ for a new line

For a \documentclass{report}, how can I make a long chapter name to wrap onto a second line in TOC ? For example :
3
votes
0answers
381 views

Problem with Table of Contents chapter line breaking [closed]

I am working with the book document class. Concerning the table of contents, is there any way to break the chapter title as you like? For example, instead of e.g. How to effectively feed swiss ...
3
votes
1answer
185 views

How do I get multiple ToC entries on the same line with tocloft?

This question is almost a repeat of previous one : How do I get multiple ToC entries in the same line?. However, I need an answer using tocloft, not titletoc, since tocloft customization capabilities ...
6
votes
1answer
474 views

How to emulate titletoc with tocloft

I was using titletoc until I realized that it has some incompatibilities with hyperref. The thing is, that titletoc can do the same thing in a easier way, less one. \titlecontents*{subsection}[5.4em] ...
3
votes
1answer
374 views

Very long name of Section reflects badly in TOC

I have too long name of Section that reflects badly in TOC. Name of section doesn't have spaces in its name. I can not know how pledge it to move part of name to the next line automatically. (Idea ...
3
votes
1answer
285 views

Changing vertical alignment of items in middle of line (for ToC entry)

Well, I'm really starting to hate LaTeX sometimes - mostly because you can't really learn one thing, and have it applied everywhere else you wanted :/ For instance, I asked the question Changing ...
3
votes
1answer
2k views

How to make (force) line-break in Chapter Title (in ToC, Chapter, Header) - if possible?

I've found how to make different text for Title appearing in ToC, Chapter and headers Chapter title in header too long : \chapter[medium-length title for TOC, if wanted]{full title name} ...
6
votes
1answer
289 views

How do I get multiple ToC entries in the same line?

I need that, in the ToC, all the \paragraph references appear in the same line, like. 1 First Chapter................................................1 1.1 First ...
1
vote
1answer
630 views

Lines don't wrap in my list of tables

On my "List of Tables" page, the descriptions of tables don't wrap. Instead, the text proceeds on the same line all the way to the far-right margin of the page (past the point where the page number of ...
5
votes
1answer
465 views

Linebreak after section number in memoir toc?

I'm trying to finish my thesis and have received a bunch of formatting corrections that I need to do, one of which I'm beating myself senseless trying to figure out. I have to make the chapter ...
4
votes
0answers
427 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
733 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
1answer
1k views

Table of contents (minitoc, parttoc) and line breaks

I have to make a table of contents for each part of a book document. I use minitoc package, and \parttoc command. I have line breaks (\\) in the chapters and sections titles in both [] and {} ...
3
votes
2answers
372 views

Contextual newlines in tocloft

I'm using a shorttoc with tocloft to put the names of chapters on a newline. Unfortunately, there are some chapters (such as the Preface or Index) which are not numbered, and I end up with additional, ...
3
votes
1answer
491 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* ...
6
votes
1answer
664 views

Writing in the same line as the section title

I needed to add some text after some of my section title and it certainly needs to be in the same line, and not to be in ToC or bookmarks. Therefore i decided to create my own subsection-type-thingy ...
6
votes
2answers
8k views

TOC line indent and break problem

I have long chapter and section titles in my document, so titles in the table of contents do not fit into one line. I have two problems regarding with this: When the second line starts, i need to ...
7
votes
4answers
3k views

How can I force long chapter names (including page numbers) to stay in the margins on the table of contents?

I'm somewhat new to LaTeX and have been tasked with satisfying some strict formatting requirements for this LaTeX document using a custom class. Currently, if there is a long chapter name (within a ...