Tagged Questions

{titlesec} is a package providing an interface to {sectioning} commands.

learn more… | top users | synonyms

7
votes
1answer
196 views

titlesec: why is contents a section?

I've been playing around with the titlesec package combined with the scrartcl class. I find the headings titles of scrartcl a bit ugly, but I do like the fact that I can scale font sizes to 8pt. ...
6
votes
2answers
157 views

Can't increase spacing before section title

I'm having troubles with increasing spacing between the header and section title. As suggested in titlesec package documentation, I added the following line to my preamble: ...
1
vote
1answer
1k views

titlesec - set top margin for the appendix and bibliography

A while ago I was helped using titlesec to format the chapter title for my thesis. Today a reviewer says that the appendix and the bibliography need 1in top margin. How do I do it? Thanks. ...
1
vote
1answer
259 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
304 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 ...
2
votes
1answer
755 views

Reducing/removing gap between header and custom chapter title

I'm writing a portfolio/report with pdflatex and while trying to get a header and footer I have got a situation where there's now a significant gap between the header and the chapter title, whereas ...
2
votes
1answer
271 views

Getting chapter title bigger

I would get bigger only the chapter title. I heard I should use titlesec package but I didn't understand how I should use it to achieve what I mean. I'm using book class
7
votes
1answer
749 views

How can I get the Title, Author, and Date on the same line?

I would like to have Title flush left Author flush right Date flush right How can I do this on the same line or on a shared line? I was hope to achieve the following: This is as far as I got ...
6
votes
2answers
803 views

How to apply a custom pagestyle (with titlesec package) to a part of a document

I have defined a personal page style using the package titlesec. The style defined is: \newpagestyle{myStylePage}[\large\sffamily]{\headrule \sethead{\thechapter . \chaptertitle}{}{\thesection . ...
7
votes
1answer
636 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 ...
12
votes
1answer
1k views

My custom style doesn't work

It is my first experience with LaTeX. This may be some sort of dummy question. But anyway. I've spend a day with TeXLive on Fedora. And here is the problem. I have some file 1: \documentclass{book} ...
16
votes
1answer
794 views

Remove spacing above section in titlesec

I'm writing a document optimized for mobile usage, and as such I want to conserve my space. The spacing that titlesec adds to sections, subsections, etc. is getting somewhat annoying. Is there a ...
3
votes
2answers
1k views

Format appendix chapter title with titlesec in a scrbook

I'm writing a longer text and redefined the Design of a Chapter start page using titlesec. For example \documentclass[cleardoublepage=empty,fontsize=11pt,a4paper,twoside,DIV=calc]{scrbook} ...
4
votes
1answer
2k views

Creating a bold and indented title.

Im working with an existing template and I need to make my sections bold and my subsections indented. I use the titlesec package. My Section style is this ...
3
votes
2answers
342 views

Chapter format redefinition

I have change the \chapter section definition but in some chapters of the book I don't want to apply it. For example, in the code below I don't want to apply in \EjerPro. How can I do it? ...
6
votes
2answers
3k views

Chapter titles using titlesec

I want my chapter titles to look like as asked in this post. I have followed the method suggested by "lockstep", that is, using package titlesec. It works perfectly fine but here is the question: I ...
6
votes
1answer
437 views

Wrong section counter for references when using titlesec

Changing the style of my sections using the package titlesec works fine with these lines \usepackage{titlesec} \titleformat{\section}[block]{\large\scshape\centering{\Roman{section}.}}{}{1em}{} but ...
6
votes
2answers
533 views

titlesec: \sectionmark breaking \ifthesection?

In the titlesec package, one may use the \ifthesection (or \ifthechapter,...) command to apply some customization commands only when a \section has been defined. However, it seems that using ...
3
votes
1answer
278 views

Titlesec and ACM conference format: How to get proper capitalization of sections

The ACM conference format requires that the first three sections "Catagories and Subject Descriptors", "General Terms" and "Keywords" be special sections with lowercase titles. All other sections ...
3
votes
2answers
1k views

Problems with titlesec, hyperref, biblatex and tocbibind

I am using the titlesec package to change the section font to sans-serif. Unfortunately, this breaks the links to "unnumbered" sections both in the TOC and in the bookmarks sidebar of PDF readers. I ...
1
vote
1answer
245 views

How to change the formatting of chapter titles in the endnotes

I'm using pagenotes in the memoir class for a book. This is all the code I'm using that I think is relevant: \let\pagenote=\endnote \makeatletter \renewcommand*\prenotetext{% \list{}{% ...
0
votes
1answer
229 views

Chapter titles distance

I am using the titlesec package to adjust the chapter titles/headings of my text. Yet, I have trouble with the resulting distance between these new titles and the body of the text. Namely, the ...
5
votes
1answer
433 views

My titleclass breaks subsubsection headings

I am using the titlesec package in conjunction with the ACM SIG Alternate document class to create a special kind of subsubsection as follows: \documentclass{sig-alt-full} % +++++ Begin Experiment ...
1
vote
1answer
533 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, ...
3
votes
1answer
361 views

Distance between chapter title and the baseline of the following text

Consider the code below. The distance between the chapter title and the baseline of the following text is font dependent. I assume that there is a glue between the chapter title and the top of the ...
8
votes
1answer
1k views

Space above chapter with titlesec

The following code gives me some space above the chapter title, that I'd like to avoid: \documentclass{book} \usepackage[showframe]{geometry} \usepackage{titlesec} \titleformat{\chapter}[frame] {} ...
2
votes
1answer
922 views

titlesec and bibliography

I use titlesec to capitalize and display the chapter title at the center. Everything is fine until I get to the bibliography, the word 'bibliography' is not capitalized. Here is an example ...
2
votes
1answer
249 views

Titlesec and xcolor not playing nicely?

I am trying to use the titlesec and xcolor packages together (well, actually, the tufte-book class is, but that's another story.) Here is a minimal LaTeX file that illustrates my problem: ...
5
votes
1answer
446 views

biblatex per-chapter bibliography and titlesec

This is a follow-up to my previous question Proper way to include unnumbered chapters in a per chapter bibliography using biblatex. The solution proposed by Audrey breaks when I use the titlesec ...
4
votes
1answer
2k views

Add a rule after chapter title using titlesec

I've been experimenting with chapter title formatting using titlesec but I can't seem to find the proper way to add a rule just below the chapter title. After reading the doc, I found that \titleline ...
8
votes
1answer
656 views

Changing size of footnote symbols in titlesec-formatted chapter titles

I am using titlesec to define the formatting of Chapter titles. At present, footnote symbols within these titles appear in the same format, but my author would like them to be somewhat smaller. The ...
4
votes
1answer
195 views

Problems with paragraphs in margins

I am writing some papers for my class, and want to number the tasks with two or three levels. The first level should be a simple number like 1), while the next level should be labeled by numbers. ...
5
votes
1answer
648 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 ...
4
votes
1answer
364 views

Offset color block behind section titles

Joseph Wright's CV source contains a snippet of code that produces an offset color block behind section titles using the titlesec package, like so: \documentclass[11pt]{article} ...
3
votes
1answer
299 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} ...
3
votes
1answer
1k views

titlesec section font size incorrect

My dissertation requires the section title to be of the same font size as the text. I am using the titlesec package and I have provided these options: \usepackage[rm,tiny,center,compact]{titlesec} ...
2
votes
1answer
579 views

Customizing \chapter command

Here is the picture: The code is from this post. \documentclass[a4paper,12pt]{book} \usepackage{graphicx} \usepackage{lipsum} \usepackage{fontspec} \usepackage{titlesec} \setmainfont{EB Garamond ...
13
votes
1answer
7k views

How to decrease spacing before chapter title?

I want to decrease the vertical space between the top of the page and the chapter heading. I have tried to follow the instructions for titlesec but I am not successful. I have tried the following two ...
4
votes
1answer
1k views

Automatically adding \noindent after \section{*}

I'm using titlesec package and a document class ABNT Class which follows a Brazilian standard for document development. So far I've managed to follow the Brazilian Computer Association guidelines for ...
6
votes
2answers
991 views

Hide \thechapter for unnumbered Chapters

I want to display my Chapter-Numbers on the right below the Title. I came to the following minimal working example: \documentclass{article} \usepackage{titlesec} \usepackage{marginnote} ...
5
votes
2answers
1k views

Error while trying to start chapters on the same page

This is my first post here. I have tried the solution proposed in this site to start chapters in the same page as the previous one ended but I always get an error. I am a TeX newbie and I feel that ...
10
votes
1answer
650 views

Chapter heading

I was trying to personalize the chapter and section headings using titlesec for my master thesis using the following code \documentclass{book} \usepackage{tikz} \usepackage{titlesec} ...
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. ...
4
votes
1answer
9k views

“Missing \endcsname inserted” and other errors when trying to align title section

I want to somehow align section headings: unnumbered should be centerized; numbered should be aligned left and indented. I'm just trying to compile an example ...
26
votes
4answers
44k views

Change size of section, subsection, subsubsection, paragraph and subparagraph title

I would like to increase the size of pretty much every headlines, so that it is more prominent than the normal text. I read about the titlesec package, but can't seem to find good example how to use ...
5
votes
1answer
780 views

Package titlesec adds extra space on top of \chapter, despite commands to the contrary

My university's Ph.D. thesis guidelines specify an exact top-margin on the first pages of chapters. I am trying to use titlesec to set this margin, but it seems to always set it to be more than it ...
5
votes
1answer
398 views

How do you make a customization on the chapter page

I can't figure out how to modify it so that it looks like the image below. \documentclass{book} \usepackage{titlesec} \titleformat{\chapter} ...
5
votes
1answer
547 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. ...
4
votes
1answer
2k views

Section indent or leftmargin

I use the titlesec package for decoration sections and subsections. But i do not know how to change leftmargin or indent for this. Look at the picture, the green line is where i want to move the ...
5
votes
1answer
732 views

titleformat not being applied to bibliography

Here is a MWE of the code I am using for applying a titleformat to my chapters. But it does not get applied to my bibliography chapter. Any ideas why? \documentclass[a4paper,11pt]{report} ...