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
0answers
18 views

How to put an asterisk next to a section label?

I want to add an asterisk to some section labels. This is often used to indicate that a section is optional, like so: 1.1* Optional Section Here is my solution : \documentclass{report} \...
0
votes
1answer
18 views

\renewcommand{\section} causes unwanted bibliography header modifications

So I have three files. My main .tex file, my .cls file and my .bib file. In my .cls file, I use these two functions: \newcommand{\coloredtitle}\[2]{ \tikz[baseline=(char.base)] \node[anchor=...
0
votes
0answers
13 views

How do I make images at the side of each section better scaled?

My out put is: my code is: {\newlength{\heightOfS}\settoheight{\heightOfS}{S} \section*{\includegraphics[height=\heightOfS]{skills.png} SKILLS}} \section*{\includegraphics[width=0.1\textwidth]{...
0
votes
0answers
26 views

Dividing chapters in subchapters

I want to make chapters and sub chapters, like so: Chapter 1 Chapter 1a Chapter 1b Chapter 2 Chapter 2a Chapter 3 I found that this, while the main idea is there, doesn't ...
1
vote
1answer
19 views

Overfull Heading when using Decimal Point Alignment in Table

I want decimal point alignment in my table (below). However this messes up the heading (overfull error), even though I have it across 2 lines. How can I overcome this problem? Thanks \begin{table}[!t]...
0
votes
0answers
12 views

Section command in tccv.cls files shows ! Missing number treated as zero

I have made my two column cv using tccv.cls a month back. I ran the file a week ago and got the desired output. But when I am running the file today, I am getting an error "! Missing number, treated ...
1
vote
1answer
30 views

enotez: listing chapter or section names at the listing of endnotes

From an MWE like this: \documentclass{report} \usepackage[backref,totoc=chapter,counter-format=Roman,split=chapter]{enotez} \setenotez{split-title={\chaptername\ <ref>}} \begin{document} \...
-1
votes
2answers
34 views

Place double-column figure right below section heading

I have a document in double column format, and for the appendix, where I just list omitted figures, I would like to have a section heading ("A - Omitted Figures") and then several figures. However, ...
0
votes
3answers
78 views

How can I keep sectioning but disable its display

I'm quite happy with titlesec and titleps for keeping track of sections and creating footers that are conditional on whether a chapter start or is continued, but there was a case where it wasn't ...
0
votes
0answers
29 views

Macro similar to section with label/reference and custom format

I am trying to write a macro (\exhibitTitle) that would behave similar to section/chapter, but with its own counter that increases by 1. Its important that it supports label (doesn't have to be ...
2
votes
1answer
29 views

KOMA-script: locally align chapter title

I would like chapter titles added with \chapter{title} to be aligned to the right (i.e. with \raggedleft), but everything else that classifies as a chapter (i.e. a chapter added with \addchap{title} ...
1
vote
3answers
67 views

Toying with `titlesec` to maximize text inside a page and fancy features

This is a follow up to controlling the gap between footer and body of text. Remember, the goal is to max text within a page. To that end, how can I use the drop or wrap shapes to work using titlesec (...
0
votes
0answers
29 views

How can I prevent a pagebreak after an empty section?

I'm typesetting a roleplaying game rulebook in LaTeX. A frequently-occurring pattern in that problem space is a section header, followed immediately by a hierarchically lower section header—for ...
1
vote
1answer
28 views

Remove Section Number in Header or Footer

The following code is based on: Fancy header and footers I would like to remove the section number in the header but keep it in the main text. I have tried but without succes: \titleformat{\chapter}[...
0
votes
1answer
22 views

How can I set the numbering features to subsubsections?

I have a report type file (my thesis). I have no problems with the numbering in sections and subsections (the get enumerated by itself and appear correctly in the table of contents), but for the ...
1
vote
2answers
28 views

change the style of chapter, addchap and listof koma-script problem

I have a problem by redefining my chapter styles. I'm using \makechapterhead and \makeschapterhead for this, but I'm not able to make it work with \addchap. The chapter names of the upper section ...
0
votes
0answers
14 views

Change font of section titles (scrreprt document) [duplicate]

I'm having trouble changing the font of (sub)section titles in my document, I'd like it to be the same as the font used for the main text but as of now, a sans serif font is used for titles and a ...
1
vote
1answer
39 views

Can this conflict between `biblatex` and redefining the `\section` command be solved?

I am making a poster with the beamer class and the beamerposter package and I want to use enumerated blocks. They way I'm doing it is by defining a sectionblock environment as follows: \...
1
vote
1answer
30 views

Side chapter thumb headings conflicts with part sectioning

This is a modification of Koma-script / Anhang-B that separates chapters into parts. How would I disable this feature where a new part starts? In the example given, this means removing thumb "Chapitre ...
0
votes
0answers
24 views

how to customize toc

how to remove number counter in toc? this my current output: i want this out put: 1. BAB I PENDAHULUAN 1.1 Latar Bekalang 1.2 Maksud dan Tujuan Magang 1.3 Waktu dan Ruang Lingkup ...
0
votes
0answers
10 views

Two kinds of section numbering in latex article

I want to number the sections by integers and the appendix sections with alphabets. How to use both kind of section numberings? Thanks in advance.
1
vote
1answer
44 views

Sectionmark command ignored in running head of first section page

Some of my section titles in my book xetex document with fancyhdr are too long for putting them into the running head. I use \sectionmark in order to set a shorter version for the running head. This ...
3
votes
1answer
56 views

Where's the mandatory argument of sectioning commands?

I was looking in the file book.cls and I noted there is no mandatory argument in the definition of \section, \subsection, and \paragraph commands \newcommand\section{\@startsection {section}{1}{\z@}% ...
0
votes
1answer
35 views

Formatting glossary and bibliography's headers

In the example below, mismatch between OT1H glo and bib's headers, and OTOH the way they appear in the toc: chapter and section, respectively. I would like to change the former to section. Also, there ...
0
votes
2answers
17 views

Remove spacing between repeated empty subsubsections

I'm writing a technical specification document, and each section is one part of the specification. But in many situations it makes sense to group together multiple parts of the specification and ...
1
vote
1answer
27 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 ...
3
votes
3answers
79 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 edit Actually, I would ...
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
42 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
27 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
27 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
16 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
72 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
43 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
51 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
48 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
38 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
23 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
26 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
41 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 ...
2
votes
2answers
67 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
15 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
44 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,...