Questions tagged [titlesec]
{titlesec} is a package providing an interface to {sectioning} commands.
1,521
questions
0
votes
0
answers
20
views
Preventing white space above chapter heading
When I want a chapter heading as follows
what I get is something as this
As we see, there is small space above chapter heading. Previous answers as in this question only reduce space above chapter ...
2
votes
2
answers
76
views
How to capitalize ToC entries using \capitalisewords and \titlecontents
I'm having a formatting issue with my document's table of contents (ToC).
Specifically, I'm trying to capitalize the first letter of each word in the ToC entries using the \capitalisewords command ...
2
votes
1
answer
46
views
Vertical alignment problems with marginnote and titlesec
I'm with a document that has margin notes in the section titles. I have programmed a command that works if I don't load titlesec package. Here is a minimal example:
\documentclass[a4,twoside]{article}...
1
vote
0
answers
32
views
How to Properly Case Change in ToC Entries and Make Chapter Numbers Clickable
I'm facing two issues with my LaTeX document's Table of Contents (ToC):
Formatting Issue with \capitalisewords:
I am using the \titlecontents command to format my ToC.
I want to capitalize the words ...
0
votes
1
answer
32
views
titleps package: How to make boxed page number and header line appear as one element?
I'm trying to refine a document design I've pieced together from various TeX.SE answers. I'm using titleps for page styles and headers, with the page number in a colored box. I've adapted code from @...
0
votes
1
answer
46
views
How to resize the bar size and adapt the title to the margins in Chapter Veelo style?
I've constructed Chapter with Veelo style in
\documentclass{report}
following the instruction contained in this and this answers. However, I set
\documentclass{report}
\usepackage[margin=1in]{...
0
votes
0
answers
13
views
How to maintain consistant formatting of chapter headers using Titlesec with both single and double spaced chapters?
I'm using the titlesec package to create custom chapter headers. I've found that the headers this package produces depend on whether the chapter is single or double spaced.
Most of my document is ...
3
votes
2
answers
56
views
How to create two types of new sections (error)
I need to create two types of sections.
The first section (sectionc) works without errors.
The second (sectionlcc) is similar to the first, but without \MakeUppercase. It does not work. Error in line: ...
4
votes
1
answer
142
views
How to use the {titlesec} package to create this Chapter style?
I am writing a technical handbook and really like the chapter title below (from Life Technologies, thx). How can I use the titlesec package and fancyhdr package to achieve these?
Chapter style
For ...
0
votes
1
answer
68
views
Redefine chapter* format
How can I modify the font of the chapter* command. I essentially want to keep it the same except to make the font a little smaller. How could I do this using titlesec. Also how can I redefine the ...
0
votes
1
answer
33
views
I want to put the chapter name on top of a titlerule
I would like to put the title name on top of the 2 rules, such as the chapter number.
Here's a MWE, i've put everything just to make sure
\documentclass[a4paper, 12pt, twoside]{report}
\...
1
vote
1
answer
27
views
Understanding the titlesec package before and after separator syntax
I am trying to understand the following code:
\titleformat{\paragraph}{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{}
\titlespacing*{\paragraph}{0pt}{2ex plus 1ex minus 0.2ex}{1.5ex plus 0.2ex}...
0
votes
0
answers
20
views
How can I adjust the spacing between the number and the title of each level in TOC to create automatically a nested list?
In this code, I have defined custom sectioning formats using the titlesec package. However, I'm having trouble adjusting the spacing between the section numbers and titles, especially when the section ...
2
votes
1
answer
47
views
"Advanced section/subsection" custom command produces unexpected numbering behaviour
I am attempting to create new commands for "advanced sections/subsections" (similar to what you might see in a textbook, where a "starred section" indicates an advanced topic or a ...
0
votes
1
answer
44
views
Titlesec paragraph
I would like to define the paragraph section such that it starts with the paragraph symbol. What is missing in the following?
\documentclass{book}
\usepackage{fontspec}
\usepackage{titlesec}
\...