{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
1answer
16 views

Sections in ToC with links but without headings

I want to include some external documents (PDFs) in the appendix of the document I am writing. I would like to have these included documents listed in my table of contents, but no section heading ...
1
vote
1answer
12 views

latex dynamic subsection nesting

I need to find a command/environment that allows me to nest a [sub]section one level deeper than the level of the parent [sub]section. For example, given this syntax, \section{Foo} ...
2
votes
2answers
33 views

Page breaks inside titlesec section headings

I use LaTeX to generate contracts and agreements. In most cases, it works okay but, every so often, it causes problems with pagination; specifically, if I have too many subsections without an explicit ...
1
vote
1answer
34 views

\vspace (\section?) misbehaving in amsart document

In the example below, I wanted to reduce white space above the first section header (it seems to be improperly or at least variably placed), and when trying to use \vspace{} above the first \Section{} ...
4
votes
1answer
54 views

Section Numbering in “Convex Optimizaion” by Boyd et. al. with Koma Script [duplicate]

I like the way the section numbering is typeset in the book Convex Optimization, i.e. the sections numbers are placed in the margin. How do I achieve this style with the scrbook class from the ...
2
votes
1answer
50 views

How to indent entire section heading and indent second line, if it comes, further

I am formatting my CV in latex, and I currently have all my section headings indented by 2em. The first item is the date of the \NewEntry and after that I have \hspace{1.5em} inserted to separate the ...
1
vote
1answer
38 views

How to force section to not go to new page in article

I have a document like this: \documentclass{article} \begin{document} \include{sect1} \include{sect2} \end{document} Both files sect1.tex and sect2.tex begin with \section{...}. The output pdf ...
1
vote
1answer
41 views

How to globally left align the text of paragraphs containing variable-length headers with the first line of the paragraph?

I have several paragraphs each with unique headers of differing lengths: \documentclass[12pt]{article} \begin{document} \subsection{Subsection 1} \paragraph{Title} Paragraph text here. Paragraph ...
1
vote
0answers
106 views

Help Chapter Header [on hold]

could you help me do a chapter headers like this (sorry for my english) if the page number is odd or even appears in a different place I be trying to use the following code: Fancy Chapter Headings ...
3
votes
2answers
41 views

Environment begin or end in Heading definition

I'm trying to include an automatic \end{multicols} and \begin{multicols}{2} before and after my Chapter headings. (The document is 2 column, the chapter headings are meant to be across the page.) ...
1
vote
1answer
54 views

Make custom tikzpicture section heading non-rigid

Trying to make a custom section heading but I don't know how to make it move fluidly with the text, only by commanding it to be in a specific location on the page. I want it to look like this: This ...
2
votes
1answer
59 views

Customize Bibliography layout with biblatex

I'm in the final stages of formatting my dissertation, and I'm having some trouble meeting the picky formatting requirements with biblatex. I'm required to have a cover page before the bib, with the ...
3
votes
3answers
75 views

Latex, how to “avoid” syllabify or hyphenation

I've a problem with latex (I'm new with it): it hyphenates :) :) I'm writing my thesis and I don't want the hyphenation. The strange thing is the fact that when I write the \chapter there is no ...
3
votes
1answer
50 views

LaTeX tufte-book how to wrap around chapter, section, subsection heading

I am writing a book using the package tufte-book. Some of my chapter titles and section titles are too long. But I don't know how to get it to wrap around instead of going into the margins and off the ...
0
votes
2answers
27 views

Margins of Section Title is Out of Bounds

I want my section titles to be same as the margins of the text. Here is an example of the problem (see title in section 1.1). I want a similar behavior as title (1.2). Any suggestions? What am I ...
3
votes
3answers
105 views

No space before first section in framed box

I am looking for the correct way to lay out content in a framed box. In my opinion the space before the first section in a box looks odd in comparison to the same content at the start of a page. How ...
2
votes
1answer
54 views

How to use fncychap's style for \section?

I have a complex document which requires the use of many levels of document structures. In particular, the first two levels, \part and \chapter are reserved for meta-information while \section plays ...
2
votes
1answer
24 views

Start text on second page (without \chapter) at same position as on first page (with \chapter)

This MWE shows what I am trying: % arara: pdflatex \documentclass[oneside]{book} \usepackage{color} \begin{document}% \chapter*{A}% Some text% \clearpage% \vspace*{-1pt}% ...
5
votes
1answer
46 views

Using \renewcommand to define sections

I'm trying to define my sections for my research paper using APA guidelines : Section : Centered, Boldface, Uppercase and Lowercase Headings Subsection : Left-aligned, Boldface, Uppercase and ...
4
votes
1answer
49 views

\subsubsection not appearing on document

My subsection titles are not appearing on the PDF rendering of my TEX document. Please help. Thank you \usepackage{setspace} \doublespacing \usepackage{titlesec} ...
3
votes
2answers
35 views

Appendix section numbering that mimicks theorem numbers?

I have a document with several theorems ("\begin{restatable} \label{thmA}..."). After each theorem I have the statement "see proof in section \ref{sec:thmA:proof}". So my appendix is now a long ...
4
votes
1answer
37 views

maxsecnumdepth causes tikz titlebar to disappear

I am usingtikz package to produce a grey section-header bar (rounded at one end), thus: \documentclass[a5paper]{memoir} \setsecnumdepth{chapter} % set numbering level ...
3
votes
1answer
53 views

chapter style: how to put a box on the egde like veelo style?

I would like to modify the BlueBox chapter style of the memoir documentation (below) in such a way that the bluebox is at the edge of the page, like the veelo style. \documentclass{memoir} ...
1
vote
0answers
13 views

How does one reference theorem names in a section title in the amsbook class? [duplicate]

I would like to reference the name of a theorem in a section title. Everything about this works fine, but on the page headers, one sees (??) instead of the Theorem number in the displayed section ...
2
votes
1answer
21 views

\flushbottom vs. fixing position of chapter heading in book class

Consider this MWE: \documentclass[12pt%,oneside% ]{book} \usepackage{setspace} \setstretch{1.2} \usepackage{lipsum} \begin{document} %\raggedbottom \chapter{ABC} See how this chapter heading is not ...
4
votes
2answers
64 views

Change numbering level for one chapter only

Apologies if this is duplicate but couldn't find it. I have a document using amsmath for chapter, section & subsection numbering, & everything (theorems, lemmas etc) uses the same numbering ...
1
vote
0answers
37 views

newcommand, section

I just received a new task in LaTex with a predefined structure and predefined commands. There was also the command \mysection. I think it shouldn't show the text of the section in the document, but ...
0
votes
1answer
64 views

display figure before new subsection, bot not on an own page

I have multiple subsections, one with 3 subsequent figures \subsection{Sometitle 1} words words words... 3x \begin{figure}[h!] \centering \includegraphics[width=\linewidth]{pics/img} ...
5
votes
2answers
117 views

How to have titlesec like behaviour for a Koma Script

I am using \documentclass{scrartcl} which I believe is a Koma-Script type. I now wish to have each \section{} start in a new page, similar to what \usepackage{titlesec} offers, as shown on this ...
2
votes
1answer
37 views

Changing subsection numbering within a chapter

I have chapters and I want the subsection numbering to correspond to the chapter numbering.. for example: Chapter 1 1.1 blah blah 1.2 hello At the moment, I have: Chapter 1 1 blah blah 2 hello ...
4
votes
1answer
80 views

Thesis chapter headings, any suggestions?

I've found a thesis with really beautiful chapter headings that I would like to use. What package am I going to need and how would I go about creating a heading that looks like the one below. Also, if ...
0
votes
2answers
54 views

How to reduce spacing between titles of chapters?

I want to reduce spacing between titles of chapters. What changing should I do in the following example? \documentclass[12pt]{report} \usepackage[dvipdfm]{graphicx} \usepackage{amsfonts} ...
8
votes
1answer
50 views

Headline adjustment

How can I adjust the chapter headline, so that the last line ends with the red box? And is there a way to move the whole chapter heading so that the word "chapter" is adjusted with the main text, i.e. ...
2
votes
1answer
42 views

Change Section Label in Table of Contents and Section Title

I need help with how sections created in the appendix are labeled in the table of contents and the section title itself. As it sits now, I have each appendix as a section with a capitalized alpha ...
0
votes
0answers
57 views

Section titles without numbers in non-starred version

I am trying to format the section title in the memoir class, so there is no section numbers in it, and I don't want to use the \section*command because it makes it more cumbersome to make it show up ...
3
votes
0answers
34 views

\makechapterstyle{} for scrreprt (change chapter title format)

The memoir-class offers the command \makechapterstyle{} to define the look of all chapter titles (e.g. https://www.writelatex.com/1312879nbdvry#/3224717/) Is there a way to create something similar ...
1
vote
0answers
32 views

New class prevent XeLaTeX to compile the section title

I created a new class, called capitulo to prevent a page break with every chapter. But when I activate those code lines, the section number won't print. Here's a MWE: ...
4
votes
1answer
58 views

Empty line after \paragraph?

In order to have a subsubsubsection I have used \paragraph. The problem is that I get text immediately after the tittle. How do I make to get a empty line after \paragraph?
1
vote
1answer
42 views

Too much vertical space after long section title using titlesec

I'm using titlesec to change the style of my section titles. Sometimes, when the title is long, but just short enough to fit on one line, some extra vertical spaces is add. The following MWE ...
0
votes
0answers
27 views

How to make the line spacing of different sections in one chapter?

I have a chapter in my report that has many sections. For some reason, I would like to make the line spacing for some section equal 1 and 1.5 for some others. So for example I have a chapter called ...
2
votes
1answer
52 views

Remove additional space before section in tcolorbox

When I set the parbox option of a tcolorbox to false, every section, even the first one, is preceded with additional whitespace. Is there any way to tell tcolorbox to handle the first section ...
5
votes
1answer
61 views

Small indentation appears when adding custom header

A small indentation appears on the first line of the paragraph when I add \pagestyle{myheader} to the MWE. I don't want it there. Thanks to Gonzalo Medina's answer I did the part described in Section ...
4
votes
2answers
52 views

\renewcommand not working for subsection

I wanted to number sections with alphabets and subsections with roman numbers I have added these two lines above \begin{document}: \renewcommand \thesection {\Alph{section}} \renewcommand ...
0
votes
0answers
20 views

Customize sections' numbering [duplicate]

I want to customize my sections to look like the following but I don't know how to do it. Can somebody help ?
5
votes
2answers
107 views

How to center an unnumbered section name?

I have a chapter chap1.tex in latex project project.tex which has the following sections: \chapter{Overview} \section*{Introduction} \section{Model} \section{Discussion} When I run my ...
5
votes
1answer
27 views

Spacing after first line with titlesec using runin option in titleformat

I'm using the titlesec package to format my (sub)section titles. I'd like to use the runin option in \titleformat to place my subsections titles within the first paragraph of each subsection. However, ...
3
votes
1answer
80 views

How can I redefine the chapter command to display additional text below the title?

I'm relatively inexperienced with Latex. I'm using the Memoir class and I've been trying to develop a custom chapter style based on Danie Els' BlueBox style (the source for this is given on page 46 of ...
3
votes
1answer
45 views

How to get the chapter title in a single page - titlesec

Because of my thesis report style, I want to have the chapter title in a single page. I'm working with titlesec package. I used \clearpage and \newpage to solve this, but doesn't work. I also used ...
1
vote
1answer
58 views

How to create custom section titles with a “<title> <number>” format in LaTeX?

I have the same problem like here: How to create custom section titles with a "<title> <number>" format in ConTeXt? But I would like to solve it in LaTeX. Is there a simple way ...
1
vote
1answer
35 views

How to make \chapter and \part align right and get a quote under them?

Consider this example: http://jmvdveer.home.xs4all.nl/algol68g.pdf Section and chapter titles are set so they align with the right margin, how do I do that? and more importantly, how do I make them ...