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

0
votes
0answers
15 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 ...
1
vote
3answers
1k views

titlesec messin' up my hyperref'd table of contents

Please consider the following multipage MWE, which contains page number restarting; made to compile with pdflatex test.tex: \documentclass[12pt]{article} \usepackage{geometry} ...
6
votes
4answers
164 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
26 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 ...
9
votes
2answers
7k views

Why isn't LaTeX indenting my paragraphs?

I am trying to get latex to indent the first line of each paragraph, but whatever I try I can't seem to get it to work as I would expect reading the documentation. I expect that since I am using 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: ...
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
22 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 ...
0
votes
0answers
69 views

How to set section numbering in [svmult]?

In my book I have automatically-numbered chapters and sections but when I type \chapter{CHAP 1} \section{SEC 1} \subsection{SUBSEC 1} \subsection{SUBSEC 2} I recieve a chapter with number 1, ...
2
votes
1answer
105 views

Adjusting spacing around section/subsection titles with koma-script

With the KOMA-script scrreprt class the vertical spacing before and after chapter titles can be adjusted the following way: \renewcommand*{\chapterheadstartvskip}{\vspace*{0cm}} ...
0
votes
0answers
43 views

Unwanted chapter titles with fancyhdr package in twosided book class [closed]

I am using a two-sided book document class. I want to include the title of my book at the inside margin and the page number at the outside margin of the header. For that reason, I use the package ...
1
vote
0answers
57 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
65 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 ...
5
votes
1answer
234 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
0answers
207 views

LaTeX Appendices: \chapter to \section, Appendix-numbers & Reset page-numbers

I found in the following question&solution the solution for using \chapter for appendices: Keep "Appendix #" in the appendix title, but remove the appendix from the table of contents ...
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} ...
2
votes
1answer
23 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 ...
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
45 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
51 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 ...
4
votes
1answer
100 views

To visualise Schematic Intersections of Sections over Parts

Assume you have Parts Eggs Bars Some of Eggs belong too to Bars. I can visualise this by a venn diagram, however I would like show this kind of structure in colours too. Assume you have items ...
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] ...
0
votes
1answer
92 views

Section titles without numbers in non-starred version

I am trying to format the section title in the memoir class, so there is no section numbers in it, and I don't want to use the \section*command because it makes it more cumbersome to make it show up ...
6
votes
2answers
316 views

Sectioning macros with Plain

Plain is awesome up until you'd want to make some structure for your document(s), because getting the sectioning macros right seems to be painfully difficult. Plain comes with a single sectioning ...
1
vote
1answer
38 views

Text to the right of a section heading

This is a macro that defines a heading for a project \newcommand{\project}[2]{ %1: project name %2: percentage of time \subsection*{#1 \begin{flushright} ...
2
votes
1answer
405 views

Remove “Appendix” title from Cover Page

I'm writing a report in latex and I included an appendix in my document. When I typeset, the title "Appendix" appears on a page by itself. I want this "Appendix" title to be on the same page as my ...
3
votes
1answer
234 views

Remove space below section in memoir

I'm growing tired of the extra space below \section and \subsection in the memoir class - it's way too big. How can I remove it - like one use \vspace{-20pt}$. This must be done for all \section and ...
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 ...
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 ...
1
vote
1answer
53 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 ...
5
votes
2answers
228 views

How to get headings indented as the first lines of paragraphs?

I would like the chapter and (sub)section headings to be indented as much as the first lines of paragraphs (\parindent value). By default using koma-script I get them aligned with left boundary of ...
0
votes
1answer
58 views

Table of content and header [duplicate]

I have table of content in my document and header/footer with section, subsection marks. When I include tocloft package I don't have header/footer anymore, that is not I want. On the other hand, I ...
10
votes
4answers
2k views

How to change the chapter number to display as text (One, Two, …)?

In LaTeX, how do I change the chapter number to display as text? eg: CHAPTER ONE not CHAPTER 1; CHAPTER THIRTEEN not CHAPTER 13.
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
48 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
0answers
80 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 ...
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 ...
2
votes
1answer
71 views

Glossary-like list of subsection headings

I have a document, that has same subsection headings on multiple pages. I would like to create something like a glossary, that prints the list of headings and references to the pages where the ...
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
1answer
47 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: ...
20
votes
5answers
567 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 ...
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} % ...