{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
24 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
37 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
24 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
58 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
107 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
38 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
38 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
44 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
60 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
36 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
40 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
30 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
43 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
41 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
125 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
44 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
51 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
112 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
61 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
58 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
114 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
84 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
136 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
37 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
78 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
18 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 ...
4
votes
2answers
95 views

How to change numeration in ToC

I've got a problem while trying to figure out a structure for report document. At this moment I have: \chapter[Chapter 1]{} \section{Section 1} \subsection{Subsection 1} \subsection{Subsection 2} ...
1
vote
2answers
77 views

\section*[toc]{normal section title} not working for me

for my thesis I want to have a section appear differently in the ToC than in the text. After googling a bit, I found \section[short]{long} as a proposed answer, but this does not seem to work for me. ...
2
votes
1answer
25 views

per-section figures in un-numbered sections

I'm trying to write a document with un-numbered sections (i.e., \setcounter{secnumdepth}{0}) and numbered figures, with the figures numbered within section. I can't get secnumdepth and chngcntr to ...
0
votes
1answer
62 views

Full width section titles in tufte-latex

I am using tufte-latex and would like my section titles to use the full width of the page in the case that I use a fullwidth environment for the next block of text. However, when I try to compile this ...
2
votes
1answer
79 views

How to make an entry in the table of contents for the bibliography

Question In a document of class scrartcl, I would to make an entry in the table of contents for the bibliography. Currently the table of contents contain entries for any notation of \section{} and ...
2
votes
1answer
92 views

How do I make my section uncounted but listed in the table of contents?

I was asked to have my Introduction and Summary section uncounted. However, if I use \section* it doesn't appear in the Table of Contents which is undesired. EDIT: The proposed solution doesn't work: ...
1
vote
0answers
71 views

Fancy chapter styling

I have found these really stunning examples of chapter styling. Fancy chapter headings. It is however for the book document class. My WE is the same, but the images are displaced. I use memoir twopage ...
1
vote
1answer
28 views

subsubsection not working in my thesis macro

I'm unable get the \subsubsection layer using my thesis scripts. It works fine up to subsection but not beyond that level. The counters have been set to a depth of 3 and so should be working for ...
0
votes
0answers
14 views

Formatting LaTex subsubsubsubsection in Table of Contents [closed]

I created some code to implement \subsubsubsections and \subsubsubsubsections respectively. While the \subsubsubsection now works great, the \subsubsubsubsection doesn't properly format Table of ...
2
votes
2answers
105 views

Change the color of the chapter number (Oxford Thesis Template)

I'm writing my PhD thesis and I am using the Oxford Thesis Template. I would like to change the color of the chapter number (which is grey) in the beginning of this chapter. You can find the Oxford ...
2
votes
1answer
67 views

Redefine `\section*` so it behaves *exactly* as `\section` except leaves out the number

There's any number of variations on the question "How do I get my unnumbered sections into the table of contents?" ... Creating unnumbered chapters/sections (plus adding them to the ToC and/or ...
0
votes
2answers
56 views

How to format section headings?

a question about formatting section titles. In the article class, I want to format my section titles as follows: Hide the section number in the title. Use upper case. Add a dashed title rule below ...
2
votes
1answer
48 views

How to make TOC sections apper in pdf as bookmarks?

I am very new to Latex. I am trying to make my thesis paper in latex as now. I am using the mwart documentclass. I dont know either it is a documentclass specific thing, but the items i have in table ...
0
votes
1answer
58 views

How to format complex section header

I've got several question, all relating to the below image. Within my .cls file I am trying to style the section headers like so: My first question was how do I stop \sections from being numbered. ...
0
votes
0answers
17 views

More numbered Sections [duplicate]

Am trying to make sectioning but i still get numbered only section and subsection and subsubsection,paragraph and subparagraph are not numbered and i need to have them numbered
5
votes
1answer
42 views

Different subsection format if no title is given

I want to have subsections appear like "Article 1: Foo" when I enter \subsection{Foo}, but like "Article 1" (without the colon) when I enter \subsection{} (without a title). Is there a way to do this? ...
4
votes
1answer
127 views

Fancy Section headers

I wanted to add the lines from the edge of the left margin to the colored box in my section headers so this it looks like: Here is the code I have thus far: \documentclass[11pt]{book} ...
2
votes
2answers
80 views

Titlesec: chapter in top margin

How can I put a chapter or section title into the margin such that it is on the top of the page? This is what I want: But the following MWE produces \documentclass{book} ...