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

How can I change the style of TITLE and SECTION in article class

I want to change the style (fonts spacing etc.) of Title of paper and the sections of my paper written in article class. How can I change.
1
vote
1answer
41 views

Koma Script handbook says chapters can start on any page using headings=openany?

On page 87 of THE GUIDE: Koma Script [2015-1-14] under the section "Structuring of Documents" the guide lists many "options" for changing the default output of \chapter sectioning, such as ...
0
votes
1answer
24 views

New page for chapters but not for sections

I would like my report to show the chapter headings in the next page but the sections on the same page. It is a double page report. \documentclass[a4paper,12pt,twoside]{report} \chapter{Introduction} ...
2
votes
1answer
57 views

Fancy section headings

Would someone construct the following style of section heading (intended for longer reports and books)? (The dashed line is meant to be solid.) | 1.1 | SECTION HEADING (IT WOULD EXTEND AT ...
0
votes
1answer
25 views

Footnote in section header causes unwanted new line

I am using MiKTeX 2.9 on Windows 7. When I use the following to add a footnote to a section header \section{Section Name}\footnote{Footnote text.} \label{sec:SectionLabel} I get the superscript ...
2
votes
1answer
21 views

Sectioning and Chaptering in AMSart not working at all w/example

I am wondering why AMSart which reputedly supports sectioning and chaptering doesn't compile my chapter headings at all. I have a non-working example here which shows that neither the section nor the ...
5
votes
1answer
227 views

Draw (very basic) network topology using tikz

I'm trying to draw some very basic Network topologies and thought that I'd try using Tikz for it. So I thought that I'd make a start and then ask for help, as I've got to do 5 of these and there's ...
1
vote
1answer
21 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
55 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
26 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
32 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
33 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
43 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
49 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
57 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
22 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
28 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
61 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
52 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
36 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
52 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
47 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
46 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
49 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
76 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
46 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
60 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
20 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
63 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
38 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
33 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
32 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
46 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
26 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
565 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
88 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
43 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
63 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
39 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
28 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
65 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
130 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
192 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
86 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
37 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
64 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
52 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
125 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 ...