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

learn more… | top users | synonyms

1
vote
0answers
81 views

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

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: ...
1
vote
1answer
362 views

title chapter in middle of page latex

I try to put title of my chapter in middle of page, so google it and i finish with this, \titleformat{\chapter}[display] {\normalfont\huge\bfseries\centering}{\chaptertitlename\ ...
1
vote
0answers
56 views

titleformat deviation from specified vertical space

I have specified using titleformat (titlesec) the distances around different headings. This works fine, however sometimes, LaTeX deviates from the specified spaces, presumably to better fill up the ...
1
vote
0answers
80 views

Setup Multiline Title in Titlesec

I need to put next line in multiline title aligned with label title. How can I accomplish this? I guess it has to do with removing the auto-indentation of the next line.
1
vote
0answers
54 views

Figure between title number and title [closed]

I'm using titlesec package and \titleformat command in display shape mode. (Unfortunately I am forced to do it, it's the format required for MSc thesis in my university...). The command in my .cls ...
1
vote
0answers
33 views

Latex: conflict titlesec and tikz packages [duplicate]

I am using the IEEEtran class and I also call in my preamble the titlesec and tikz packages. If tikz is not called my code runs fine. Otherwise, (when calling the tikz package) I am given this error ...
1
vote
0answers
351 views

How to assign distinct font, color and style to each sectioning environment of a document? [closed]

I am trying to compose with *TeX a document that looks like a GDR manual. Basically I need to set a different font, style and color for chapter, section, subsection and subsubsection labels. It is ...
1
vote
0answers
140 views

Subsection language problem [closed]

I work with LaTeX on Windows XP (MiKTeX 2.8, LEd 0.53) and I use Polish fonts that has several unusual letters like "ą, ż, ć" etc. I work in book mode and the problem is that I don't get Polish ...
1
vote
1answer
2k views

Use \titleformat inside \begin{document}

I would like to adjust section headings at some point in the document. However, \titleformat can only be used in preamble, something like the following fails: \documentclass{article} ...
0
votes
1answer
328 views

\titleformat does not seem to work when used within a class file

The following block of code doesn't seem to do anything when I define it in a custom class. But when I use the class but put this block in my preamble, it works as expected. \titleformat{\chapter} ...
0
votes
2answers
92 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} ...
0
votes
1answer
763 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
1answer
2k views

How to change the section font to specific size by using \titleformat?

I want to set the section font to the specific size and type. But using \titleformat can only give few standard types, like Large, large... \titleformat*{\section}{\LARGE\headingfont} ...
0
votes
1answer
44 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
2answers
65 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 ...
0
votes
1answer
69 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
1answer
47 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} ...
0
votes
1answer
84 views

Titlesec command blocked by frontmatter

\frontmatter blocks the propagation of the \titleformat from the preface to the first chapter. Is there a way to avoid that ? \documentclass[11pt,A4]{book} \usepackage{titlesec} ...
0
votes
1answer
178 views

Titlesec, paragraph title disappears using \titleformat

I am using th titlesec package to redefine paragraphs (as well as a few minor changes). Essentially, I just want to change the format from bold to italic font. Here's my code: ...
0
votes
1answer
88 views

Get chapter numbers as text in the report class

im trying to get my chapter numbers printed as text, but on the way there i messed up my section numbers with text "ONE" and "TWO" an such, here is what i was doing, This code centers, pull up and ...
0
votes
2answers
182 views

Avoid chapter pagebreak in twocolumn document

It took me a while to locate the error, but here's a MWE. I am using my own class, provided below: \documentclass[fleqn,10pt,twocolumn]{MWEclass} \usepackage{lipsum} % Required to insert dummy text ...
0
votes
1answer
201 views

modifying the page header

This is a MWE \documentclass[paper=a4,10pt, twoside]{scrbook}% \usepackage{tgtermes} \usepackage[titles]{tocloft} \setcounter{tocdepth}{3} \makeatletter ...
0
votes
1answer
234 views

Chapter titles distance

I am using the titlesec package to adjust the chapter titles/headings of my text. Yet, I have trouble with the resulting distance between these new titles and the body of the text. Namely, the ...
0
votes
0answers
25 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} ...
0
votes
0answers
36 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 ...
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} ...
0
votes
0answers
71 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 - ...
0
votes
0answers
22 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} ...
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
93 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}{ ...
0
votes
0answers
62 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} ...
0
votes
0answers
67 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
38 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} ...
0
votes
1answer
112 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 ...
0
votes
0answers
45 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} ...
0
votes
0answers
60 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}{}[. \ ] ...
0
votes
0answers
111 views

Different format styles for section and appendix titles

I'm using the appendix and titlesec packages to control section titles and formatting. I would like to redefine the appearance of appendix section titles: How can I define the appendix title style to ...
0
votes
0answers
61 views

Remove “Chapter P:” from Preface

I'm trying to reproduce this exact format for a Preface. But my toc still shows "Chapter P: Preface", whereas I'd like it to say "Preface" only. Any ideas? Here's the gist: ...
0
votes
0answers
49 views

getting titlesec package to respect title font, etc in style file

I am using a .sty file submitted by a journal which puts the section headers in capitals format. However, when i use the following \usepackage[compact]{titlesec} \titlespacing{\section}{0pt}{*1}{*1} ...
0
votes
0answers
185 views

How to force lower case in small caps section titles? [duplicate]

I want my section titles to appear in lower case small caps. I tried to define a way to force lower case, but it doesn't work. \\documentclass[12pt]{article} \\usepackage{textcase} ...
0
votes
0answers
89 views

How to install titlesec? [duplicate]

I see all the files in titlesec here at ctan: http://www.ctan.org/tex-archive/macros/latex/contrib/titlesec/ I also see a titlesec folder in my texmf-texlive tree. Apparently what happened is that ...