{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
1answer
23 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? ...
3
votes
1answer
50 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} ...
3
votes
2answers
52 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
0
votes
1answer
52 views

Can I create a standalone section after having chapters?

I have a document which contains 4 'chapters'. In the end, I am trying to add a Bibliography section but it is getting filed under the last chapter. I want it as a standalone section. ...
6
votes
1answer
202 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 ...
5
votes
1answer
59 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} ...
3
votes
2answers
37 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
34 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
0answers
34 views

Section, figure, table numbers are in smaller font size

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 ...
1
vote
1answer
116 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 ...
1
vote
1answer
20 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 ...
10
votes
2answers
7k views

Double-spaced paragraphs, single-spaced headers

I am using the "setspace" package to format my document with double spacing (requirement for an assignment). One of my section headers takes up two lines, though, and these section headers look better ...
2
votes
0answers
42 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 ...
2
votes
3answers
104 views

figure is in subsection but it goes to subsection

I need your help in solving the followings: \documentclass[a4paper, 10pt, conference]{ieeeconf} ... \subsubsection{C} \begin{figure}[h] \begin{minipage}[t]{0.3\linewidth} \centering ...
4
votes
0answers
126 views

Why is my Chapter heading so strange? [closed]

What could possibly cause this problem? Normal is: Mine is: The white space after "introduction" is also longer for mine. What could possibly cause this problem? I load ...
2
votes
1answer
30 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 ...
3
votes
1answer
16 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
22 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
11 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
24 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
1answer
26 views

how to print the \sectionautorefname with autoref, but without hyper-linking the \sectionautorefname?

EDIT: @Faekynn and @Mico you are right that the starred version disable the hyperlinkification, but is it possible to disable it only for the \sectionautorefname, but still keep it for the section ...
3
votes
2answers
3k views

How do I include a \section*{} in a \tableofcontents? [duplicate]

Possible Duplicate: Centering \section* and adding them to the ToC I've got something like \documentclass{article} \begin{document} \tableofcontents \section*{About this Article} ...
-1
votes
0answers
39 views

Remove leading number before Section text [duplicate]

How can I remove the numbering that appears before a Section's text? My MWE : \documentclass[]{article} \begin{document} \section{Problem 0} \end{document} Or is there another document level I ...
0
votes
1answer
62 views

How to reduce the space consumed during the beginning of a chapter?

When I begin a document with some chapter heading a lot of space is consumed at the top how do I reduce this?
1
vote
1answer
86 views

change font and font sizes for section and paragraph

I am migrating my organisation's documentation system to LaTeX. Parameters defined: Heading Font: Futura Bold Heading Colour: RGB{x,y,z} Font Size: 18pt, 15pt Body Font: Futura Book Font Size: 12pt ...
2
votes
2answers
71 views

Enumerated headings using apa6?

The apa6 document class doesn't use enumerated headings, but I want my headings to look like: Something 1.1 Something 1.2 Something Something 2.1 Something etc... How do I enable this?
3
votes
2answers
44 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
1answer
52 views

XeTeX \section{} doesn't show Thai fonts

I'm learning XeTeX mainly because it enables typesetting in my native language (Thai). With normal pdfLaTeX, arranging the document into sections was easy and intuitive, and I hope to be able to do ...
1
vote
0answers
15 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 ...
0
votes
1answer
53 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 ...
4
votes
1answer
29 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
30 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
161 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 ...
1
vote
1answer
67 views

Align custom chapter heading to the left

I am using a custom calss called ufpethesis, based on the book class, to format my masters thesis. My aim is to insert the chapter numbering to the left of the chapter title, have it aligned to the ...
1
vote
1answer
34 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? ...
2
votes
2answers
1k views

Remove section number from Table of Contents

How can I remove section numbers from the Table of Contents? My document class is article: \documentclass[a4paper]{article} \begin {document} \tableofcontents \section{one} test text number one ...
0
votes
1answer
50 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 ...
1
vote
1answer
34 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
96 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 ...
31
votes
2answers
33k views

Start new chapter on same page

I am using report document class. When I create a new chapter, it starts it on a new blank page in which only the chapter name appears. I want to be able to start new chapters on the same page as the ...
1
vote
1answer
108 views

Beamer: transparency of a picture on section frame depending of section number

I'm a new Beamer user. The following code is there just to explain what I intent to do: Put on the "sectionpage" frames a picture with transparency, the transparency level being function of the ...
7
votes
5answers
5k views

Giving headlines a background color spanning across the entire typearea

I posted this at stackoverflow and got redirected here. This does indeed look like a better place to ask. I would like to decorate my headlines (section, subsection, etc.) by adding a background ...
4
votes
1answer
97 views

Alternate section title in header, also when new section starts at top of page

I'm using fancyhdr to display the current section title in the header of even-numbered pages of a book. I achieve this with the following code: \setlength{\headheight}{14pt} \pagestyle{fancy} ...
3
votes
1answer
24 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 ...
1
vote
1answer
99 views

Changing the design of the first page of a new chapter

I have a chapter located in the back-matter part of a book-class document which I want to change the style for. More precisely, I do not want to have the same big amount of space empty before the ...
1
vote
1answer
41 views

Usage of include (graphics, section's and only)

I'm working on my master thesis in LaTex (using TexMaker). I'm a bit new but getting the hang of it. At the moment i'm making my sections in different tex documents. For example, i have an abstract, ...
4
votes
1answer
26 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
1answer
88 views

Section title oppsite to the logo

Could you please advise me how I could change that code from this link to place the section title opposite to the logo? I am new in LaTeX and I would be very grateful for advice. For example: 1st ...
1
vote
2answers
40 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 ...