Skip to main content

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
25 views

Multiply defined links to chapter and sections not working

I have a PhD thesis, originally written in English, and I am trying to include a translation of the thesis into Spanish in the same document. For the most part, this has been working well, but I am ...
Craig Welker's user avatar
1 vote
1 answer
32 views

beamer section slide with name in colorbox centered in the frame

I'm working on a presentation for my PhD defense and planning on experimenting with beamer. I'm not an expert with LaTex and wanted to know if with \usetheme{Boadilla} it comes an option to set a ...
Matteo's user avatar
  • 365
1 vote
0 answers
50 views

Automatic creations of labels for dictionary entries

I'm working on a dictionary and I'm using this solution provided by @cabohah in this post: \nopagebreak has no effect in \newcommand environment What I need is to add a label to each entry of my ...
Dieter's user avatar
  • 137
0 votes
1 answer
28 views

Make section upper case in text but small capitals in toc

I am using the book class with four heading levels (part, chapter, section and paragraph) and I am trying to achieve the following no headings are numbered, the table of contents should only contain ...
user avatar
0 votes
0 answers
37 views

Bilingual two-page parallel typesetting with bilingual headers drawn from section and chapter names

The book I'm trying to typeset is a bilingual parallel liturgical text (a lectionary). As such, I'll need the chapters and sections to be in both languages, on facing pages. Only the chapters and ...
Jonathan Yip's user avatar
0 votes
1 answer
55 views

Chapter Formant: CHAPTER 1 -> CHAPTER ONE

The new requirement of my school is CHAPTER 1 -> CHAPTER ONE. I check the .cls file, may I know how to adjust this? I appreciate your help % Chapter formatting in TOC \renewcommand{\cftchapindent}{...
amzra10's user avatar
0 votes
0 answers
17 views

\renewcommand for adding letter to section not working properly [duplicate]

I am using \renewcommand{\thesection}{S\arabic{section}} to add S to all the section numbers. This works well as long as the number is a single-digit (1-9), both in the document and the ToC. Once it ...
rnp's user avatar
  • 45
0 votes
1 answer
55 views

How to redefine chapter*

I would like to save the name of the chapter* sections to a variable and to achieve this I am trying to redefine the chapter* command, how could I do this? Any help would be greatly appreciated. \...
xyz04's user avatar
  • 137
5 votes
1 answer
177 views

How to use the {titlesec} package to create this Chapter style?

I am writing a technical handbook and really like the chapter title below (from Life Technologies, thx). How can I use the titlesec package and fancyhdr package to achieve these? Chapter style For ...
Frank Mosher's user avatar
1 vote
1 answer
25 views

Issue with Table of Contents not displaying in LaTeX document with customized section formatting

I have a document where I've modified the sections and subsections to appear within a colored frame. Now I want to include a table of contents, but nothing shows up when I use \tableofcontents. I'm ...
Á. Garzón's user avatar
0 votes
2 answers
66 views

How to start a chapter with numbering as 9.1

My chapter in a book is numbered 9. My first section (introduction) should be numbered as 9.1 and so on. My first table should be numbered as Table 9.1 and so on. Is there any method to do so in Latex?...
junaids's user avatar
  • 11
0 votes
1 answer
37 views

How to reference a subsection or a subsubsection when both letters and numbers are used

I think there must already be an answer to this but I haven't found a result from my search. I have a document where the sections have arabic numerals (1,2,3), the subsections have uppercase letters (...
dragoncat16's user avatar
0 votes
0 answers
26 views

how i can make the numer of subsection in right side

\documentclass{article} \usepackage[utf8]{inputenc} \usepackage{latexsym} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsfonts} \usepackage[english, russian]{babel} \usepackage{nopageno} \...
Abdel djalil Boulebbina's user avatar
3 votes
1 answer
36 views

How to force a section to start on the titlepage?

\documentclass[12pt]{article} \usepackage[document]{ragged2e} \usepackage[a4paper,margin=1in]{geometry} \usepackage{graphicx} % Required for inserting images \usepackage[T1]{fontenc} \usepackage{...
AIme999's user avatar
  • 157
1 vote
2 answers
38 views

Changing Chapter Style whit horizontal lines

I was trying to change the chapter style in a LaTex file as in the below image, for that I was trying to manage the command titlesec but it was fruitless. Does anyone know how to do it? Thanks My try ...
Jacaré's user avatar
  • 113
1 vote
0 answers
38 views

How to write Learning Objectives at the Beginning of each chapter in a new book?

For a new book that I'm writing in LaTeX, Publisher asked me to add "Learning Objectives" at the beginning of every chapter. I added this \section*{\em Learning Objectives of the Chapter} I ...
Sundar's user avatar
  • 725
1 vote
1 answer
58 views

Having lining numbers with cfr-lm

I'm trying to use oldstyle numbers only in my body text using pdfLaTeX. Looking at other questions, I had the idea to use the cfr-lm package and then try to come back with lining numbers in : ...
Louis Lascaud's user avatar
1 vote
0 answers
29 views

bookmark being "skipped" when scrolling [closed]

i suspect this observation is irremediable, but i wanted to ask anyways. when there are two section bookmarks on the same page, the second one won't get "highlighted" when scrolling over the ...
gagan's user avatar
  • 23
1 vote
1 answer
14 views

Remove extra bibliography title from the list of sections

I have this presentation: \documentclass{beamer} \usepackage{biblatex} \bibliography{bib/bibliografia.bib} \usetheme{Madrid} \useoutertheme{shadow} \AtBeginSection[] { \begin{frame}<beamer> ...
Lev's user avatar
  • 181
0 votes
0 answers
20 views

how to link toc to the correct section after resetting sectioncounter?

I have a section in my document which would be numbered 7 but I set the section counter to 0 again such that numbering for that section starts at 1, but this means when i click on my toc page for this ...
jones871's user avatar
0 votes
0 answers
22 views

Avoid new page after end a section in latex [duplicate]

I am working on latex, and this is my main.tex, including all the packages which will be used: \documentclass{article} \usepackage[]{hyperref} \newcounter{Chapcounter} \newcommand\showmycounter{\...
Hân Trần's user avatar
0 votes
2 answers
36 views

Why is this error showing up when I run this section with a list in it?

I put a list in the section title of my document. Here is the code: \documentclass{article} \usepackage{enumerate} \usepackage{chemfig} \begin{document} \section{My Controversial Opinions: \begin{...
Vector's user avatar
  • 103
1 vote
1 answer
28 views

Remove section numbering from some chapters

My thesis has several chapters, and a few of them have sections and subsections. However, for the chapters that do not have sections, the theorem counter continues to label them "X.0.1, X.0.2&...
stressedgradstudent's user avatar
1 vote
1 answer
49 views

Macro doesn't work: unexpected behavior of if-then-else statement

I'm encountering an issue with my LaTeX macro designed to create a glossary. The intention is to generate sections for each new letter of the alphabet and subsections for terms starting with the same ...
guglielmo's user avatar
4 votes
2 answers
121 views

How to make headings use lining figures but leave the main text alone?

I have this problem, I know how to specify a font feature. But I don't know how to limit it to only the header portion of the document. Here is the code: \definefontfamily [brill] [rm] [Brill] \...
Adrik Ivanov's user avatar
0 votes
1 answer
35 views

How do I reset the paragraph numbering after a new chapter?

I'm writing an academic assignment and the paragraph needs to be reset after a new question. After the first question, the paragraph continoues to count with D. , but I need to start with A. again. ...
DidiG's user avatar
  • 23
0 votes
0 answers
36 views

Author citation numbering using sequential letters

I'm submitting an article to a journal that has certain formatting requirements. For the authors list, underneath the title, they want superscripted citations after each name in the form of "a)&...
tansvaal's user avatar
0 votes
1 answer
47 views

Help combining options between two tcolourboxes

I have this code which allows me to define colours and style to my theorem style boxes depending on the section and I have the subsection code as well but I would like it so when the section changes ...
Paul A's user avatar
  • 1,117
0 votes
1 answer
28 views

Section number flushed left but section body centred

In my document (thesis) I would like to have the section-number always on the left handside, while the actual section-name should be centred. In pseudocode it would be something like this: \...
Kulloth's user avatar
0 votes
0 answers
46 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
  • 365
0 votes
1 answer
27 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,964
2 votes
1 answer
41 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
  • 23
0 votes
1 answer
32 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
  • 187
0 votes
0 answers
15 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
22 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
55 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
61 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
59 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
35 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
34 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
88 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
18 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
  • 803
2 votes
1 answer
56 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
44 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
31 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
163 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
  • 433
0 votes
0 answers
22 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
30 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
89 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

1
2 3 4 5
108