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

4
votes
2answers
91 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
70 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
24 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
53 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
70 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
85 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
69 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
27 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
11 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
89 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
58 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
52 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
44 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
56 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
40 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
120 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
73 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} ...
3
votes
2answers
67 views

italicize the subsubsection in latex

How do i italicize the \subsubsection{Subsubsection} 1. section 1.1 subsection 1.1.1 subsubsection I want the third line i.e. starting from 1.1.1 subsubsection italicize. Please help
6
votes
1answer
228 views

Is it possible to input a file while lowering every section it has by 1 level?

Assume that I want to add a part of a paper I've wrote into a different document. Inside the new document, the part of the paper should be only a section, so every section of the paper would become a ...
6
votes
1answer
89 views

tufte-latex: \newthought after \section

Using \newthought after a new section title inserts an unusual vertical space as in the following example. \documentclass{tufte-book} \usepackage{kantlipsum,cleveref} \begin{document} ...
1
vote
0answers
45 views

Section, figure, table numbers are in smaller font size [closed]

I have used \include{resultsanddiscussion} to import certain chapter results and discussion. I have used \fontsize{16pt}{18pt}\selectfont to determine heading size 16 pt and spacing 18 pt. the code of ...
3
votes
2answers
129 views

Single-space chapter titles with double-spaced document

I am typesetting a thesis using the book class and need the chapter titles to be single-spaced while the main text must be double-spaced. Inserting \singlespacing before the text in the definition ...
4
votes
2answers
52 views

Change color line in hline

Recently I asked a question about how to draw a line under titles but this line should be flexible is a picture is included or not. I am trying to change the color of this line but nothing works? ...
1
vote
1answer
37 views

Use titleclass only in part of document

For my current project I need my document to have three parts. In the first and last part, I want the default sectioning, but in the middle part I need to apply a different style to the section level ...
2
votes
0answers
51 views

How can I customize headings in book-class?

I am writing my master thesis in the book-class in Latex and need some help to format the headings in the document. I have a Word-template from the University which have specific formats of the ...
3
votes
1answer
43 views

Hide sections of specific chapter from table of contents

How do I hide all the sections and subsections of one chapter from the contents page? What I want is if I have this: \documentclass[12pt, a4paper, draft, titlepage]{report} \begin{document} ...
2
votes
1answer
46 views

Removing header on chapter page

I am using the fancyhdr package where from what I understand the default is no header on the chapter pages, but I still have the header displaying the section name on all my chapter pages. I would ...
2
votes
1answer
51 views

Centering some chapters in latex

In the following code, I am trying to center the acknowledgement, dedication, and cv chapters. However, when I use \usepackage{sectsty} to reduce the font size of sections in CV, these chapters donot ...
2
votes
1answer
29 views

Using the secdot package, display dots also in the ToC

My requirement for section numbering is as follows: 1. Section foo 1.1 Subsection foobar 1.1.1 Sub-subsection barfoo 2. Section bar etc. The important thing is the dot after the section numbering, ...
0
votes
0answers
44 views

Alternating which side the header is on odd and even pages

So I'm trying to get the header to display the section name on the right side on odd pages and the left side on even pages. My code is: \usepackage{fancyhdr} \pagestyle{fancy} ...
2
votes
2answers
71 views

Getting font size of section numbering to match font size of section title

I would like to change the size of the section labeling in my doc. While I can alter the font size of the title (setting it to \normalsize{}), the corresponding section number's size is not affected. ...
1
vote
0answers
18 views

beamer - Berkeley. Is possible add another level of index in the upper region?

Un the indexes of beamer. Sections and subsections is possible, but if I want detail 3 or 4 parts in a subsection, showing this in any way, for example... in the upper (in the TITLE-dark region or in ...
4
votes
1answer
36 views

Unwanted page break between a section heading and its subsection heading

My scenario consists of some sections and subsections. A slice of the aforementioned group has been presented, as below: \tableofcontents \clearpage \section{parent} %\subsection{child} ...
2
votes
1answer
45 views

How to use the long section caption for bookmarks with hyperref

The package hyperref uses the short caption of a section for the bookmark entry. Is it possible to use the long form instead? I have many sections so manually adding all of them to the bookmarks is ...
2
votes
2answers
220 views

Customizing chapter and section style (scrbook)

I have found a very cool custom style for chapter and section headings (It is from Customizing Chapter style in scrbook): \documentclass[ 11pt, pagesize=auto, version=last, chapterprefix=true ...
0
votes
1answer
70 views

How to change section spacing article class

I want all my section headings and body text to be spaced as per below rule. I use article class. Space before: 0pt Space after: 50–100% of text size Line spread = 135% of text size How can this ...
1
vote
1answer
41 views

Create a custom \section

I am using the following code for the sections of my document. I would like that the thin line under SECTION would stop at three quarter of \textwidth instead of cover the total width. How can I do? ...
1
vote
1answer
38 views

Can I redefine \chapter? Where do I find the defaults of the standard commands?

I need two different types of first-chapter-pages in one document. One type (Typ I) is for "normal" chapters appearing as chapters. The other type (Typ II) is for the Appendix ("Anhang"), the list of ...
6
votes
1answer
114 views

Using dates as section numbering?

For an otherwise regular LaTeX document, I'd like to use dates to enumerate the sections and have the dates typeset properly in the table of contents and in the section headers. For example: Tue Apr ...
3
votes
1answer
66 views

How to change chapter name to something else without triggering “LaTeX Error: Command \footruleskip already defined” with memoir class?

I tried the first and second solution proposed here Change the word "Chapter" to something else . But once I replaced book by memoir class. It triggered an error. The first solution was ...
0
votes
0answers
24 views

How to make chapter number appear as a written number instead of an Arabic number? [duplicate]

I am using the memoir class. Is there any way to do this?
0
votes
1answer
62 views

How to change the first page (layout + geometry) of each chapter in a report?

I have the following problem: I want to lift the title of each chapter (so there's less vertical free space) and put the number before. Which means the layout from default settings *much free ...
4
votes
1answer
33 views

Beamer: Section used before declaration

I'm creating a presentation using beamer and listings - when I end a section with a {lstlisting} call, the next section title appears in the slide. Is there a way that I can specify when the next ...
1
vote
2answers
45 views

Sectioning - Numbering

I use the following commands \titleformat*{\section}{\Large\sffamily} \titleformat*{\subsection}{\Large\sffamily} In order to split my book into sections. However, it shows the following 1 ...
2
votes
0answers
48 views

Ignore special characters in \newcommand argument to generate section labels?

I am editing a rather large document and have replaced \section, \subsection etc with \newcommand macros that include \section etc but also spacing and other commands. I am trying to get it to ...
4
votes
1answer
47 views

Sections in the margin and subsections on the same line as the section

I'd like to write a document so that \section material shows up in the margin and so that \subsection material shows up on the same line as the \section in the margin (assuming there isn't anything ...
0
votes
1answer
24 views

How to set chapter number as roman in title page but become arabic when stack with section numbering?

I have a problem for my thesis formatting. Can we possibly set chapter number as roman but become continuously arabic when stack with section number like this? (never mind the page numbering, I guess ...
2
votes
2answers
29 views

Grouping Together Sections in TOC

I am reviewing a series of documents and have created a report that looks like this: \chapter{Interesting Things} \input{thing1.tex} \input{thing2.tex} \input{thing3.tex} where the thing*.tex each ...
3
votes
1answer
43 views

How to create sections and section titles but prevent them from showing up in the output?

I'm wondering if it's possible to create section and section titles but prevent them from showing up in the output. Below an example. Although I need the section for the numbering op my tables and ...