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

74
votes
2answers
9k views

Fancy chapter headings

I'm searching for nice predefined chapter headings. I've found the fncychap package, and seen that memoir has quite a few, too. Do you know other packages that provide predefined fancy chapter ...
72
votes
1answer
18k views

Continuous v. per-chapter/section numbering of figures, tables, and other document elements

Some document elements (e.g., figures in the book class) are numbered per chapter (figure 1.1, 1.2, 2.1, ...). How can I achieve continuous numbering (figure 1, 2, 3, ...)? And vice versa: Some ...
56
votes
2answers
8k views

How do I ensure that figures appear in the section they're associated with?

Often floats may land quite a bit later in the document than the point they are created, sometimes after a section break. Is there a way to force a new section to start on a new page, after any ...
43
votes
4answers
2k views

Bringhurst chapter style in memoir

I'm trying to imitate Robert Bringhurst's chapter style in memoir. The class includes one such chapter style, but does not typeset the chapter number on the right side margin, as in Bringhurst's book. ...
41
votes
2answers
5k views

Org-mode export to LaTeX: temptation or nuisance?

We are talking about Emacs and Org-mode: There are several advantages of drafting papers with Org-mode and to have them transferred later to LaTeX, e.g.: I'd like to avoid »programming while ...
40
votes
3answers
9k views

Is it a bad idea to use \begin{section} … \end{section} in LaTeX?

In several discussions about relatives merits of LaTeX v. xml, a xml supporter complained that in LaTeX sections, subsections etc are not properly closed, so it is hard to tell where a section ends. ...
40
votes
4answers
31k views

Making the bibliography appear in the table of contents

I need to make my (BibTeX) references section appear in the table of contents of my LaTeX document (documentclass: article), with section numbering too. My approach until now has been making a new ...
39
votes
3answers
26k views

No indent in the first paragraph in a section?

I am just curious that the following format looks good to you or not? The preamble I used is just \documentclass[12pt,a4paper]{article} \usepackage{amsmath} \usepackage{amsthm} \usepackage{amssymb} ...
35
votes
3answers
16k views

What is the right order when using \frontmatter, \tableofcontents, \mainmatter, \part, \chapter, \backmatter, \appendix etc?

I am using the book documentclass and want to know the correct order when arranging \frontmatter \maketitle or \begin{titlepage}...\end{titlepage} a page that contains copyright, ISBN, edition ...
35
votes
2answers
13k views

How to add an extra level of sections with headings below \subsubsection

I have a document which requires many levels of sectioning. I have sections, subsections and subsubsections, but require one more level below that. I can't change the sections to be parts and move ...
31
votes
1answer
21k views

How to change the numbering of \part, \chapter, \section, … to alphabetical, Roman numbers, etc

I'm fairly new to LaTeX and I want to know how to change the way sections are numbered by default. I use LyX, and there it is relatively simple to change the way an enumeration is numbered, i.e. 1 ...
30
votes
3answers
19k views

How can I display a short chapter name in the header and a long chapter name in the ToC?

I am writing a book and one of my chapter has a very long title. As it can't be displayed correctly on the top of even pages, I provide a "short title name" via the \chapter[short title]{long title} ...
28
votes
2answers
16k views

How to set the font for a \section title (and chapter etc)

How do I specify the fonts, and general font size, for the titles, chapters and sections in my document Update: I can see how my question is confusing. I use \section and \chapter etc. to organise ...
27
votes
6answers
1k views

Is it possible to automatically enumerate sentences in LaTeX?

1.0.1 Is it possible to automatically enumerate sentences in LaTeX? 2.0.1 I want to thoroughly work through and criticize a longer text. 2.0.2 To facilitate quoting, I would like to typeset the text ...
26
votes
3answers
8k views

Turn on subsection numbering in memoir

It seems that the memoir class automatically avoids numbering subsection headings. Chapter and section titles are numbered, but subsection headings contain only the subsection name, and are not ...
26
votes
4answers
1k views

Why are Beamer subsubsections evil?

The Beamer manual claims, under "Guidelines for Creating Presentations": Do not use subsubsections, they are evil. Why? There's no further explanation. Is it simply because subsubsections are ...
25
votes
3answers
7k views

When is it appropriate to use \paragraph?

LaTeX provides seven sectioning commands: \part \chapter \section \subsection \subsubsection \paragraph \subparagraph. For most of the documents I write or come across, \subsubsection seems to be ...
25
votes
4answers
43k views

Force LaTeX image to appear in the section in which it's declared [duplicate]

Possible Duplicates: How do I ensure that figures appear in the section they're associated with? Keeping tables/figures close to where they are mentioned How can I force an image in a ...
24
votes
1answer
2k views

Book layout Contents, Chapter, Section,

my goal is to get new style of Table of Contents, new style of Chapter and new style of section. I there is one more: how to change itemize native symbol for a black square? Table of Contents: text ...
22
votes
5answers
1k views

Managing volumes of books

I would like to compile all of the books in a series at the same time. This would: Guarantee that everything compiled with consistency. Easily allow for cross-references between books. Allow ...
22
votes
1answer
1k views

How to place a shaded box around a section label and name

In working with a publisher, I need to format section headings like this (using ASCII art): +-----+-------------------------------------+ | 1.2 | Section name | ...
21
votes
6answers
2k views

Where can I find help files or documentation for commands like \@startsection for LaTeX?

I can't find official documentation for the \@startsection command. I already looked in: LaTeX Wikibook LaTeX: Structured document for TEX, 2008 beginLatex — a book that comes with ProTeX in the ...
21
votes
4answers
537 views

How can I have section 100 and section 100a

So I'm typesetting a document, and I go through entries 0 to 99 without trouble, then discover this person has sections 100a and 100. Well, I can get two section 100s easily enough by adding ...
21
votes
2answers
18k views

Change whitespace above and below a section heading

I want to change the spacing around a section heading so that there is less of a gap between it and the paragraph that follows. I found the following commands \usepackage[compact]{titlesec} ...
20
votes
4answers
4k views

How to avoid splitting tables between sections

I have 5 tables and a section after them. After creation of an output file I have two tables on one page, then a section and last 3 tables on next page. What I want to achieve is to put tables and ...
20
votes
3answers
10k views

Correct use of \paragraph titles?

How should I use \paragraph? I mean, If I want to put "Characteristics", should I put \paragraph{Characteristics} or \paragraph{Characteristics:}. Or is it up to me which one to use?
20
votes
2answers
7k views

How to reference \paragraph?

It is well-known that \section environment may be assigned a label \label{refname} and then the refname may be used in order to reference this section: \section{My nice section} ...
19
votes
6answers
5k views

Avoiding page breaks shortly after section/subsection headings

By default, LaTeX allows a page break after the first two lines of paragraphs following section/subsection headings. How can I enlarge this minimum to, say, three lines or 10 percent of the value of ...
19
votes
2answers
385 views

Convert all \subsection to \subsection*

I want all of my \subsection behave like \subsection* Instead of adding * everywhere, I like to add a few lines in the preamble. What should I do? Can I just \renewcommand?
19
votes
2answers
1k views

Incompatibilities between KOMA-Script and titlesec

This is a complementary question to About memoir and titlesec incompatibility. The titlesec manual states (p. 2) that the package [...] works with the standard classes and with many others, ...
19
votes
1answer
393 views

Separate column in table of contents (in Memoir)

I'm curious if there is a way to have another "column" of numbers in the Table of Contents. The book I'm trying to typeset has a column of chapter and section titles, a corresponding column of ...
18
votes
5answers
1k views

How can I indent the paragraphs which follow a heading?

I am trying to write a text where the first line of each paragraph has an indent(tab). But for some reason, in a chapter or a section or subsection, except the first paragraph, the rest of the ...
18
votes
4answers
2k views

Centering \section* and adding them to the ToC

I'm using LaTeX and the book class and have one problem: I want that my starred sections (only starred sections) appear in the center of the pages instead of the left side of the pages and also these ...
18
votes
2answers
200 views

How could I check what font size is in pt for \section, \subsection, and \subsubsection?

There are a lot of results for "setting" the font size, but I can't find one how to "get" them. Here's some code from What point (pt) font size are \Large etc.? I can use to check what font size for ...
18
votes
2answers
12k views

Creating unnumbered chapters/sections (plus adding them to the ToC and/or header)

I'm using the report document class for a thesis, and I need to add things like "Acknowledgements" and an "Introduction". I noticed that there is an \abstract command which would have been wonderful ...
18
votes
3answers
4k views

how to get the current chapter name, section name, subsection name, etc?

How can one get the current name of the following: Chapter, Section, Subsection(s), frame, label, mdframed?
18
votes
1answer
536 views

Create context sensitive headings

This question led to a new package: coseoul Is it possible to create headings in LaTeX where you don't specify what level of the heading you want, but rather if you want to go up, down, stay or ...
18
votes
1answer
703 views

Different vertical spacing (parskip) between concurrent section titles and paragraphs

I'm trying to remove the spacing between section headings, but maintain the paragraph to section heading spacing. Even though I set titlespacing before and after to *0, there is still spacing - quite ...
17
votes
3answers
29k views

Change size of section, subsection, subsubsection, paragraph and subparagraph title

I would like to increase the size of pretty much every headlines, so that it is more prominent than the normal text. I read about the titlesec package, but can't seem to find good example how to use ...
17
votes
5answers
7k views

Equations in section heading/title

For reasons that are beyond me, the following MWE \documentclass{scrreprt} \usepackage{classicthesis-ldpkg} \usepackage{bm} \usepackage{amsmath} \begin{document} \section{The values of $\beta$ for ...
17
votes
2answers
15k views

How do I control the spacing above a new \paragraph?

I'm sorry if this question has been answered earlier or is too basic for this site, but I couldn't find a reference. I'm using LaTeX using the article documentclass. I haven't customized any of ...
17
votes
3answers
943 views

How to add “cont.” section title to the top of pages?

I have a document that contains few small sections. What I would like is if the section name was repeated at the top of page body (not in the header), if new section doesn't start on that page. And ...
17
votes
2answers
4k views

Fancy Chapter Headings

I'm reading a document created with TeX, and it has rather nice chapter headings. Does anyone know how this was done? Update Ok, I've got quite far using TikZ, the only thing I haven't got is the ...
17
votes
1answer
1k views

How can I make a bold horizontal rule under each section title?

I want to place a long bold \hrule-type line under the \section to make it more distinctive. How can I do that?
17
votes
2answers
2k views

Automatically produce outline?

I have a .tex document which is divided into \section, \subsection, \subsubsection, etc. I would like to produce a separate second document which is an outline of this first document. What's the ...
17
votes
1answer
736 views

About memoir and titlesec incompatibility

In page 2 of the titlesec documentation, Javier Bezos writes titlesec works with the standard classes and with many others, including the AMS ones, and it runs smoothly with hyperref. ...
16
votes
3answers
411 views

Extracting the “parent” counter of a sectional unit

I am interested in finding the "parent" counter of a specific sectional unit. For example, in the following document structure 1. A section 1.1 A subsection 1.1.1 A subsubsection 1.1.2 A ...
16
votes
1answer
18k views

Change section fonts

I am trying to emulate MS Word 2010 functionality with LaTeX since I am fed up with word. I am using TexShop, and I have been able to set the main font to Calibri through the use of XeTeX. How do I ...
16
votes
1answer
9k views

Formatting section titles

Forgive the stupid simplicity of this question, and please feel free to refer me to an older answer. I'm not quite familiar enough with LaTeX terminology to have found it. All I want to do is set a ...
16
votes
2answers
7k views

Remove “chapter #” from the chapter title but keep chapter number in the table of contents

I am using report document class. I want to remove word "Chapter" and chapter number from chapter title, so when new chapter starts I will get only chapter title. I can do it using: ...