2
votes
1answer
31 views

Titlesec creates entry in ToC for a starred part

I have the following code, creating section titles starting with "Section [number].", exactly as I wish: \documentclass{article} \usepackage[hidelinks]{hyperref} \usepackage[explicit]{titlesec} ...
0
votes
2answers
54 views

Custom section in conflict with TOC

I adapted this answer to make a custom section I need. My intention is that it looks something like the second heading from this image: So the numbering must be made using (\Alph) and it must be ...
2
votes
0answers
62 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 ...
4
votes
2answers
94 views

Different numbering format between toc and body

To complete my memory, I would like to display different numbering format beetween my section in the body of my document and the one in the toc You will find just below my MWE : \documentclass{book} ...
0
votes
1answer
26 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} ...
2
votes
1answer
130 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] ...
3
votes
1answer
112 views

Pleaseinsertintopreamble in ToC and header

I wanted to style chapter headings, found out about titlesec and wrote the document like this: \documentclass[a4paper,12pt]{book} \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc} ...
3
votes
1answer
179 views

Customizing the style of the “Table of Contents” title

I used titlesec for customizing chapter titles. How can I put the Table of contents title above the horizontal line? (I am trying to customize the place of the title, not the title) Added figure is ...
2
votes
1answer
117 views

Why won't I see the table of contents?

I tried to write table of contents to my book but encountered a problem, as it prints "Sisältö" but there is no table of contents. What is the mistake I made? ...
4
votes
2answers
127 views

Numbering the table of contents

I'm new to latex. I have successfully formatted the chapter heading, section heading and subsection heading with titlesec package: \usepackage{titlesec} \titleformat {\chapter} ...
2
votes
1answer
65 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
65 views

Fix ToC entries created by a custom sectioning command

I face a problem with my table of contents: The look of my first chapter heading is CHAPTER ONE INTRODUCTION produced with the following code \newcommand{\mychapter}[2]{ ...
4
votes
2answers
244 views

titlesec troubles

I am working on a document that will consist of many sections and subsections. I want to have a table of contents per section. I am using titlesec, titletoc and titleps. I have the following MWE: ...
2
votes
1answer
134 views

Getting table of contents to recognize titlesec paragraph

I am using hyperref to make a clickable table of contents. I am using titlesec to use \paragraph{ } as if it were a subsubsubsection. How do i get this use of \paragraph to display in my table of ...
1
vote
1answer
162 views

\titleformat is causing the section title to appear twice in Table of Contents

Here is how it shows: The section appears twice. Ideally I'd like it to be BACKGROUND AND RATIONALE with that dot and no bold. Here is the \titleformat that is causing this behavior: ...
4
votes
1answer
268 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} ...
3
votes
3answers
201 views

Double Names being included in Table of Contents

I have a final report that I am writing in LaTeX. I have a code to make the section headings appear in the center of the page (thanks to Jubobs): \titleformat{\section} ...
2
votes
1answer
158 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
404 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 ...
1
vote
1answer
240 views

Using titlesec in beamerarticle with a modified section command

This is further to the solution provided to my previous question about allocating short and long titles correctly to the beamer and article output of a beamerarticle. The solution provided there ...
5
votes
1answer
294 views

Move (sub)section number right of (sub)section title in table of contents

I restyled the \section and \subsection a little bit, to better suite my needs when writing assignments. Using titlesec, I moved the (sub)section number to the right of the (sub)section title. In my ...
7
votes
1answer
569 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
517 views

Titlesec ruins Table of Contents formatting

I'm trying to use the titlesec package, but somehow section names in the \tableofcontents become overlapped with the TOC numbers and subsection names become improperly indented. Here's an example, ...
5
votes
1answer
603 views

Remove part page

In my thesis all my chapters are grouped as a part (titled CHAPTERS). I want the part to appear in the TOC, but do not want a part page. The part is showing up fine in the toc, but the part page shows ...
3
votes
1answer
291 views

Roman numerals appear in toc but not in document

I'm writing a thesis and sections are required to have roman numerals in both the toc and the document itself. The pertinent document code looks like this: \documentclass[twoside,12pt]{report} ...
9
votes
2answers
8k views

Format ToC for thesis

I apologize for the unspecified and broad question but I have no way to be specific. I'm looking to generate the TOC and List of Figure, List of Table according to the format required by my school. ...
5
votes
1answer
531 views

chapter headings vertically centered but not table of contents

My university requires the chapter headings to be on a separate page and vertically and horizontally cantered. Based on some of the answers on this forum i used the following code to achieve it. ...
1
vote
2answers
1k views

titlesec messin' up my hyperref'd table of contents

Please consider the following multipage MWE, which contains page number restarting; made to compile with pdflatex test.tex: \documentclass[12pt]{article} \usepackage{geometry} ...
5
votes
1answer
614 views

Positioning the beginning of table of content (toc) to the top of the page

I managed with great help from here to shift the beginning of the chapter titles to the top of the page, but it doesn't affect the table of content. Why is that? And how could I do that? I don't ...
2
votes
1answer
465 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} ...
1
vote
2answers
1k views

Customizing Table of Contents Formatting

For the most part, the default formatting for the ToC, LoF, and LoT is fine. But I need to add an extra line (university's requirements for my thesis) between each numbered entry. In order to do this, ...
2
votes
3answers
3k views

How to change the style of “Contents” heading?

Help me, please to make the style of "Contents" heading to be as \chapter{Le choix du thème}. Also I would like to put all headings a little bit higher and to fix the hyperref for "Contents" in pdf ...