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

Customize a section title with Tikz

I am trying to get this kind of result with tikz. However I don' have any idea how to align the text with the bottom of the rectangles or how to anchor the 2nd rectangle with the line of the title ...
7
votes
0answers
25 views

How can protrusion in the headings of document divisions be fixed when using pdfLaTeX and titlesec?

How can protrusion in the headings of document divisions be fixed when using pdfLaTeX and titlesec? In this answer I provide a tentative patch which allows character protrusion to work normally in ...
2
votes
0answers
23 views

Is there an alternative for samepage for a multicolumn environment?

In my document, I successfully use samepage to force content to be on the same page. I want to do the same in a 2-column document so that the heading and the text are in the same column. How can I ...
0
votes
1answer
28 views

Numbered subsection within unnumbered section

How to add numbered subsections with unnumbered subsection in article template? I want the following format Unnumbered section A First numbered subsection B Second numbered subsection so ...
3
votes
1answer
76 views

Chapter thumb to work with Legrand Orange Book Template

This code is building from the solutions presented here. It also employs the Legrand Orange Book template. I was trying to implement the chapter thumb solution to this template but could not get my ...
2
votes
1answer
38 views

How would you demarcate a “Prayer” and “Practical Reflections” section which ends every chapter?

I'm using memoir with the \book, \chapter, and \section sectioning macros. Each book contains several chapters, each chapter contains several sections, followed by a single "Practical Reflections" ...
8
votes
2answers
72 views

microtype: Protrusion not affecting unnumbered section titles

The microtype protrusion won't work in my starred (unnumbered) section titles. I have a feeling that this might be part of a general bug of microtype when dealing with starting lines of environments ...
16
votes
1answer
263 views
+500

Document Layout Styles

I am inviting partial solutions for defining styles for document layouts. The solutions should be capable of defining the font size, leading (interline distance), and type for the running text as well ...
2
votes
0answers
27 views

How to put the section head on the same location as a slide title when using slidepage

I am developing my own beamer theme. As part of the theme I want the section slides to have the section title on the same position as the other slides. At this moment the position is a little off. ...
2
votes
1answer
48 views

Option argument for Beamer section slide

I am creating my own Beamer theme with a custom section slide. Ideally I would like the command \frame{\sectionpage} to have an additional, optional argument, that specifies the color of the ...
7
votes
1answer
161 views

Elements of Typographic Style subhead styles

Section 2.2 of Robert Bringhurst's The Elements of Typographic Style deals with vertical rhythm. I want to try out some of his lessons in scrbook, to hone my LaTeX skills. Specifically, I want to ...
2
votes
1answer
35 views

How to set the section “range” onto the head? scrpage2, scrbook, titlesec

I want to get the "range" of the sections of one page into the headline. I use scrpage2 scrlayer-scrpage for changing the headline and scrbook as documentclass. I try to write a MWE: ...
1
vote
1answer
46 views

how to remove 'Chapter' word only from headings?

I want to suppress the word 'chapter' from my headings but to leaving the normal 'CHAPTER X: Name of the chapter' in the document. I want that my headings says '# Name of the chapter', not 'Chapter # ...
4
votes
1answer
67 views

Listing Subsection title in same TOC line as Section in Memoir

For a manual-like document I'm writing, I have the need to save two additional items together with each section. For this I have created a custom command that creates a subsection under the section ...
2
votes
1answer
25 views

How can I remove a section number from the heading but not figure captions?

I'm preparing a thesis with only one appendix section and the university submission guidelines have some funny requirements. Particularly because there's only one appendix, the chapter heading should ...
2
votes
0answers
41 views

Removing chapter numbers from section headings in memoir

I don't want the chapter number in the section headings: That can be achieved by \counterwithout{section}{chapter}, which works fine as long as one doesn't have more than one chapter at a time: ...
1
vote
1answer
49 views

How to indent first paragraph after \section using Texstudio? [duplicate]

I am using Texstudio to compose my assignment. However, I have a problem with it. After I used \section*{}, and the my first paragraph in section is indented to the very left. I want the paragraph ...
1
vote
1answer
21 views

How to redefine the section counter in amsart? [duplicate]

I'm using the document class amsart, which defines the section counter as follows: \newcounter{section} However, I want the section counter to reset to zero every time I start a new part. Thus, I ...
8
votes
0answers
83 views

Visual table of contents (tikz mindmap) - Problem in output

I would like to make visual table of contents, just like here. However, I have a part that does not have a section and I would like it to output, but it does not do so. I took my code from here as ...
4
votes
2answers
61 views

Yet another section number question

There are a number of numbering questions asked, but I haven't found one that fits this particular need: 1. First section 1.1 Second level A. Third Level (italic) B. Third Level (italic) 2. ...
0
votes
1answer
21 views

sectioning / document hierarchy issue / start new root / move section up one level [duplicate]

Sorry for the bad title, but couldn't come up with something better. I have a problem with the section-hierarchy of my latex document: This is my document structure: \begin{document} [...] \part{ ...
1
vote
1answer
31 views

Changing footnote number size in chapter heading

I'm writing my thesis as book style and I formatted the chapter heading size with \makeatletter % to set the layout of the chapters header \def\@makechapterhead#1{% \vspace*{60\p@}% {\parindent ...
0
votes
0answers
35 views

Replace (.) in ToC with a space

I am creating my own Appendix numbering in a document, and the number isn't appearing correctly in the ToC. In appendixa.tex, I have: \renewcommand\thesection{Appendix \Alph{section}} \section{} ...
2
votes
1answer
39 views

sectioning - \@startsection vertical spacing on top of page

In the MWE below, the beforeskip argument to \@startsection (#4) seems to be ignored if \section occurs on top of a page. This is cool – because no big vertical space is needed here. However, what ...
0
votes
1answer
16 views

memoir and parallel: too much blank facing pages before \chapter; no valid headings

My test document: \documentclass{memoir} \usepackage{lipsum} \usepackage{parallel} \begin{document} \chapter{Single Lipsum} \lipsum[1-3] \begin{Parallel}[p]{}{} \ParallelLText{ ...
0
votes
0answers
30 views

Changing sub-section numbering

I am new to Latex and wasn't able to find anything related to my query. The current organization of my section & sub-section naming is: A. Section 1. Sub-section 2. Sub-section I want ...
2
votes
3answers
65 views

Creating a documentclass with colored titles in koma-script

I am trying to create my own documentclass which fits my needs according to the use of colors. For a shorter description I put all corresponding things in the following working example: ...
1
vote
2answers
31 views

Re-formatting (appending text to) \paragraph{}

I would like to change the appearance of \paragraph{} (particularly the space between the end of the heading and the beginning of the text) to look more like \noindent\textbf{Paragraph heading} --- ...
3
votes
1answer
41 views

Left justifying chapter name while chapter number is right justified

Considering the following code: \documentclass{book} \usepackage{fullpage} \usepackage[english]{babel} \usepackage[avantgarde]{quotchap} \begin{document} \chapter{Introduction} \end{document} How ...
2
votes
1answer
62 views

Bug or feature of floats mechanism

If I type $\section{Second section}$ or \begin{enumerate} \item first bla bla \item second bla bla $\item last bla bla$ \end{enumerate} I get the error message ! Missing $ inserted... or ! LaTeX ...
2
votes
1answer
38 views

\titleformat (in titlesec) doesn't show any horizontal line for chapter

I have been trying to get a simple thing working with titlesec: getting a horizontal line under each chapter. There are many tutorials, documents and questions on TeX that explain how this can be ...
1
vote
0answers
11 views

How do I format my section/subsection titles without changing the cross-referencing result [duplicate]

I am using some code recommended by the editor of a journal. However, the \renewcommand line for \thesubsection and \thesubsubsection seems to be causing a problem with the cross-referencing function ...
0
votes
0answers
19 views

How to set section title to be both centered and underlined using a personalised class (based on memoir)?

\NeedsTeXFormat{LaTeX2e} \ProvidesClass{iac}[2015] %% BUILD UPON THE MEMOIR CLASS \LoadClass[11pt,twocolumn,twoside,article]{memoir} ...... ..... ..... %% SECTIONS \setsecnumdepth{subsubsection} ...
0
votes
0answers
41 views

Adding a sectionning level with titleclass and tocdepth

I want to add a subchapter sectionning level, between chapter and section. I use the \titleclass command from titlesec package. According to titlesec documentation, ...
3
votes
1answer
60 views

Get chapter number

I am newbie on latex, my question is how can I get a structure like: number of chapter + title of chapter (exemple: I Introduction) I only get Introduction, I want the number before the name. If ...
3
votes
2answers
80 views

Font to pair with latin modern

I would like some suggestions for fonts to match LModern. In particular I am searching for a heading-font, so I am thinking of sans serif families, but every suggestion is appreciated. I really like ...
3
votes
2answers
113 views

Removing the trailing period when referencing a section number

I'm writing a prospectus and my college has given me the following class for formatting it. I'm new to Latex and I've seen the these examples already (one, two, and three) but I can't understand how ...
0
votes
0answers
11 views

Text Prior to Subsubsection affecting alignment of text following it

Following are two snippets of code along with what they compile into. The issue is with the alignment of the text that follows the subsubsection. It should align with the subsubsection's heading, ...
3
votes
1answer
93 views

Same \chapterformat for \chapter and \chapter* without titlesec

I've done some styling for my chapter titles, based upon tikz and the titlesec package. Unfortunately, the KOMA-Script packages gives me numerous warnings about titlesec. In order to get rid of the ...
3
votes
3answers
84 views

How to remove a chapter from a local ToC

In a chapter of a volume I have a local ToC. I would like to remove the chapter itself from that ToC, or, if that's a good way to do that, any \chapter level division, so that only \sections and lower ...
0
votes
2answers
26 views

First subsection in chapter 2 gets the number 2.0.2 which should be 2.0.1

Here is a minimal example \documentclass{report} \begin{document} \chapter{1} \subsection{should be 1.0.1} \chapter{2} \subsection{should be 2.0.1} \end{document}
1
vote
1answer
27 views

amsbook customization of toc, section alignments and running heads

I am working with \documentclass[12pt,twoside,openright]{amsbook} and I wish: titles of Chapters centered in the page titles of Sections left aligned (for instance: 3. Third Section) In the ...
3
votes
1answer
37 views

Vertical alignment in sections beginning with itemize

I'm working on a résumé which places section headers in a widened left margin. In the example below, I am trying to get the itemize in section Bar to be vertically aligned with the section title, ...
2
votes
2answers
37 views

Chaptermark not changing

Similar questions have been asked, but after reading them i still think the code below should lead to the beginning of a chapter being displayed as 1 Some Chapter rather than Chapter 1 Some ...
6
votes
1answer
47 views

Define nested sections in a relative way

When working with large tex documents I often find myself using search/replace to restructure them (eg. make sections out of chapters or subsubsections out of subsections) Is there any way to define ...
0
votes
1answer
61 views

Color Underline Section Headings

I would like to underline section headings using different colors (e.g. red for section, yellow for subsection). So far I have only achieved to change the text color of the headings (see code), but I ...
1
vote
2answers
50 views

How to change \subsection such that text follows immediately?

Consider this example: \documentclass[10pt,a4paper,oneside]{article} \begin{document} \section{Xavier functions} \subsection{} %% \textbf{1.1} We define the \textit{Xavier functions} for a complex ...
0
votes
1answer
15 views

Howto refer to (or avoid) a numbered entity in section title [duplicate]

In a master thesis, I need to refer to a model described elsewhere, from a section title, like \section{Analysis of model X} One way of referring to a model is to create a new counter, and then ...
2
votes
1answer
34 views

How to refer to (or avoid) a numbered entity in section title

I need to refer to a model described elsewhere, from a section title, like \section{Analysis of model X} One way of referring to a model is to create a new counter, and then write ...
1
vote
0answers
34 views

How to make titles of chapters in an edited volume?

For an edited volume whose chapters live in separate files and which will probably have to be compiled separately, what is the best way to make the titles? Separate titlepages are not required, just ...