{sectioning} is about commands like \chapter or \section forming the logical structure of documents. For questions specifically about {parts}, {chapters} or lower-level commands ({sections-paragraphs}), add the respective tag to the more general {sectioning}. A popular package is {titlesec}.

learn more… | top users | synonyms (2)

1
vote
1answer
28 views

Empty line after \paragraph?

In order to have a subsubsubsection I have used \paragraph. The problem is that I get text immediately after the tittle. How do I make to get a empty line after \paragraph?
1
vote
1answer
30 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 ...
0
votes
0answers
27 views

How to make the line spacing of different sections in one chapter?

I have a chapter in my report that has many sections. For some reason, I would like to make the line spacing for some section equal 1 and 1.5 for some others. So for example I have a chapter called ...
2
votes
1answer
42 views

Remove additional space before section in tcolorbox

When I set the parbox option of a tcolorbox to false, every section, even the first one, is preceded with additional whitespace. Is there any way to tell tcolorbox to handle the first section ...
5
votes
1answer
58 views

Small indentation appears when adding custom header

A small indentation appears on the first line of the paragraph when I add \pagestyle{myheader} to the MWE. I don't want it there. Thanks to Gonzalo Medina's answer I did the part described in Section ...
4
votes
2answers
43 views

\renewcommand not working for subsection

I wanted to number sections with alphabets and subsections with roman numbers I have added these two lines above \begin{document}: \renewcommand \thesection {\Alph{section}} \renewcommand ...
0
votes
0answers
20 views

Customize sections' numbering [duplicate]

I want to customize my sections to look like the following but I don't know how to do it. Can somebody help ?
4
votes
2answers
94 views

How to center an unnumbered section name?

I have a chapter chap1.tex in latex project project.tex which has the following sections: \chapter{Overview} \section*{Introduction} \section{Model} \section{Discussion} When I run my ...
5
votes
1answer
17 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, ...
3
votes
1answer
73 views

How can I redefine the chapter command to display additional text below the title?

I'm relatively inexperienced with Latex. I'm using the Memoir class and I've been trying to develop a custom chapter style based on Danie Els' BlueBox style (the source for this is given on page 46 of ...
3
votes
1answer
38 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 ...
1
vote
1answer
55 views

How to create custom section titles with a “<title> <number>” format in LaTeX?

I have the same problem like here: How to create custom section titles with a "<title> <number>" format in ConTeXt? But I would like to solve it in LaTeX. Is there a simple way ...
1
vote
1answer
24 views

How to make \chapter and \part align right and get a quote under them?

Consider this example: http://jmvdveer.home.xs4all.nl/algol68g.pdf Section and chapter titles are set so they align with the right margin, how do I do that? and more importantly, how do I make them ...
1
vote
1answer
82 views

How to get Arial Narrow typeface in section header in pdflatex

I am new to LaTeX, so I hope this is not obvious, but have searched for straightforward documentation on how to do this and can't find it. I am creating a chapter for a book that has very specific ...
2
votes
1answer
22 views

Problem with color in \part heading

Below is my code, where the myBox definition interferes with the color of the heading I define for my part style. Any ideas why the horizontal line in the \part heading becomes blue? I want it to be ...
2
votes
1answer
37 views

KOMA-Script: How to colour just the section numbers

I have added a splash of colour to my thesis and found it looked quite nice. The theme is: Chapter and Section headings are a dark blue, and the numbering is a brighter blue. I managed to do this for ...
3
votes
1answer
50 views

Redefine \part style

I'm using \documentclass{book}. I want to modify my \part style so that I can get a page that for instance illustrates the following content (basically Part title + a quote at the bottom): ...
4
votes
2answers
79 views

\part Heading style

I'm using \documentclass{book}. I like to redefine my \part style to sth similar to the one in the picture below. So, I like when I use part I get sth similiar to pic below with "Part" instead of ...
0
votes
0answers
23 views

How to bold the chapter number

I have removed the "Chapter" text. Now I want to make the number of chapter bold. How can I do this \titleformat{\chapter}{\rmfamily\huge}{\thechapter.}{25pt}{\huge\textbf}
2
votes
0answers
36 views

Using Lua in listed elements (List of Figures, List of Tables, List of Content)

I am not sure if I use the wrong approach or if this is an issue in LuaLaTex in general. I tried to integrate some internationalization (I18n) to our documentation framework using Lua. Long story, ...
2
votes
1answer
17 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? ...
11
votes
2answers
246 views

How can I put section between 2 horizontal lines

Could anyone tell me how can I put section between 2 horizontal lines. I tried something similar to the following code but it did not work. \makeatletter \renewcommand\section{‎ \hrule ...
3
votes
1answer
70 views

Reducing chapter and section spacing for scrbook

I'm using scrbook document class and using chapters and sections. The spacing between chapters and sections is quite large, too large for my taste (before and after the chapter and section). So my ...
3
votes
1answer
45 views

My Own CV Template - Help!

I wanted to develop a hybrid of moderncv and article class, another CV template. I am facing difficulties. Here is my code till now: \documentclass[12pt]{article} \usepackage{libertine} ...
5
votes
2answers
49 views

How to renewcommand the word-size in section titles?

I type \section{\Large Section title} to make the section title larger than what it originally appears. Please could you tell me how to achieve this effect by redefining the command \section ...
2
votes
2answers
86 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 ...
5
votes
1answer
31 views

Split the reference counter for any numbered item (like with subequations)

Not sure how to otherwise formulate this: in the MWE below, I can use {subequations} from amsmath, so I get two equations with the same equation number, and "a" and "b" added instead - and I can refer ...
2
votes
1answer
30 views

Headings including sections and/or subsections

i got a problem with my headings. This is what I defined: \documentclass[paper=a4,12pt,bibliography=totoc,twoside,headsepline]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} ...
2
votes
2answers
44 views

use numbering instead of italics in a subsection

I have the following problem: The following LaTeX code: \section{A Section with some Tables} In this section we present the results of our computations for the Coxeter groups of types $B_3$, ...
2
votes
2answers
44 views

set section environment to be math only, amsmath's begin{gather}

I want to create a small formulary, and for that virtually every line has to be math formulas. I use the gather-environment from the package amsmath, for example: ...
5
votes
2answers
60 views

How can I have sections and subsections aligned in the table of contents?

\documentclass[12pt,headings]{article} \begin{document} \tableofcontents \section{section A} \subsection{subsection A} \subsection{subsection B} \end{document} I want section A and subsection A,B ...
5
votes
1answer
71 views

How can I add dot after the subsection number?

I use \usepackage{secdot} so I achieved dot after section numbering. But I can't for subsection
2
votes
1answer
31 views

Should the sectioning command \paragraph be used to delimit blocks of text of more than one paragraph?

1 An example section I've read that \paragraph is a sectioning command one level lower than \subsubsection. However, it seems to work a little differently. For one thing, it is unnumbered (unless ...
2
votes
1answer
46 views

Glossaries package has a conflict with \boldsymbol in headings while hyperref is loaded

I have encountered an error while trying to add glossaries to a document where I had used \boldsymbol in a \section command, this error occurs only if the package hyperref is loaded. I hope the ...
1
vote
0answers
48 views

Make paperheight (page length) same as section length

I'd like a document where each section is followed by a page-break but otherwise is one page. The sections have varying lengths, mainly due to the size of the picture(s) in each one. So far what I ...
2
votes
1answer
61 views

Controlling the numbering of section titles

Now i need to attach an endnote to the number of the beginning of section 16, and naive manipulations like \section{\endnote{$\pi=3.14$}} will make a big gap between the number 16 (which is ...
4
votes
2answers
61 views

Wrong section numbers when using background package

I am using background package to add current section number to the background of each page. But it seems the section number is wrong. The MWE is as follows: \documentclass[12pt]{article} ...
0
votes
0answers
31 views

Section, subsection and content [duplicate]

I have content in the following format: Section -> subsection -> subsubsection1 (lot of images here) -> subsubsection2 (some other content) Now the problem is that while creating subsubsection2 ...
1
vote
0answers
68 views

\subsection* doesn't remove section numbering [closed]

I'm trying to use \subsection*{foo} to form a title of a subsection that isn't proceeded by a number. However, every time it results in a number x.0 , where x is the number of the section above ...
0
votes
0answers
28 views

why this Latex template does not allow the \paragraph and \subparagraph sections to appear in the contents [duplicate]

Hi : the template is below , as you see the chapters are called in this file . I have all my chapters saved separately.At the begining of each chapter, I inserted this command ...
0
votes
2answers
80 views

show subsections in the outline

I have been trying to show my subsections in the out line but could not manage to do it. I used the following command: \setcounter{tocdepth}{4} \setcounter{secnumdepth}{4} I can see all my ...
2
votes
1answer
35 views

Glossary-like list of subsection headings

I have a document, that has same subsection headings on multiple pages. I would like to create something like a glossary, that prints the list of headings and references to the pages where the ...
1
vote
0answers
18 views

Warning: Difference (2) between bookmark levels is greater than one [duplicate]

I have Similar Question to this . I have following hierarchy \part -> \section -> more than one \subsection --> the content of subsection . see the following code necessary imports are ...
1
vote
0answers
74 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: ...
0
votes
0answers
22 views

How to set section numbering in [svmult]?

In my book I have automatically-numbered chapters and sections but when I type \chapter{CHAP 1} \section{SEC 1} \subsection{SUBSEC 1} \subsection{SUBSEC 2} I recieve a chapter with number 1, ...
2
votes
2answers
47 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} ...
0
votes
0answers
33 views

Unifying article and report

I'm formating my thesis. When writing drafts I used documentclass article and now I'm migrating to a template which uses documentclass report. I don't like to manualy change \section to \chapter and ...
0
votes
0answers
60 views

How to change heading sizes in LaTeX

I want to make Heading1 16pt Heading2 14pt Heading3 13pt I am using AIT thesis class.
4
votes
0answers
68 views

ConTeXt: How to prevent new paragraph after \hrule in section heading?

I'm using ConTeXt, and trying to setup my document's subsection headings to start with a colored rule. However, any way I've tried doing this results in a rule placed a line higher than the heading ...
1
vote
1answer
46 views

Chapter/Section title in header without numbering

I want to have chapter and subsection in the headings of my document. but the numbering should not exist. Just to mention that I am using the XePersian package.