Questions tagged [sectioning]

{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}.

Filter by
Sorted by
Tagged with
1 vote
0 answers
18 views

How to count subsections and subsubsections without giving them a title

I have a document which I want to recreate in LaTeX which has numbered subsections and subsubsections, but they have no titles, just text. How to make that in LaTeX?
user avatar
  • 326
0 votes
0 answers
27 views

Why is LaTeX adding spaces randomly between section title and surrounding text? [duplicate]

I have a section in a report which for some reason has random space around it. The code is: \chapter{Results \& Discussion}\label{ch:results} This chapter aims to present and discuss the results ...
user avatar
0 votes
1 answer
23 views

how can I make a bold horizontal rule under each chapter name

I use report documentclass like this CHAPTER 1 Introduction ----------------------------
user avatar
0 votes
0 answers
19 views

How do you localize chapters, sections, table of contents, dates in Vietnamese?

I need help with this so if you could help that would be great, btw I'm using XeLatex.
user avatar
  • 83
0 votes
2 answers
25 views

How to remove chapter heading's large top margin?

I am trying to implement a simple chapter heading for my document but can't find an appropriate solution to my desired format as shown in the image below. I want to have a chapter heading which is ...
user avatar
  • 11
1 vote
1 answer
27 views

How to make sectioning headings with multiple parts to be flexibly reused in ToC and header/footer?

I'm using document class book to make a series of books that contain translations of Buddhist scripture (suttas). Each sutta heading has three elements: an acronym (MN 1) a translated title (The Root ...
user avatar
  • 347
2 votes
1 answer
29 views

Sequential chapter numbering by text

The structure of my document consists of parts and chapters. When a new part is added a chapter counter is reset and a chapter numbering starts from 1 again. \setuphead[part] [ page=no, ...
user avatar
1 vote
0 answers
31 views

The titlesec package gives an error once section is encountered

In the code/text below, the titlesec package gives an error. I would be thankful for any comments on how to fix that. Thank you very much for the help. The error message is: ! Package titlesec Error: ...
user avatar
0 votes
0 answers
24 views

How to define a \subsubsubsection in LaTeX? [duplicate]

For a research paper I am writing, I need to define a subsection under \subsubsection - Unfortunately, there is no LaTeX command for \subsubsubsection - How to define this? Is there any LaTeX package ...
user avatar
2 votes
1 answer
47 views

How to hide chapters from TOC but keep them for the pdf navigation?

I have a weird question, or rather two. I would like to hide a level of organization, e.g. chapters, from the table of contents. BUT I want to keep the lower levels (e.g. sections) and I also want to ...
user avatar
0 votes
0 answers
18 views

How to make two bibname headings in the same page in overleaf?

I have two \renewcommand{\bibname}{} sections (not sure if I can call them sections) with different headings. Currently, with the following code, they are appearing in different pages. I want them to ...
user avatar
1 vote
2 answers
68 views

Mysterious issue with section numbering format

I think this simple code snippet will do to define my problem: \documentclass[a4paper,14pt,twoside,reqno]{extbook} \usepackage[margin=28mm ]{geometry} \usepackage{amsmath,amssymb,amsthm,mathpazo} \...
user avatar
-2 votes
0 answers
23 views

How do you disable section numbering (adding * just spits error "missing number, treated as zero"), and error "There's no line here to end" [closed]

How do I get rid of this error "There's no line here to end" And how do I disable numbering on all my Sections (\section*{something} doesn't work) (text under error message is \begin{...
user avatar
1 vote
1 answer
58 views

Why is there a double point between section and subsection?

I have defined the following box: \documentclass[a4paper,14pt,twoside,reqno]{extbook} \usepackage[tmargin=28mm,bmargin=28mm,lmargin=28mm,rmargin=28mm]{geometry} \usepackage{amsmath, amsfonts,...
user avatar
0 votes
0 answers
33 views

Why does \subsubsubsection not work? [duplicate]

Why am I not use \subsubsubsection{My subsubsubsection}? I tried to use \paragraph but same result. \documentclass[a4paper,12pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \...
user avatar
  • 125
2 votes
1 answer
41 views

How to Prevent Titlesec from Automatically Producing an Entry in the TOC

The following code is derived from egreg's answer in Centering an Arabic Section Number Above Justified Title Text \documentclass{book} \usepackage{titlesec} \titleformat{\section}[display] {\...
user avatar
  • 5,445
0 votes
2 answers
61 views

Orphaned headings in a long, verse-heavy document

I'm typesetting an anthology of English poetry which I've put together. It's a long document, more than 500 pages, and the nature of the project means that the vast majority of the text is wrapped up ...
user avatar
1 vote
1 answer
36 views

Changing font in various places of Orange Book

I'm using the LegrandOrangeBook, which has different fonts for the section headings and Table of Contents than it does for the main text. I do not like this look, and I would like to convert all text ...
user avatar
0 votes
0 answers
12 views

How to fix \theorempreskip being ignored for the first theorem of a new section?

MWE: \documentclass[12pt,letterpaper]{article} \usepackage[framed]{ntheorem} \usepackage{framed} \theoremstyle{nonumberplain} \theorempreskip{5em} \theoremframepreskip{5em} \newtheorem{defn}{...
user avatar
2 votes
2 answers
49 views

Replace "." by ")" after section number

I'm using KOMA script's scrartcl class and have customized the section numbering as in the following MWE: \documentclass{scrartcl} \begin{document} \renewcommand{\thesection}{\alph{section}} \...
user avatar
-1 votes
1 answer
20 views

Pandoc changes color from template after cursive

I am using pandoc to convert different documents into pdf. I have a template to include with the flag --include-in-header ~/path/to/template/pandoc_format_darkmode.tex -V geometry:a4paper -V geometry:...
user avatar
  • 29
8 votes
1 answer
326 views

How can I write subsection headings involving constants (a, b, c, d, etc) in a LaTeX document?

I am working on a research paper using LaTeX for an IEEE journal, and this paper involves some constants (say, a, b, c and d). When I write subsection headings involving these constants, for example.. ...
user avatar
0 votes
0 answers
20 views

How do I make \cref used in section titles work in headings?

I have a section whose title is "Proof of theorem 1" which I get by typing \section{Proof of \cref{myTheorem}} which works fine in the section title itself, however where the section title ...
user avatar
0 votes
0 answers
13 views

Use scalerel in section title

The MWE is simple: \documentclass{article} \usepackage{scalerel} \begin{document} \section{$\scaleobj{0.5}{\alpha}$} \end{document} It gives /home/yijunyuan/research/temp/test.tex:4: Undefined ...
user avatar
0 votes
1 answer
18 views

Labelling examples/remarks based on Sections

I want to automatically label examples (as well as remarks, definitions, theorems, etc) based on section number. For example, if I have defined a \section, \subsection or even a \subsubsection ...
user avatar
  • 199
0 votes
1 answer
42 views

is it possible to add more subsections like 1.2.3.4.5.6.7 in LaTeX? [duplicate]

Is it possible to add extra subsections? example) \subsubsubsubsubsection
user avatar
2 votes
1 answer
106 views

Add decoration at end of all chapters automatically

The accepted answer of this question got me half of the answer I am looking for. I would like to implement this end of chapter decoration automatically for all of my (many) chapters. The MWE is based ...
user avatar
  • 161
1 vote
1 answer
31 views

Issues with titlesec's \titleclass

Following the guideline in section 3.9. Creating new levels and changing the class of the titlesec manual, I'm trying to create a new sectioning command \sectionsub under \section, to achieve what was ...
user avatar
  • 6,566
0 votes
1 answer
54 views

Sectioning command in between of \section and \subsection

In a book that I'm translating, there is a special kind of title that has the font size in between of that of \section and \subsection. This kind of title is never numbered, and is used for dividing a ...
user avatar
  • 6,566
0 votes
0 answers
26 views

Problem with no numbering \subsection*{} - getting "Missing number, treated as zero" error

I have the following subsection within my latex in overleaf: \subsection*{\textbf{Musical Notations}} The * sign is added in order to avoid numbering of this subsection as offered in the overleaf ...
user avatar
1 vote
0 answers
32 views

Generic alternative to \section, \subsection, etc [duplicate]

I often find myself changing the structure of my document, and having to change all sections to subsections (or vice versa), etc. Is there a way to use something like nested brackets or indentation ...
user avatar
0 votes
1 answer
26 views

Getting the error "Something's wrong--perhaps a missing \item. ...}<section title>}{1}{section.1}". What should I do?

I am new to LateX and have started to like it very much. I have a document which on compilation gives the error as stated in the question. I am working with TexStudio and when I click on the error ...
user avatar
0 votes
0 answers
29 views

Change Highest Section Order

The default headings are numbered down to the subsubsection level using a decimal system (<CHAPTER #>.<SECTION #>.<SUBSECTION#>.<SUBSUBSECTION #>).You can change the depth to ...
user avatar
0 votes
1 answer
42 views

How to create section titles with Icons but no Icons in Table of context

I would like to know how I can create the following types of section headings Note that the image is loaded using the graphics package. I have tried the following \section{\includegraphics[scale=0.2]{...
user avatar
0 votes
2 answers
41 views

How can I apply the same formatting command to the bibliography heading as for all other section headings?

I have been given a template that applies the same formatting command to all sections. I now added a bibliography and want the title of it to be formatted the same way. What is the simplest way to ...
user avatar
  • 4,696
0 votes
1 answer
37 views

Stop titlerule from overlapping with image

I’m using the “Abey Resume Template” from Overleaf’s Resume Templates. How to stop the titlerule of \section from overlapping with the image? Thanks!! Picture: MWE: %------------------------- % ...
user avatar
  • 57
0 votes
0 answers
56 views

Section with different font sizes AND author with more than one affiliation

I'm new to LaTeX and I have two doubts concerning this paper template that was provided by the congress: Paper Template - Overleaf. 1 Doubt (not solved): They say that the first letter of the headings ...
user avatar
0 votes
1 answer
38 views

Insert additional box in section slide

I'm making a presentation with beamer. Problem: my sections have a title and a subtitle. I'm not going to put the subtitle in \section{} because it would end up in the top progress navigation bar. I ...
user avatar
0 votes
1 answer
31 views

How to get a indented subsubsection with a run-in title?

I've tried the follwing: \usepackage{titlesec} \titleformat{\subsubsection}[runin]{\bfseries}{\thesubsubsection}{1em}{} But if I do \titleformat{\subsubsection}[runin]{\hspace{3em}\bfseries}{\...
user avatar
0 votes
1 answer
73 views

Add text above a chapter heading

I have come across a document where the thesis title and name of the author are above a \chapter*{Abstract} chapter heading. It looks like this: How can I add custom text like that above a chapter ...
user avatar
  • 3
3 votes
0 answers
54 views

Best way to write title paragraphs in LaTeX

I was trying to emulate the style found in some math textbooks of having titled paragraphs through a sidebar of sorts, and i was wondering what the best way to go about it was. For now, i am (ab?)...
user avatar
0 votes
0 answers
16 views

Creating indented header for \subsubsection in document

I have the following setup for my titles. However, I cannot figure out how I can create a slightly indented title for the \subsubsection. Following is the code that I used, however, that doesn't seem ...
user avatar
0 votes
1 answer
30 views

How to center only \subsection{} while all other section types remain aligned to left?

The question is essentially above. How can I only center a specific section type while all others remain in the standard formatting? \documentclass{report} \begin{document} \section{Blabla} %this one ...
user avatar
1 vote
1 answer
63 views

Problem with subsubsection numbering :

I want the subsubsection starts from 1.1.1 instead its numeration is starting from 1.1.0, where's the problem, note that I used the renewcommand that allows you to custom the book or any class's parts,...
user avatar
  • 1,060
0 votes
0 answers
42 views

Error when trying to style section/subsection

I've followed this example for section styling. How to create custom section titles with a “<title> <number>” format in LaTeX? There's no error in the MWE, but as soon as I insert it in my ...
user avatar
0 votes
1 answer
14 views

Center section with number after prewitten text and in a new line the section caption

I am a beginner at LaTeX, and i was wondering how should i make a section with numbering following a prewriting "text", and a in a new line (the text i want to add in the section{}, all ...
user avatar
  • 91
0 votes
2 answers
40 views

Index of Names and Index of Terms are not recognized as sections

First an MWE and its output to the contents and index pages are as follows. \documentclass{book} \usepackage{imakeidx} \usepackage{hyperref} \usepackage[totoc=true]{idxlayout} \indexsetup{level=\...
user avatar
  • 3,257
0 votes
2 answers
30 views

Changing Font of all Numbers in Main Body, Headings and TOC

I am writing a thesis and really want to use the font "Nunito". Unfortunately Nunito has numbers with different heights (old style). I do not like those numbers, therefore I would like to ...
user avatar
-1 votes
2 answers
43 views

Set the index of items inside the text

With this code: \section{Consideraciones generales} \subsection{}Autoridad reguladora y fiscalizadora \subsubsection{}El Ministerio de Salud fungirá como órgano regulador vigilante del ...
user avatar
0 votes
1 answer
48 views

Remove dot from custom defined section title

I've just defines a new type of section title following this page. The used code is shown below: \newcommand{\ssection}[1]{% \section[#1]{\centering\Large \\ #1}} If I type \ssection{This is a test}...
user avatar

1
2 3 4 5
102