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

3
votes
2answers
53 views

How to remove space in section title at KOMA-Script

Here is MWE: \documentclass{scrartcl} \usepackage{adforn} \renewcommand{\sectionlinesformat}[4]{% \ifstr{#1}{section}{% {\adforn{30} {#3}. {#4} \adforn{58}} } {{\...
0
votes
1answer
28 views

How to remove the underline from the ToC title at KOMA-script?

I made underline titles of sections at KOMA-script. Here is MWE: \documentclass{scrartcl} \usepackage{ulem} \addtokomafont{section}{\uline} \begin{document} \renewcommand\raggedsection{\centering} \...
2
votes
1answer
45 views

How to make underlined-centered titles at KOMA-script?

So I tried to make underlined-centered titles: The answer for the centered came here and here. Now my question is, how I make it underlined: with \ul it doesn't work (the file don't compile, and ...
0
votes
0answers
33 views

making a chapter independent of the previous one

I am new to latex and preparing my thesis with latex. My thesis consists of 2 parts. Part I includes 3 chapters, while part II includes a number of papers. In part II, I would like to have each paper ...
3
votes
2answers
45 views

How to center headings at KOMA-Script

As a continue to this question: customize subsubsection with koma script How do I center the titles? \renewcommand{\sectionlinesformat}[4]{% %\@tempswafalse \ifstr{#1}{section}{% ...
1
vote
2answers
37 views

How do I prevent from a symbol at part title to be in a new line

Here is a MWE: \documentclass[a4paper,english,hebrew,numbers=noenddot]{scrartcl} \usepackage{fontspec} \usepackage{adforn} \renewcommand\partlineswithprefixformat[3]{ #2 #3\adforn{64}} \begin{...
0
votes
2answers
27 views

Change font size of section title in document without messing table of contents and headers

I know this is technically wrong and I shouldn't even be attempting to do it... Nevertheless, I have a document which has section header sizes set up as Large and works fine everywhere except for one ...
0
votes
0answers
35 views

Start a new starchapter without heading

I'm trying to make a \chapter* without heading, just like this solution: Start a new chapter without heading So, how I start a \chapter* without any headings? And like before, not all the chapters, ...
1
vote
1answer
48 views

How to make a line break at the title of the parts?

As a continuation of this question: How to center a tcolorbox at a part title at KOMA-script article, if you see the But note of this answer this solution is good only if I don't break lines, i.e., I ...
2
votes
2answers
99 views

Numbering Question Help Me!

I don't know if my explanation is correct, but I'd like to make the following documents This is about numbering. I'm trying it myself, but... I think this is too difficult for me. Can you tell me how ...
0
votes
0answers
16 views

Bookmark skips section and only displays subsection

I've used such a command to generate bookmarks, \usepackage[colorlinks=true,citecolor=red,bookmarksopen,bookmarksdepth=2]{hyperref} However, only subsections appear in the bookmarks. Did I miss ...
0
votes
2answers
26 views

How to get uniform vertical space space after section title

I have encountered a problem when working with minipages. Consider the following example. \documentclass{article} \usepackage{mdframed} \begin{document} \begin{minipage}[t]{0.45\textwidth} \...
0
votes
1answer
67 views

How to write 1 Chapter instead of Chapter 1

I want to write 1 Chapter instead of Chapter 1. Any suggestion? Thank you
0
votes
1answer
44 views

My header changes color on pages that start with a section

Im writing a report (in LaTeX) for which a made a header using fancyhdr. The text in my header is suppose to be black and the line is colored. However at some pages my headertext is colored as well, ...
4
votes
1answer
22 views

Head of a custom section

I am creating a new section called \tsubsection taking over code practically 1:1 from subsection with the intention to introduce some modifications. In this example \documentclass{report} \...
1
vote
1answer
34 views

Section styling similar to the elsarticle class

Since I have become quite used to the style of Elsevier articles, I would like to adopt a similar style also for notes that are not intended for submission. In particular, I attempted to mimic the ...
0
votes
1answer
29 views

How to add custom numbering to sections or subsections?

I would like to have subsections with "parts" like the following code but possibly managed automatically. \documentclass{article} \begin{document} \section{Lorem} \subsection{Ipsum part 1: Foo} \...
0
votes
0answers
30 views

section in-line numbering and vertical spacing with the titlesec package

I am writing a class file for a template with very specific requirements. One of those requirements is that a section title must be bolded, centered, and be written in single-spacing with a single-...
1
vote
1answer
26 views

Beamer TOC: Right-align section numbers

I am trying to use capital roman numerals (I, II, ...) to present each section in my beamer TOC with its section number. The following MWE works overall, but it can be seen that the roman numbers, and ...
0
votes
0answers
24 views

Differentiate Chapter Headings in ToC and Body

Working on formatting a thesis (using the book class) and I need to format the TOC entries and the actually chapter headings in very different ways. For the ToC, entires are in all caps and use roman ...
2
votes
1answer
61 views

Issue with section text assuming same color as body text

I am trying to understand a behavior where section headers assume the color of the first word in the section. Here is my MWE: \documentclass{minimal} \usepackage{xcolor} \makeatletter \...
0
votes
0answers
16 views

Flush section and subsection title in two-column layout

I'm using a 2-column format for my thesis ({multicols}{2}), and have tweaked several things to get the document to look exactly the way I want to. Those options, I'd rather not change if possible. ...
0
votes
0answers
17 views

Change “part” to “act” in a Lyx custom layout file?

I have a custom layout file that is attached to my document and used by Lyx. The file is in ~/.lyx/layouts. This question tells how to add a line to the preamble via the menu: \renewcommand\partname{...
3
votes
2answers
145 views

How to remove blank page before my new report chapter?

This problem started after I added the following code in the preamble to set the default chapter title font ("INTRODUCTION" in the following code), which was big, bold and brash that I did not like, ...
1
vote
1answer
19 views

How to stop beamer from repeating sections using itemize

The code below produces a set of beamer presentation frames. The issue is that the section 'a with b', appearing on the right hand side of the theme, repeats with each new item; i.e., adding item<1>...
2
votes
1answer
58 views

How to change the font type and size of chapter title?

Right now I am getting my chapter title in the following font that is big-sized and bold: However, I want to change it to the following format, which is regular size, normal text, with regular font ...
2
votes
1answer
37 views

Page numbering issues with sections/subsections in Beamer

I have a beamer doc in which there are a few section and subsection title slides. Those slides do not have a page number footer, and the footer page numbering do not take them into account. In the ...
1
vote
0answers
38 views

Subsection title does not align with its section title under [left margin]

I put section title in left margin with use of titlesec package, and the first line of its text aligns with the title as expected. But its subsection title does not align. I tried with titlespacing ...
0
votes
1answer
17 views

How do I remove the numbers from section headings in the header using scrpage2?

How do I remove the numbers from section headings in the header using scrpage2? I want the numbers to appear in the text but not in the header. The header looks like this: \usepackage[automark]{...
1
vote
1answer
67 views

How to add sections titles to the headers and to the toc?

I am trying to customize a template initially designed for novels. I have added to it sections and I would like to see, as headers, on the left page, the title of the book, at the center of the page, ...
1
vote
1answer
30 views

Incompatibility of scrbook and titlesec when trying to have chapter heading on a single page

I am trying to display a chapter heading always on a single page with the document class scrbook. Gladly, I first found an answer here: How to display chapter header in 1 complete single page The ...
1
vote
1answer
40 views

Custom subsection title with image

I would love to use custom subsection title with image in my TeX project, can anyone help me how to do it? I don't need it exactly the same just the layout is important. Thanks a lot!
1
vote
1answer
30 views

Understanding “stretchy” negative vertical space above framed chapter titles

This question is somewhat related to my previous question overfull hbox on chapters with line above/below chapter title using KOMA-script, as (parts of) the issue occurs with various/all methods of ...
0
votes
1answer
32 views

Title formatting the section makes the bibliography header disappear

I used a section style that I found here. The problem is that the header of the bibliography becomes a box even though I've tried to make a separate style for unnumbered sections. \documentclass{...
1
vote
1answer
36 views

beamer: position section head in a fixed position

Consider this example: \documentclass{beamer} \AtBeginSection[]{ \begin{frame} \vspace{3cm} \centering \begin{beamercolorbox}[sep=8pt,center,shadow=true,rounded=true]{title} \...
2
votes
2answers
26 views

Automatic sorting of environments by parameters (e.g. by date)

I desire for some sort of easy system for manipulating "sections" or environments based on additional data such as dates. I did a preliminary google search and couldn't come up with anything because I ...
0
votes
0answers
20 views

Gap in the Section names

Helo,I did not change anything about section type or anything but somehow after a certain section all sections and subsections are named with so much gap I could not find any solution for this.I would ...
1
vote
2answers
64 views

How to form Appendix under the heading Appendices in ToC

I want each appendix to be under the heading Appendices in the ToC. Here is my MWE: \documentclass[12pt,oneside]{book} \usepackage{titletoc} \usepackage{appendix} \begin{document} \...
0
votes
0answers
31 views

Glossaries-extra without sectioning

I'm creating a document with two glossaries (using glossaries-extra and bib2gls). I would like to print each glossary without any automatic sectioning (without creating a new chapter or section), so ...
0
votes
0answers
14 views

Wrong numbering for subsections and subsubsections for Elsevier template single column [duplicate]

I have a weird problem when I am adding subsection and subsubsection in the Elsevier template. Basically, when I am compiling the document, I realized that they ignore the commands of subsection and ...
1
vote
1answer
49 views

Why \secref command in memoir with cleveref and nomencl no longer works

The document below, with a chapter/section scheme in a memoir class document, uses a custom \secref command. This command allows reference to a section in the shorter form "section s" that would ...
0
votes
1answer
30 views

Incompatibility between xr-hyper and redefinition of \section

This is main.tex \documentclass[headings=optiontohead]{scrbook} \usepackage{subfiles, xparse, xr-hyper, hyperref} \externaldocument{main} % so that cross-references work in subfiles \let\oldsection\...
1
vote
1answer
56 views

Formatting counter in section, subsection and subsubsection

I want to show a counter with subsubsection-level headers and remove the final dot from the section counter, subsection and subsubsection (assuming you can assign a counter to subsubsection) by ...
0
votes
0answers
27 views

Section title in header problem

My problem is that my section titles in header overlap with the chapter title. \documentclass[12pt,fullpage]{report} \usepackage[english,greek]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{...
1
vote
2answers
33 views

Recover style of \section modified by titlesec

After the \section style is modified by the titlesec package, I want to return to the original style by \let and \renewcommand, but fails. Why and how to achieve this? MWE: \documentclass{article} \...
1
vote
1answer
48 views

\section in \put

I want to move title of section into left margin of page. Meanwhile, the first line of paragraph aligns with the title(not below title as usual), as shown on the following picture. I trid by putting \...
1
vote
2answers
47 views

Move title into left margin and align with first line of paragraph

I want to move title of section left by the following code. However, it fails to move the section number. Why and how to deal with it? \documentclass{article} \begin{document} \section{\makebox[0pt][...
0
votes
0answers
18 views

Include section number in reference to subsection [duplicate]

In an article I omit the section number for subsection titles, using: \renewcommand\thesubsection{\arabic{subsection}} However, when I now create a \label in a subsection and reference it using \ref ...
0
votes
1answer
36 views

Design Chapter Heading-Custom

I would like to design chapter heading like this I have written like this \def\@makeschapterhead#1{% \titleformat{\chapter}[frame]{\normalfont\huge\bfseries\color{elanblue}} {\MakeUppercase{\...
0
votes
0answers
18 views

Partial compilation of part of a document without breaking the page

I'd like to avoid recompilation of unchanged sections of my documents. However, I don't want new sections to be on new pages. Suppose this is my document: I only want the second section to be ...