Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

0
votes
1answer
23 views

Consecutive equation numbers with different section numbers in the front

I am looking for commands that enable me to have consecutive equation numbers with different section numbers in the front. For example, when the last equation of section 2 is (2.18), the next equation ...
0
votes
1answer
13 views

How to list portion of subsections

Right now I have a list of questions which I labeled. \documentclass[10pt]{article} \usepackage[hidelinks]{hyperref} \usepackage{enumitem} \begin{document} \newpage \section{Project} ...
0
votes
1answer
19 views

Adding unnumbered subsections to toc

https://tex.stackexchange.com/a/11669/174620 This answer worked very well for setting the counter to zero for sections. I want similar command for subsection. I tried \setcounter{subsecnumdepth}{0} ...
3
votes
1answer
101 views

Setting chapter numbering to alphabetic in one part only

I need to have the chapter numbering of a specific part in my document be alphabetic instead of numeric. How is this accomplished? MWE playground: \documentclass[a4paper,12pt,twoside,onecolumn,...
0
votes
0answers
10 views

\resheading personalized

I would like to change my \resheading tab and insert a black box with question number in white. Like this post (Problem 1): \resheading in two column book document class Thanks! Helena
0
votes
0answers
21 views

Random authors' names before cover page [on hold]

I don't know why but when dowloading the pdf file from overleaf, some random authors' names contained in the references section pop up right before the cover page, like the image below is pg. 1 of the ...
1
vote
1answer
29 views

Bibliography as numbered subsection

For my Bachelor thesis, I would prefer that the references are listet as a subsection in the section "Appendix".... The only thing a achieved so far is, that together with \usepackage[numbib]{...
0
votes
0answers
30 views

Check whether section/subsection is longer than one page

I have defined myself a small (probably disgustingly overcomplicated) command to reference parts of my document and add the respective page number to the output if the referenced part is on a ...
0
votes
0answers
26 views

Toc entry misplaced with \addcontentsline

I have some problem with my PhD thesis, in particular with the Table of Contents. My preface consists in many different environments (defined by a custom class) containing the abstract, the ...
2
votes
2answers
26 views

Renewing \section command affects \subsection spacing

If I use standard \section and \subsection commands I get the following normal behavior: However, if I renew the section % Custom sectioning style \let\oldsection\section \renewcommand{\section}[1]{ ...
2
votes
1answer
19 views

How to place part titles to top of paper

How to place part titles like chapter titles in book class? MWE: \documentclass{book} \usepackage{lipsum} \usepackage{titlesec} \titleclass{\part}{top} \titleformat{\part}[display]{} {\huge\bfseries ...
3
votes
1answer
45 views

Accessing chapter's name in Koma-Script

I looked up for a solution to access the name of current sections (chapters, sections, etc.) from macros (including starred variations of the section command). The set of macros proposed here works ...
2
votes
2answers
24 views

Remove hyphens from chapter, section titles

How do I remove hyphenating from all the \part{}, \chapter{}, \section{}, etc., titles of a document?
0
votes
0answers
17 views

Add/Continue a new subsection to an older section after it was ended [in toc]

I'm basically looking to not order things how they appear chronologically, page-wise. Instead, if I have [subsection #1.3] after [section #n], add #1.3 to #1 instead of #n, for ToC reasons. What I ...
0
votes
0answers
21 views

how to implement APA style heading and Sub Heading in Thesis.cls file

this is my Thesis.cls file \NeedsTeXFormat{LaTeX2e}[1996/12/01] \ProvidesClass{Thesis} [2007/22/02 v1.0 LaTeX document class] \def\baseclass{book} \DeclareOption*{\PassOptionsToClass{...
2
votes
1answer
20 views

textbf in mintinline

I am trying to have bold font in a subsection*{} with using \mintinline. Is there anyway to accomplish that? Here is the example: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{...
1
vote
1answer
17 views

TOC/bookmark not accurate when containing math content (Something weird at ToC and math mode) [duplicate]

I put at one of my sections this: $\left\langle a,b\right\rangle $ and what I get is something very wired! Do you know why it's happens and I can I solve it? If there is a solution for it... Here is ...
1
vote
1answer
35 views

How to overlay a custom list using AtBeginSection in Beamer

I would like to separate my sections in a beamer presentation with a custom frame that contains an enumerate list. However, using overlay specifications with item inserts multiple frames at the ...
0
votes
2answers
40 views

How to get custom section style using titlesec?

I am trying to design a custom section. My desire section will be something like this : But I am unable to get the exact result. This is what I was trying : Horizontal rule will be joined at the ...
0
votes
1answer
29 views

how to add the word chapter to a fancy style?

Dears i am using a fancy style in my document, however i would like to add the word chapter to the number of chapter (see the picture bellow). how can i do that ?
0
votes
0answers
24 views

How do I remove a specific chapter from a table of contents? [duplicate]

My current layout looks like this: \documentclass[12pt, onecolumn]{revtex4} \tableofcontents \section*{Acknowledgements} \section{Chapter 1} \section{Chapter 2} \section{Chapter 3} \section{...
2
votes
1answer
65 views

Underlining section titles [duplicate]

Is there a good way by specifying it in the preamble, to underline my section titles (not chapter titles), instead of having to do \chapter{\underline{Section Title}} for all chapter titles in the ...
0
votes
0answers
18 views

How to change the title of a section in the table of contents [duplicate]

In the file I am working on, some lengthy section titles are split up into two lines in the table of contents, with just one word dangling on the second line. Therefore, I would like to redefine the ...
1
vote
1answer
33 views

How do I change the properties of my subsubsection headers (ie. make them bold)? [duplicate]

I want to be able to put my subsubsections in bold - currently they are displayed in italics by default. What I have: 1. Section 1.1 Subsection 1.1.1 Subsubsection What I want: 1. Section 1.1 ...
1
vote
1answer
39 views

scrreprt: unnumbered chapters, numbering within sections - how to remove period?

Using KOMA-Script's report class scrreprt, I'd like to have chapters without any numbering, and have normal (Arabic numerals) numbering within each section (in text and in ToC), like so: Chapter ...
0
votes
0answers
14 views

Tender dossier with centered articles

I'm trying to write a tender dossier in LaTeX. I'm trying to achieve the result in the picture below: I need mainly to know 3 things: which would be the best class to use (article, book etc.) how ...
2
votes
1answer
23 views

Calling section via csname [duplicate]

I want to make a command that will create a new section or subsection (or subsubsection or...) based on its argument. Why does calling \section and \subsection via \csname not seem to work at all, ...
0
votes
1answer
15 views

Indent 2nd line of multi-line header \paragraph

Writing a text in the article class, there are levels of headers until \subsubsection. However, for the next lower header type, \paragraph needs to be used. If this is a multi-line header, it is not ...
1
vote
1answer
54 views

reference to a \section*{}

I need to answer my assignment in latex with a Assignment 1a Assignment 1b Assignment 1c Assignment 2a Assignment 2b I have tried to use the \section*{}, but referencing then doesn't work. Is ...
5
votes
3answers
168 views

How to add frame around section using titlesec?

I want exact this section style but I am unable to add frame around it. Could you please help me? Here is my code snippet : \documentclass[10pt,a4paper,twoside]{report} \usepackage{blindtext} \...
0
votes
0answers
20 views

Skip headmark on section definition page [duplicate]

Is it possible to skip the headmark only on the section definition page? %KLASSE DOCUMENT \documentclass[a4paper, 12pt, bibliography=totocnumbered, twoside]{scrartcl} %TWOSIDE HANDLING \raggedbottom ...
2
votes
0answers
20 views

Glossaries entry in heading of book class causes an error

In the following MWE, an entry from glossaries is included in a section title so it gets included in the page heading created by the book class: \documentclass{book} \usepackage{glossaries} \begin{...
0
votes
0answers
23 views

Table and text over footer

When i try to put a table on the code below, text or the table gets over footer. And the text below that code does not appear on the next page. Does anyone knows how to correct it? Text before ...
0
votes
1answer
25 views

How to include section numbers in the eLife template of Overleaf?

I would like to use the eLife template in Overleaf for the supplementary material. Since it is very long, I need to include section numbers, to make it easier for the reader to navigate the document. ...
0
votes
0answers
33 views

Remove numbering in header for certain sections - Fancyhdr

I would like to turn off the chapter number and section number for appearing in my headers from a certain point in my document. I don't want my appendix to have a chapter number and also don't want ...
1
vote
1answer
28 views

How to do blind endnotes

A "blind endnote" consists of the page number to which the endnote refers, some text that precedes where the endnote number would be in the text, and the text of the endnote. In the text itself, there ...
0
votes
0answers
24 views

Remove chapter and section numbering in header for only select sections

I would like to turn off the chapter number and section number for appearing in my headers from a certain point in my document. I don't want my appendix to have a chapter number and also don't want ...
0
votes
0answers
15 views

How to get “full path” of a reference, when \thesubsection do not contain \thesection?

Context My document has following structure: 1. First section a. Lorem b. Ipsum 2. Second section Note that \thesubsection is defined without including \thesection. Or in other words, ...
2
votes
2answers
39 views

How can I list an un-numbered section on the table of contents?

Here is a capture of part of "Table of Contents" of my article. Between section 32 and Appendix A (On Page 68), I manually added unnumbered sections called "Summary" "Further Reading" and "...
1
vote
1answer
27 views

New title class doesn't increase counter

I'm fairly new to LaTeX and need to create a subsubsubsection in a document. After looking around I found that it could be done with titlesec. I've followed all instructions I've been able to find but ...
1
vote
1answer
33 views

Try to implement APA style heading and sub heading but it gives error

\documentclass[11pt, a4paper, oneside]{Thesis} % Paper size, default font size and one-sided paper \setcounter{tocdepth}{5} \setcounter{secnumdepth}{4} \usepackage{longtable} \usepackage{wrapfig} \...
0
votes
0answers
12 views

Vertically justifying chapter number and name

My thesis chapter are currently displayed as the image above, and I would like them to show as the image below, that is vertically justifying the name of the chapter according to the size of the ...
0
votes
1answer
34 views

Legal-style indentation with text on the same line as the subsection title

A legal document requires the indentation format as in Question How can I get legal style indentation on section, subsection, subsubsec.. using titlesec?. I'm using the answer to the related question ...
0
votes
0answers
31 views

sectioning - section and subsection starting in the same line

I need to save as much space as possible in my document. So, I use \titleformat with the [runin] shape argument from the titlesec package to use the space after a section heading. Whereas this works ...
0
votes
1answer
16 views

Setting multiple styles for sections

I'm trying to style my section headers using sectsty, but I can't seem to apply more than one style. This is my code: \sectionfont{\sectionrule{0ex}{0pt}{-1ex}{0.1pt}} %\sectionfont{\fontsize{30}{40}\...
0
votes
0answers
27 views

Section header text appearing one page early in a specific situation

Due to specific reasons, I created an alternative \section command called \nsection. The simplified version below should behave similarly to the original \section command, however, I get an unexpected ...
2
votes
2answers
32 views

Changing “Chapter” just for one chapter

I am writting my thesis, using the book class. The manuscript is in English, but the first chapter (the introduction) is in French. I would like to have "Chapitre" instead of "Chapter" written before ...
0
votes
0answers
16 views

1 section title for multiple pages pdfpages

I have tried to add a section title to my multiple pages pdfpages in the appendix. However, my attempt was wrong, as it now creates a new section title for every page of the included (multiplepages) ...
0
votes
0answers
22 views

Undesired effect on Font size and lines spacing in paragraph and ToC after including unnumbered chapters

When I include the unnumbered chapter; abstract, acknowledgment, the font size and line spacing of the entire document from ToC to the last chapter are changing in a haphazard way. However, if I ...
1
vote
0answers
54 views

A very strange problem with Overfull \hbox

The last two days I face a very strange Overfull \hbox problem. I am writing a book and I am in the 4th chapter. I began writing a 5th chapter, but then I decided to include this in the previous ...