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

learn more… | top users | synonyms (2)

4
votes
1answer
21 views

Different subsection format if no title is given

I want to have subsections appear like "Article 1: Foo" when I enter \subsection{Foo}, but like "Article 1" (without the colon) when I enter \subsection{} (without a title). Is there a way to do this? ...
3
votes
0answers
44 views

Fancy Section headers

I wanted to add the lines from the edge of the left margin to the colored box in my section headers so this it looks like: Here is the code I have thus far: \documentclass[11pt]{book} ...
3
votes
2answers
52 views

italicize the subsubsection in latex

How do i italicize the \subsubsection{Subsubsection} 1. section 1.1 subsection 1.1.1 subsubsection I want the third line i.e. starting from 1.1.1 subsubsection italicize. Please help
6
votes
1answer
201 views

Is it possible to input a file while lowering every section it has by 1 level?

Assume that I want to add a part of a paper I've wrote into a different document. Inside the new document, the part of the paper should be only a section, so every section of the paper would become a ...
5
votes
1answer
58 views

tufte-latex: \newthought after \section

Using \newthought after a new section title inserts an unusual vertical space as in the following example. \documentclass{tufte-book} \usepackage{kantlipsum,cleveref} \begin{document} ...
1
vote
0answers
34 views

Section, figure, table numbers are in smaller font size

I have used \include{resultsanddiscussion} to import certain chapter results and discussion. I have used \fontsize{16pt}{18pt}\selectfont to determine heading size 16 pt and spacing 18 pt. the code of ...
3
votes
2answers
36 views

Single-space chapter titles with double-spaced document

I am typesetting a thesis using the book class and need the chapter titles to be single-spaced while the main text must be double-spaced. Inserting \singlespacing before the text in the definition ...
4
votes
2answers
34 views

Change color line in hline

Recently I asked a question about how to draw a line under titles but this line should be flexible is a picture is included or not. I am trying to change the color of this line but nothing works? ...
1
vote
1answer
20 views

Use titleclass only in part of document

For my current project I need my document to have three parts. In the first and last part, I want the default sectioning, but in the middle part I need to apply a different style to the section level ...
2
votes
0answers
42 views

How can I customize headings in book-class?

I am writing my master thesis in the book-class in Latex and need some help to format the headings in the document. I have a Word-template from the University which have specific formats of the ...
3
votes
1answer
16 views

Hide sections of specific chapter from table of contents

How do I hide all the sections and subsections of one chapter from the contents page? What I want is if I have this: \documentclass[12pt, a4paper, draft, titlepage]{report} \begin{document} ...
2
votes
1answer
22 views

Removing header on chapter page

I am using the fancyhdr package where from what I understand the default is no header on the chapter pages, but I still have the header displaying the section name on all my chapter pages. I would ...
2
votes
1answer
30 views

Centering some chapters in latex

In the following code, I am trying to center the acknowledgement, dedication, and cv chapters. However, when I use \usepackage{sectsty} to reduce the font size of sections in CV, these chapters donot ...
2
votes
1answer
11 views

Using the secdot package, display dots also in the ToC

My requirement for section numbering is as follows: 1. Section foo 1.1 Subsection foobar 1.1.1 Sub-subsection barfoo 2. Section bar etc. The important thing is the dot after the section numbering, ...
0
votes
0answers
24 views

Alternating which side the header is on odd and even pages

So I'm trying to get the header to display the section name on the right side on odd pages and the left side on even pages. My code is: \usepackage{fancyhdr} \pagestyle{fancy} ...
-1
votes
0answers
30 views

How to get output UNIT instead of PART in book class? [closed]

I want to make a PDF document, using the book class, divided like this: UNIT 1 (instead of Part I) Chapter 1 Chapter 2 Etc. UNIT II (instead of Part II) Chapter 1 Chapter 2 Etc. How do I do this ...
-1
votes
0answers
39 views

Remove leading number before Section text [duplicate]

How can I remove the numbering that appears before a Section's text? My MWE : \documentclass[]{article} \begin{document} \section{Problem 0} \end{document} Or is there another document level I ...
3
votes
2answers
44 views

Getting font size of section numbering to match font size of section title

I would like to change the size of the section labeling in my doc. While I can alter the font size of the title (setting it to \normalsize{}), the corresponding section number's size is not affected. ...
1
vote
0answers
15 views

beamer - Berkeley. Is possible add another level of index in the upper region?

Un the indexes of beamer. Sections and subsections is possible, but if I want detail 3 or 4 parts in a subsection, showing this in any way, for example... in the upper (in the TITLE-dark region or in ...
4
votes
1answer
29 views

Unwanted page break between a section heading and its subsection heading

My scenario consists of some sections and subsections. A slice of the aforementioned group has been presented, as below: \tableofcontents \clearpage \section{parent} %\subsection{child} ...
2
votes
1answer
30 views

How to use the long section caption for bookmarks with hyperref

The package hyperref uses the short caption of a section for the bookmark entry. Is it possible to use the long form instead? I have many sections so manually adding all of them to the bookmarks is ...
2
votes
2answers
161 views

Customizing chapter and section style (scrbook)

I have found a very cool custom style for chapter and section headings (It is from Customizing Chapter style in scrbook): \documentclass[ 11pt, pagesize=auto, version=last, chapterprefix=true ...
0
votes
1answer
53 views

How to change section spacing article class

I want all my section headings and body text to be spaced as per below rule. I use article class. Space before: 0pt Space after: 50–100% of text size Line spread = 135% of text size How can this ...
1
vote
1answer
34 views

Create a custom \section

I am using the following code for the sections of my document. I would like that the thin line under SECTION would stop at three quarter of \textwidth instead of cover the total width. How can I do? ...
1
vote
1answer
34 views

Can I redefine \chapter? Where do I find the defaults of the standard commands?

I need two different types of first-chapter-pages in one document. One type (Typ I) is for "normal" chapters appearing as chapters. The other type (Typ II) is for the Appendix ("Anhang"), the list of ...
6
votes
1answer
96 views

Using dates as section numbering?

For an otherwise regular LaTeX document, I'd like to use dates to enumerate the sections and have the dates typeset properly in the table of contents and in the section headers. For example: Tue Apr ...
3
votes
1answer
24 views

How to change chapter name to something else without triggering “LaTeX Error: Command \footruleskip already defined” with memoir class?

I tried the first and second solution proposed here Change the word "Chapter" to something else . But once I replaced book by memoir class. It triggered an error. The first solution was ...
0
votes
0answers
24 views

How to make chapter number appear as a written number instead of an Arabic number? [duplicate]

I am using the memoir class. Is there any way to do this?
0
votes
1answer
50 views

How to change the first page (layout + geometry) of each chapter in a report?

I have the following problem: I want to lift the title of each chapter (so there's less vertical free space) and put the number before. Which means the layout from default settings *much free ...
4
votes
1answer
26 views

Beamer: Section used before declaration

I'm creating a presentation using beamer and listings - when I end a section with a {lstlisting} call, the next section title appears in the slide. Is there a way that I can specify when the next ...
1
vote
2answers
40 views

Sectioning - Numbering

I use the following commands \titleformat*{\section}{\Large\sffamily} \titleformat*{\subsection}{\Large\sffamily} In order to split my book into sections. However, it shows the following 1 ...
2
votes
0answers
45 views

Ignore special characters in \newcommand argument to generate section labels?

I am editing a rather large document and have replaced \section, \subsection etc with \newcommand macros that include \section etc but also spacing and other commands. I am trying to get it to ...
4
votes
1answer
42 views

Sections in the margin and subsections on the same line as the section

I'd like to write a document so that \section material shows up in the margin and so that \subsection material shows up on the same line as the \section in the margin (assuming there isn't anything ...
0
votes
1answer
18 views

How to set chapter number as roman in title page but become arabic when stack with section numbering?

I have a problem for my thesis formatting. Can we possibly set chapter number as roman but become continuously arabic when stack with section number like this? (never mind the page numbering, I guess ...
2
votes
2answers
26 views

Grouping Together Sections in TOC

I am reviewing a series of documents and have created a report that looks like this: \chapter{Interesting Things} \input{thing1.tex} \input{thing2.tex} \input{thing3.tex} where the thing*.tex each ...
3
votes
1answer
38 views

How to create sections and section titles but prevent them from showing up in the output?

I'm wondering if it's possible to create section and section titles but prevent them from showing up in the output. Below an example. Although I need the section for the numbering op my tables and ...
0
votes
1answer
57 views

Space Issue in Resume

I have the address, portfolio website fields to the side of my name in the resume. Although I used the flushleft command for the table with contact information etc, they do not seem to appear beyond ...
1
vote
1answer
30 views

Mil-Std Style Section Numberings (With automatic reference number generation and TOC)

I'm trying to create a document that is structured like a Mil-Std, such as this: I could use a list for this, however I don't want to give up the automatic TOC building, figure numbering, index ...
1
vote
1answer
86 views

change font and font sizes for section and paragraph

I am migrating my organisation's documentation system to LaTeX. Parameters defined: Heading Font: Futura Bold Heading Colour: RGB{x,y,z} Font Size: 18pt, 15pt Body Font: Futura Book Font Size: 12pt ...
1
vote
1answer
52 views

How to change the section's content format?

I have written a latex file including multiple layers of sectioning. What I want to do is change the tabbing/location of each layer. And maybe also change the font or something. But the problem I ...
3
votes
0answers
51 views

rightmark shows next subsection, not the active one on top of side

I don't like the logic behind the \rightmark for \subsection in this example. \documentclass[12pt,a4paper]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
2
votes
1answer
42 views

Roman numbering > setcounter to zero > hyperref confused in pdf bookmarks

I have the following problem: For my Master thesis I want to create some sections with a \Roman numbering (for toc, lof, lot, appendix...) and some with \arabic numbering (for the main text part). My ...
2
votes
1answer
26 views

\rightmark not displaying subsection

Current situation My document (report) consists of chapters, sections and subsections. Now I want to display the section name and the subsection name on the left side of the footer. However if I use ...
0
votes
0answers
27 views

How to change section title style of subappendices?

I am trying to produce a document for my PhD thesis using the scrreprt class. I would like to have some chapters with an individual appendix at the chapter level, i.e., the structure should be ...
2
votes
1answer
34 views

Overview in Subsection or Before Subsection

I am writing a technical document with a large chapter describing work completed. Before describing each task I would like to have a brief summary of the tasks. Is it considered more proper to have a ...
0
votes
1answer
28 views

Change the numbering of a section [duplicate]

All I want is a simple thing: Change the section numbering to become like this 1. Introduction And not the default, where there is no point. I also want to make the point appear for the ...
2
votes
1answer
26 views

how to print the \sectionautorefname with autoref, but without hyper-linking the \sectionautorefname?

EDIT: @Faekynn and @Mico you are right that the starred version disable the hyperlinkification, but is it possible to disable it only for the \sectionautorefname, but still keep it for the section ...
1
vote
1answer
57 views

Adding names of sections in List of Figures

I want to have the names of sections and subsections included in my List of Figures. So for instance I want to see something like this in ToC: 1. Figures 1 But I do not ...
2
votes
1answer
47 views

Definitions and theorems in beamer

I have several questions regarding the use of definitions and theorems in the beamer package. Here is an example: \documentclass[mathserif]{beamer} \usepackage{graphicx} \usepackage{tcolorbox} ...
1
vote
1answer
40 views

Enumerate paragraphs and subparagraphs like sections but with letters

I'm using pandoc and in my template.tex exists this code to make the paragraphs and subparagraphs to behave like sections. % Redefines (sub)paragraphs to behave more like sections ...