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

4
votes
1answer
47 views

Meanings of some macros in beamer source

In the source file beamerbasetoc.sty of beamer package there are these lines: \def\tableofcontents{\@ifnextchar[{\beamer@tableofcontents}{\beamer@tableofcontents[]}} \def\beamer@tableofcontents[#1]{% ...
0
votes
0answers
47 views

Removing period after subsection

How is it done? Here are my style file examples \renewcommand\thechapter {\Roman{chapter}} \renewcommand\thesection {\arabic{chapter}.\arabic{section}} ...
5
votes
2answers
40 views

Adding colon or dash after section

I changed the format of subsubsection to remove the line breaks after them using titlesec package and the command \titleformat{\subsubsection}[runin]{\normalfont\bfseries}{\thesubsubsection.}{3pt}{} ...
4
votes
1answer
43 views

How to add text to a title without it appearing in the reference?

I'm trying to make a section title with additional information next to it. Currently I'm simply changing the style and adding the text directly to the section title but it has the unintended side ...
0
votes
1answer
29 views

In book style, how to change the chapter according to style guide

Well for our style we wish to have "small" chapters using the book style (mainly to have \frontmatter grouping) Now the styles are mainly about where and how the numbering of the chapters happens: ...
1
vote
1answer
45 views

How can I increase more sections? [duplicate]

My structure begin on section (this is a monograph with documentclass article), so I don't use \chapter. I have one section with I need expand to 'level 6' (as a precaution, expand to 'level 10'). ...
2
votes
1answer
29 views

Make reference to the name of the thing you refer to

I'm giving an example \section{About Cats and Dogs}\label{sec:catsdogs} some text [...] In Section \ref{sec:catsdogs}, we have ... I know there's a command \nameref{sec:catsdogs}, but this just ...
5
votes
1answer
37 views

Beamer: Highlighting subsubsections in TOC

I borrowed the following code from this answer (provided by @Gonzalo) to my earlier question and now I want to show highlighted subsubsections as sections and subsections. Any help will be highly ...
0
votes
1answer
33 views

Multiple Sectional divisions in a Memoir header

How would you have a page heading so that on the Left hand page you might have the Book the Part and the Chapter and on the right hand page have a Section any existing subsection. From reading the ...
6
votes
4answers
175 views

Theorem numbering in an unlabeled section at the beginning of a chapter

In the memoir class, I would like to have my theorems labeled according to the sections, e.g., Theorem 1.2.3. However, sometimes I have theorems at the beginning of a chapter before the first section ...
3
votes
1answer
27 views

\section coming up as undefined when using sectsty

I have a style requirement for headings. Header 1 = 16pt bold, Header 2 = 14pt bold underline. Font is required to be Palatino Linotype. I got this document shell from a classmate and have only made ...
2
votes
1answer
42 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
46 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
25 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
24 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
243 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
24 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
58 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
28 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
33 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
51 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
53 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
60 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
25 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
29 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
62 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
55 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
39 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
53 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
51 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
51 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
52 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
84 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
49 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
62 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
47 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
571 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
90 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
45 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 ...