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
0 votes
0 answers
28 views

glossaries-extra remove in-text hyperlinks after first occurrence

Hi there while using glossaries-extra, I could benefit from the extra feature of having links for each first appearance of a new definition/acronym to the respective Glossary or Acronyms section. This ...
Matteo's user avatar
  • 75
0 votes
1 answer
26 views

\@startsection does not follow the depth?

When typing: \newcommand\subsectionNotIndented{% \@startsection{subsectionNotIndented}{3} {\z@}% Left indentation {2mm plus 1mm minus 1mm}% Space above {2mm plus 1mm minus 1mm}% space after ...
tobiasBora's user avatar
  • 8,569
1 vote
1 answer
26 views

TOC with (fake) chapter and (real) sections

I would like to have a table of contents displaying the sections from my document (article class) and some fake chapters (which I don't want to appear in the main document). I thought I would be able ...
rfs's user avatar
  • 13
0 votes
1 answer
29 views

Numbering the Chapter / Section / Subsection and the equation in align environment

I am writing a notes for a subject (I am using documentclass{report}). In my project, I follow the layout of Chapter - Section - Subsection. I want to number the title of chapter, section and ...
PermQi's user avatar
  • 189
0 votes
0 answers
13 views

Adding a second tableofcontents with alphabetical order and only subsections

I'm creating a songbook in LaTeX and want to have two tables of contents: 1st with regular section order, 2nd with alphabetical order and only subsections (individual songs). I have songs in ...
mister_banana_mango's user avatar
0 votes
1 answer
16 views

Custom heading with prefix and counter in KOMA class

I would like to introduce a new heading in a KOMA-Script class on the subsection level that has a prefix and a separate counter, eg. GP1, GP2, etc. Otherwise, the style should be the same as \...
user21101711's user avatar
1 vote
1 answer
41 views

KOMA-Script and prefixes behaviour

I'm preparing my document (Koma-script report class) in Lyx. If I use \KOMAoptions{headings=onelinechapter} the chapter has no prefix Without it the MWE produces the file with chapter prefix + title ...
Alexandra's user avatar
0 votes
2 answers
45 views

Chapter and section

I'm writing my thesis (i choose report class) and I'd like to have chapters looking like this: 1 Introduction I mean I want only chapter number and title in one line. Furthermore I'd like the left ...
Michał Szymankiewicz's user avatar
0 votes
1 answer
56 views

Multi-Line Section Heading with Custom Title

How do I get a section heading of the kind: Supplementary Note 1 Some Example Heading Name with the ToC only showing the section name, not the "Supplementary Note": 1 Some Example Heading ...
Wasserwaage's user avatar
0 votes
0 answers
29 views

Automatically setting page style to plain when the page starts with section title

I'm writing a document where I don't use page breaks before starting a new section. This means that sometimes, a section will start in the middle of the page, while other times it will start at the ...
Nickesponja's user avatar
0 votes
0 answers
67 views

Legrand Orange book -errors

I am using the Legrand Orange Book & compiling it using pdfLatex. I get the following issues: Undefined control sequence. \@makechapterhead ...mdepth >\m@ne \if@mainmatter ...
SDe's user avatar
  • 1
0 votes
0 answers
30 views

Combine multiple enumerate with \paragraph

I am trying to use \paragraph inside of an enumerate environment, but I keep getting a ! LaTeX Error: Something's wrong--perhaps a missing \item. Using multiple enumerates, whether nested or ...
shade4159's user avatar
  • 101
0 votes
1 answer
77 views

Compile only a given section

Is there an optionnal argument to compile only a given section ? I would like to write \section[OnlyThisSection]{My section} ... which would allow me to compile only the section I am working on. It's ...
Arthur 's user avatar
0 votes
0 answers
17 views

Improving Arguelles, a beamer theme, section slides [duplicate]

I found a very neat beamer theme (Arguelles, https://github.com/piazzai/arguelles) however there are three things that I believe are troublesome with the theme. I am trying to improve them but I am ...
Cryme's user avatar
  • 761
2 votes
1 answer
52 views

"this space intentionally blank" at end of chapters if more than X inches not typeset on

I'm using LaTeX to typeset a legal contract (trust indenture) using book and I'm using chapters for each major section of the contract but it's sometimes leaving big gaps of empty space at the end of ...
VigilanceTech.com's user avatar
1 vote
0 answers
35 views

A sectioning scheme for a book with Memoir Class

I wrote a book with the DTP Adobe Frame Maker and I, myself, did the paragraph formatting and page layout. Now, I am translating the book to English and, this time, the book is being formatted and ...
Iracildo Santos's user avatar
0 votes
1 answer
29 views

Contents pages and counters

I'm trying to create a document that has two different types of headings within each section. The first heading needs to go in a contents page and is of the form Block #1 -- #2 (3 Sessions) where #1 ...
Wendy Taylor's user avatar
3 votes
1 answer
147 views

Too much space between a float and the section that follows it

When a section follows a float, the vertical space between the two elements is too large, as \intextsep is added to the spacing introduced by \section. Generally speaking, this is also true for other ...
B Legrand's user avatar
  • 511
0 votes
0 answers
18 views

LaTeX shoves Text from newer sections inbetween the tables from previous chapters [duplicate]

I have a subsection primarily consisting of 6 tables. After compiling, the compiler shoves the headline and some text from the next subsection after the 3rd table. This next subsection also has a ...
HansDerHalbe's user avatar
0 votes
0 answers
27 views

Suppress chapter number from the equation number but restart automatically in each chapter from 1

using the following code, I suppressed the chapter number from the equation. but it does not stop and in the next chapter the equation number does not start from 1. What should I do? I have used the ...
ali golbabaei's user avatar
0 votes
1 answer
32 views

\section, \subsection-derived commands end up twice in TOC, along with some floating 1s

Update \documentclass{article} \newcounter{hoofdstuk} % Define hoofdstuk counter independently \newcounter{afdeling}[hoofdstuk] % Define afdeling counter within the hoofdstuk counter \...
BlueIris's user avatar
  • 339
0 votes
2 answers
64 views

"Undefined control sequence" for \section when using arXiv template - Why is it so?

\documentclass[10pt,leqno]{amsart} \usepackage{graphicx} \baselineskip=16pt \usepackage{indentfirst,csquotes} \topmargin= .5cm \textheight= 20cm \textwidth= 32cc \baselineskip=16pt \...
S-F's user avatar
  • 3
0 votes
0 answers
27 views

Report with 2 parts A (Chapter 1.1,1.2 etc.) + B (Chapter 1.1,1.2 etc.) [duplicate]

I am trying to write a report which shuld contain two parts A + B. At the moment I have this: What i would like to have is A instead of I , and B instead of II. and also that after B the first ...
Fit Tune's user avatar
3 votes
1 answer
225 views

Why isn't the part title vertically centered by default?

Using the \part command for the first time with the \documentclass book, I realized that the title of the part was not centered vertically and was higher on the page than it "should" be. ...
B Legrand's user avatar
  • 511
0 votes
1 answer
19 views

Condensed references using bibunits package

I am using bibunits package to generate references at the end of every chapter in a book-like project. However, I can't figure out how to generate condensed citations, like [1-5], instead of [1, 2, 3, ...
Brasil's user avatar
  • 1,286
2 votes
1 answer
56 views

How to change the section numbering style to a) aa) and (1)

I'm quite new to LaTeX and I want to know how to change the section numbering style for my subsubsections and so on to: a) b) aa) bb) (1) (2) This is what I already have: \documentclass[12pt, oneside]{...
DidiG's user avatar
  • 21
0 votes
0 answers
20 views

Section title with lines on either side - left justified

I am trying to create a section title that is left justified, but with lines filling out either side of the title, like this: -- Section Title -------------------------- This question and this ...
kp42's user avatar
  • 1
0 votes
1 answer
28 views

Beamer Berkeley: remove frame number in title and section pages

This is the continuation of my question here. I added frame number and total frame in every slide, but I would like to skip and remove both frame and total frame numbers in title page and section page....
zhidayat's user avatar
1 vote
1 answer
51 views

Enumitem/Enumerate Margins in Section vs. Subsection

I am writing a contract wherein I separate the different provisions with numbered items (following this question), as in the MWE below. The margins in the enumerate lists in the Subsections display ...
grfrazee's user avatar
  • 969
0 votes
1 answer
52 views

Colored Section Numbers

I would like to colour the section, subsection, and subsubsection numbers in my thesis document. I tried before the solution at the end of this thread:Section numbers colored but I get the error that ...
katsucurry's user avatar
1 vote
1 answer
20 views

How to center title and section page in plain frame of Beamer Berkeley

I am using Beamer Berkeley theme with a broader sidebar. I want to center the information in the title page and also in the section pages horizontally. To achieve that, I use the plain option for the ...
zhidayat's user avatar
0 votes
1 answer
14 views

Beamer headline with sectioning names and numbers

I want to create a presentation with Beamer that has a headline similar to that of the theme CambridgeUS, in the sense that it contains the name of the current section (left) and subsection (right), ...
Jim's user avatar
  • 1
1 vote
0 answers
104 views

Bourbaki style book layout

I am trying to hone my layout skills, and what's better than trying to start by copying the Bourbaki style and then going up from there? Thus, I want to achieve the following chaptering and sectioning ...
Atom's user avatar
  • 665
2 votes
1 answer
29 views

make4ht breaks with text formatting in section headers when trying to convert to odt

I have a test file that I wish to convert to .odt. Here is a MWE: \documentclass[a4paper,12pt]{article} \title{Special media for rapid germination of \textit{Persea americana} seeds using vitamin B\...
Miloop's user avatar
  • 773
1 vote
1 answer
49 views

Increasing font size for section headings using titlesec in rmarkdown bookdown package

I would like to increase the font size of my chapter titles. I am producing a pdf using bookdown package in rmarkdown. I have followed this answer, but I get the result that my chpater headings are ...
Mark Davies's user avatar
1 vote
1 answer
35 views

How to underline and color the first letter and the underlining [duplicate]

I would like to underline and color only the first letre which is "I" for Information and C for Communication, also color the underlining but this line color all the texte with red !! \color{...
Inesss's user avatar
  • 11
0 votes
0 answers
14 views

Customized section name superposing summary words [duplicate]

I have created a customized subsection name \renewcommand\thesubsection{Parte \Alph{subsection}.} But it is conflicting with the Table of Contents because "Parte" is too long, as below: ...
Caio Bianchi's user avatar
0 votes
1 answer
26 views

Prepend section number to numbered easylist [closed]

Is there a way to prepend the section number to a numbered easylist list? I found this link but it seems to add it to an enumerated list. Thanks!
Prevost's user avatar
  • 345
1 vote
1 answer
36 views

titlesec explicit stops formatting of subsubsection

I need the explicit option for titlesec. However, when I set the explicit option, and also try to format subsubsections, they disappear. The same does not happen to subsections. Maybe I am using ...
KHAAAAAAAAN's user avatar
1 vote
1 answer
49 views

Suppress title page for "part" in KOMA scrbook

I'm working on typesetting a book that has lovely artwork for chapter headings plus full-page art for each part (so Part 1 gets art that incorporates the text "Part 1", etc.) I successfully ...
Nightsky's user avatar
0 votes
0 answers
56 views

how to change size of subsection and subsubsection title [duplicate]

In my project, I want to change fontsize for the subsection and subbsection (include their number) to the same size as what I write in the next line of its (I don't know how to say this in English ...
PermQi's user avatar
  • 189
4 votes
1 answer
56 views

subsection head color

I can change the colors of the chapter, section and subsection heads, but this manner doesn't change the color of subsection* heads. Here is an example: \documentclass[a4paper,12pt,twoside]{book} \...
user35528's user avatar
  • 111
2 votes
1 answer
134 views

Problem with command `\includeonly` on Overleaf: `.aux` files are deleted automatically after some time

I am writing a paper on Overleaf (free version) that is starting to be a little long, so to optimize the compilation time I decided to put each section in a separate .tex file, and use the command \...
Lorenzo Pompili's user avatar
3 votes
1 answer
187 views

pdfstring for math symbols

I need to generate bookmarks and use math symbols in my section titles. I know I need to use \texorpdfstring{}{} command. My question is, what are the math symbols for the pdfstrings? Are there any ...
liaoming999's user avatar
0 votes
1 answer
45 views

How to change the formatting (style) on the hierarchy of sections in latex document [duplicate]

I am trying to follow the formatting guide of my course. After trying to find some information on this, I have reached no solution. I would appreciate any and all help towards this. I am using the ...
OppositeDragon's user avatar
0 votes
1 answer
45 views

Memoir: How to get starred sections into headers?

I have starred sections at the end of a chapter that do not show up in the headers. The MWE is: \documentclass{memoir} \usepackage{lipsum} \begin{document} \chapter{Some chapter} \section*{Some ...
user1362373's user avatar
  • 2,859
0 votes
1 answer
25 views

How to replace section/chapter/subsection depending on the current location? [duplicate]

I would like to refer to the current 'unit' in a section/subsection agnostic way. In other words, I'd like to use \unitname in the following way: \section{Foo} In this \unitname... \subsection{Bar} In ...
marmistrz's user avatar
  • 489
1 vote
1 answer
38 views

Bullet on margin before running section

I'm using KOMA-Script class. For section titles I use the option: \RedeclareSectionCommand[runin=on]{section} It works perfect. But Can I put a bullet ( before a section title? Ideally, it would be on ...
ReRunner's user avatar
  • 471
1 vote
1 answer
41 views

Numbering of tcbtheorem references [duplicate]

For my document, I like to have all my theorem environments be counted consecutively as definition 1, definition 2, ..., theorem 1, theorem 2, .... I created a tcb theorem environment that does this, ...
Lex_i's user avatar
  • 215
2 votes
1 answer
74 views

Getting rid of additional space above and below the title of a part

I am writing lecture notes in LaTeX, and I want to follow some formatting guidelines set forth in the Corporate Design Guide of the university that I'm attending. In particular, I want to set up my ...
ma_thss's user avatar
  • 23

1
2 3 4 5
107