{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
0answers
12 views

How can I add the bibliography as a numbered entry in the table of contents? [duplicate]

My table of contents currently looks as follows: 1 Introduction 2 Related Work 3 xyz … … … 8 conclusions References However, I would like "References" to be numbered (9). How can ...
5
votes
1answer
54 views
2
votes
0answers
16 views

\cref does not work for Section in emulateapj.cls

While \cref works quite well for me, it doesn't seem to recognise section labels when used in emulateapj.cls framework. Here's an example: ...
2
votes
2answers
20 views

Misalignment chapter titles with hang option of titlesec package and redefined \cleardoublepage

When I redefine the command \cleardoublepage to include the words "This page has been intentionally left blank", the titles of the chapters are misaligned. \documentclass{book} \usepackage[a4paper, ...
3
votes
1answer
47 views

Remove numbering from `thebibliography` header

So I realize I'm asking for trouble with this question because of its unknown document class, but... I'm using my university's document class for my dissertation (a requirement), and thus it's not a ...
2
votes
1answer
19 views

Unnumbered sections appearing in TOC in REVTeX 4.1

I'm having a problem with REVTeX adding unnumbered sections to my TOC. Here's a small example: \documentclass[]{revtex4-1} \usepackage{lipsum} \begin{document} \tableofcontents \newpage ...
4
votes
1answer
24 views

Issues with unnumbered headers

I am trying to create a subsection header without a number and without this header showing up in the TOC. So using a '*' should do the job as follows: `\section*{My unnumbered header}` However, ...
5
votes
2answers
66 views

Contents page in two different languages

I'm currently writing a report where all of my titles are in French and hence my table of contents is also in French. I however need to also include a contents table in English and I was wondering if ...
5
votes
3answers
114 views

Is it possible make the section names globally title case?

I don't want to change them one by one. I am wondering how to make the section names globally title case? That is "This is a Title Case Section Name". It would be nice if you can also give answers ...
3
votes
2answers
27 views

How to put \ast in bookmark?

I need \section{\texorpdfstring{$V^\ast$}{V\textasciicircum\ast}} but \ast yields a warning.
4
votes
1answer
73 views

How to end an unnumbered subsection?

I cannot find a way to end an unnumbered subsection. I either have an unnumbered subsection \subsection*{} with no end or an environment \begin{subsection} This is some arbitrary content. ...
3
votes
1answer
41 views

Numbers and bullets in table of contents

I would like to combine both section numbering and bullets in the table of contents of a document of article class just to avoid so much long section number (for example 1.2.1.1.1). So, I would like ...
0
votes
0answers
35 views

LyX : Some Parts and Sections Full-Justifying

LyX / LaTex newbie here. I have a document I'm working on and for most part and section headings the text is being outputted as left-aligned (which is what I want). However I have a handful that ...
1
vote
1answer
39 views

Skipping Chapter numbering but getting the Chapter layout

I'd like to set up the structure of my report as follows. Different chapters should have a nice big heading, like the one of the Chapter environment, and should be separated in the table of contents ...
1
vote
0answers
16 views

Latex inserts blank line AND indents new paragraph [duplicate]

I'm very new with LaTeX. My setup is as follows: \documentclass{llncs} \usepackage{makeidx} \usepackage{listings} \usepackage{graphicx} %the above just for the case that it is relevant to the problem ...
3
votes
1answer
33 views

\section*{} leaves space even at the beginning of the page in memoir

In my document in memoir class, there is a chapter with unnumbered sections --- \section*{}. (The effect is the same if the sections are numbered but \setcounter{secnumdepth}{-1} is used.) When a new ...
0
votes
0answers
26 views

How to remove the space between the context and the section?

\documentclass{article} \usepackage{fontspec} \usepackage{ulem} \setmainfont[BoldFont=黑体]{宋体} \makeatletter \renewcommand\subsubsection{\@startsection {subsubsection}{2}{1em}%name, level, indent ...
3
votes
0answers
35 views

How to limit the width of a subheading?

The thesis formatting manual has the following requirement: Subheading width: A long subheading title should be divided into two or more lines. No single line may be wider than 4 inches. ...
4
votes
1answer
47 views

How to have hyperref correctly refer to phantom sections without clearing a double page

When using starred sections in a double page layout, in order to get the table of contents refer to the correct place, it is usually advised to use the method \cleardoublepage \phantomsection ...
3
votes
1answer
26 views

How to align chapter, section, subsection with parindent?

Is there a way to solve that? Thanks a lot!
8
votes
1answer
190 views

How to make this chapter heading style?

As fncychap has no such chapter style, and using the memoir class will cause a lot conflicts with my current settings (book class), how to make this style (perhaps using the titlesec package)? title ...
3
votes
1answer
32 views

Sectioning using \titleformat results in problems with \subsection*

I am trying to write a Preface with subsections, but without sectionnumbers (since the preface is technically not really part of the report). The sections and subsections are constructed using ...
4
votes
2answers
44 views

Remove whitespace above section title with image formatted with leftmargin

I am trying to remove the whitespace above a title that is formatted with leftmargin and that also has an image as part of it. The problem is very similar to this question, but the solution there does ...
0
votes
1answer
24 views

How to change section headings to have Q1 Q2

Can somebody help with changing the headings for my section? Instead of having 1 2 3, I would like to have Q1 Q2 Q3 (and keep the automatic numbering). Thanks
3
votes
1answer
32 views

Latex use other languages in section title

I am writing in english, greek babel and I have custom commands to change between languages. The problem is that I can change to english for example, anywhere in my text except in \chapter{}, ...
2
votes
1answer
41 views

Justifying paragraphs but retaining line endings

I have a document (a lease) which I have painstakingly typed as a text file from a hard-copy and would now like to format with justified paragraphs but retaining the current line endings (to ...
1
vote
1answer
56 views

Three different styles of heading

I'm wanting to adapt the following macro(s) to provide three different options of style heading. At the moment, if offers two, one if the section is normal (numbered) and another for section* ...
1
vote
2answers
65 views

string with underscore in \subsection, like ABC_XYZ [duplicate]

I need in \subsection string with underscore, like ABC_XYZ. \subsection{Text ABC_XYZ} When I try to compile with pdflatex: Missing $ inserted ...ine {1.2}Text ABC_XYZ}{4}{subsection.1.1.2} Extra }, ...
4
votes
2answers
55 views

Heading of paragraph on left side

I want to list something in my document. Each point in the list has a short heading (one word, for example "Usecase"). This word should be on an own column to the left of the text which gets added ...
4
votes
3answers
213 views

How to use concrete fonts?

This MWE: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{polski} \usepackage{beton} \begin{document} \section{Section title} Hello world. \end{document} produces "Hello ...
6
votes
1answer
82 views

Set the font color of a section title formatted with leftmargin

I am trying to set the font color of a section title that is formatted with leftmargin. When I don't use the leftmargin format, the font color changes correctly, but once I add the leftmargin format ...
0
votes
1answer
44 views

Why each section is shown in one page rather than in the same page when I use \onecolumn?

I don't know why each section is shown in one separate page when I use \onecolumn rather that the normal (two columns) format. \onecolumn \section{Goals} some text
7
votes
2answers
105 views

\newcommand for centered \section

I am trying to use the titlesec package to achieve this but I'm not certain as to what the syntax should be... \usepackage{titlesec} \newcommand{\centeredsection}{\titleformat{\section}{\centering}} ...
3
votes
1answer
41 views

How can I create a 'little subtitle' for a section? [duplicate]

Here's my code: \documentclass[]{article} \usepackage{titlesec} \begin{document} \titleformat{\section} {\normalfont\Large\bfseries}{\thesection}{1em}{}[{\titlerule[0.8pt]}] \section*{29th March ...
0
votes
0answers
31 views

Table of content and header

I have table of content in my document and header/footer with section, subsection marks. When I include tocloft package I don't have header/footer anymore, that is not I want. On the other hand, I ...
3
votes
2answers
46 views

Unnumbered sections and section marks

In my document I have numbered and unnumbered sections. Unnumbered sections look like this: \section*{Introduction} I use fancyhdr and add section and subsection marks like this. \pagestyle{fancy} ...
4
votes
2answers
57 views

Latex sections, subsections without ending period

How to remove an ending period in sections, subsections, ... numbering? \documentclass[12pt]{article} \usepackage{fontspec} \usepackage{polyglossia} \setdefaultlanguage{russian} ...
1
vote
1answer
31 views

Insert paragraphs and subparagraphs into letter document

A few weeks ago I aksed for Insert chapters into letter document but now I need to add paragraphs and subparagraphs into letter document. The previous answer says that I need to copy those commands ...
1
vote
1answer
24 views

Soul letterspacing in memoir sections with \setsecheadstyle

I realize I have asked almost the same question earlier. There, the answer involved xparse or titlesec. Titlesec however gets into conflicts with memoir's pagestyles (running header settings, ...
5
votes
2answers
51 views

How to use multiple sets of numbered appendices with bookmarks and the memoir documentclass?

The Goal To have a memoir document with several chapters with the running story, a set of appendices called Appendices, with additional data in the main document, and a second set of appendices ...
0
votes
1answer
34 views

Correct font size of section and subsection

I have the following: \documentclass[noragright,centerchapter,12pt]{thesis} \usepackage[margin=1in]{geometry} \setcounter{tocdepth}{4} \setcounter{secnumdepth}{4} \author{cat} \title{cat} ...
6
votes
1answer
51 views

Making section headers look like chapter headers

I would like to make my section headers look like this with the titlesec package. Is there a good way to do that? EDIT - I am using the scratcl document class.
2
votes
2answers
37 views

LaTeX Underlined section titles with note to right without underline

I would like to have underlined section titles. However, I would like to put a reference to the right, without extending the underline completely. I am using sectsty and ulem to get the underlined ...
5
votes
1answer
26 views

How to create an annex when I have changed the structure of \chapter{}?

How to create an annex when I have changed the structure of \chapter{} ? I've also changed the structure of \chapter*{} with a similar code. Here the full code of the change: ...
1
vote
1answer
43 views

How to add dedication chapter to TOC? [duplicate]

How do I to add a chapter-name to this dedication and to add it to TOC, please? \newenvironment{dedication} {\clearpage % we want a new page \thispagestyle{empty}% no header and footer ...
1
vote
1answer
20 views

Automatic Section Title & Section Title Before Section Number

I'm trying to do 3 things: Repeat a section title automatically for each section (e.g., "Chapter"). Place the section title before the section number (e.g., "Chapter 1" and NOT "1 Chapter"). Make ...
1
vote
1answer
38 views

Style of Section Headings in LNCS

I am using the LNCS-Style, documentsclass llncs and there is no possibilty to use chapters. Actually when adding a section it looks some kind of this: What i want to do is to change just the style ...
4
votes
2answers
39 views

Problems with line-break in Chapter Title using a custom Command for Chapter

If you have to force a line break in a chapter title, this would be possible doing so: \chapter[][A Long title that has to be broken,\\ how sad is this!] But in my document I had to define my own ...
2
votes
1answer
22 views

Index heading style is different

I have document like this (MWE): \documentclass[10pt,twoside,final]{book} \usepackage{xltxtra} \usepackage{fontspec} \usepackage{fancyhdr} \usepackage{titlesec} ...
3
votes
1answer
57 views

titlesec image after

Can someone explain to me why the second of these two doesn't work? The first produces an image before the section name, where the second produces an error claiming there is no \begin{document} ...