{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)

2
votes
1answer
25 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
52 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
0answers
13 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
78 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
36 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
75 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
16 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
241 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
69 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
44 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
47 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
85 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
30 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
30 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
43 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
58 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
60 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
79 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
34 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
44 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.
1
vote
0answers
64 views

this command (\setcounter{secnumdepth}{4}) gives a forth subsection, how to get a third subsection [closed]

I am wondering how to get 2.1.2.1 ( using the below commands, I got 2.1.2.0.1) I should not have the zero there. I need to show only up to the third subsection. \documentclass{report} ...
4
votes
1answer
93 views

Another section numbering format

My current section numbering format is something like this: 1 1.2 1.2,3 But I want it to be like this: 1- 1-2- 1-2-3- What should I do?
3
votes
1answer
36 views

Add numbered section to toc without using \section

I'd like to have a new section in line with the usual numbering, without it showing in the text. I include multiple PDF files using the \includepdf command. Each of them is a subsection which I'd like ...
4
votes
1answer
60 views

How not to expand acronym in ToC or section title

I want just the opposite to this post. Actually the idea is that in ToC, sections, chapters, etc titles the acronym is not expanded. But then the first time it is used in the text it should be ...
4
votes
2answers
73 views

Produce pdf of selected sections

I'm writing a commissioned chapter for a handbook and I want to produce a pdf of three specific sections of my document to send to a colleague who is writing a different chapter for the same handbook ...
0
votes
2answers
38 views

Indentation inside of text

I know that the title of this question might be a little bit confusing, but I don't know how can I solve my problem and even how to search for the solution. I want to make inside a long text something ...
2
votes
1answer
44 views

Unwanted vertical space/glue between consecutive custom \section macro calls

I am using XeTeX. I need to redefine the \section and \subsection commands in order to use some macros which don't behave well with the titlesec and/or sectsty packages. I found some code to do ...
0
votes
0answers
19 views

Parallel chapters in eledpar

I'm trying to typeset two parallel texts using eledpar. I want to have \chapter in both texts independently running in parallel. I would want to have two independent TOCs. When I add them they are ...
8
votes
1answer
87 views

Modifying the section, subsection and subsubsection style

I want to create this I want this to draw every time I use the command for the section, subsection and sub ​​subsection I already have the code for the graphics, but I do not know how to do all ...
0
votes
2answers
40 views

How can I keep the size of my subsubsection the same size as the paragraph font size?

I would like to keep my subsubsection header the same size of the paragraph font, can someone help me? at the moment the subsubsection font is the equivalent of \small whilst the paragraph font is ...