{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} ...
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
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?
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 ...
1
vote
1answer
44 views

How to get section numbers and page numbers with Bengali numerals in latex or xetex?

How i can give section numbers and page numbers with Bengali numerals in latex?
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 ...
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?
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 ...
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 ...
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 ...
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
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 ...
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
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} ...
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 ...
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: ...
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, ...
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 ...
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 ...
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 ...
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} ...
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} ...
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 ...
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 ...
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 - ...
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 ...
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 ...
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 ...
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 ...
2
votes
0answers
35 views

Memoir: put heading in margin using xcoffin

In the memoir class manual, there is the following code for putting section headings in the margin: A less traditional style is to put the whole heading into the margin. I have done this here ...
7
votes
2answers
177 views

Giant number next to chapter title

I want to make chapter titles that look something like this: I'll be using a different font, but the idea is the same. If possible, I'd like it to work like this: Pick the size of the number ...
2
votes
1answer
38 views

LaTeX report - table of contents without chapter

I am trying to write a LaTeX report (using class report) but I don't want to use chapters, only sections, subsections and subsub. Using \renewcommand{\thesection}{\arabic{section}}, my sections ...
0
votes
1answer
38 views

Make appendix files work for both book and article document classes

I have a book with chapters, sections, subsections, etc. I frequently want to distribute a single chapter of the book as a stand-alone article. To do this, I just write a replacement preamble setting ...
3
votes
1answer
26 views

Insert unnumbered headings in toc automatically

When I use a numbered heading like \section or \chapter, the heading is automatically added to the table of contents. If I use an unnumbered heading like \section* or \chapter*, I have to add another ...
1
vote
2answers
43 views

Change color of numbers of sections

I want to change this box in which I have the section number to black, which I can do. But then the text is the same color and illegible. I need to make it white. I tried this but it didn't do ...
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 ...
0
votes
1answer
21 views

Section list without numbering? [duplicate]

I do not want the section numbered, i.e., Roman number I. (as the following figure show). How can I do this?
3
votes
1answer
143 views

What is the name of the variable containing the current chapter title?

Consider a chapter in a french book defined by: \chapter{Blablabla} It will generate the output: Chapitre I : Blablabla Then, we have the following variables: \chaptername corresponds to ...
5
votes
1answer
37 views

Modify Section Title in Document

I'm using memoir class. I'm trying to make section title that ends with a single dot. The section title would be in sans-serif font. I've searched for a while but still no luck. Here's my MWE. Thanks. ...
0
votes
1answer
26 views

chapter headings change alignment to center and without the word “chapter”

I want chapter heading as 1. chapter_name and center aligned. How can I get this? I have searched the net for an answer but I am able to get only separate answers but not combined answer for the both ...
2
votes
2answers
50 views

Inconsistent vertical spacing using section headers

Last week I read a short paper on LaTeX and now I'm writing my first document. I've googled and fixed most problems but this one I haven't found any working answer to. It's for a math assignment and I ...
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
20 views

one counter for multiple theorems?

I searched the internet for a while now but didn't quite get what i wanted. I want number different theorems with the same counter, which depends on chapter and section. eg Lemma 1.1.1 Example 1.1.2 ...