{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
54 views

Package titlesec 2.10.1 in XeLaTeX removes numbering on sections and subsections [duplicate]

I've been using titlesec in XeLaTeX for quite a long time and never had problems with it. But recently, I updated it via tlmgr (as I have TeXLive 2015) to 2.10.1 and now I'm facing this situation: ...
3
votes
1answer
62 views

Own Chapter and section

I know there are probably tons of question like this but I cant figure the whole out for myself. I'm searching for an way of defining own chapters or sections in an only slightly bigger font like: ...
3
votes
3answers
62 views

Numbering sections, subsection, subsubsections

I'm using the class book and for each chapter, section, subsection, etc. the numbering starts this way: Chapter 1 Section 1.1 Section 1.2 Section 1.3 . . . I would like to have ...
1
vote
2answers
33 views

Remove Chapter numbers, keeps Section numbers

I do not know how to remove the Chapter numbers in front of each chapter (Chapter #), and in the same time keep the section numbers. So I need something like the following: Chapter name 1.1 First ...
0
votes
2answers
54 views

How to create a part?

I am using scrartcl and I want to create a part in the center of a page like this What should I do?
2
votes
2answers
52 views

set \parskip but not for headings

I want to define the vertical space that is inserted between text paragraphs when there is an empty line in the code. If I use \setparsizes{0pt}{1.0\baselineskip}{0pt plus 1fil} or ...
0
votes
1answer
32 views

How to customize subsubsection to have the usual four-digit numerical number in Classicthesis in LyX

I am using latest LyX version of classicthesis template. What I want is the one including the numerical number, which is normal setting under document setting "book": What I get under document ...
1
vote
0answers
23 views

Section numbering disappeared after updating titlesec package [duplicate]

I'm using classicthesis to write my reports. I've always use the tweaked version of it since 2011 for my stuffs (e.g. back then it was for the master thesis). Today after updating the package in ...
2
votes
1answer
45 views

Removing numbering everywhere except table of contents

What I essentially want to do is to remove numbering of sections everywhere(primarily, the header and in the main body) except the table of contents so that sections are numbered there but my left ...
0
votes
1answer
33 views

How to force two “blocks” to be on the same page, without minipage?

I have the following situation (what follows is pseudo-code): \mySection*{Title} \begin{mdframed-theorem} Bla bla [...] that is long. \end{mdframed-theorem} Then something else, the starting of ...
0
votes
1answer
24 views

section title is printed out over section number (both TOC and minitoc)

I want to change the chaptername to something like Test Chapter, and Section to Test Section. Problem is, in the Table of Contents, the section title My first section is printed out over the Test ...
3
votes
2answers
34 views

Changes to spacing inside floats

I have a two-column style, but sometimes I want to put some text across the whole page. An easy way to do this is inside one of the starred float environments. I am using table*. However, I notice ...
2
votes
1answer
37 views

using \dq in \subsections: has an extra }

I defined \newcommand{\q}[1]{\dq#1\dq} for the easier usage of the quotes. Now I want to make subsections containing quotes... \subsection{ \q{build} } This line above causes an error for l.42 ...
2
votes
1answer
54 views

Centering section with label and title on separate lines

I am trying to center a section title with the section label on one line, and the section name on the next. ie: | Article II This is the Title | My attempt: ...
0
votes
0answers
66 views

Numbering of sections, subsections, subsections, and all theorem-like environments in the dictionary order

I would like the numbering of sections, subsections, subsections, and all theorem-like environments to be in the strict dictionary order. Moreover, the number of a theorem-like environment contained ...
2
votes
1answer
20 views

Multiple Chapter Styles in same Document

I have a newbie question: I have a two-part document and I would like to use a different Chapter styling for each one; I've looked up in this database and "googled" it, to no avail. Any idea? Thank ...
4
votes
1answer
55 views

Numbering Theorems with section number but not resetting the counter

I want to number theorems in the form "Theorem 1.4.26", such that the first two numbers are the chapter and section numbers and the last one is the number of the theorem in the whole book. That is, ...
7
votes
0answers
78 views

Why equation Recognizes section Above While aligned Does Not

I am placing equations either right after section headings, right before them or both. I know that this is not advised, but I do believe in my context it looks better. One interesting thing I noticed ...
2
votes
1answer
23 views

Redefine \section to be added to the index automatically

I would like to have my section headers to be listed in the index by default. So i tried to redefine the \section command like this \documentclass[10pt,a4paper]{article} \usepackage{makeidx} ...
3
votes
1answer
31 views

Remove the word “chapter” in book class and put number in the white margins at the same time

I am working on my thesis in the book class, I work in Kile under Linux. So this is an overview of my latex code: \documentclass[a4paper,10pt]{book} \usepackage[utf8]{inputenc} % ### Chapter title ...
1
vote
1answer
23 views

Specify level of contents table

I my document I have several chapters with sections and subsections. In the generated contents table, it would look like 1. Chapter 1.1 Section 1.1.1 Subsection 1.1.2 Subsection 2. Chapter 2.1 ...
1
vote
1answer
26 views

Question about section placement for tables and figures

I am having a problem with my table environment and the section headings. In particular, I'm not sure why my table and figures section seem to be placed together without the table to split them. This ...
4
votes
1answer
44 views

Numbered sections in APA6

I am trying to get automatically numbered sections, subsections, and subsubsections while using the APA6 format. Is it possible to number sections even though section numbers were deactivated by APA6? ...
7
votes
3answers
100 views

Sort sections according to alphabetical order

Is it possible to tell latex, that it should sort the sections you used in your document according to their alphabetical order in the final pdf document? I.e. I want to have something like this ...
3
votes
1answer
32 views

Making part style match chapter style VZ34 in memoir class

I am using a slightly-adapted chapter style VZ34 (found in Madsen's 'various chapter styles' PDF, created as a variant over VZ39), which I would like to apply also to the layout of my part divisions. ...
0
votes
0answers
32 views

Redefine section command to show its title only in the table of contents

I am typesetting a novel using the memoir class and I have a question about sectioning. memoir has anonymous breaks to break a chapter into scenes, but these anonymous breaks are not real (or seem ...
3
votes
1answer
42 views

Change main text font only

I am writing a book and I use \usepackage{charter}, but this changes the font of the main text too. How do I keep the font for Chapter title, Section title, header, footer etc of this package and use ...
2
votes
1answer
37 views

headings and footnotes in first page different

I want that the first page of each chapter has no headrule. Here is a MWE \documentclass[a4paper,openright,10pt]{book} \usepackage{vmargin} \usepackage{fancyhdr} \usepackage{emptypage} ...
2
votes
0answers
28 views

Suppress section numberrs in TOC

I am creating a file, where the section headings should have box around the number. Also, some sections should not display this number even though the box should still be there. To solve this, I ...
3
votes
1answer
51 views

Managing spacing around \section inside a minipage with titlesec

I'm having some trouble getting proper padding around my section headers inside minipages. \documentclass{article} \usepackage[explicit]{titlesec} \newcommand\Vhrulefill{\leaders\hrule height 0.7ex ...
1
vote
0answers
35 views

Creating a more modular system

Though my question may be a basic one, I hope one can help me by being clear about what to do. I am using an apj emulate document on ShareLatex for my writing. My writing is long and has many sections ...
1
vote
1answer
37 views

remove sections numbering

I have the next code: \documentclass[a4paper,openright, 12pt]{article} \usepackage[utf8]{inputenc} \usepackage{fullpage} \newcommand{\ssection}[1]{% \section[#1]{\centering\normalfont\scshape #1}} ...
2
votes
1answer
32 views

How to remove section name from frametitle header in cambrigeus style

\documentclass[xcolor=table]{beamer} \mode<presentation> { \usetheme{CambridgeUS} \usecolortheme{dolphin} \setbeamertemplate{navigation symbols}{} } \usepackage{graphicx} % Allows ...
3
votes
1answer
28 views

Multicols leads to subsubsection title and content being on different pages

I'm am using the multicols environment in a subsubsection. But in the Output in prints the Title of the subsubsection on a different page than the content, i.e. the multicols text. already tried ...
2
votes
1answer
30 views

coloring section rule using sectsty package

I would like to change the color of section rule, as it obtained using sectsty package. Here is what I have: \documentclass{article} \usepackage{xcolor,sectsty,lipsum} ...
1
vote
2answers
37 views

Force text between part and chapter to be on the next page after the part title

I have not found a better title sorry. I have a document (book class) in which I have something like : \part{MyPart} The brief introduction of my part, where I present the three chapters I will ...
5
votes
1answer
114 views

Fancy Section Headers, Part 2

this post is building of the post found here. On page 4 of the output file, where the section header is in line with the chapter thumb, this happens: Is is possible to make the lines appear behind ...
1
vote
1answer
43 views

How to scale a box based on the font size of another piece of text?

I'm trying to make a chapter style in a memoir document. This is the current code: \documentclass[11pt]{memoir} \usepackage[oldstyle]{libertine} \usepackage{lipsum} ...
1
vote
0answers
41 views

How to create a custom \part in LaTeX book?

I am trying to create a custom \part for a book in XeLaTeX. I'd like to be able to have the Part number and title in larger font as is typically found. However, I'd also like to have a short paragraph ...
2
votes
0answers
83 views

Incompatible usage of \@ssect

In order to customize layout of chapter and section titles is is often suggested to do it in the following way: ...
1
vote
1answer
58 views

Remove automatic page break after paragraph

i'm using the report class and have set the section depth to 5 using the following command: \setcounter{secnumdepth}{5} However, when I use the \paragraph{} section, the compiled pdf adds a page ...
3
votes
1answer
57 views

How can I make “headings” inside a figure?

I have a figure that is built up of multiple parts and I want each part to have a "title". How can I do that in a way that looks nice? Right now I am just using \textbf for the "titles" and everything ...
4
votes
1answer
56 views

(is there/how to make) a package/macro like `enumerate` but for whole document sectioning

I just discovered the enumerate package, what excited me because some time ago I was wondering about something similar (options where a stands for \alph{<counter>}, A for \Alph{<counter>}, ...
4
votes
2answers
111 views

How to randomize the order of (sub)sections?

How would you randomize the order of sections in a chapter (or subsection in a section)? I would type them in the order A, B, C, ..., but in the rendered document they should appear as 1=F, 2=Y, 3=C, ...
2
votes
4answers
156 views

How to fast switch from sections to chapters

I have a file composed by many sections: I'm not sure of this choice, and maybe in the future I want to switch to chapters (or to subsections, for example). My solution is the following command: ...
2
votes
1answer
77 views

How to use openright option in The Legrand Orange Book including TOC?

I am trying to have The Legrand Orange Book in openright two sided book. I tried inserting blank pages at the start of the TOC, before each chapter page, but in vain. I tried this method and also ...
6
votes
2answers
130 views

Why default behavior of section title is to overflow

The question I am asking here is not "how to fix" but rather "why is this the default behavior". For many things, I find that understanding why latex does what it does leads to me being able to write ...
1
vote
2answers
35 views

Change section format [duplicate]

I want to change the section labels so that, instead of writing something like '1 Section', I get 'Section 1'. I want to keep the numbering. How can this be done in Latex? \renewcommand? ...
2
votes
2answers
74 views

Replace vspace at the end of the page

I'm typesetting a text with sections separated by the \vspace{1em} (sections have no titles). Sometimes the end of section coincides with the end of page. In this case the reader cannot see the end of ...
0
votes
0answers
17 views

section depth 5, \subsubsubsection doesnt work [duplicate]

I want a section for eg. 3.2.1.2.1 and for this I have set my counter to \setcounter{secnumdepth}{5} and when I type \subsubsubsection to get section, nothing happens. I have following ...