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

learn more… | top users | synonyms

1
vote
1answer
18 views

Problem with pagebreak in titlepage

I am trying to make a first page template. At this template I want a box at the bottom of the page with some text, but I can not get TeX to put it at the bottom, but rather it is moved to the next ...
0
votes
0answers
24 views

avoid hyphenation in chapter title using tikz and titlesec

[This question is similar to the one here, but the solutions given there do not work in my context] In a (fairly complex) book I'm using titlesec and tikz to produce fancy chapter headings, basically ...
0
votes
0answers
24 views

72 pt. spacing before Section heading [duplicate]

I'm trying to add a 72 pt. space before the section heading. I do not only want the 72 pt. between paragraphs but basically every section should start at a new page with a 72 pt. spacing before it. ...
3
votes
1answer
37 views

Do I need titlesec or is fncychap enough for doing the following?

i would like to change the "chapter" style of the documentclass "report" to read something like 1. Introduction in stead of Chapter 1 Introduction Can anyone help me with this? Do I need ...
2
votes
1answer
20 views

Hide titleformat in a macro when [explicit] is loaded

This is a follow-up question to: Different titleformat style for different numberless chapters I have something like the following macro: \titleformat{\chapter} {\normalfont\Huge\color{blue}} {} ...
4
votes
2answers
53 views

Start new page with each part

How can I automatically start a new page with each part? I found this answer, which work nicely for section breaks, but was unable to customize the command to works with parts. I looked the titlesec ...
1
vote
1answer
45 views

Change section command in article

In the document class article how do I change the command \section to behave exactly like the command \chapter in the document class book? i.e. write Chapter # and then the title and also leave some ...
4
votes
1answer
50 views

titletoc: getting rid of empty line at TOC start

Consider the following simplified TOC style (yes, the real-life version does look better than this MWE). Thing looks okay except for the fact that the first TOC line lies one line below where it ...
2
votes
1answer
40 views

Using titleformat* with tikzpicture (leaving horizontal mode)?

I'd like to use the same code as in Using tikzpagenodes with crop package? - except with \titleformat*, not with \titleformat. Why? Because in the original code I got with the template for my real doc ...
3
votes
1answer
47 views

Why can't I change the title entry font of TOC using \cftsecfont?

Below is the MWE: \documentclass[a4paper]{article} \usepackage[adobefonts]{ctex} \usepackage{tocloft} \usepackage{titlesec} \begin{document} \title{Hello, \LaTeX !} \author{kk@latex.com} ...
0
votes
1answer
32 views

Thesis formatting according to given conditions

I want to set these properties in my thesis. Chapter heading :All Capital—14 Font size, Bold Section heading:Title case-12 Font size, Bold Sub-section heading :Sentence case-12 Font size, Bold ...
1
vote
1answer
28 views

How to set chapter layout to default?

I changed my chapter layout using the package "titlesec". Logically, the new layout impacts the heading of the table of contents and the bibliography as both are classified as "chapters". Is there a ...
0
votes
1answer
63 views

How to customise lower level heading titles when using the memoir class? (Or: is titlesec still incompatible with memoir?)

I'm using the memoir class I'm trying to customise the appearance of lower-level headings. In one case, what I want to accomplish is very simple: adding a period at the end of a heading title (for ...
1
vote
0answers
27 views

Titlesec problem with hang indent

I am trying to edit my subsection format with titlesec package. I'm using a runin style and adding a \hangindent to try and get the words following but the downside to that is when section numbering ...
1
vote
0answers
26 views

Formatting Appendix Title

I'm having a heck of a time trying to get the \chapter titles in my appendix section formatted correctly. My goal is to make it look something like this : I am able to change Appendix to Annex by ...
5
votes
1answer
113 views

Chapter title page with a tikz mindmap image

This question is an extension of Visual table of contents using tikz mindmap or similar. Now, I would like to use the mindmap for a given chapter on that chapter page, to produce something like the ...
0
votes
0answers
36 views

Custom subsection without newline

I've applied solution Chapters and verses of current page in header into my bible style. It gives text like this In above solution each verse is created by \subsection in new paragraph. I want to ...
1
vote
1answer
66 views

Add parts titles to the LOF

I would like to add parts and chapters to the LOF. I can add chapters but the \apptocmd{\@part} doesn't work unless I comment \titleformat{\part}. Why ? I have found a workaround with ...
3
votes
2answers
108 views

Can someone walk me through how this command works?

I am trying to make it so that my chapters aren't labelled as 'chapter 1', 'chapter 2' etc. I just want it to have the number, with no 'chapter'. I want the word 'chapter' gone. A quick Google search ...
3
votes
1answer
56 views

How to replace the word “Chapter” for appendix items with “Appendix” in book using titlesec

% %-------------------------------------------------------------------------- % \documentclass[11pt]{book} % %-------------------------------------------------------------------------- % % ...
5
votes
2answers
55 views

Adding colon or dash after section

I changed the format of subsubsection to remove the line breaks after them using titlesec package and the command \titleformat{\subsubsection}[runin]{\normalfont\bfseries}{\thesubsubsection.}{3pt}{} ...
2
votes
2answers
86 views

Formatting and Styling of Headers using titlesec in scrbook-class

I'm trying to write a book in LaTeX with scrbook class. I'm not that experienced in typography with TeX, nevertheless I would like to give my chapter-headings a special style. I found a very nice ...
3
votes
1answer
78 views

How to create specific section style using titlesec?

I would like to create section style like in the attached picture, but I didn't find any way how to do it. Usually I'm using titlesec package for section style customizing. Is there any way how to ...
1
vote
1answer
61 views

Customizing titlesec-etoc (further question)

Referring to this discussion: Further titlesec-etoc customization, I've a further question. Consider the fine working code furnished to me by Gonzalo Medina: \documentclass[a4paper,11pt]{report} ...
3
votes
1answer
47 views

Further titlesec/etoc customization

I've the following code: \documentclass[a4paper,11pt]{report} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{titlesec} \usepackage{etoc} ...
0
votes
0answers
42 views

Add vertical space after section only if at top of the page (documents requiring titlesec)?

Sometimes one needs to change the vertical space after a given \section, but only if the section starts at the very top of a page. How could that be done automatically, when the document requires the ...
3
votes
2answers
92 views

List of Theorems and tikz overlay

Suppose you call \listoftherems from the thmtools package, and use titlesec package to modify appearance of chapter headings. Suppose further that in titleformat, you include a simple tikzpicture, ...
2
votes
1answer
64 views

titlesec with the explicit option messes up toc title

When using titlesec with the option explicit the toc title "Contents" is formatted using settings from the (where the explicit #1 parameter must be used). I think the MWE shows it all. %!TEX ...
2
votes
2answers
63 views

Titlesec: Redefinition of sectioning command leads to endless execution of latex

I'm new at TeX.SX and I hope I do everything correct. To avoid answers like "Why do you do this?" I'd first like to describe briefly what I want: I'm developing a class based on tufte-book, which ...
2
votes
1answer
52 views

Stacking section labels in left margin

I am starting to convert to LaTeX to do my homework for Math courses. I want to use sectioning to separate questions \section{5.3} \subsection{1} \subsubsection{a} and look something like this: ...
3
votes
3answers
141 views

How can I maintain the current page nodes for portrait when temporarily entering landscape mode in TikZ?

Question How can I keep the current page nodes aligned with the same physical corners of the page in a document where the main layout is portrait, but some pages with longtable are in the landscape ...
2
votes
1answer
62 views

How can I exclude a custom sectioning command from the table of contents?

Question How can I exclude a custom titling command (sectioning command) from the table of contents? Note that I do not want to simply inherit the \paragraph, because it is reserved for and extra ...
4
votes
2answers
49 views

Preserving part of Chapter text “as is”, from becoming uppercase as per titlesec definition?

Having this MWE: \documentclass{book} \usepackage[explicit]{titlesec} \titleformat{\chapter}[block]{\filcenter}{}{0pt}{\MakeUppercase{#1}} \begin{document} \chapter*{This should be all Uppercase. ...
1
vote
2answers
31 views

Include class numbering in TOC with a subclass entry when using titlesec and titletoc

I am trying to use titleclass to define two new classes : savoir and subsavoir. In the TOC, I would like to get something like this : Savoir 1 -- First knowkledge title Savoir 1.a -- First ...
4
votes
1answer
75 views

How can I calculate the distance added between a title and a titlerule?

Question How can I calculate the distance after a title such that I can place a node where the title rule would go? Example I would like a bar to drop from the top righthand corner of the page down ...
1
vote
1answer
50 views

Remove indent of first paragraph when using titlesec package

I use the titlesec to format section in book class. The section pos to leftmargin, but when I compiled, the firs paragraph have indent. How to remove indent automatically. \usepackage{titlesec} ...
2
votes
1answer
47 views

What is causing the letters to be “all capitalized” in the section and subsection created below?

\documentclass{book} \usepackage[x11names]{xcolor} \usepackage[explicit]{titlesec} \usepackage{framed} \colorlet{shadecolor}{Thistle3!30!} \colorlet{framecolor}{PaleVioletRed3} ...
2
votes
1answer
61 views

Using titleformat, “frame” is supposed to result as “hang”, but in a box (numbers followed by text)

\documentclass{book} \usepackage{titlesec} \usepackage{color} \definecolor{darkblue}{rgb}{0,0.08,0.45} \titleformat{\chapter}[frame] % was display {\normalfont\Large\sffamily\bfseries} ...
2
votes
1answer
60 views

Why are the frame and color fill not properly aligned vertically?

% %---------------------------------------------------------------------------------------------------------- % \documentclass[11pt,a4paper,reqno,fleqn]{amsbook} % ...
0
votes
0answers
17 views

Hyperref warning when combined with package titlesec [duplicate]

How can one get rid of the hyperref warning about the $ signs in the subsection title that are generated in the following minimal example? \documentclass{book} \usepackage{titlesec} ...
3
votes
1answer
69 views

Editing the section's ToC entry with the titlesec package

I want to know how can I change the ToC entry of sections when using the titlesec package? I am using the command \section[short title]{long title}, but the short title does not appear in the Table ...
6
votes
1answer
139 views

Titlesec package - paragraph level headings as margin notes

After hours of pointless googling around I did not manage to find out how... I'm new to LaTeX templates and now I'm trying to make simple (?) modification so that I could have paragraph level headings ...
2
votes
1answer
66 views

problem with titlesec package with tex4ht when using starred version of \section

I just updated my texlive 2014 using tlmgr to fix an older related problem with using titlesec with tex4ht. But it seems a new problem now shows up. This show up only when using the starred version ...
3
votes
2answers
62 views

Problem with customized \part

I use titlesec package to set part style, but I also would like to put the name of the part in header. I try the way proposed in this thread (How to get part name in LaTeX ?). I get the header as I ...
2
votes
2answers
91 views

Show all level section numbering in text, but not in ToC?

I want section numbering in ToC to appear as \renewcommand\thesection{\Roman{section}} \renewcommand\thesubsection{\alph{subsection}} \renewcommand\thesubsubsection{\arabic{subsubsection}} but in ...
0
votes
0answers
117 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
75 views

Classicthesis remove cleardoublepage after part [closed]

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
45 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
51 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 ...
3
votes
1answer
70 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, ...