{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
31 views

How to left-justify a section heading in moderncv?

I'm trying to left-justify a subsection heading in my moderncv-based CV. MWE: \documentclass{moderncv} \usepackage[utf8]{inputenc} \moderncvstyle{classic} \moderncvcolor{blue} \firstname{John} ...
1
vote
0answers
63 views

Remove empty page before chapter

I keep getting empty pages and am struggling to remove them. :/ This is the documentclass I am using \documentclass[fontsize=12pt, paper=a4, headinclude, twoside=false, parskip=half+, ...
2
votes
1answer
30 views

Uniform spacing around headings with special case of `\usepackage{enumitem}’ and `\baselineskip`

This question is a follow-up question to my question here. @karlkoeller's answer fully answered my question. However in my document I have some places where the itemized list is placed directly after ...
2
votes
1answer
38 views

Change Section names on side into the title of the section

I was using package etoolbox, but I want to change the section numbers into titles instead but been having a hard time since i am not familiar with the code. Clickable chapters on the right side of ...
0
votes
1answer
35 views

Why are page breaks inserted after sections?

My problem is that page breaks and horizontal lines are inserted after sections, some chapters and the TOC. I have included all the code since I have no clue about which part of it is causing the ...
3
votes
1answer
81 views

How to create specific section style using titlesec?

I would like to create section style like in the attached picture, but I didn't find any way how to do it. Usually I'm using titlesec package for section style customizing. Is there any way how to ...
6
votes
1answer
74 views

Changing FONT color in headline

I am wondering how can I change the font color in the headline of my presentation? I saw from Beamer how to change color of infolines and frame title how to change the color of the bar but not the ...
3
votes
1answer
73 views

Inline subsubsection heading with KOMA

I want inline subsubsection headings, as displayed in the example below. It is easy to realize them with the titlesec package, but according to this thread, there are incompatibilities between KOMA ...
2
votes
1answer
26 views

Format Section Headers within Verse Environment

I'm working with potentially long poems that may have (sub)section headers. Here's a famous example. The trouble is: I seem to be unable to control the indentation of section headers within the ...
3
votes
1answer
32 views

How to allow pagebreak only at section headers?

My document consists of many short (sub)sections. A section's content can consist of multiple paragraphs. I want to allow page breaks only at (sub)section titles. I tried inserting a \pagebreak[3] ...
2
votes
3answers
71 views

Matrix in Section Heading [duplicate]

Is it possible to place a matrix in a Section Heading? This is my current attempt: \section{Analyze the invertible $M= \left[ \begin{array}{rr}2 & 6 \\ 2 & 4 \end{array} \right]$ matrix by ...
1
vote
1answer
80 views

Chapter styles catalog

There are many questions in this forum regarding how to produce one or another chapter/section format. However, I can't find a comprehensive catalog of styles (examples with code), something like the ...
0
votes
0answers
42 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 ...
5
votes
1answer
56 views

Add vertical space after section only if at top of the page?

Is there a way to automatically add a \baselineskip after a given \section, only if that section starts at the very top of a page (see MWE below)? Note: The MWE does not include \titlesec. For ...
2
votes
1answer
69 views

A table of contents for each section. Including only the entries of that section

I am preparing a presentation on Beamer and I will have different sections. I would like to put a title page and a table of contents for each of the section. In particular, for each section a toc ...
3
votes
1answer
66 views

Adding words figure and page to list of figures

This also applies to the table of contents and list of tables and is related to Add 'Page' above page numbers in Table of Contents, but when adding the words "Figure" and "Page" to the top of ...
2
votes
2answers
64 views

Titlesec: Redefinition of sectioning command leads to endless execution of latex

I'm new at TeX.SX and I hope I do everything correct. To avoid answers like "Why do you do this?" I'd first like to describe briefly what I want: I'm developing a class based on tufte-book, which ...
0
votes
0answers
13 views

Indexing chapters/sections/etc with English Number Words [duplicate]

I would like to typeset chapter labels with their respective English number words, for example "Chapter One" (as opposed to the default "Chapter 1"). Here's an incorrect example using \renewcommand ...
2
votes
0answers
99 views

Remove section titles from text, but not table of contents — interaction with columns

Update: a previous version of this question wrongly attributed the problem to use of minitoc to get section-level tables of contents (\secttoc). I've got a complicated document with a tables of ...
0
votes
0answers
22 views

How to customize the frame background color and borderline width [duplicate]

I wish to customize the background color and the weight and color of the border using titlesec (not using mdframed). ...
2
votes
1answer
52 views

Stacking section labels in left margin

I am starting to convert to LaTeX to do my homework for Math courses. I want to use sectioning to separate questions \section{5.3} \subsection{1} \subsubsection{a} and look something like this: ...
2
votes
3answers
79 views

How does one change the frame size and colors in the frame option of titlesec as in MWE?

%---------------------------------------------------------------------------------------------------------- % \documentclass[11pt,a4paper,reqno,fleqn,xcolor=x11names]{book} % ...
2
votes
1answer
24 views

New level of section, interaction with hyperref

I would like to create a new command \exsec that behaves like \section with the properties below. I am using the book class. It produces a heading with the same formatting as \section, except it is ...
0
votes
1answer
71 views

Section Title Style [duplicate]

I have been using the default style for section and subsection titles. I want to make some adjustment when needed. For example, right now, my titles for both a section and a subsection are appearing ...
2
votes
1answer
50 views

Dynamic date in section and TOC

I am trying to dynamically insert a custom date within a section title like so: (somewhere in preamble): \newdate{prevdate}{14}{01}{2015} \date{\displaydate{prevdate}} (somewhere in document): ...
2
votes
1answer
37 views

How can I start the next chapter in the article class?

I'm writing a LaTeX document in the article class and I recently realized there is no /chapter command for this class. However, when I use sections and subsections, they are written 1.1, 1.1.1, 1.1.2, ...
1
vote
1answer
35 views

Keep subsection counter the same for a few frames in Beamer

I have a few frames showing the same picture in the background but adding more pictures on top of it every frame. At each new frame, the subsection counter goes up by a dot. Is it possible to keep the ...
4
votes
2answers
49 views

Preserving part of Chapter text “as is”, from becoming uppercase as per titlesec definition?

Having this MWE: \documentclass{book} \usepackage[explicit]{titlesec} \titleformat{\chapter}[block]{\filcenter}{}{0pt}{\MakeUppercase{#1}} \begin{document} \chapter*{This should be all Uppercase. ...
1
vote
2answers
31 views

Include class numbering in TOC with a subclass entry when using titlesec and titletoc

I am trying to use titleclass to define two new classes : savoir and subsavoir. In the TOC, I would like to get something like this : Savoir 1 -- First knowkledge title Savoir 1.a -- First ...
20
votes
5answers
580 views

Denoting “harder” content in a book in the section headings

I'm writing a book in LaTeX and want to denote some of the sections, subsections and subsubsections as "harder" (perhaps for the reader to skip on first reading) by placing a diamond in the margin by ...
7
votes
1answer
112 views

Enumitem, resume, reset at section

I'm attempting to use enumitem to make a list that runs consecutively in a section and then resets. This question and accepted answer looks promising: How to use chngcntr with an enumitem newlist ...
3
votes
1answer
70 views

Changing font size for one section heading

I want to have a single \subsection printed significantly larger, without otherwise changing the font. This is for a landscape page, to put a subsection title before a full-page diagram, and it needs ...
1
vote
1answer
77 views

Changing the Hannover theme to fold subsections

I'm creating big presentation in beamer and I'm using Hannover theme to show sections, subsections and subsubsections. The presentation is big so the size of the list in the navigation bar exceeds ...
3
votes
1answer
52 views

Automatical title section in beamer only on the first frame after \section

I'm trying to make that the title of the last section appears as frametitle only on the first frame after each \section{...} code. Now, i'm doing it manually with this code : \newcommand{\TS}[0]{ ...
1
vote
1answer
50 views

Remove indent of first paragraph when using titlesec package

I use the titlesec to format section in book class. The section pos to leftmargin, but when I compiled, the firs paragraph have indent. How to remove indent automatically. \usepackage{titlesec} ...
2
votes
1answer
73 views

How can I write a conditional coloring command that distinguishes variables within titles vs within the body text with titlesec/titletoc/tocloft?

Question Is it possible to write a conditional statement for commands that change them based on where they appear in the document, yet is fully compatible with the titlesec package and the tocloft ...
4
votes
2answers
159 views

Pagestyle uheadings. No page number on first page with chapter title

I am using uheadings pagestyle. First page of every chapter should have page number at the bottom (default plain style), but in my document there is no page number there. This is my master page: ...
7
votes
2answers
204 views

How can I write a conditional coloring command that distinguishes variables within sectioning commands vs those within the body text?

Question Is it possible to write a conditional statement for commands that change them based on where they appear in the document? Example Situation When command appears in the body, it should be ...
3
votes
2answers
100 views

Add texte before headings numbers (KOMA)

I'm using the KOMA class scrbook, and trying to add some text before any section and subsection title. Like that : \section{Hello !} must display Section 1 : Hello ! (1 is the normal counter). The ...
3
votes
1answer
40 views

Redefine section headings for my appendix sections to be a full page

I am creating a document (document class is article) with several appendix sections. I change from numeric to alphabetic like this without problem: ...
2
votes
1answer
72 views

Unnumbered part with “Part” header

I am writing a thesis, whose outline is a bit treelike, so I would like to have a trunk part (that contains several chapters) and several branches (also containing some chapters). I changed the name ...
1
vote
1answer
65 views

Can not use csvsimple and have accent characters at the same time

When parsing in XeLaTeX the template available in SIGCHI with the package csvsimple and "fontspec" (to include special UTF8 accent characters), I'm able to see "áéíóú" in the body of the document but ...
4
votes
1answer
168 views

Customize KOMA section headings without titlesec

A quick question: Is it possible to change the name of a part/chapter/section with some sort of command? For example, I have a chapter called "Important Things". I created this chapter with the ...
1
vote
1answer
62 views

How to set the spacing before and after of section headings to a fixed value of 1.5cm?

In this code, i want the spacing before and after of my section, subsection, and subsubsection headings to be exactly 1.5cm regardless of the font size or my line spacing. How can i do this? I know ...
5
votes
2answers
152 views

Chapter and Section format

I want my chapter titles to look as they would with the code below. \documentclass[12pt]{book} \pagestyle{plain} \usepackage{amssymb,latexsym} \usepackage{amsmath} \usepackage{amsthm} ...
6
votes
1answer
120 views

How would you typeset this type of programming documentation?

Consider, for example, this pdf document which defines the standard for the C programming language. The description of the library functions follows a fixed structure composed of three sections, as ...
0
votes
0answers
29 views

Undesired space before the section title when a figure is inserted after the section title

After I used a template, Latex gives me a lot of white space before the section title because a figure is inserted after the first paragraph of the section. I used [H] as the floating parameter for ...
2
votes
0answers
44 views

Centering bibliography title in biblatex - tried every suggestion on Google

I know this question has answers on this site already, but none of them worked! I am using biblatex with the historian style for my history day paper. My teacher requires the bibliography heading be ...
2
votes
1answer
46 views

How to adjust the section numbering (as in skipping a couple of section numbers) when using letters instead of numerals for section numbering?

I have changed the section numbering from numerals to letters with the command \renewcommand{\thesection}{\alph{section})} in the preamble. For example, the first \section{} would be printed like ...
4
votes
1answer
64 views

Start only some chapters on right-hand side after a set page/chapter

I'm working on my masters thesis, and have a fairly decent structure (I feel..), but I have one issue. I want my chapters to start on the right-hand side, which in itself is not hard to do. However, ...