Stack Exchange Network

Stack Exchange network consists of 174 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
14 views

End notes in Memoir without any chapter formatting

I'm using the Memoir package and trying to setup a page of endnotes that only features a continuous list of endnotes and nothing more. In the following MWE a second chapter header (in addition to the ...
1
vote
1answer
21 views

How to create horizontal line before and after chapter heading but not in table of contents

I want to create a horizontal line before and after chapter heading (as shown in Picture) Chapter number at the Right hand side and chapter title at the middle. SO far I have this piece of code: \...
0
votes
0answers
22 views

How to start body text in the same page after “part” heading?

I am having an issue with the report class now. Since the report class enables "part" sectioning which article class can't, I would like to stick with the report class. The problem I am facing is ...
1
vote
0answers
38 views

Section Design for Poetry Book

After finishing my thesis I am starting to write a book with all my poems. Due to my thesis I am used to scrbook class and can handle koma script a bit. But I fail at adjusting the section headings. ...
0
votes
1answer
16 views

Put Page Number and Title on Margin with Titlesec

I Want to create this layout: With the title in the black box, using titlesec. But I just have got this result: And I can not move down the number page... Here is my code: \documentclass{book} \...
0
votes
0answers
42 views

Subsection is only showing two numbers. Why?

For example, I have in my thesis: \chapter{Introduction} \section{Theoretical Foundations} \subsection{Notation} \subsubsection{Measures} As a result: Introduction 1.1 Theoretical Foundations 1.1 ...
1
vote
1answer
24 views
+50

Rename appendix section in a single chapter

I want to add an appendix section to one chapter in a latex document of class book. I do not like the style of the subappendices package, where the appendices per chapter are quite highlighted. I ...
1
vote
1answer
25 views

Dynamically generate output based on the argument passed to the compiler

Say I have a document like this. \documentclass{article} \begin{document} \section{one} \begin{enumerate} \item This is the first item. \item This is the second item. \item This is the third item. \...
0
votes
0answers
30 views

Different spacing in subsubsections [duplicate]

I have read different posts about the space between the title of section of whatever part of a book and the text, but I do not find the solution to my problem. My problem is that I have two different ...
0
votes
0answers
37 views

how to change “chapter” to “section”? [duplicate]

I'm writing my Masters thesis using the reportclass, and my adviser suggested that I rename my chapters as sections. Following is what I have so far \documentclass[12pt]{report} So far I have my ...
1
vote
1answer
25 views

Fixing part layout using \patchcmd

I want to remove the linebreak between part numeration and part name as found here. However the solution doesn't work for me. MWE: \documentclass[draft, onecolumn, oneside, paper=a4, 12pt]{scrartcl}...
0
votes
0answers
16 views

Remove numbering from \subsubsection only

My toc show two levels \section and \subsection, In document I want to use \subsubsection. But instead of numbering I want to use a dot for \subsubsection only. Other levels will keep using numbering ...
1
vote
1answer
24 views

accents not working in subsubsection header [closed]

I have to reference some products of Cadence Design Systems. I run into a problem when I try to write 'Cadence' with a macron above 'a'. \documentclass[12pt, a4paper]{report} \usepackage{cochineal} ...
2
votes
1answer
62 views

section with letters automaticaly creates dots after letter

I wanted to change the enumeration of subsections from arabic numbers to roman character, so I used \renewcommand\thesubsection{\thesection.\alph{subsection})} For some reason I can't figure out ...
0
votes
0answers
19 views

Custom TOC works with \chapter*, but not \chapter, in \frontmatter

In the custom TOC below (original here), \frontmatter gives the following error when used with \chapter but not with \chapter*, and I am unable to figure out what is missing. ! Extra }, or ...
2
votes
1answer
43 views

Sections: automatically derive short title from title

I have a document with very long section titles which span multiple lines (potential exam questions). I'd like to restrict them to one line in the table of contents. I just found out that this is ...
0
votes
1answer
19 views

How to partially edit the section headers in the table of contents and the document for selected sections only?

I have a table of contents with several sections, sub-sections, and sub-sub-sections. I want to keep these formatted in the same way throughout the table of contents and the document with the ...
1
vote
1answer
19 views

Specifying own (sub)section as the section in moderncv

I am using moderncv to write my cv, cover letter and aditionally I want to write another page, containing a list (with the same layout style as the cv). I want to get rid of the "additional space" of ...
1
vote
1answer
43 views

Arabic/Polyglossia/Bidi incompatibility with `abnt` package

Using bidi redefines chapter headings and also figure counters with chngcntr back to the default book class behavior. I tried to change the order of the packages, even in the .sty file, to no avail. \...
1
vote
1answer
21 views

Hyperref not appearing in headings

When I enable hyperref, any cross referencing used in headings gets replaced with "??". When I disable hyperref, everything works as expected. Here's a MWE and a screenshot of the issue. I'm fairly ...
0
votes
0answers
20 views

How to remove unwanted spacing between Section Heading and Table?

I am very much new to Latex. Till now what i was doing that just copying and pasting. Additionally, I am using a template for my thesis. Now i am trying to draw table after Section heading, but it is ...
1
vote
1answer
21 views

Having trouble with chapter headings and table of contents

I am having issues with removing the ruledline between my chapter number and chapter heading. I wanted to add some space between the TOC heading and the actual content list. Here is my MWE. Please ...
0
votes
1answer
17 views

Counter reset for numbering the figure

In my chapter, I have several sections. How can I reset the counter of figures for each section? i.e. In chapter 1, section 1, My figures should be numbered 1,2,3 (instead of 1.1, 1.2, 1.3). In ...
1
vote
1answer
66 views

Can somebody tell me where I am going wrong here?

I am trying to write a CV. I have no previous experience of using latex. This is my .cls file that I have written: \NeedsTeXFormat{LaTeX2e} \ProvidesClass{Arpon_cv}[2018/09/28 Arpon's custom CV ...
2
votes
1answer
46 views

Math in section headings

In my thesis, I have math/Greek expressions in some of my section headings. I am given the error message: Token not allowed in PDF string. I found \textorpdfstring{} from similar questions posted, ...
0
votes
0answers
16 views

Suppress printing of section title but keep number in page header?

This is a follow-up question to the excellent answer of How to suppress typesetting of section title? It basically works like a charm - BUT: I usually print the section number and a (short) section ...
1
vote
0answers
30 views

Chapter page spanning left and right side

I am working on a document in which I would like to have a picture with chapter number on the left side and on the right the chapter number and title of the chapter. When having the chapter on the ...
1
vote
1answer
25 views

Extra space under first line of text after \section

Having fixed an earlier case of intrusive line-spacing, I now have white-space being added after the first line of a \section (not after the section title itself, after the first line of text below it)...
1
vote
1answer
30 views

Landscape + Longtable + Section heading

i have a problem to get the section heading on the same page as my table. Any idea to solve this problem? Here is my (shortened) code: \documentclass[a4paper, 12pt, twoside=true, openright, ...
1
vote
1answer
40 views

Name of section in titleformat

When I try the titleformat commands with my sections, the name of the section doesn't appear. \titleformat{\section}[wrap] {\normalfont\bfseries} {\thesection.}{0.5em}{} As result with this code, I ...
0
votes
1answer
40 views

Changing Section heading in latex template

I would like to change the section and subsection heading in my latex template. The current heading is in bold, but it also has to be indented and numbered. I do not know how to change it in the class ...
0
votes
1answer
21 views

Latex Section page break

I am writing my cv using Latex and i have two pages, the first has a different margin than the second which is what i was intending to. However while adding the various sections i have the problem ...
2
votes
1answer
27 views

Wrong hyperref links in TOC for manually set alphanumeric section numbering

I wish to have chapter appendices in the sense that there are sections at the end of chapters with \Alph numbering. My macros \chapterappendix, \mainchapter and \mainappendix work in so far as they ...
2
votes
1answer
35 views

ConTeXt sectioning alternative inmargin does not respect margins

This is a follow-up to How to imitate `twoside=semi` in ConTeXt?. Basically, I want a single-sided layout with two-sided page numbering. That includes having a wide margin for marginal material only ...
0
votes
1answer
26 views

How to add subsubsubsection to acm conference template

I am using ACM conference template. I can not add \subsubsubsection and the \par does not add number. How can I overcome this issue? Can you please help me add another level section? Here is my ...
1
vote
1answer
17 views

Centering only one (section)header

I want to center only one header and so far I have only found solutions that allow me to center ALL the section headers (e.g. \usepackage [centering] {titlesec}) I've come up with a work around that ...
0
votes
0answers
22 views

Why is there extra space at the top of a page for a heading after leaving vertical mode?

I've already asked a very, very similar question here, but since asking that question I've done some more digging and have isolated the problem to an even more basic one. Consider this document: \...
0
votes
1answer
24 views

Change the titleformat of ‘Appendices’

I am using the appendix package with the toc and page package options in the following way. \documentclass{report} \usepackage[toc,page]{appendix} \begin{document} \tableofcontents \begin{appendices} ...
0
votes
0answers
36 views

How to avoid dot in section, subsection headings and figure numbering

So most were looking how to actually add a dot after the section or subsection numbering and I have to the reverse problem. Actually I don't even know why they are there. I'm using the corporate ...
1
vote
0answers
25 views

Titletoc package adds all the contents

When I use \startcontents and \printcontents the "partial" ToC added all the contents in the .out file although I use \stopcontents. They are added like inline text and the sections that are suppose ...
0
votes
0answers
35 views

Section in hebrew letters

I have a document in english with few sentences in hebrew. At one place I had like to make the Section title in hebrew however it appears at the left side of the paper instead of the right side. \...
0
votes
0answers
11 views

changing only couple of section labels to letters

I wanted to find out if there was a way to have three sections, where Section 1 was referred to as 1 but sections 2 and 3 where referred to as A. and B. respectively. How does one do that?
2
votes
1answer
24 views

Revision tracking macro causes widow or orphan

In a previous question "Revision tracking on a per subsection basis" I asked about tracking revisions by section. The answer that worked well for me was a macro that user Mike wrote. \...
1
vote
1answer
26 views

How to change subsection to section and subsubsection to subsection?

I remember learning how to to this long time ago, but I can't figure now how. And google search is not turning anything. I have a standalone latex file which starts with subsection because this ...
1
vote
1answer
30 views

How to remove subsections from table of contents but leave them as pdf bookmarks?

I am removed subsections from the TOC. However, as a side-effect, it is also removed from the automatically generated bookmarks. But I would like the subsections to still be reachable via the ...
2
votes
2answers
75 views

A modified section command

I use the memoir \section command \section[TOC title][Header title]{Main title} together with a modified section command defined as \newcommand{\optionalsection}[1]{% \renewcommand\thesection{*\...
3
votes
2answers
34 views

reset \subsection between \section*

For some reasons, I want to use \section* in my document, but since I also use \subsection, they don't get refreshed. To be more specific: ​ \section*{AA} \subsection{aa} \subsection{aaa} \...
2
votes
0answers
20 views

reledmac: \eledsection* in Header?

A simple question: Is it possible to use the \eledsection* in the Header as you would e.g. with KOMA's \addsec or as it would appear with a numbered section (\eledsection)? Thanks for any help! \...
0
votes
0answers
27 views

Latex include sections from one latex document into another [duplicate]

I know that \input and \include commands allow you to source latex documents into another latex document. Is there a way to only include specific sections from one latex file into another latex ...
1
vote
1answer
24 views

Is it possible to have each section on a new page except for sections of the bibliography?

This is a continuation of my previous question. I have the following line of code in my preamble \pretocmd{\section}{\ifnum\value{section}=0 \else\clearpage\fi}{}{} which puts each section on a new ...