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

3
votes
2answers
115 views

Add texte before headings numbers (KOMA)

I'm using the KOMA class scrbook, and trying to add some text before any section and subsection title. Like that : \section{Hello !} must display Section 1 : Hello ! (1 is the normal counter). The ...
3
votes
1answer
45 views

Redefine section headings for my appendix sections to be a full page

I am creating a document (document class is article) with several appendix sections. I change from numeric to alphabetic like this without problem: ...
2
votes
1answer
80 views

Unnumbered part with “Part” header

I am writing a thesis, whose outline is a bit treelike, so I would like to have a trunk part (that contains several chapters) and several branches (also containing some chapters). I changed the name ...
1
vote
1answer
76 views

Can not use csvsimple and have accent characters at the same time

When parsing in XeLaTeX the template available in SIGCHI with the package csvsimple and "fontspec" (to include special UTF8 accent characters), I'm able to see "áéíóú" in the body of the document but ...
4
votes
1answer
213 views

Customize KOMA section headings without titlesec

A quick question: Is it possible to change the name of a part/chapter/section with some sort of command? For example, I have a chapter called "Important Things". I created this chapter with the ...
1
vote
1answer
66 views

How to set the spacing before and after of section headings to a fixed value of 1.5cm?

In this code, i want the spacing before and after of my section, subsection, and subsubsection headings to be exactly 1.5cm regardless of the font size or my line spacing. How can i do this? I know ...
5
votes
2answers
165 views

Chapter and Section format

I want my chapter titles to look as they would with the code below. \documentclass[12pt]{book} \pagestyle{plain} \usepackage{amssymb,latexsym} \usepackage{amsmath} \usepackage{amsthm} ...
6
votes
1answer
126 views

How would you typeset this type of programming documentation?

Consider, for example, this pdf document which defines the standard for the C programming language. The description of the library functions follows a fixed structure composed of three sections, as ...
0
votes
0answers
34 views

Undesired space before the section title when a figure is inserted after the section title

After I used a template, Latex gives me a lot of white space before the section title because a figure is inserted after the first paragraph of the section. I used [H] as the floating parameter for ...
2
votes
0answers
51 views

Centering bibliography title in biblatex - tried every suggestion on Google

I know this question has answers on this site already, but none of them worked! I am using biblatex with the historian style for my history day paper. My teacher requires the bibliography heading be ...
2
votes
1answer
48 views

How to adjust the section numbering (as in skipping a couple of section numbers) when using letters instead of numerals for section numbering?

I have changed the section numbering from numerals to letters with the command \renewcommand{\thesection}{\alph{section})} in the preamble. For example, the first \section{} would be printed like ...
4
votes
1answer
75 views

Start only some chapters on right-hand side after a set page/chapter

I'm working on my masters thesis, and have a fairly decent structure (I feel..), but I have one issue. I want my chapters to start on the right-hand side, which in itself is not hard to do. However, ...
5
votes
3answers
132 views

Does the \bibliography command specify a \section* anywhere?

I'm using a class based off the scrartcl class. I need to include a bibliography entry in a section, but it displays it as having a * for the section title. If I use the command \section*{hello} ...
2
votes
1answer
318 views

Adjusting spacing around section/subsection titles with koma-script

With the KOMA-script scrreprt class the vertical spacing before and after chapter titles can be adjusted the following way: \renewcommand*{\chapterheadstartvskip}{\vspace*{0cm}} ...
2
votes
1answer
49 views

Make \sections in book class start on the right (odd pages)

I'm using the book documentclass, but I use \section instead of \chapter to structure it. Is it possible to make the sections start on the right (odd pages)?
6
votes
1answer
49 views

How do I modify the appearance of subsection headings without also messing up how subsection referencing works?

I have a revtex4 document and I'd like to change how the labels for the subsections appear: \section{Foo} \subsection{Bar} Currently compiles to something like: I. Foo A. Bar But I'd ...
4
votes
1answer
97 views

Revtex section heading alignment

I am using REVTex 4-1, for my own personal use, not a paper submission. I like using REVTex and I have gotten somewhat used to it, but for my current purposes I need left aligned subsections ...
3
votes
1answer
107 views

Documentclass book section numbering starting with 0

I stumbled across a weird problem. The following MWE produces an output where the section numbering starts with 0: \documentclass{book} \usepackage[english,ngerman]{babel} \usepackage[T1]{fontenc} ...
11
votes
2answers
289 views

Surtitle for section?

I'm writing a book in which I would like certain sections to have a "surtitle" like this: I would probably like the table of contents entry to look like "Science and Society: The Galileo Affair," ...
2
votes
2answers
66 views

How to get the name of unnumbered section into headings?

I use \usepackage{fancyhdr} then \pagestyle{headings} and I want \section*{name of the section} in my headings. How to do it?
1
vote
0answers
90 views

Page-wide Image in a two-column scrbook layout

In a document based on scrbook class and setup with twocolumn, I need to place an image that spans the textwidth. In the below example, using just the {figure*} environment and a 590px by 350px simple ...
4
votes
1answer
165 views

Typesetting scenes in a novel

I am typesetting a novel in ConTeXt and I need a way to correctly typeset scenes. A scene in my novel is just a sequence of paragraphs separated from the previous one by two blank lines (though in the ...
2
votes
1answer
67 views

How can I fix the following formatting problem with the table of contents?

I have a few unnumbered chapters that I would like to add to the table of contents. This is not a problem at the moment, because of someone graciously providing the following macro, which adds the ...
4
votes
2answers
95 views

Sections : Suppress numbers but retain title in header

I've found an answer to my question for a Memoir Class (Memoir class: turn off section numbering but still have header), but I can't get it to work for a book. Basically, I want to suppress the ...
6
votes
1answer
164 views

Titlesec package - paragraph level headings as margin notes

After hours of pointless googling around I did not manage to find out how... I'm new to LaTeX templates and now I'm trying to make simple (?) modification so that I could have paragraph level headings ...
0
votes
0answers
64 views

Chapters with and without numbering together in the same table of contents

I am typesetting a novel in ConTeXt and though I have read as much documentation as possible, I still have doubts about how to do things in a clean and correct way. I typeset my chapters by using a ...
3
votes
1answer
109 views

The “beforeheading” counterpart of \@afterheading

Suppose that for ransom reasons (in my case, because my document was converted from XML) I want to typeset all headings manually. Then I could do something like \documentclass{memoir} ...
2
votes
1answer
73 views

problem with titlesec package with tex4ht when using starred version of \section

I just updated my texlive 2014 using tlmgr to fix an older related problem with using titlesec with tex4ht. But it seems a new problem now shows up. This show up only when using the starred version ...
9
votes
2answers
1k views

How to left align the section title in latex?

I am using the \documentclass{ctexart}, and this document class centers the section title by default. How could I left align the section title?
2
votes
1answer
116 views

Beamer — Showing subsections for the current section in sidebar

I have a lot of subsections in my beamer presentation and there is a sidebar in my theme. I prefer to show the list of subsections only if their parent section is active. In this way less space will ...
1
vote
2answers
86 views

How to change spacing before and after \paragraph command?

I tried to control the spacing before \paragraph{} using a command such as \setlength{\parskip}{3pt plus 1pt minus 1pt} but that doesn't influence it. (It influences spacing between regular ...
3
votes
0answers
47 views

greek text doesn't show in headings with cm font in memoir

I have set up my document using memoir and polyglossia for hyphenation in greek and english. I have also used my own fonts, using the commands below and it worked great. I am working on sharelatex ...
4
votes
1answer
82 views

Headings with a hanging subhead

I use this piece of code to add a subhead (usually a quick reference) in my notes: \newcommand{\mysection}[2]{\section[#1]{#1\\*[.6ex]\normalsize\textit{#2}}} I'd like to make the subtitle hanging ...
3
votes
1answer
67 views

How to specify bookmark and TOC title separately

I customize a dash symbol \newcommand{\shortdash}{\rule[.7ex]{0.5em}{0.5pt}} to minimize the space around when typesetting in non-english situation. When I used it in \section, it works in text and ...
1
vote
0answers
39 views

Preprocessing code for cross-compilation of two different projects?

I have two different projects, which are the LaTeX code for English and Greek for the same book. Does LaTeX support preprocessing code (without using any external tools) that would allow two ...
3
votes
3answers
71 views

How to boldface only a subsection number in amsart?

If I use the code \makeatletter \renewcommand{\@secnumfont}{\bfseries} \makeatother from How to boldface a section header? (including title and number) it makes the number of sections bold as well. ...
1
vote
1answer
79 views

Issue with page breaks before section and toc hyperlinks

I need page breaks before each \section{...} of my document. According to this thread: Start new page with each section I am supposed to add following command: \newcommand{\sectionbreak}{\clearpage} ...
1
vote
1answer
66 views

How to indent section and subsection differently

I want to set parindent to 2mm in all my sections and parindent 0mm in all my subsections. Is there a way to do this ? Thanks Ráď \documentclass{article} \begin{document} \section{Section1} Lorem ...
2
votes
2answers
108 views

Remove section number from Table of Contents

How can I remove section numbers from the Table of Contents? My document class is article: \documentclass[a4paper]{article} \begin {document} \tableofcontents \section{one} test text number one ...
0
votes
0answers
138 views

Format Latex report Chapter, Section, Subsection header styles

I'm writing my thesis and instructions for chapter, section and subsection are as following. - Chapter heading :All Capital—14 Font size, Bold - Section heading :Title case-12 Font size, Bold - ...
2
votes
1answer
73 views

Aligning header to the right in ConTeXt

I am typesetting a novel in ConTeXt and one of the things I was in need was a way of typesetting headers for scenes. A scene as I understand it, is simply a couple of lines which separate paragraphs, ...
1
vote
0answers
91 views

How to prevent new sections from going to next page or paragraphs in LaTeX [closed]

I am working on my two-column article. I notice that often when I use the \section{} command in LATEX, the new section appears in the next column (or even next page), even if the first column or page ...
0
votes
0answers
28 views

I don't know why I'm getting these white spaces in my PDF [duplicate]

I was just doing a project in sharelatex and from one time to another the white spaces shown in the figure appeared, the white spaces are the ones between subsections. I've spent 20 minutes trying ...
1
vote
1answer
71 views

Chapters number moves out of margin

i'm new to LaTeX and got a problem. The picture says it all... When my number of chapters exceeds 9, the second digit moves out of the margin.... I have copied the following layout, for the ...
3
votes
1answer
75 views

TOC section symbol/numbering

So I've come to the following problems while writing something in LaTeX, first, I want to have the numbering of a section of the output to be just a number not depending of the chapter. (not like ...
3
votes
1answer
53 views

Aligning a parbox inside titlesec

I'm trying to produce a document with section numbers in the page margin. I found a pseudo-solution which llaps the section numbering to mimic the result. I'm not happy with the way the number and ...
3
votes
1answer
94 views

Problem with moderntimeline after customizing \section in moderncv

I customized the \section command in moderncv to get a color fade in the section headings. But now this messes up my moderntimeline and moves the lables of it around. I figured already out that this ...
4
votes
1answer
88 views

Customizing \section in moderncv

I'd like to customize my moderncv a bit. For my sections I want a color fade in the headings. For this purpose I got this code in Latex: \documentclass{article} \usepackage{tikz} ...
4
votes
2answers
83 views

Header in fancyhdr

Alright, so I'm using fancyhdr with the default options. I have some sections, where I'd like it to appear different in the TOC. This is accomplished like so: \section[test (in the TOC)]{test} In ...
2
votes
0answers
14 views

Article document class make subsection headings italic and remove boldface [duplicate]

How can I make only the subsection headings italic and remove boldface in article document class ?