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
1answer
21 views

error using the command \setcounter{secnumdepth}{6}

Upon trying to add extra sections to my document, I tried to use the command \setcounter{secnumdepth}{6}, However, upon compilation, I get the error "Undefined control sequencesubsubsubsection" Here ...
0
votes
0answers
18 views

How to make a space between section's number and the title

I was so confused of thinking about this. I'm trying to make a space between the section number and the text after it. I want to make a chapter as illustrated below. I have no idea about this because ...
2
votes
2answers
48 views

Different styles for sections

I would like to have several kinds of \sections. \starSection{Title} would print “1.3 Title” but \starSection[2]{Title} would print “1.3** Title”. Could you help me? Thanks
1
vote
0answers
39 views

Where does this superfluous colon, at the end of my \subsubsection title, come from?

I can't understand the behavior of the code snippet below \documentclass[letterpaper, 10 pt, conference]{ieeeconf} \begin{document} \subsubsection{stiffness} %--> There is no colon here! \end{...
1
vote
1answer
41 views

Latex only letting me put 3 subsection per page, then the numbering starts pilling up unless I add a new page

I´m trying to make some specifications fit on one page, but the \subsection{} command keeps messing things up unless I create a \newpage. I'm using overleaf. When I do this: \documentclass[11pt, ...
1
vote
1answer
18 views

Changing only the number in table of contents

My minimal document looks like this This colors the numbers in the table of contents, and in the section. How can i color the page number in the table of contents as well? I tried using tocloft and ...
2
votes
1answer
19 views

Using xpatch to alter \sectionlinesformat to change format for appendices headings with KOMA-Script

I'd like to change the way appendix section headings appear with KOMA-Script. I can achieve the behaviour I want by manually patching the \begin{appendices}... with a \renewcommand{\sectionlinesformat}...
0
votes
0answers
15 views

Change numbering in parts [duplicate]

I want to start sectioning with 1 instead of 0. I start with subsections, but they start with 0.1 and 0.2 and 0.2.1 - for example - I want it to start with 1.
2
votes
1answer
70 views

Alignment of a section in a parbox itself in a tabular cell

Let's go, Here is the result my .tex file gives me now : Here is the result I want : (see the "2" position on the right side, image obtained by replacing \cellcolor{blue!25} \colorbox{green}{\...
0
votes
0answers
41 views

Bibliography Help!

i have a problem in the bibliography page it take the fancy chap style i tried to remove it using the \clearpage and \thispagestyle{plain} and \thispagestyle{empty} commands but nothing change the ...
1
vote
2answers
38 views

Different style for appendix section heading via KOMA-script

I like the use of hanging section numbers in the margin. But when I move to the Appendices, I would like to revert the behavior back to normal. Additionally, I'd like to start the name of the ...
0
votes
1answer
46 views

New \@startsection doubles text and adds too much space

I'm making my own documentclass based on article. I need a new section type so I copied and adapted the following code from what I believe is the relevant code to add \subsection (at least in a simple ...
1
vote
1answer
71 views

Change line spacing with setspace without changing space before chapter headings

I want to use onehalfspacing throughout my document except for the bibliography, the TOC and the list of figures and what so not. I could put all of these in groups and change the spacing within them, ...
1
vote
0answers
20 views

The section/subsection starts enumeration with a 0.X.X [duplicate]

I am not able to understand how to disable the feature that makes the enumeration of the sections as shown within the following image: As you can see the enumeration is preceded by a 0. The package ...
0
votes
0answers
9 views

Page breaking doesn't work to bring section to new page [duplicate]

This has eaten almost three hours of my time today. I have tried \break, \pagebreak, \newpage, but nothing brings the section to the new page. At one point I tried to use \clearpage, it did take the ...
0
votes
1answer
35 views

Modifying custom designs for chapter and appendix heading pages

I have made to following book class MWE that uses this template for making the chapter heading pages look pretty. \documentclass[12pt,a4paper,titlepage,twoside,openright]{book} \usepackage[titletoc]...
1
vote
1answer
32 views

Why does \ref not jump to appendices but to subsection of section 3?

I have to deal with appendices in multiple papers which are represented by chapters. For this purpose I had to rewrite the appendix-environment (see MWE). It now is at the section layer. The ...
1
vote
0answers
18 views

Subsection numbering flipped order [duplicate]

As you can see the numbers of the subsection is not ordered correctly, how can I fix that. This template is from overleaf https://www.overleaf.com/latex/templates/fancy-analysis-report/hdygfmftrpds ...
1
vote
1answer
35 views

How do I format the given sections?

Using the following code, I get a number 1 on top of the listed problems. I was wondering how I can keep the section numbers and listed problems, but get rid of the 1 at the top? \documentclass[16pt]{...
0
votes
0answers
29 views

Eliminating chapter headings

Is it possible to eliminate the display of the \part and \chapter commands? For instance, I want TeX to keep track of my parts and chapters, but I don't want there to be any visual indication that a ...
0
votes
0answers
25 views

Summary for every chapter [duplicate]

I'd like to have a summary for every chapter like in this picture. how to do it? Thank you :)
0
votes
2answers
33 views

How to format chapter headings like section headings with no pagebreak and in twocolumn mode

I looked into a dozen threads on how to get chapters to not produce a new page. None of the solutions worked for me. For instance, this solution, produces an error when two chapters occur on the same ...
1
vote
1answer
49 views

latex: How to typeset many headings with no bodies? (After about 20 they don't fit on a page, and latex is not creating new pages for some reason)

I have a document (I use the 'article' class, but I cannot guarantee that, since the users may override it.), which only consists of headings of various kinds (\chapter, \section, \subsection, \...
0
votes
0answers
14 views

First letter of heading above others [duplicate]

What is the format of "PILCO" here? I tried lettrine but I think that's not it. Thanks in advance for any help.
0
votes
0answers
43 views

bibliography is displayed twice in doc ( latex )

i use simple method to insert my biblio and webography in my doc : \documentclass[12pt,a4paper]{report} \usepackage[utf8]{inputenc} \usepackage[francais]{babel} \usepackage[left=2.5cm,...
3
votes
3answers
36 views

Using the titlesec package with dgruyter style gives “Error: Entered in horizontal mode”

I'm trying to use the titlesec package with the dgruyter style from this page, and I get a compilation error "Error: Entered in horizontal mode." Many questions already exist for this error, but none ...
0
votes
0answers
23 views

No Heading for Endnotes

I would like to use XeLaTeX to write papers according to MLA8, but for that the automatic heading created by \theendnotes is in the way. There is already an explanation on how to change the heading (...
0
votes
1answer
25 views

Why subparagraph not inline with paragraph or section

for the subparagraph, it is not inline with paragraph why the content of subparagrah does not go to second line like others? \chapter{Chapter 5} \label{chap:chapter-5} \section{section} Testing \...
0
votes
0answers
27 views

Rename subsection format

I'd like to change the format of the subsection in my document. 1.1 instead 1.0.1 as shows the figure below. My preamble is: \documentclass[ % -- opções da classe memoir -- 12pt, ...
2
votes
1answer
19 views

scrreprt: treat bibliography as section

In scrreprt, using scrlayer-scrpage I have the header set up so it says "Chapter #" in the outer header of the even page and "Chapter title" in the outer header of the odd page. I would like this ...
0
votes
2answers
39 views

automatic \texorpdfstring for \ref in pdf bookmarks (section titles) [duplicate]

\section{Proof of Theorem~\ref{thm:main}} doesn't produce the correct pdf bookmark (using the hyperref package). \section{Proof of \texorpdfstring{Theorem~\ref{thm:main}}{Theorem 3.1.7}} would give ...
0
votes
0answers
11 views

\usepackage[section]{placeins} for some sections not others

My document is 450 pages long, and i would like to get rid of the float barrier for some sections but not others.
0
votes
1answer
16 views

Make headsep larger if section starts on a new page

I'm using the KOMA-script scrartcl class with the geometry package and would like to have my sections (which always start on a new page) have some extra vertical spacing between the headsepline, but I ...
0
votes
0answers
23 views

Resetting of numbering of Section and Subsection in each Chapter

I want to reset the numbering of Section and Subsection, Figures and Equation in each chapter. At present the numbering is given below : Chapter No 1: 1.1 Section 1 1.2 Section 2 1.2.1 ...
0
votes
0answers
16 views

why \subparagraph in text does not appear in Table of Content and no numbering? [duplicate]

\section{section} \subsection{subsection} \subsubsection{subsubsection} \paragraph{paragraph} \subparagraph{subparagraph} Outcome: Why in table of content or text as 1.1.1.1.1 subparagraph I am ...
0
votes
1answer
14 views

Bibliography title issue

I have a problem with automatically \bibliography{}-command titling. Latex assumes that title makes as \section{*}\\ References, but \section*{References} is needed. Here is the picture of the ...
2
votes
1answer
35 views

How to make different command for subparagraph (or any other sectioning) with empty and nonempty title?

I want to make a sectioning command (for example subparagraph) that will have a different behavior for command with empty title. This is my MWE, showing somewhat about i want to get: \documentclass{...
1
vote
1answer
48 views

Section names and page numbers do not appear correctly

I used the fancyhdr package to change header and footer style. I made it so that chapter names appear in header. Also, I set it so that the chapter number appears before the page number in footers. I ...
0
votes
1answer
40 views

How include two horizontal lines below and above section in scrartcl as well as “Chapter X” label?

I am using the scrartcl document class in LaTeX (and I need to use this for several reasons). Now, I want to get something like this for every section: Currently I am doing the following: \...
3
votes
1answer
27 views

Small caps for subsection-level headers in AMSART document class

In the amsart class, subsection titles are in boldface. Is there a way to have them in \textsc?
2
votes
1answer
22 views

Error Inserting Custom Symbols (Graphics) into the Section

I am making a cookbook, and want to use a single macro \recipe (in the minimal example below) to insert the name of the recipe, the tags for the food (custom symbols denoting dietary restrictions), ...
0
votes
1answer
46 views

Section and Section Summary Preview

I was wondering if there is a package or method to define sections in the format: \section{Title}{My brief content description} Full text... Then using a switch like "Draft, Final, (Layout) " in ...
1
vote
1answer
43 views

How can I change the numbering of a subsection to letters?

I am reading a book whose table of contents has something like this: ... 2.2 Title of the Subsection 2.3 Title of the Subsection 2.3.A Title of the Subsection 2.4 Title of the ...
1
vote
1answer
28 views

Headings with scrlayer-scrpage

I'm new to LaTeX and this forum. I hope I can formulate the question well enough. My document class is scrreprt, so it's one-sided, but I want to have the section in the left part of the header and ...
0
votes
1answer
33 views

How to label chapters/sections/remarks/etc. with symbols

I am writing a thesis in report class, and I would like to have something like the following format. Table of Contents Part I: Introduction Chapter 1: Some history Chapter 2: Some literature ...
2
votes
2answers
51 views

titlefont, chapter, section

I am struggling to get chapter section like the picture below. So far i have got this which basically not produce the sectioning i want My code is as; \usepackage{titlesec,geometry,lipsum} \...
0
votes
0answers
15 views

Right align just one chapter title with `fncychap` package loaded

I want to right align just one unnumbered chapter in my report class document. Normally it can be accomplished in a very simple manner, \chapter*{\raggedleft <chapter title>}. But I suspect it ...
2
votes
1answer
45 views

How to reset counter when meet section*?

I am trying to reset the counter every time meet a section based on this doc. \documentclass{article} \newcounter{example}[section] % This line reset the counter every time meet a section \...
0
votes
1answer
19 views

Create a tex section in cv template keeping the layout of a custom command

I am using this template for my CV by Scott Clark. As explained here I substituted tabular* with tabularx to make it compile. In the template he has defined the command resheading to identify ...
0
votes
0answers
15 views

Sub(sub)section number preceding glossary entry

I'd like to label my definitions (using the glossaries package) so that they look appear as shown below, and are also displayed in the ToC: 1.1 Definitions 1.1.1 Aname: A description 1.1.2 Bname: B ...