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

2
votes
1answer
11 views

Change font size of lstlistoflistings heading

How can I change font size of lstlistoflistings heading? Currently it is smaller than normal chapter heading title. Any ideas? Unfortunately I need to use document class from my university, my MWE: ...
21
votes
4answers
5k views

how to get the current chapter name, section name, subsection name, etc?

How can one get the current name of the following: Chapter, Section, Subsection(s), frame, label, mdframed?
2
votes
1answer
37 views

titlesec formatting

\documentclass[12pt,letterpaper]{report} \usepackage{blindtext} \usepackage[utf8]{inputenc} \usepackage[margin=1in,showframe]{geometry} \usepackage{titlesec} ...
1
vote
1answer
37 views

How to show navigation bullets in customized Beamer them?

I've made my own beamer theme to provide my some resources. I have this code so far: \mode<presentation> \usetheme{Malmoe} \usecolortheme{orchid} \beamertemplatenavigationsymbolsempty ...
3
votes
2answers
84 views

Subsection label appearing within text

I have a document in "book" format (strictly speaking, in an environment defined by the book publisher I am using, the details of which are way beyond my comprehension), and I very much want to have ...
4
votes
1answer
59 views

Changing titles of chapters and parts from onehalfspaced to single spaced

Is there a simple solution for making the titlename of parts and chapters singlespaced but the text onehalfspaced without having to add \SingleSpace to every titlename. I have found a solution that ...
0
votes
1answer
44 views

All figures at end of section (or Chapter) but in the order they were cited in the text

I've been trying to do this for so long, it would make my life so much easier. I have a *.tex file containing all the details of the figures in a chapter (but not necessarily in the right order), ...
4
votes
0answers
35 views

Using the long form of a section title in the TOC

I would like to use a full section title for: the section title itself (of course) the table of contents the running heads But, I would like a short name to be used with \nameref{}, because ...
9
votes
1answer
4k views

Omit heading in biblatex with printbibliography

Is it possible to omit the heading when I use the \printbibliography command? I want to print two different bibliographies one after the other and need to add some text between the second heading and ...
1
vote
0answers
53 views

Conditional spacing based on length of chapter title

In LaTeX, (or possibly XeLaTeX), how can one achieve the following: A double spacing a 1- or 2-line chapter title, and single spacing under a 3- or more-line chapter title. A triple space ...
0
votes
0answers
21 views

How to put table of contents at the beginning of each chapter? [duplicate]

How can i have such a format in every chapter in my thesis. More specifically i would like this table of contents for each chapter depending on its subsections.
5
votes
1answer
2k views

\newpage and \clearpage does not work

The following problem shows up: Usually after the end of every chapter, there's a blank page before the new chapter starts in my document. Funnily enough, there is one point in my pdf where is no ...
1
vote
2answers
31 views

Unnumbered chapter in toc and heading

I'm writing a thesis using scrreprt and want the preface to appear as an unnumbered chapter. When I use \chapter*{Preface} \addcontentsline{toc}{chapter}{Preface} I get the correct entry in the ...
18
votes
2answers
8k views

Remove “chapter #” from the chapter title but keep chapter number in the table of contents

I am using report document class. I want to remove word "Chapter" and "chapter number" from chapter title, so when new chapter starts I will get only chapter title. I can do it using: ...
1
vote
0answers
33 views

How to attach section-title to corresponding text? [on hold]

My title (\chapter, \section etc.) should always be attached to the corresponding, followed text. It happens that the title is squeezed into the last line of a page and the corresponding text on the ...
5
votes
1answer
69 views

How to generate a “<section>-continued” heading after page-break which works with longtable?

I have read the question and answers about the "-continued" heading. The code given in the answers doesn't help me. Thats why I am posting a follow-up-question here. I want to re-display the ...
1
vote
0answers
73 views

Chapter Design in Latex [on hold]

I am writing a mathematics book for grade six . I need a special style for the title of the chapters. Does any one have an idea. Any help is highly appreciated. I plan to add pictures to the title. ...
0
votes
2answers
47 views

Custom section in conflict with TOC

I adapted this answer to make a custom section I need. My intention is that it looks something like the second heading from this image: So the numbering must be made using (\Alph) and it must be ...
1
vote
1answer
15 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
38 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
18 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 ...
2
votes
1answer
57 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 ...
5
votes
1answer
82 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 ...
1
vote
1answer
35 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{} ...
1
vote
1answer
76 views

placeins: options section and below

I am using the package placeins with the options section and below so the floats will appear in their sections below their section if on the same page; however, the float is appearing above its ...
1
vote
1answer
44 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 ...
8
votes
2answers
6k views

Why isn't LaTeX indenting my paragraphs?

I am trying to get latex to indent the first line of each paragraph, but whatever I try I can't seem to get it to work as I would expect reading the documentation. I expect that since I am using the ...
1
vote
0answers
108 views

Help Chapter Header [closed]

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 ...
1
vote
1answer
44 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 ...
2
votes
1answer
67 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 ...
14
votes
3answers
216 views

How to define a new command based on \section with its optional argument?

I've defined a new command called \mysec like the below: ‎‎‎‎‎‎ \documentclass{article} \newcommand{\mysec}[1]{\section{#1}} \begin{document} \mysec[Foo foo]{Bla bla bla} \end{document} But in the ...
46
votes
2answers
6k views

Org-mode export to LaTeX: temptation or nuisance?

We are talking about Emacs and Org-mode: There are several advantages of drafting papers with Org-mode and to have them transferred later to LaTeX, e.g.: I'd like to avoid »programming while ...
3
votes
2answers
43 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
58 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
39 views

Glossary-like list of subsection headings

I have a document, that has same subsection headings on multiple pages. I would like to create something like a glossary, that prints the list of headings and references to the pages where the ...
3
votes
3answers
76 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
53 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 ...
3
votes
2answers
401 views

Define subpart section

I need a section which isn’t really a part, nor a chapter. So I was trying to define a new command, \subpart, based on the \part command, but with its own numbering and which would look like this, in ...
0
votes
2answers
30 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
112 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
63 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
47 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
39 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
59 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 ...
5
votes
2answers
128 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 ...