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

0
votes
0answers
11 views

Why is there an overfull \vbox with only \sub- \subsub- \sections? [duplicate]

I just got started using tex and created a file that only contains the (\sub- / \subsub-) \sections of my text. When I tried to turn it into a pdf file it didn't look right. The first page was blank ...
3
votes
1answer
63 views

Tikz Picture in chapter title and spacing to to chapter body

The following minimal working example \documentclass[a4paper,11pt]{book} \usepackage{lipsum} \usepackage{color} \usepackage{tikz} ...
9
votes
3answers
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?
0
votes
1answer
57 views

Spacing between section, subsection, subsub… etc

I'm in the process of writing my bachelor thesis. The problem is: standards. Question: How to make the spacing between text and titles (chapters, sections, subsections etc.) but still hold the ...
0
votes
0answers
11 views

Atbeginsection and Atbeginsubsection

Is it possible to have pages displayed for both sections and subsections? As I see it, I can only choose between \Atbeginsection and \Atbeginsubsection. Thank you
0
votes
1answer
53 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 ...
1
vote
1answer
44 views
1
vote
0answers
15 views

How to number References section using \bibliography{…} command?

I use the\bibliography{bibtexfile}{} command to generate my bibliography, but this creates a References section with the numbering suppressed. How do I make the number for the section appear?
1
vote
1answer
33 views

Height chapter number or height chapter name in memoir

I use memoir class. I want add some vertical space before chapter name or chapter number. I got that with \beforechapskip command, but this way add a fixed vertical space for all chapters. There are ...
5
votes
2answers
115 views

KOMA-Script: How to style the title of a chapter

How does one apply a custom styling to the chaptertitle in KOMA-Script? I know about the existence of the titlesec package but I've read that it doesn't play very well with KOMA-Script which outputs a ...
2
votes
1answer
81 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
52 views

How to adjust line spacing in wrapped chapter lines with KOMA-script?

I'm using scrbook. Some chapter titles are long and wrap, some of those even twice. When it goes on the third line, the spacing is different than that between the first and second lines. Looks ...
0
votes
1answer
23 views

Subsubsection displaced! [closed]

For some reason my subsubsections appear outside my page! How do I fix this problem?
0
votes
0answers
29 views

How to use several sectioning trees (Chapter, Section…) in parallel and in the same document

I am actually writing my thesis and I would like to insert one of my paper inside, but keeping the original numbering. The simplest way to understand what I am trying to do is to give an example: ...
3
votes
1answer
34 views

How to add ``acknowledgements'' on documentclass ``memoir''?

I am using \documentclass[11pt,a4paper,oneside]{memoir} for a writing a paper, and would like to add acknowledgements. But I can't do this. My plan is to put this after abstract and before ...
4
votes
2answers
40 views

How to reset \markright without breaking \sectionmark?

I'm using scrbook for a collection of papers. Every chapter has a different author, and is typeset with a custom command. I want the headers alternate between chapter and author (rather than whatever ...
2
votes
1answer
33 views

dynamic title size using titlesec

Is there a way to dynamically size titles as part of a \titleformat (from the titlesec package) definition? I'd like to scale titles of different lengths to be the same width (relative to \textwidth) ...
2
votes
1answer
50 views

Automatic creations of labels

I have a bad habit of not labeling my headlines and I find creating them afterwards rather cumbersome. Is there any script/program that can create a label automatically from the headline, so that ...
3
votes
1answer
22 views

Configure appendix header

In my double-sided latex document I'm using \pagestyle{scrheadings} This will display on an even resp. odd page the following SECTION TITLE resp. SUBSECTION TITLE. However for the appendix I ...
2
votes
1answer
46 views

Multiple chapters per page, only if they “fit”

I am typesetting a book which has some very short chapters. If two consecutive chapters are short enough, I would like to fit them both on the same page. Otherwise, the next chapter should always ...
4
votes
1answer
56 views

Recursively import sub-document at arbitrary level

Consider the following subimportlevel macro: packages.tex \usepackage{import} \usepackage{coseoul} \newcommand{\subimportlevel}[3]{ \setcounter{currentlevel}{#3} \subimport*{#1}{#2} ...
2
votes
2answers
29 views

How to know if there is any section in a chapter

I want to use a conditional expression that modifies the chapter title depending if the chapter has some sections or not. Example: \ifnum \value{chaptersections}>0 \setchaptername1 \else ...
0
votes
2answers
30 views

Changing the position of the Chapter heading

I am trying to alter the chapter heading that is preset in the book template. I have found a style I like from Vincent Zoonekynd’s web-page, http://zoonek.free.fr/LaTeX/LaTeX_samples_chapter/0.html, ...
1
vote
1answer
15 views

Using titleps with unnumbered sections

When I use unnumbered sections, my titleps headers seem to inherit the section name and numbering from the previous section: \documentclass[a4paper,11pt]{article} \usepackage[utf8]{inputenc} ...
1
vote
0answers
39 views

Change the word “Chapter”

I'm using the following code and the question is, how can I change the word "Chapter" for "Chapitre" (in French)? Thanks in advance!: \documentclass[ fontsize=12pt, ...
11
votes
1answer
135 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
3answers
29 views

Removing the word “Chapter n”

So I am trying to remove the words Chapter n, and replace it by the chapter title. BUT I want it to show up in the table of contents... (So I cannot use \chapter*{...}). Is there a way to achieve ...
3
votes
1answer
31 views

Section name missing in titles of sections

I used the solution given at http://tex.stackexchange.com/a/34292/77602. But I am not getting the titles of the sections. As it's an article with no chapters, I deleted the chapter stuff. So it's ...
16
votes
5answers
648 views

Using fixed space aroung headings to get text in sync with baseline grid

In order to make my text stay in sync with the baseline grid, I've set the vertical spacing before and after \section headings to integer multiples of \baselineskip (using the titlesec package). A ...
0
votes
0answers
8 views

Global option to turn on/off section numbering [duplicate]

Suppose I want to change from numbering my \sections, \subsections, and so on to not numbering them. As far as I know, the only way is to manually change (e.g.) \section{Foo} to \section*{Foo} and so ...
4
votes
1answer
98 views

Fancy header and footer including images with tikz

Consider the following code: % DOCUMENT TYPE \documentclass[12pt,a4paper]{article} % PACKAGES \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} ...
3
votes
2answers
29 views

Section heading with quotes and brackets

I am writing the appendix for my thesis in which I am briefly reviewing some reference publications. I would ideally want to name the sections after the publications with the author list captured ...
2
votes
1answer
27 views

In memoir how to change title-style of a new environment?

Using the "memoir" envirnmenon I would like to have the same title-style for my chapter as for example "conclusion and outlook". For my chapter I use the code \makeatletter ...
4
votes
1answer
37 views

Issues with tables being moved to next page due to empty space

I have an issue with my tables not wanting to fit onto the pages of my document. As can be seen by the first page, there is plenty of room for the tables, but for some reason on page two there is a ...
5
votes
1answer
22 views

How to make \dropchapter work with \chapter* (epigraph package)?

I would like quite a long quote before my chapter title, a need which is perfectly fulfilled by using the \epigraphhead command provided with the epigraph package. However, because the quote is very ...
0
votes
1answer
49 views

footnote misplaced on page

% Chapter 1 \chapter{Task-A} % Main chapter title \label{Chapter1} % For referencing the chapter elsewhere, use \ref{Chapter1} \lhead{Chapter 1. \emph{Task-A}} % This is for the header on each page - ...
2
votes
1answer
31 views

How to change the 'Section' title and its arrangement in a LaTeX document

I am handing in an assignment that is structured by exercises, rather than sections. I have already written my responses using the \section{} command and would now like to structure the final output ...
2
votes
1answer
118 views

Remove section titles from text, but not table of contents — interaction with columns

Update: a previous version of this question wrongly attributed the problem to use of minitoc to get section-level tables of contents (\secttoc). I've got a complicated document with a tables of ...
1
vote
1answer
34 views

Underline subsection heading

Hi I am using latex for my dissertation and I need to make a change to conform to my school rules. I currently use the following commands for \subsection \makeatletter ...
3
votes
1answer
72 views

How to set bookmark anchor so \section- and \section*-bookmark behaves the same

If I make a \section and \section* bookmark, the anchor points to the two sections in a different place. A small vertical space is added to \section* (see .png-files). How can I make sure the anchor ...
0
votes
1answer
44 views

Chapter section doesn't appear in the table of contents with a book

I'm using book style, but it happens with a report style, too. I'm using the \chapter* command and I want that the chapter section appears in the table of contents, but it doesn't appear. This is the ...
1
vote
3answers
27 views

custom chapter numbering with decimals

I would like to start a report with the Chapter 3.6 (and consecutive) until 3.9. I have been looking for these types of commands, but they are not working as I want. Please help
5
votes
4answers
115 views

Remove numbering from Section and Subsection

I found this answer to remove the numbering from sections, but I also don't need numbering on sub- and subsubsections. I tried to add a second def but then the number on Section is showed again. I am ...
7
votes
2answers
1k views

Adjusting the postion of chapter numbers in the Tufte-Latex class

I'm using the Tufte-latex book class, and trying to figure out how to use numbers in the chapters/sections. The default style has no numbers, which I turned off by commenting out this line: % Turn ...
1
vote
1answer
50 views

Align section titles in margins properly

This is a follow-up to First paragraph indented after section title in margin, but I'm unable to vote, comment, or accept answers there because it's made under a guest account and not linked to this ...
0
votes
1answer
59 views

! Missing number, treated as zero error beamer

I'm working on my thesis' presentation with Beamer but I am facing the same problem which I did not know the reason everytime i compile this "! Missing number, treated as zero" everytime shows up in ...
4
votes
1answer
25 views

Bookmark issues

I've found this code online, which allows using infinite section levels with the \level{n}{title} command. \makeatletter \newcommand\level[1]{% \ifcase#1\relax\expandafter\chapter\or ...
0
votes
1answer
25 views

Wrong page with `\addcontentsline{toc}{section}` after a list of figures

Consider the code presented at the end of this message, with the figure downloadable here (it is just a pdf of a rectangle). The problem is that the \addcontentsline{toc}{section} links to the wrong ...
2
votes
1answer
79 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 ...
0
votes
1answer
22 views

Suppress chapter number but keep section number in section headings

How do I format a book so that the chapters are sub-divided into numbered sections, where: only the section number, but not the chapter number, appears in the section heading (i.e. the third ...