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

Adding a \vskip{1em} before each section - won't compile with it

So here's the format I'm using for my sections (I have an article document): \titleformat{\section}{\sffamily\Large\bfseries\filcenter}{\vskip 1em}{CHAPTER \thesection}{\break}{} ...
0
votes
0answers
9 views

How to specify address and telephone number in resume in a vertical manner?

Hi i am making my resume. I want to write some more details such as residential address, Skype address, tel phone number in a vertical manner. How do i do it? Here is my code. \namesection{}{name}{ ...
4
votes
1answer
51 views

Thesis Chapter Formatting

I have started trying to customise my thesis formatting. I am using the book document class. I've been able to follow some tips on here to get e.g. underlined chapter headings etc but I saw a really ...
1
vote
1answer
25 views

adding section and subsection titles in footnote of presentation

I want to show Section and subsection names in the footnote of a presentation, made by beamer. Now, in the footer, I am using \insertsection\text{ $\quad \mid \quad $ }\insertsubsection to create ...
0
votes
0answers
27 views

arXiv says: “Undefined control sequence \section” in appendix

I am trying to upload an article to arXiv. Now I'm encountering an error I have not seen before. A line as simple as \section{Lemmata and Proofs} causes this error message: ! Undefined control ...
0
votes
0answers
19 views

Define unique section headings [duplicate]

I have no doubt this has been asked, but was unable to find the same question elsewhere. I want to be able to keep the structure of sections and subsections, but have the ability to label them as I ...
1
vote
0answers
15 views

Overfull \hbox in subsection heading when using fontspec

In the following example I get an Overfull \hbox in the subsection heading when loading fontspec: \documentclass[11pt,a4paper]{memoir} \usepackage{fontspec} \makeatletter ...
7
votes
2answers
146 views

Add decoration at end of chapter

A half full page at the end of a chapter nicely signals that the chapter ends. However, sometimes the last page of a chapter looks a bit too empty if there are are only, say, 5-10 lines. In some older ...
3
votes
1answer
44 views

How can I control the space above a section heading in the memoir class?

I'm using the memoir class to typeset a cassette cover with some lyrics in it. I'd like to section headings to be very basic, just with a lineskip above and under them. But it seems that there's more ...
0
votes
0answers
24 views

subsection text spread out

I am using overleaf to make my resume but unfortunatley in the subsection row my text is spreading out. for eg \subsection{Research projects} is not coming out as Research project but ...
0
votes
0answers
13 views

How to change reference hierarchy from section to subsection in latex article

I am writing a report using article class where I have to put bibliography in as a separate subsection in every section. But in general reference are coming as separate section. Can we make hierarchy ...
5
votes
3answers
117 views

When using section* counters don't reset properly. How to fix this?

For example : \documentclass{article} \usepackage{chngcntr} \counterwithin*{equation}{section} \counterwithin*{equation}{subsection} \begin{document} \section{One} \begin{equation} 2+2=3.99 ...
2
votes
1answer
35 views

Switching Chapter and Section titles

I am somewhat new to TEX and I am writing a book using a publishing framework which uses Xelatex and polyglossia. My book is divided into three major sections or sub-books and each sub-book is ...
2
votes
1answer
31 views

\everypar in section (or chapter) command not working

This is a follow up question of Automatic Paragraph Numbers (\everypar only for paragraphs and not for \section and so on). I want to change \everypar in every section (or chapter). As soon as ...
2
votes
1answer
32 views

left and right aligned section title on one line

I am trying to have a simple bilingual title for a section. The English text should align to the left and the Arabic text should align to the right, both on the same line. The following line of ...
4
votes
1answer
24 views

Fancy Header Chapter Thumb - Change boxed text to display Subsections in two lines

In the code given below, I wanted to change the text that appears in the Chapter Thumb to display the current Subsections Titles. Currently, the chapter thumb shows the chapter name. ...
3
votes
1answer
155 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
28 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 ...
3
votes
1answer
33 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
32 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
80 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
40 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
73 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 ...
19
votes
1answer
551 views

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
30 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
50 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
169 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: ...
4
votes
1answer
74 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
43 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
53 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 ...
11
votes
1answer
103 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
63 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
22 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
36 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
41 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
17 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
31 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
69 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
42 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
44 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
43 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 ...