{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)

1
vote
2answers
27 views

Section-wise Table of Contents for Articles [duplicate]

Is it possible to have a section-wise Table of Contents in the article class?
0
votes
0answers
13 views

Multiple font sizes in a section heading [duplicate]

I'm currently writing a paper for a conference which requires the first letter of words in section titles to be size 10 font, and all subsequent letters to be size 8 (all capital). I've had a look at ...
2
votes
1answer
29 views

How to auto level-down section headings when \input-ing an document? [duplicate]

I'm wondering if there's a way to tell (Xe)LaTeX to handle \chapter as \section, \section as \subsection and so on when inputting a document via \input into another document. The setting is: I have a ...
2
votes
2answers
37 views

Do a setcounter only for an included file

I have currently the following situation: I am including a Latex-File in my main file. This file already has several \section{}-parts. Now I want to let their counting begin at 1 again, but without ...
2
votes
2answers
29 views

Removing fancy style from part pages

I am using the fancyhdr package to set headers and footers for the thesis. I have recently added LaTeX \parts, and defined a pagestyle for this purpose called 'partpagestyle'. As the MWE below shows, ...
1
vote
2answers
42 views

Changing space before chapter without titlesec package

I am sorry if this is a repeated question, I could not find anything similar on the forum search. How to adjust the space before the chapter heading without using titlesec package. I tried this code ...
3
votes
0answers
37 views

Remove page-breaks after chapters in the report class?

So I am using the report class, and every time I try to create a new \chapter it creates it on a new blank page with just the title. I have tried using \usepackage{etoolbox} but I keep getting Latex ...
3
votes
2answers
36 views

how to add a horizontal line before every section by controlling the style of section

I want to add horizontal lines before every section, just like this manually I can just put \rule{\textwidth}{1pt} before every section, but I want a more flexible method, for example, by putting ...
2
votes
1answer
39 views

Using small caps in section titles

A brief search yielded no answers, so I'm posting this question: Is there a way to get smallcaps to display correctly in (subsub...)section titles? My problem in particular is in the following code: ...
2
votes
1answer
31 views

How to make listofalgorithms behave like a section, not a chapter?

I have a problem. I included the following: \documentclass[a4paper,11pt,reqno]{book} \usepackage{algorithm} \usepackage{algorithmicx} \usepackage[noend]{algpseudocode} and wanted to create a ...
1
vote
1answer
21 views

Section number with mixed arabic and roman numerals

How can I get my sections and subsections headings to go along the lines of: 1i, 1ii, 1iii, 2i, 2ii etc...
7
votes
2answers
49 views

Converting “section” into “\section” to pass to the titleformat command

The \titleformat command of the titlesec package is invoked in the following way: \titleformat{\section}{<a few formatting options>} \titleformat{\subsection}{<a few formatting options>} ...
2
votes
1answer
25 views

Increasing horizontal space between chapter number and chapter title in scrreprt

I would like to change the distance between the chapter number and the chapter text. A poor way to do it would be renew \thechapter, but this affects section titles too. Other answers seem to suggest ...
4
votes
1answer
80 views

How to include graphics inside the section name

I am trying to insert an icon (a pdf file) literally next to the section name. I want the little shield icon to be where the <Icon> is. The code to generate this image is: ...
2
votes
1answer
37 views

Difference between \insertsectionnumber and \inserttocsectionnumber

The following beamer code \documentclass{beamer} \setbeamertemplate{section in toc}[sections numbered] \begin{document} \frame{\tableofcontents} \section{section one} ...
6
votes
1answer
49 views

Chapter and section number in margin and align chapter prefix with text in scrbook

I try to customize my chapter headings, without using additional packages like titlesec, as I'd like to avoid incompatibilities with all the other stuff around. I almost have what I want: ...
1
vote
1answer
42 views

Changing section headings

My MWE: \documentclass[]{aiaa-tc} \begin{document} \section{Introduction} \subsection{First} \subsection{Second} \section{Conclusion} \subsection{First} \subsection{Second} ...
1
vote
0answers
42 views

Very specifically customized sections and table of contents

I just became an editor for a bi-monthly Newsletter and we have built XeLaTeX code to generate the newsletter. This Newsletter was previously generated using Microsoft Word. We want to maintain the ...
0
votes
0answers
25 views

72 pt. spacing before Section heading [duplicate]

I'm trying to add a 72 pt. space before the section heading. I do not only want the 72 pt. between paragraphs but basically every section should start at a new page with a 72 pt. spacing before it. ...
0
votes
1answer
25 views

Minitoc Package: Secttoc works just after changing section to part and back to section

I have no idea why, but if I use \secttoc it works only for the section if I change the section to "part", compile it, and change it back to "section" \documentclass[12pt,a4paper,titlepage]{article} ...
2
votes
1answer
18 views

All Environments Share Numbering (According to Subsection)

The numbering scheme I'm looking for causes every environment to share one common numbering counter, according to subsection. For example, in my notes the numbering would look something like this: 1 ...
2
votes
1answer
20 views

Hide titleformat in a macro when [explicit] is loaded

This is a follow-up question to: Different titleformat style for different numberless chapters I have something like the following macro: \titleformat{\chapter} {\normalfont\Huge\color{blue}} {} ...
3
votes
1answer
44 views

Subsubsection numbering in IEEEtran Computer Society Journals template bleeds into text

I'm using a modified IEEEtran class with the template for Computer Society Journals (found here). When I produce a PDF of the basic demo (using Texmaker), I noticed that the numbering for ...
2
votes
0answers
44 views

including book name and chapter name above section name in memoir

I am using memoir with xelatex for typesetting a book with multiple chapters and sections. I would like to include the book name (or part name), and chapter name above the section title for each ...
3
votes
2answers
55 views

Hide section numbering, but keep labeling

How do I hide section and subsection numbers while keeping labels for referencing? I have tried renewing \thesubection as follows but that leaves a blank space when referencing a section using \ref. ...
1
vote
2answers
58 views

Chapter heading style?

Hi I ran into a PHD thesis with a beautiful layout. Specially I love its chapter heading I link also the thesis: ...
1
vote
1answer
48 views

Section name with fancyhdr in beamer

I am trying to add the name of the section in the fancyhdf foot of a beamer presentation but the following command does not work. I have found some help that suggests the command ...
0
votes
0answers
18 views

\part title does not result centered

The first \part title (\part{introduction}) does not result in the center of the page, but it ends at its top, with an horizontal line above. On the contrary, all the other \part titles are correctly ...
1
vote
0answers
29 views

How to align a single header to the right?

This is my situation \begin{minipage}{\textwidth} \begin{minipage}[t]{0.65\textwidth} \section{Section 1} Content 1 \end{minipage} \hfill \begin{minipage}[t]{0.25\textwidth} \section{Section 2} ...
3
votes
1answer
23 views

How to put \varinjlim in the section name?

Here is (almost) minimal example of the file, which gives the error. \documentclass{article} \usepackage{amsmath} \usepackage[english]{babel} \begin{document} \section{Section name with varinjlim: ...
1
vote
1answer
42 views

Is there a way to tell latex to output a file containing a single chapter, while still using the formatting from the full document?

I want to generate a pdf file containing just a single chapter from my dissertation. My first thought was to create a TeX file with just the text from the chapter. \documentclass[msc, twoside, ...
1
vote
1answer
29 views

Table of contents - sentence case on section headings

I would like the section names in the TOC to be uniformly capatalised, either sentence case or not. I achieve uniformity in section names now using sectsty and \allsectionsfont{\normalfont\scshape} ...
1
vote
1answer
20 views

distance between section and tabular

\documentclass[12pt,a4paper]{scrartcl} \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{textpos} \usepackage{eurosym} \usepackage{relsize} \usepackage{sectsty} ...
0
votes
0answers
24 views

Simple line break after paragraph heading in memoir, or smallest possible positive length

The default for paragraphs in memoir is to have run-in headings. I would like to change that to a simple line break, with no extra space below the heading. In section 6.6 of the memoir manual the ...
3
votes
3answers
87 views

How to solve the page numbering problems (in TOC, hyperref, scrheadings, nomenclature)?

I like to have in the headings the chapter name on the inner upper section on almost all pages but not on those which start with the new chapter, on the tableofcontens and the index. The page number ...
4
votes
1answer
37 views

Remove spacing from \part?

Currently, trying to reduce the line spacing when I use the \part command. Ideally, I am currently trying to achieve the following result below: Part I: Project Scope With the surrounding padding ...
0
votes
1answer
28 views

Runaway argument after Table error

I'm somewhat of a Tex beginner, but I've been running into this problem a lot lately, so I'm really hoping for some help. I have a large table in the appendix of my file, and it caused me quite a bit ...
4
votes
2answers
124 views

Need to produce one tex document in multiple volumes

I have a very large document (1000+pages) that I need to produce as four separate volumes. I'm using Texmaker and TeXLive on a Win7 PC with the book class (too late to switch to memoir), and each ...
1
vote
0answers
52 views

Section number disappears with tcolorbox [closed]

I'm having an issue working with tcolorbox. I'm using a text marker box (page 183 http://mirror.ibcp.fr/pub/CTAN/macros/latex/contrib/tcolorbox/tcolorbox.pdf) and then I declare a new section but the ...
1
vote
1answer
73 views

A clean interface for hooking into sectioning commands

Is there an easy way to hook LaTeX's sectioning commands, short of the good ol' \let + \def (or, with xparse, \let + \RenewDocumentCommand{s O{} m})? I'm looking for something in the spirit of ...
1
vote
1answer
40 views

documentclass using amsmath, without sections

It's probably true that, thousands of times every day, someone somewhere writes a short explanation of some mathematical phenomenon, using equations, including alignment possibilities, lemmas and ...
1
vote
0answers
32 views

Endnotes in two columns: how to have \section in one column?

I have a document with endotes which should be typeset in two columns. This works fine with the code in the MWE below. How can I interrupt the twocolumn-area for the section headings? I want them to ...
2
votes
1answer
49 views

Fancy colored sections in article (as Legrand orange book)

I would like to know how to tidy up the code and use newcommand or environment for special section. I have the code here but it's not very smart. I used brute force method. Plus, section numbering are ...
1
vote
2answers
50 views

Background margin fill for (first line of) section titles?

I'd like some of those "flaps" (how are these really called in typography, actually? Is it "thumb index"?) which is a bit of fill, extending to the margin; so that when you "bend" a book, you can see ...
2
votes
1answer
42 views

TOC as Section in memoir

The TOC in the article class is formatted as a section. In memoir it is a chapter by default. I would prefer to have the TOC formatted in such a way that its heading gets formatted with the same font ...
0
votes
1answer
41 views

What's a convenient/appropriate way to override my document class' \paragraph style?

The document class I'm using (ieeetran) typesets paragraphs as in the following: ------- [space here] a) The Paragraph Title In Italics:[space here]The quick brown fox jumped over the lazy dog. The ...
0
votes
1answer
50 views

LaTeX: chapter & section title (background) colour

I wanted to make my chapter and ((sub)sub)section titles as follows (compiling by XeTeX-ing): White chapter title on background RGB 10,30,96 (defined as "ugentblauw") (Sub(sub))section title RGB ...
3
votes
1answer
91 views

Background color across the entire textwidth for chapter headings - koma script

I have a very similar question to this old (and already answered) one: Giving headlines a background color spanning across the entire typearea However, the solutions provided there only work for ...
1
vote
0answers
21 views

Unwanted, and unwarranted?, indent after \section [duplicate]

I've got a template for my CV which I grabbed from somewhere years ago, and the preamble has been mostly added to, with bits being modified along the way. I thought enough is enough so I have set ...
2
votes
1answer
40 views

Locally redefining a macro within a section's short title

Background and Problem I'm using XeLaTeX to typeset a document in blackletter font, which requires the use of antiqua fonts for loan words and others. So I have created two commands to explicitly set ...