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

learn more… | top users | synonyms

0
votes
0answers
21 views

Format Latex report Chapter, Section, Subsection header styles

I'm writing my thesis and instructions for chapter, section and subsection are as following. - Chapter heading :All Capital—14 Font size, Bold - Section heading :Title case-12 Font size, Bold - ...
1
vote
1answer
27 views

Classicthesis remove cleardoublepage after part

I am trying to remove the double page break after the start of each part in classicthesis v4.1. I believe I need to modify the following code on lines 376-381 of classicthesis.sty: ...
2
votes
1answer
25 views

I want to place a dot after the numbers of sections, subsections, and subsubsections [duplicate]

My goal is as stated in the question title. There are other questions addressing this, but the answers selected, as best I can tell, don't get along with my other existing code, which is summarized ...
3
votes
1answer
35 views

Aligning a parbox inside titlesec

I'm trying to produce a document with section numbers in the page margin. I found a pseudo-solution which llaps the section numbering to mimic the result. I'm not happy with the way the number and ...
2
votes
1answer
19 views

Footheight and footrule using titlesec and geometry

Consider the following MWE \documentclass[a4paper,twoside]{article} \usepackage[width=14cm,left=3.5cm,marginparwidth=3cm,marginparsep=0.35cm, ...
1
vote
1answer
27 views

linebreaking when using raisebox in section

How to break the line when using raisebox command in \section. My MWE is : \documentclass{book} \usepackage[explicit]{titlesec} \usepackage{lmodern} \usepackage{graphicx} ...
4
votes
1answer
56 views

Help on adding color option to chapter title

I'm trying to create an option to easily change a color bar in a chapter title. This code works on changing the color of the bar, but ruins the formatting. All of the chapter text is to be aligned ...
5
votes
2answers
70 views

titlesec problems

I am trying to use the titlesec package to redefine some of my sections and subsections commands. I want the \subsection to have the text following it become wrapped but if it has a title define in it ...
4
votes
1answer
36 views

Line spacing of chapter headings when using titlesec and setspace packages

I have defined my own chapter heading with modified font size and spacing above and below. \documentclass[final]{book} \usepackage{titlesec} ...
6
votes
2answers
127 views

How to get Section without numbers in Title and TOC, but subsections with them

First of all, I have been searching on the web and I have found similar cases but nothing useful for my problem, and more over, I'm pretty new in LaTeX. The Problem If I take off the numbers from ...
2
votes
1answer
44 views

How do you add a newline between section number and section title?

Basically I want something to look like: 1 Section title I'm using the titlesec package. Also on another note, I managed to get my subsubsections to not show without any numbering as 1.1.2 (as is ...
1
vote
1answer
34 views

Latex document contains only \section{}?

I want to typeset a document with desired output such as: 1. blah blah ... blah blah .... 2. blah blah ... blah blah .... 3. blah blah ... blah blah .... That is simply numbered ...
3
votes
1answer
44 views

section head two environment with different size boxes

I have two arguments in section and how to print the second optional argument in the same boxes. How do increase the box width should be upto paperwidth. My MWE is: \documentclass{book} ...
2
votes
1answer
44 views

section head box different font-size and two arguments in a level section

I'm expecting the below section heading is different box and section number is different box. After A level section default 4 icons need to print below (please refer screenshot). ![enter image ...
2
votes
1answer
31 views

Line break between \partname\thepart and \part in formatted header

How can I get the formatted \part to show Part I in one line and the Name of the Part One in the other line (line break) as it shows in the \chapter without formatting? \documentclass{report} ...
2
votes
1answer
53 views

Table of Contents with custom section titles

I am overriding the default section titles for a large document. This consists of adding words such as "Section", and using alpha or roman numbers. However, the table of contents is continuing to ...
0
votes
0answers
21 views

Change spacing above and below chapter [duplicate]

I have following document: \documentclass[final]{book} \usepackage{lipsum} \usepackage{titlesec} \titlespacing{\chapter}{0pt}{0pt}{0pt} \begin{document} \chapter*{Chapter One} \lipsum{1-5} ...
3
votes
1answer
35 views

Can I change how titlesec prioritizes padding values?

I've run into a situation in a document where I sometimes have a section heading that follows directly after a subsection heading with no generic paragraph content inbetween. In these cases the value ...
1
vote
1answer
39 views

Problems with \nameref{} not refering to the correct label x titlesec

I'm using hyperref package to do cross-referencing, but I'm encountering some problems and it is related to \usepackage{titlesec,titleps} , for instance: \documentclass[a4paper,12pt,twoside]{report} ...
1
vote
0answers
34 views

What are skip values? [duplicate]

On page 5 of the titlesec manual (released on June 14, 2000), it is written that full skip values, including the plus and minus parameters can be abbreviated as * n. The example on page 24-25 (the ...
1
vote
1answer
46 views

Background package - \NoBgThispage different output

This question related with my oter two questions: Replacing \fancyhdr with \titlesec in complicated design documents White fields in ltjsarticle class The design, which has been reached in these ...
9
votes
1answer
196 views

How I can improve the style of this title?

I'm working on book class and happen to have a relatively long title, when I write I get this: I would go up a bit the title, but that short titles remain in place but that short titles remain ...
0
votes
1answer
32 views

titlesec: \paragraph don't displays with explicit option

I need to use the explicit option of titlesec package. However, the paragraph is not displays with follow code: \titleformat{\paragraph}[hang]{\bfseries}{}{}{}[] Maybe I dont' know the explicit ...
0
votes
0answers
48 views

Fancy part title page with titleformat and centering problem

I would like to create a fancy part title page but I have some issues with titleformat. Currently, I use : \titleformat{\part}[display] {\normalfont\filcenter\thispagestyle{empty}} {}{0pt}{ ...
1
vote
1answer
55 views

Remove newline *before* \section

I have searched a lot to find an answer to this question, but I could only find how to remove a newline after \section (or \chapter). How can one remove the newline before \section, as defined by ...
2
votes
2answers
168 views

How to make nice chapter headings without titlesec

I am looking for a way to make the first page for a chapter (a.k.a. the chapter heading) have approximately the upper half of the first page with a chapter number and title, and the text of the ...
1
vote
1answer
49 views

Text titles in table

I'm trying to universally adjust my text titles via titlesec package. Though I cannot use those titles (subparagraph in my case) in a table - there are excessive vertical gaps I'm not able to get rid ...
2
votes
2answers
113 views

Margin adjustment for section text

I've been messing with my margins, section dimensions, geometry package dimensions, and titlesec settings to get this layout (and have, so far, failed): (left margin set at 0.75in) ...
2
votes
0answers
37 views

How do I align the first section title with the top of the first column when using multicol?

I'm using multicol for a two-column layout so I can have column balancing/equalizing at the end of every chapter. I'm also using titlesec to format my chapter/section/subsection titles. I've been ...
4
votes
1answer
75 views

Trouble setting header content conditionally with titlesec and extramarks

I'm writing a commentary on a Classical text and trying to imitate many of the layout choices of the Cambridge Greek and Latin Classics series. In particular, I've been working on having the header ...
3
votes
1answer
104 views

TikZ&Titlesec: complicated part design

I am trying to do the design as shown on the picture below. The background includes two layers: vertcal line pattern and gradient layer where is lower color is transperent and upper color is white ...
3
votes
2answers
209 views

Replacing \fancyhdr with \titlesec in complicated design documents

Thes page on the picture below (from this post) has been created within \fancyhdr package, but I need to something like this keeping incompatible \titlesec usage and using twopage layout. Really, I ...
2
votes
1answer
72 views

Display \parttitle in header\footer with titlesec package

I want the \parttitle displays in the header, however, as you see on the picture below, this command has been ignored: I tried solutions from there questions: How to get part name in LaTeX ? ...
1
vote
1answer
73 views

How can I access short section content to avoid repetition?

I'm making frequent use of short section names for styling. I want the short names to appear in page headers and the longer name only in the document itself. I have that worked out, but it requires a ...
0
votes
0answers
15 views

Using {align} for equations affecting titlespacing settings

I have adjusted the whitespace around my section headings by using the following code: \titleformat{\section}[display]{\color{black}\normalfont\sffamily\bfseries\large}{}{0cm}{\numb} ...
0
votes
0answers
54 views

titletoc: strange output

Using the titletoc and titlesec packages and creating the specific pagestyle, I got the strange output as shown on the pictire below. The MWE is... \documentclass[a4paper,twoside]{article} ...
2
votes
1answer
35 views

titlesec-package prevents TOC from showing full subsection number

I'm using titlesec for customizing section titles. The problem is, that it prevents TOC from showing full (sub)subsection numbers. This applies to referring to section labels as well: ...
3
votes
1answer
37 views

How do I avoid `sectsty` removing a line break when using `paragraph` as a subsubsubsection

I am trying to use the first bit of code in this answer to use paragraph like a subsubsubsection. The problem is that there is a conflict with sectsty - without this the output is exactly as in ...
7
votes
1answer
43 views

Two footnotes in a heading, only one is displayed at the end of the page

I'm adding two footnotes to a section heading: \documentclass{article} \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lipsum} ...
5
votes
1answer
121 views

confine heading in tikz node using titleformat

I'm using a quite fancy style for my chapter heading, i.e. \documentclass[12pt,open=left]{scrbook} \usepackage{tikz} \usepackage{pgfplots} \usepackage{titlesec} \usepackage{titletoc} ...
3
votes
1answer
88 views

Remove both number and chapter but keep in TOC

I am using \documentclass{book} with both packages tocloft and titlesec. I can't figure out if there is a way to remove both numbering and 'Chapter' (e.g "Introduction") from my \chapter's, but keep ...
0
votes
0answers
53 views

Prevent titles at bottom of page—sometimes

I have a book that contains both prose and poetry. I don't want a poem to start too close to the bottom of the page. That's what the nobottomtitles option of titlesec is for. I don't want this to ...
0
votes
0answers
32 views

\titlesec mesh up with bookmark anchor in star-section

When \titlesec is enable, the bookmark anchor to \section*{text} is shifted one line. How can I redifine \titlesec so it does not add a line in *-mode? \documentclass{book} \usepackage{titlesec} ...
3
votes
2answers
159 views

How to have colored headings with one color per chapter

I'm typesetting a proceedings-style book that contains articles in their chronological order. Since the articles are also categorized, each category is assigned a color and the the chapter styles are ...
3
votes
1answer
100 views

Different titleformat style for different numberless chapters

I want each numberless "chapter" page to have a different style for the title. Please see: \documentclass{book} \usepackage{titlesec} \titleformat{\chapter}[display] ...
2
votes
1answer
62 views

What do I tell titlesec to get default values?

I'm making a style package for my student union, changing to our official fonts and adding other convenience methods. I've declared a main (serif) font and a title (sans) font family, and I want to ...
1
vote
0answers
47 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
50 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} ...
1
vote
1answer
86 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 ...
4
votes
1answer
55 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" ...