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

0
votes
0answers
28 views

Adding a postscript (not referring to a file type!) section at the end of a document

I'm trying to add a section at the end of a document, and indicate the late edit by calling the section "Postscript." Is there a style or package for this that does this nicely? Or should I just do it ...
0
votes
1answer
58 views

Section and chapter problem [closed]

I have a problem about section/chapter. I'm writing a book and the final chapter is the exercises solution. To become better, I used \chapter*{Solutions}in this one and add it to the summary using ...
9
votes
3answers
146 views

Making the “Part 1” disappear in \part format

I am making a bank of exercises for a course. To do this, I use the exam class, which uses the same sectioning as the article class. To do this, I have a separate .tex files with the questions, ...
1
vote
1answer
55 views

KOMA-script: enddot with appendix

Using the \appendix command somwhere in a KOMA-script document (in my case scrreprt) should change the behaviour of the enddot in a sectioning command: The chapters should only have an enddot if the ...
2
votes
1answer
39 views

Horizontal margin over each section?

How can I draw a horizontal margin over each section? This is what I want to achieve (horizontal line respecting margins) Cheers
4
votes
3answers
127 views

Control line spacing of section headings

I use macro and titlesec package to create custom \section heading. \documentclass[final]{book} \usepackage{lipsum} \usepackage{titlesec} \titlespacing*{\section}{0pt}{1em}{0.3em} \def ...
1
vote
0answers
19 views

No section number and title be printed in PDF output in LaTex [duplicate]

I am using documentclass{book} to write a thesis. All my tables and figures go into the appendix, which consists of two chapters: one is Tables, another is Figures. And there are several sections in ...
7
votes
2answers
150 views

Where can I find definition of starred version of \chapter command to redefine it

General question I need to redefine how starred version of \chapter command (that is \chapter*) works in book class. I found definition of not-starred version of \chapter command in book class: ...
3
votes
1answer
70 views

How to not display chapter number in section number (titlesec)

I'm using titlesec to manipulate title and section and other. Here is what I'm using: \titleformat{\chapter} [frame] {\normalfont} {\filright \footnotesize \enspace LP \thechapter ...
0
votes
1answer
60 views

how to include photo and format section headings

I would like to include an image on the top right of the document (above the horizontal line). Also, I would like to format the section headings (which appear on the left margin of the document) to ...
2
votes
1answer
44 views

Error With Subsection

I found an error in this document: \documentclass[a4paper , 12pt]{article} \usepackage{amsmath} \usepackage{hyphenat} %\usepackage{indentfirst} %\usepackage{multicol} %\usepackage{blindtext} ...
2
votes
1answer
143 views

Customise to a more fancier chapter opening

In the previous question, I tried to ask for one style per chapter. This time I would like to ask for customise the chapter opening. However, my case is a bit complicated, let us see the MWE first. ...
10
votes
2answers
112 views

Automate the description of the paper

Most or all papers have a final paragraph in the introduction that describes the sections that are present. I'd like to generate it automatically, I guess this should be possible because it is mostly ...
1
vote
2answers
117 views

Hanging indents for \section headings

Sometimes, I do have long section headings that take more than one line. I would like to make second and each subsequent line of \section heading indented (so called 'hanging indent'). I know I can ...
4
votes
3answers
170 views

Chapters with long descriptive titles

I have document which require me that chapter headings consist of two parts: (1) Chapter number (Chapter 1, Chapter One etc.) or any other text with similar function and (2) descriptive title below ...
1
vote
0answers
67 views

Chemnum sublabels in section-titles not working properly [closed]

Problem I'm encountering the problem, that sublabeling \cmpd+{cmpd:main.sub} does not work properly in section-titles, since the sublables are missing in section-titles and ToC. Its also not ...
2
votes
1answer
220 views

Highlight current section in beamer

I'd like to highlight the current section in my table of contents on all slides which are part of the section. At the moment the section is only highlighted on the slides without subsections. ...
2
votes
2answers
61 views

Removing space after section heading after using baselineskip

Basically after setting a large \baselineskip there is now a huge space under my section heading: source: \documentclass[14pt,extrafontsizes]{memoir} \usepackage[margin=10pt,paperwidth=496pt, ...
5
votes
2answers
93 views

partially non capital section title

I try to do a partially small capital title because of a Name. How would I do that? A mwe is given below: \documentclass{JAC2003} \begin{document} \section{BIGsmallBIG} \end{document} leads ...
6
votes
2answers
90 views

How to generate a “<section>-continued” heading after page-break which works with longtable?

I have read the question and answers about the "-continued" heading. The code given in the answers doesn't help me. Thats why I am posting a follow-up-question here. I want to re-display the ...
0
votes
1answer
62 views

Question about headings

I'm currently learning LaTeX and want to know how to make headings like in this document: http://www.math.northwestern.edu/~kra/papers/primes.pdf Like 1. Introduction 2. etc etc I'm thinking that ...
1
vote
1answer
65 views

breaking a section between two pages

I have a document with below Section command, if the size of items inside the section increase to more than a page it moves the whole section to next page, but I want to break the section between two ...
4
votes
1answer
79 views

Description of a chapter in a page

I would like to decorate my headlines (section, subsection, etc.) by adding foreach a chapter a description area. This picture is a screenshot document where the headline has the formating, layout ...
1
vote
1answer
69 views

KOMA-script modify part* page

My document has parts and *parts. I redefined the \part to print only a decorated number, that's working fine. Now I need \part* to print a decoration using the same style as \part. \part*{} ships out ...
1
vote
1answer
50 views

“Title page” for section

I want to modify the section headers. Every time I create a new section, I want a simple card (something similar to a title page: something like the first answer on this question Creating a titlepage) ...
5
votes
1answer
54 views

Color only subsection header but NOT its toc entry

I'm having hard times trying to color some lines of my document. I want to color just the title of a subsection, but I don't want that the corresponding title in TOC is colored too. What I have now ...
4
votes
2answers
74 views

Question on spacing in the book document class

I have 2 questions regrading the spacing is concerned. 1. How to reduce the space between the heading of the paragraph in the paragraph command and the content? Usually, the space provided is far ...
3
votes
2answers
38 views

Wrong section Number

I'm having troubles with sections number...Each section continues the numeration of the precedent one, although a new chapter has started. here is a MWE \documentclass[12pt,a4paper]{report} ...
2
votes
1answer
42 views

Indenting text and still allowing sections, pagebreaks and floats

I have a document where there are some sections with and some without subsections. When there are subsections, I want them (and all their content) to be indented. I have found several approaches to ...
8
votes
1answer
287 views

Custom chapter style with Tikz and the report class

I'm trying to use the same procedure than Customizing chapter style with tikz, for the report class and twoside printing. However for even pages i'm having an unespected behavior (see Fig 2). While ...
0
votes
1answer
37 views

label separator between the section number and title to 0pt

I'm writing my thesis using mitthesis class. However, the numbering of the sections and subsections is not what I want. Right now my document has this numbering, but the 0 in X.0.X and X.0.Y should ...
4
votes
1answer
99 views

Apply Chapter heading style to table of contents/bibliography heading

I am using the following fancy styles for chapter headings \documentclass[12pt]{report} \usepackage{graphicx} \usepackage{natbib} \usepackage[hidelinks]{hyperref} \usepackage[% ...
3
votes
2answers
154 views

Unbold section and subsection heading [duplicate]

I am using this format for my section and subsection headings (it is centered and numbers have dots): \documentclass[12pt]{article} \usepackage[center]{titlesec} \titlelabel{\thetitle.\quad} %dots ...
1
vote
1answer
76 views

\autoref showing subsection and subsubsection

I'm using the \autoref command from the hyperref package. I have the following code: \subsection{Foo} \label{ssec:bar} This is the overview. \subsubsection{Bar} \label{sssec:bar} This is the small ...
2
votes
2answers
69 views

How to add dot after \section number in headline and ToC, without adding dot to \ref command

I need \section (\subsection, \subsubsection ...) titles printed with dot after numbering. Example: My Title For this purpose i use: \renewcommand\thesection{\normalfont \arabic{section}.} ...
0
votes
1answer
42 views

Sectionnumber right in beamer

I'm fortunately allowed to use LaTeX instead of PowerPoint for a teaching lesson but I have to recreate the original design of the PowerPoint slides. Now I need to bring the section numbers on ...
3
votes
0answers
32 views

Cross references to “false” sections (see “subsections as an enumerate”)

This question on Subsections as an enumerate was exactly what I wanted to ask yesterday, and StevenB.Segletes' answer almost does what I want, but it doesn't seem to quite work. I can't really post ...
6
votes
1answer
99 views

Subsections as an enumerate

I want to have subsections named all the same with a number behind it. The straight forward approach I came up with is this: \section{User Stories} \subsection*{Userstory 1} This is story 1 ...
3
votes
1answer
112 views

“Literal” and numerical numbering of chapters

I ask another question related to this one "Literal" numbering of chapters but not in contents which was not "precise"... This question is the exact one, with an example... This example ...
0
votes
1answer
36 views

Aligning defined section title correctly

This is a MWE of a section title I'm trying to define in a large project. \documentclass[a2,portrait]{a0poster} \usepackage{tikz} % Blue section, large, text on next line. ...
4
votes
1answer
39 views

Is it possible to hide chapter numbering for non-chapter headers and TOC listings

I'm writing an edited collection of essays using a Scrivener-MMD-latex workflow (using the memoir class) and would like to hide chapter numbering for all items that aren't actually chapters. Here's a ...
4
votes
1answer
88 views

How to adjust tableofcontents?

How Can I adjust \tableofcontents in this way ? \documentclass[12pt,a4paper,x11names]{article} \usepackage[spanish]{babel} \usepackage{lipsum} \usepackage{blindtext} \begin{document} ...
2
votes
2answers
100 views

Create new section commands (with correct TOC entries) in KOMA-Script

What is needed to make a new sectioning command which outputs a correct entry in the TOC? For example, a command \foo which outputs something similar to \subsection in the TOC (and in the main ...
3
votes
1answer
37 views

Placing \section inside makebox

I would like to have an image on the same line as my section header. This is the code \makebox[\textwidth][s]{% \section{Header} \hfill ...
2
votes
1answer
104 views

latex end section or sebsection

how can I specify the end of subsection. In my example: I have a subsection with only 3 rows, but I see the next paragraph also as continuance of the subsection: \subsection{Kontrolle} Zur ...
6
votes
2answers
385 views

Numbering appendices by letter instead of number

I'm trying to get a hold of numbering the letter of the Appendices. This is how it looks now: \documentclass[11pt, a4paper, twoside]{article} % PACKAGES \usepackage{geometry} \usepackage{lipsum} ...
1
vote
2answers
115 views

How to align section heading left with revtex4-1

I am using revtex4-1 and section headings are aligned in the center. How do I modify this?
0
votes
0answers
44 views

((Sub)sub)section as page number: Section instead of subsection shown

This is a follow-up question to How to define a page number showing the current ((sub)sub)section? where Werner helped me to display the ((sub)sub)section number in the page foot. I discovered a ...
4
votes
1answer
81 views

How to make a section without margin with the command “\exersize” like this:

‎ \documentclass[12pt‎ , ‎a4paper]{report}‎ \usepackage[framemethod=TikZ]{mdframed} \usepackage{xcolor}‎ \usepackage{titlesec}‎‎ ...
22
votes
2answers
473 views

Gradient fill around section headings

Trying to make a document that has gradient fill around section titles, that are not effected by margins, as such: I managed to get the gradient effect but I can't figure out how to get it to start ...