{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
30 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 ...
2
votes
2answers
42 views

Vertical space before new section on new page begins

How can you create vertical space before a new section on a new page begins? Using vspace or bigskip does not work. Example: \vspace{5mm} \section{Section 1} Some text \subsection{Section 1.1}
7
votes
2answers
92 views

Chapter, section, etc. numbers on left margin, aligned left

In the memoir class, the "hangnum" chapterstyle puts the section numbers on the left margin, aligned right. How do I change it so that it is aligned left? Here's an MWE with the original definition ...
2
votes
1answer
77 views

Insert the number and name of the section in the header, (including on a chapter's opening page)

By using fancyhdr, I want to get the section name and number in the header of pages and if relievant also the chapter name. To be CLEARER, The question goes to : How to put on the header of the ...
1
vote
0answers
38 views

Section number is not getting printed [closed]

I am not getting the section numbers. for ex. 1.1, 1.2, 1.3.. are not getting printed in output. I want it to be displayed both in table of contents and main page. Right now it is only displayed on ...
3
votes
1answer
25 views

Disable \FloatBarrier for selected sections

I am using \usepackage[section,above,below]{placeins} which does exactly what I want. In order to avoid too many blank pages, I am looking for a command that disables the \FloatBarrier at the ...
0
votes
1answer
28 views

subsection after table appears before

I have the following code: \subsection{AAA} This data was taken from RStudio's fclust packedge. \begin{table}[] \centering \caption{Butterfly data - 3 clusters} \begin{tabular}{ >{\columncolor[...
4
votes
2answers
204 views

What's the space between paragraphs?

\documentclass{article} \usepackage{lipsum} \begin{document} \paragraph{First paragraph} \lipsum[4] \paragraph{Second paragraph} \lipsum[4] \end{document} What is, and what sets, the space between ...
0
votes
1answer
26 views

Numbered exercises as sections

I want to split my document like this Part 1 1) 2) 3) 4) Part 2 5) 6) 7) 8) How is the best way to do this? I could use \section{Part 1} \subsection*{1) ... \section{Part 2} \subsection*{5} ... ...
2
votes
0answers
23 views

Control figures grouped inside a section when there are a lot of them

I am working in my homework where there are a lot of figures. I have a visual problem with figures which they must only placed inside a specific section, but they are shown in the next section. This ...
3
votes
2answers
48 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 ...
1
vote
1answer
35 views

Make LaTeX / KOMA-Script ignore vertical depth in sections

How can I force LaTeX / KOMA-Script (>=3.15) to ignore the vertical depth in sections? MWE showing the problem: \documentclass[twoside]{scrartcl} \begin{document} \section{ja} \rule{\textwidth}{1cm} ...
1
vote
2answers
29 views

Remove subsubsection numbering and remove the blank space when underlining

My question refers to removing the blank space in front of the subsubsections when disabling the numbering. Concerning the way to disable the subsubsections numbering, there is no problem, this is ...
4
votes
1answer
59 views

Re-using label names for different items across chapters

I'm writing my thesis (using a university-specific document type) and am importing many chapters (using the package import). Each chapter is taken directly from a latex file that once served as an ...
2
votes
1answer
30 views

Section Title indents too much at the start of a new page

I have an issue where my consecutive sections when added are being alternatively indented in or out. \documentclass[12pt, a4paper, twoside, titlepage]{article} \title{Bla \\ Bla\\ Bla } \author{Bla ...
3
votes
2answers
92 views

Bad Bottom Spacing For Equation After Section

As shown below the bottom spacing after the first equation is smaller than it should be to look right. I know I could manually add space, but is there a way to fix this automatically? I do know I ...
0
votes
1answer
19 views

New line after \subsection in amsbook

How can I get a new line after the subsection command in the amsbook template? \subsection*{Nursery Rhyme} Mary had a little lamb does not put Nursery rhyme on one line and Mary had a little lamb ...
3
votes
1answer
42 views

Fixing section numbers to alphabet letters with \theHsection

I researched, and I am having a similar trouble to this one: Reset section numbering between unnumbered chapters My problem is the following. I am using koma-script book class. I want to use \chapter*...
0
votes
1answer
38 views

How can I have subsection headers in a separate column while maintaining document structure and control of fonts?

I am trying to typeset a document (a CV) so that subsection headings (and only those) are in a separate column to the left. I would also like to be able to control the fonts for content and headings (...
2
votes
1answer
27 views

Add period to section numbering AND change font style of subsections simultaneously

A journal is requiring me to have the following formatting: 1. Section 1.1. Subsection Note that for the subsection the numbering is also unbolded. In other words, add a period to all sections, ...
1
vote
1answer
57 views

How to drop “Chapter X” in a particular chapter?

Is there a way to just drop the Chapter X name in a particular chapter? I tried these two but they change things across all chapters: \renewcommand{\chaptername}{} \renewcommand{\thechapter}{}
2
votes
1answer
28 views

Having titles stay with text

Hello I am writing a fictional story in latex and i'm having trouble with dialogue boxes. When a character says something their name and dialogue are put together in a borderless box. However i am ...
2
votes
1answer
36 views

autoref inside a section name, using amsthm and thmtools

The following example works well: \documentclass{article} \usepackage{amsthm} \usepackage{thmtools} \declaretheorem[parent=section]{theorem} \usepackage{hyperref} \begin{document} \section{Section} ...
1
vote
1answer
54 views

numbering sections in thesis

I know these type of questions have been asked previously, but i am still having problem with the numbering of sections and subsections in my thesis. I have the following MWE: \documentclass\[12pt,...
1
vote
1answer
96 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: ...
3
votes
1answer
66 views

Own Chapter and section

I know there are probably tons of question like this but I cant figure the whole out for myself. I'm searching for an way of defining own chapters or sections in an only slightly bigger font like: ...
3
votes
3answers
72 views

Numbering sections, subsection, subsubsections

I'm using the class book and for each chapter, section, subsection, etc. the numbering starts this way: Chapter 1 Section 1.1 Section 1.2 Section 1.3 . . . I would like to have ...
1
vote
2answers
45 views

Remove Chapter numbers, keeps Section numbers

I do not know how to remove the Chapter numbers in front of each chapter (Chapter #), and in the same time keep the section numbers. So I need something like the following: Chapter name 1.1 First ...
0
votes
2answers
60 views

How to create a part?

I am using scrartcl and I want to create a part in the center of a page like this What should I do?
2
votes
2answers
85 views

set \parskip but not for headings

I want to define the vertical space that is inserted between text paragraphs when there is an empty line in the code. If I use \setparsizes{0pt}{1.0\baselineskip}{0pt plus 1fil} or \setlength{\...
0
votes
1answer
52 views

How to customize subsubsection to have the usual four-digit numerical number in Classicthesis in LyX

I am using latest LyX version of classicthesis template. What I want is the one including the numerical number, which is normal setting under document setting "book": What I get under document ...
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 ...
2
votes
1answer
47 views

Removing numbering everywhere except table of contents

What I essentially want to do is to remove numbering of sections everywhere(primarily, the header and in the main body) except the table of contents so that sections are numbered there but my left ...
0
votes
1answer
40 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 ...
0
votes
1answer
31 views

section title is printed out over section number (both TOC and minitoc)

I want to change the chaptername to something like Test Chapter, and Section to Test Section. Problem is, in the Table of Contents, the section title My first section is printed out over the Test ...
3
votes
2answers
35 views

Changes to spacing inside floats

I have a two-column style, but sometimes I want to put some text across the whole page. An easy way to do this is inside one of the starred float environments. I am using table*. However, I notice ...
2
votes
1answer
44 views

using \dq in \subsections: has an extra }

I defined \newcommand{\q}[1]{\dq#1\dq} for the easier usage of the quotes. Now I want to make subsections containing quotes... \subsection{ \q{build} } This line above causes an error for l.42 ......
2
votes
1answer
64 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: \usepackage{...
0
votes
0answers
72 views

Numbering of sections, subsections, subsections, and all theorem-like environments in the dictionary order

I would like the numbering of sections, subsections, subsections, and all theorem-like environments to be in the strict dictionary order. Moreover, the number of a theorem-like environment contained ...
2
votes
1answer
23 views

Multiple Chapter Styles in same Document

I have a newbie question: I have a two-part document and I would like to use a different Chapter styling for each one; I've looked up in this database and "googled" it, to no avail. Any idea? Thank ...
4
votes
1answer
56 views

Numbering Theorems with section number but not resetting the counter

I want to number theorems in the form "Theorem 1.4.26", such that the first two numbers are the chapter and section numbers and the last one is the number of the theorem in the whole book. That is, ...
7
votes
0answers
81 views

Why equation Recognizes section Above While aligned Does Not

I am placing equations either right after section headings, right before them or both. I know that this is not advised, but I do believe in my context it looks better. One interesting thing I noticed ...
2
votes
1answer
27 views

Redefine \section to be added to the index automatically

I would like to have my section headers to be listed in the index by default. So i tried to redefine the \section command like this \documentclass[10pt,a4paper]{article} \usepackage{makeidx} \...
3
votes
1answer
40 views

Remove the word “chapter” in book class and put number in the white margins at the same time

I am working on my thesis in the book class, I work in Kile under Linux. So this is an overview of my latex code: \documentclass[a4paper,10pt]{book} \usepackage[utf8]{inputenc} % ### Chapter title ...
1
vote
1answer
24 views

Specify level of contents table

I my document I have several chapters with sections and subsections. In the generated contents table, it would look like 1. Chapter 1.1 Section 1.1.1 Subsection 1.1.2 Subsection 2. Chapter 2.1 ...
1
vote
1answer
29 views

Question about section placement for tables and figures

I am having a problem with my table environment and the section headings. In particular, I'm not sure why my table and figures section seem to be placed together without the table to split them. This ...
4
votes
1answer
83 views

Numbered sections in APA6

I am trying to get automatically numbered sections, subsections, and subsubsections while using the APA6 format. Is it possible to number sections even though section numbers were deactivated by APA6? ...
7
votes
3answers
114 views

Sort sections according to alphabetical order

Is it possible to tell latex, that it should sort the sections you used in your document according to their alphabetical order in the final pdf document? I.e. I want to have something like this \...
3
votes
1answer
43 views

Making part style match chapter style VZ34 in memoir class

I am using a slightly-adapted chapter style VZ34 (found in Madsen's 'various chapter styles' PDF, created as a variant over VZ39), which I would like to apply also to the layout of my part divisions. ...
0
votes
0answers
41 views

Redefine section command to show its title only in the table of contents

I am typesetting a novel using the memoir class and I have a question about sectioning. memoir has anonymous breaks to break a chapter into scenes, but these anonymous breaks are not real (or seem ...