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

learn more… | top users | synonyms

0
votes
0answers
2 views

How to match vertical alignment of titlesec with tocloft?

I want to vertically align the Contents title including the horizontal rules (using tocloft) with the Introduction chapter title (using titlesec). However, I am confused as both packages seem to ...
1
vote
1answer
15 views

tex4ht table of contents problems related to titlesec

I am having a problem that titlesec is making the sections disappear from the tex4ht table of contents. Here is the M(N)WE: \documentclass[10pt]{book} \usepackage{titlesec} \usepackage{titletoc} ...
0
votes
1answer
36 views

How to update \sectiontitle and \chaptertitle with \putbib and \bibliography?

Pagestyles are defined with titlesec. A two-sided template is used, and in the main pagestyle \chaptertitle is shown in the header of even pages and \sectiontitle in the odd ones. natbib is used to ...
1
vote
1answer
30 views

Titlerule and Wrapfig Interaction

Hey y'all I need some help! I would like to have my section headers have a titlerule underneath, but titlerule isn't playing nice with wrapfig. I'm using wrapfig and tcolorbox to make a sidebar, and ...
3
votes
1answer
30 views

Vertical space within chapter label using titlesec

I am required to have a chapter heading formatted in the following way to obey thesis formatting rules at our institution: CHAPTER Chapter Title The vertical space between "CHAPTER" ...
2
votes
2answers
52 views

Match white space above chapter title to top margin as defined in geometry package

I would like to change the position of chapter titles, specifically the amount of white space above them. I am using the book class and defining margins using the geometry package. The chapter command ...
3
votes
1answer
18 views

Tab stops and consistent indentation in headings

I'm trying to create a documentclass that has some unusual headings and indentation. My goal is to have the width of chapter/section number + whitespace equal to the text \leftskip 2.5cm. I get an ...
0
votes
0answers
45 views

Formating section headings

For a journal, I have to format the headings as followed: Title, subtitles, and text subheadings should be chosen for succinctness and interest. Primary (an "A Head") and secondary (a "B Head") ...
2
votes
1answer
45 views

Vertical color background of section title

Good night. It's my problem about gradient colored section title, with vertical length. It's codes are, \documentclass{scrbook} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
2
votes
1answer
30 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} ...
3
votes
1answer
26 views

Glossary heading not showing up with amsart

after getting a great solution to my problem, amsart with table of contents with "to" and "from" hyperlinks , I've now spent over a day - which is why I keep a template usually :) ...
3
votes
1answer
32 views

Wrong hyperref link using biblatex and titlesec

I'm using biblatex together with titlesec (yes, I know that they don't work well together ...). When I include the titlesec-package the hyperref bookmarks link to the wrong page. Consider the ...
3
votes
2answers
126 views

Titlesec and Babel incompatibility?

I cannot find a way to change chapter style with babel included (for hungarian language). Here is the example: \documentclass[a4paper]{report} \usepackage[magyar]{babel} \usepackage{titlesec} ...
0
votes
0answers
31 views

New section using titlesec and titleclass

I'm trying to define an Appendix section with titlesec but I get an error every time I try to use \appendix . My code is \titleclass{\appendix}{straight} \newcounter{appendix} ...
7
votes
1answer
2k views

Problems with part-labels using titlesec

I'm using titlesec to define the layout of my headings. It's working but I've run into a problem when I use the package to define the layout of \part's. When I try to reference to a \part, which is ...
2
votes
1answer
52 views

How to insert a paragraph before the chapter title?

I need to include several lines before the chapter title for some (not all) chapters. A new chapter always starts with a new page, how to realize the following layout for certain chapter while other ...
0
votes
0answers
25 views

How can I get unnumbered chapters in the center of headers?

With titlesec, how can I include unnumbered chapter titles in the center of headers?
5
votes
1answer
37 views

Section title with runin and KOMA class?

I would like to have section titles with runin so that there is no newline after the section title. This can be done with \documentclass{article} \usepackage{titlesec} ...
10
votes
1answer
352 views

How to make this chapter heading style?

As fncychap has no such chapter style, and using the memoir class will cause a lot conflicts with my current settings (book class), how to make this style (perhaps using the titlesec package)? title ...
3
votes
1answer
66 views

titlesec formatting

\documentclass[12pt,letterpaper]{report} \usepackage{blindtext} \usepackage[utf8]{inputenc} \usepackage[margin=1in,showframe]{geometry} \usepackage{titlesec} ...
3
votes
0answers
51 views

I can not modify the chapter in latex

Sorry for my English. Hello, I want to get something like this: Latex My level is not so high to do so. I tried to do it with the following code, but not sure it will help some. He had thought ...
5
votes
1answer
75 views

How to generate a “<section>-continued” heading after page-break which works with longtable?

I have read the question and answers about the "-continued" heading. The code given in the answers doesn't help me. Thats why I am posting a follow-up-question here. I want to re-display the ...
0
votes
2answers
51 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
2answers
43 views

Page breaks inside titlesec section headings

I use LaTeX to generate contracts and agreements. In most cases, it works okay but, every so often, it causes problems with pagination; specifically, if I have too many subsections without an explicit ...
2
votes
0answers
60 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} ...
3
votes
2answers
48 views

Environment begin or end in Heading definition

I'm trying to include an automatic \end{multicols} and \begin{multicols}{2} before and after my Chapter headings. (The document is 2 column, the chapter headings are meant to be across the page.) ...
4
votes
1answer
97 views

Problem with titlesec and appendix

I am using the titlesec package and the code under the usepackage to make parts appear on the same page as chapters, not on an individual page. Sorry I don't remember where I got the code from, but it ...
4
votes
1answer
43 views

Don't separate section heading from its line

I have my sections format defined with titlesec like this: \documentclass{report} \usepackage{xcolor} \usepackage{titlesec} \definecolor{shadecolor}{HTML}{A3B9FF} ...
2
votes
0answers
28 views

Having the same amount of space with and without multicol when using with titlesec and itemize

I am trying to use multicol and itemize to spread a list over several columns. I am also using titlesec to style my headings. One part of my document uses multicol and the other does not and both have ...
1
vote
0answers
45 views

Missing font shapes

I have a problem with missing font shapes. I'm working on lecture notes and made some corrections to a very large latex document, so I did not set up everything by myself. Now I encoutered the problem ...
5
votes
2answers
153 views

How to have titlesec like behaviour for a Koma Script

I am using \documentclass{scrartcl} which I believe is a Koma-Script type. I now wish to have each \section{} start in a new page, similar to what \usepackage{titlesec} offers, as shown on this ...
0
votes
1answer
45 views

Defining a header style for acknowledgements (saying no to Chapter*{} !!!)

I'm using \documentclass{book} and I have also redefined my \chapter and \part heading styles. However, these styles do not apply to the heading of the Acknowledgements page (the word ...
0
votes
2answers
63 views

How to reduce spacing between titles of chapters?

I want to reduce spacing between titles of chapters. What changing should I do in the following example? \documentclass[12pt]{report} \usepackage[dvipdfm]{graphicx} \usepackage{amsfonts} ...
24
votes
3answers
40k 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 ...
1
vote
0answers
37 views

New class prevent XeLaTeX to compile the section title

I created a new class, called capitulo to prevent a page break with every chapter. But when I activate those code lines, the section number won't print. Here's a MWE: ...
1
vote
1answer
53 views

Too much vertical space after long section title using titlesec

I'm using titlesec to change the style of my section titles. Sometimes, when the title is long, but just short enough to fit on one line, some extra vertical spaces is add. The following MWE ...
5
votes
1answer
35 views

Spacing after first line with titlesec using runin option in titleformat

I'm using the titlesec package to format my (sub)section titles. I'd like to use the runin option in \titleformat to place my subsections titles within the first paragraph of each subsection. However, ...
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} ...
3
votes
1answer
51 views

How to get the chapter title in a single page - titlesec

Because of my thesis report style, I want to have the chapter title in a single page. I'm working with titlesec package. I used \clearpage and \newpage to solve this, but doesn't work. I also used ...
2
votes
1answer
27 views

Modifying Section Style modifies the style of Contents in ToC

In the article class, if the style of the section heading is changed, the style of the contents heading in the Table of Contents is also changed. How to prevent this? ...
2
votes
2answers
127 views

redefine starred command \section*

with \usepackage[explicit]{titlesec} I have defined \section like \titleformat{\section} {\ttfamily\Large\bfseries\color{red}} {\thesection} {1em} {#1} i want to redefine the starred ...
3
votes
2answers
63 views

How to manage chapter title position with a background picture?

I wrote the following code in order to design a chapter title but there is two things I did not succeed to do. \documentclass{book} \title{Titre de la thèse} \author{moi} \date{\today} ...
1
vote
0answers
76 views

How to get just ONE space between the number of a section's title and its title in the TOC (memoir class)?

In my Toc Iam trying to get just one space from the escape key between the number of the section and its title. Example (TOC): 1. My section For the moment, I am using this many time: ...
2
votes
2answers
83 views

How to create a subsubparagraph appearing in the TOC ? (memoir class)

I'am trying to create a subsubparagraph counter. \titleclass{\subsubparagraph}{straight}[\subparagraph] \newcounter{subsubparagraph} ...
4
votes
1answer
77 views

How to underline a section's title without using the sectsty package (memoir class)?

Can anyone tell me how to underline a section's title without using the sectsty package please? Indeed I am using the memoir class which prohibits this package. Thank You.
1
vote
1answer
71 views

\titleformat (titlesec) overfull vbox page break issue

I am currently writing a rule book using sections/subsections/subsubsection/paragraphs to break the rules down into parts. I am using the titlesec package to format the sections; however, the problem ...
3
votes
1answer
56 views

why package titlesec causes tex4ht to give error when using $[]$ in section title?

texlive 2014, Linux This MWE fails when using $[B]$ in section title when the package titlesec is loaded \documentclass[]{article}% \usepackage{titlesec} \begin{document} \section{this is my $[B]$ ...
1
vote
1answer
56 views

Using titlesec to have \chaptertitle and \sectiontitle in twosided report

I would like to customize the headers of my report. These should contain chaptertitle and sectiontitle. From here: Header not displaying correctly on chapter page due to subsection I have made an ...
0
votes
0answers
31 views

Spacing between sections using titlesec

In my LyX preamble (though, I don't think that this is related to LyX) I have this: \titleformat{\paragraph}[runin] {\normalfont\bfseries\scshape} {\theparagraph}{1em}{}[. \ ] ...