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

learn more… | top users | synonyms

3
votes
1answer
42 views

Page numbers on bottom right footer

I'm using class report (one sided document) and the package titlesec. How can I put the page numbers on bottom right footer on all the pages?
4
votes
1answer
171 views

Bad interaction between titlesec/titleps and packages that use \markboth internally

The following MWE demonstrates a bad interaction between endfloat and titleps. The second page has the word FIGURES in all caps in both the header and the footer, contrary to the page style ...
1
vote
0answers
18 views

How to remove space after a section, and remove before a subsection?

I'm trying to get rid of the blank lines that appear after I begin a section, and between subsections (so before a subsection?) Currently I'm using \usepackage{titlesec} ...
5
votes
2answers
52 views

How can I have a vertical bar in chapter title which scales with the broken title?

I am trying to reproduce a nice chapter title as shown as Less is More in this blog using titlesec: \documentclass{report} \usepackage[T1]{fontenc} \usepackage{titlesec, blindtext, color} ...
1
vote
1answer
25 views

Horizontal little box before section's heading?

I cannot find properly what I need about my topic. I would like to set customized section's heading like in the example, but I am not so good with latex. Can someone maybe implement my code or ...
2
votes
2answers
23 views

Center the “part name” in the table of contents [duplicate]

I want to change in the table of contents the look of the parts. I reproduced on Word what I want : I've looked into the site if the question was already answered but I didn't found what I want. ...
0
votes
1answer
1k views

fancy heading … \section{} titles disappears

By combining the next two questions-answers Fancy chapter headings and Section title gradient . I have this effect. The problem is that the name of \section{} disappears. What is wrong? ...
0
votes
0answers
19 views

Title table of content spacing

I am actually using the following commands to format my chapter titles: \usepackage{titlesec} \titleformat{\chapter}[display] {\normalfont\bfseries\filcenter} {\LARGE } {1ex} ...
1
vote
1answer
34 views

Personalize title 2

Seeing my previous question (solved), I have another doubt. Now that I have personalize also the contents, the TOC style is in conflict with the chapters style. There is another thread about this ...
0
votes
0answers
40 views

How to modifier chapter*?

\documentclass{book} \usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry} \usepackage[utf8]{inputenc} \usepackage[charter]{mathdesign} \usepackage{graphicx, calc} ...
3
votes
2answers
64 views

Change format of chapter

How to change format of chapter like this photo, please? \documentclass{book} \usepackage{titlesec} \usepackage[tracking=true]{microtype} \usepackage{lipsum}% juts to generate text for the example ...
2
votes
1answer
50 views

Automating Title Capitalization in Sections, Subsections, etc

I'm trying to automate the capitalization of titles in sections, subsections, etc. Basically, I'd like to format every title with \capitalize from the stringstrings package. One approach I've tried is ...
1
vote
1answer
53 views

Long title problem with fancyhdr and titlesec

I have the same problem as How to use short subsection title in header but not in table of contents?, and the solution given works almost well. The difference is that also use the package titlesec. ...
0
votes
0answers
20 views

How to move the position of chapter up? [on hold]

I have some problem with setting the position of chapter (is located too low). How to move the position of chapter up? thank you so much, Ohm
4
votes
2answers
179 views

Is there a way to set colors of hyperref links and urls differently in headings / sections than in the body?

I know hypersetup from hyperref needs to be added before \begin{document} but after \usepackage{hyperref} and \usepackage{bookmark}. For example, you can inject it like the following to ensure this: ...
2
votes
1answer
126 views

Change spacing before chapter title within frontmatter

I am using the report class for my dissertation, which requires 2 inch margin beginning at each chapter. I am using the following command: \titlespacing*{\chapter}{0pt}{2in}{1in} This works fine ...
4
votes
1answer
90 views

A titlesec to KOMA-script lexicon: how to emulate titlesec commands into KOMA native ones?

Could we create a titlesec to KOMA-script lexicon? Or, in other words, how to emulate titlesec commands with native KOMA ones? The point would be to define ...
2
votes
1answer
19 views

Add a period after section number with memoir class

I was using the titlesec command \titlelabel{\thetitle.\quad} to add a period after the section number, but it isn't compatible with the memoir options : \section[Section title in TOC][Heading ...
1
vote
2answers
56 views

Blank page before titlepage using indented sections

I'm trying to indent all my contents except for all headings. I tried using the method described in this method for indenting all the normal text. However, if I combine it with either a \title command ...
3
votes
2answers
39 views

Section headings in a separate column

I'm interested in achieving a two-column layout like the following, where the columns are flush with the left and right margins of the page: | section heading | lorem ipsum lorem ipsum lorem ipsum ...
0
votes
1answer
17 views

Latex titleformat not applied to the section number

I'm changing the structure of the title for a journal publication. I am using titleformat as follows \titleformat{\subsection}{\itshape}{\thesubsection.}{.7em}{} but the "problem" is that ...
1
vote
1answer
53 views

titlesec 2.10.1 seems to completely break \section

Here's my testcase: \documentclass[12pt,english]{scrartcl} \usepackage{titlesec} \begin{document} \section{Foo} \end{document} Using "pdfTeX 3.14159265-2.6-1.40.16 (TeX Live 2015)" and titlesec ...
0
votes
0answers
27 views

Titleformat and underlining section heading

I have used the following code to format my sections, subsections and sub sub sections: \titleformat*{\section}{\fontsize{18}{18}\bfseries\color{blue!30!darkgray}} ...
1
vote
1answer
31 views

Section headings with horizontal rules above/below that aren't broken by page breaks

I want to create \section headings with horizontal bars before and after the title. I'm trying to mimic the top-level sections in the old old Coherent unix manual. On page 1: What I have so far: ...
9
votes
1answer
246 views

titlesec: loss of section numbering with the new update (2016/03/15)

After reinstalling TeXLive distribution (install-tl-20160318, Ubuntu 14.04), a issue occurs with the updated version of the titlesec package: the section numbering is lost. What could it be missing? ...
1
vote
1answer
54 views

Package titlesec 2.10.1 in XeLaTeX removes numbering on sections and subsections [duplicate]

I've been using titlesec in XeLaTeX for quite a long time and never had problems with it. But recently, I updated it via tlmgr (as I have TeXLive 2015) to 2.10.1 and now I'm facing this situation: ...
2
votes
1answer
33 views

Getting formatting and spacing of \section

I'm trying to create a new \section command with a slightly different text formatting. While I can figure out how to do this with the titlesec package, I would like to avoid manually inserting the ...
1
vote
0answers
23 views

Section numbering disappeared after updating titlesec package [duplicate]

I'm using classicthesis to write my reports. I've always use the tweaked version of it since 2011 for my stuffs (e.g. back then it was for the master thesis). Today after updating the package in ...
1
vote
1answer
42 views

When 2 \newpages in raw are joined, and when not?

I tried to define my chapter so it will have an empty page after it, using titlesec. Using 2 newpages in a raw didn't help. I concluded that they are joined together, as if I wrote only 1. Solved this ...
0
votes
0answers
41 views

title sec throwing error

I am getting an error while using titlesec package: \usepackage{titlesec} % Allows customization of titles \titleformat{\section}[block]{\large\scshape\centering{\Roman{section}.}}{}{1em}{} % Change ...
0
votes
1answer
33 views

How to force two “blocks” to be on the same page, without minipage?

I have the following situation (what follows is pseudo-code): \mySection*{Title} \begin{mdframed-theorem} Bla bla [...] that is long. \end{mdframed-theorem} Then something else, the starting of ...
1
vote
0answers
42 views

Titletoc / Titlesec numbers overlap text

Pretty simple problem, I have part numbers included in my section and subsection numbers, and I want to increase the space after the numbers, preferably without screwing up the rest of the alignment. ...
2
votes
1answer
54 views

Centering section with label and title on separate lines

I am trying to center a section title with the section label on one line, and the section name on the next. ie: | Article II This is the Title | My attempt: ...
3
votes
1answer
32 views

Length of Titlerule

I have a picture on the right side of the title. For the title I'm using the underlining with \titlerule. Is it possible to adjust the line in length? I would like to have the line only go to the ...
3
votes
1answer
87 views

Replace titlesec-chapter style with KOMA

I have built a very nice chapter style with titlesec: Unfortunately there's a warning for the use together with "scrbook". That's why I want to replace titlesec with KOMA. Can anyone please help me ...
16
votes
4answers
5k views

paragraph style - how to force line break? \paragraph{} \\ - make paragraph a header?

I want to format paragraph to work as a regular title \paragraph{title} text goes here output of that is: title text goes here how can I change the output to force line break and use the usal ...
0
votes
0answers
18 views

Titlesec removes numbering on subsubsection [duplicate]

I am using report class with the titlesec package. When I enter a \subsubsection the numbering format is removed. MWE: \documentclass{report} \usepackage{titlesec} ...
3
votes
1answer
51 views

Managing spacing around \section inside a minipage with titlesec

I'm having some trouble getting proper padding around my section headers inside minipages. \documentclass{article} \usepackage[explicit]{titlesec} \newcommand\Vhrulefill{\leaders\hrule height 0.7ex ...
2
votes
0answers
28 views

Suppress section numberrs in TOC

I am creating a file, where the section headings should have box around the number. Also, some sections should not display this number even though the box should still be there. To solve this, I ...
0
votes
1answer
50 views

Is it possible to have multi-line headers/footers in the `titlesec/titleps` bundle?

I have to produce the following layout scheme in the footer of a customized book document by using titlesec and titleps: Left Center right ...
1
vote
1answer
65 views

classicthesis and titlesec

I'm still trying to make classicthesis work. The problem now is that I get lots of warnings about titlesec... As a matter of fact, with this preamble \documentclass[a4paper,11pt]{scrbook} %fonts ...
1
vote
1answer
81 views

LaTeX vertical spacing after numbered paragraphs

I'm relatively new to this forum and LaTeX in general, so please excuse me if I'm duplicating a question, but I can't find a satisfying solution to my problem. I have introduced numbered paragraphs by ...
0
votes
0answers
44 views

tufte-book and marginfix

I want to apply this fix Full width text shifts all marginfix-ed floats off the page to the right to the tufte-book document class, however I get an error whenever I use \chapter. ...
4
votes
2answers
2k views

how to color the header's bottom line or footer's upper line?

The title is self-explanatory. In my document's current state, I get this rendering result after compiling with XeLaTeX : Here's a MWE of which packages and commands I use to obtain my current ...
2
votes
3answers
125 views

Vertical spacing in KOMA-script

How can I change vertical spacing (and indents) of \paragraph, list and list item elements in KOMA-script article class? Is there some canonical way to do this? I've tried to use titlesec package, ...
3
votes
1answer
70 views

Titlesec space issue

\documentclass[11pt,]{article} \usepackage{titlesec} \titleformat{\section}[leftmargin]{\normalfont \titlerule*[.6em]{\bfseries.}% \vspace{6pt}% \sffamily\bfseries\filleft} {\thesection}{.5em}{} ...
3
votes
1answer
37 views

How could i adjust the direction of section number and section name?

In Default Settings , LaTeX let the section name and section number both are bottom align, like this: now I want them use the "center align" like this: I try to use the titlesec package to ...
1
vote
0answers
121 views

Adding a sectioning level with titleclass and tocdepth

I want to add a subchapter sectioning level, between chapter and section. I use the \titleclass command from titlesec package. According to titlesec documentation, ...
1
vote
1answer
39 views

Can you change the style of the section number but not the subsection

So I'd like to make the section headers be 1. Introduction for instance but not the subsections 1.1 Subsection I've tried these commands here: How to add a dot after the section number? but they ...
2
votes
0answers
25 views

Use titlesec from Sublime 2

Sorry for the stupid question.. But how is it possible to use the titlesecpackage of LaTeX from sublime 2? Thanks in advance.