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

3
votes
1answer
47 views

In Lyx how do I get chapters to start on odd pages

I'm using Lyx and I want the pdf output to print Contents, new chapters and bib on a odd page. How can I do this? What information do you require from lyx? Class is Report. Document > ...
11
votes
2answers
318 views

How to achieve this chapter style without using the memoir class?

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)? Table ...
0
votes
1answer
49 views

Vertical spacing between sections

I would like to know how I can define the vertical space between: a previous section and the new section title; the new section title and the following text. Now it looks like both space measure ...
3
votes
1answer
33 views

Create a new command that exactly mimics memoir's section* command without the spacing before it?

I am using memoir and currently the \section* command does everything I want, except in some cases I don't want the space before it. \documentclass[12pt]{memoir} \begin{document} \section{No Space, ...
0
votes
0answers
14 views

Automatically applying wrapfig hotfix only when a section heading is the last thing on a page

I have the same problem as the user 'mrf' on Wrapfig and page breaks after section heading (see link for MWE and hotfix). Using wrapfig basically messes up the document flow such that section ...
3
votes
1answer
24 views

error for special characters in \section in a classicthesis

Provided the following tex document using classicthesis, produces an error. How can I use direct input of special characters in \section in classicthesis? I do not want to write e.g. \~{n} in the ...
2
votes
1answer
33 views

Org: Latex export creates lists instead of subsections

When I export the following org file to latex using C-c C-e d, the resulting tex file does not match my expectations in regards to the way the sections are being created. The exported subsections and ...
5
votes
1answer
81 views

Width of \chapter section with titlesec

I use the titlesec package for styling the sectioning commands. But I have a problem with the chapter width or right margin: The width of the text should only reach to the blue line, "Organisation" ...
0
votes
0answers
37 views

Problem with sectionning with my example

I want to number my example environments like [section]. However, example environments are numbered with chapter, not section. What should I do? This is my MWE: \newcounter{example} \makeatletter ...
3
votes
1answer
74 views

LaTeX Error: \begin{document} ended by \end{section}

I am encountering the above error message. This is what I have so far: \documentclass{article} \title{Assignment \#1} \author{Giridhaar Guruparan} \date{March 20, 2014} \begin{document} \maketitle ...
4
votes
1answer
31 views

lstlisting directly after section start removes margin before next section

If I place an lstlisting directly after the start of a (sub)section, the margin before the following (sub)section (title) disappears. Here is a an example document showing the issue: ...
2
votes
1answer
57 views

How to wrap section?

I would like to wrap the section. How can I do it? The following code is my MWE. \documentclass[b5paper,10pt,twoside,parskip=half,numbers=noenddot,bibliography=totoc]{scrbook} ...
2
votes
2answers
30 views

Defining local settings for title dimension

I am writing a paper in LaTeX, and I have to reproduce a template that was given as a .doc file. So I need to define the dimensions of the chapters titles in Times New Roman 12 pt bold, which is not ...
3
votes
1answer
35 views

\chaptertitle from titleps ignored after redefinition of \chapter macro

The following MWE shows that, if the \chapter macro is redefined as in a previous question of mine: Prepend different stuffs to starred and unstarred \chapter commands, the \chaptertitle macro from ...
4
votes
2answers
72 views

Different names of sections

I wish to name my sections as "Exercise x - name" in the text but as "Exercise x" in the ToC and in the \leftmark. Does anyone have an idea for this? I have tried just manipulating my \leftmark by ...
3
votes
1answer
67 views

Formatting of heading 'Glossary" to match chapter and index heading

Earlier I asked a question to match the heading of List of Acronyms and Symbols to that of List of table (instead of chapter heading). That was solved by Nicola via Formatting of heading List of ...
3
votes
1answer
84 views

\subsubsubsection, \paragraph and \subparagraph count not reset when starting a new section, subsection, etc

I am trying to use subsection, subsubsection, subsubsubsection, paragraph and subparagraph on my article, and I using a code that was given below. How to add an extra level of sections with headings ...
2
votes
1answer
47 views

LaTeX Beamer: Frame outside sections - additional problem with outline between sections

I refer you to this answer to a similar question. I want exactly what the author of that post wanted, namely a slide with no section in the navigation bar highlighted for that slide. I find that the ...
1
vote
1answer
50 views

Subsection starting in same line as subsection name [duplicate]

Many articles are structured in the following way: 1. [Title of section 1] 1.1.[title of subsection 1.1].text of subsection 1.1 1.2.[title of subsection 1.2].text of subsection 1.2. 2. [Title os ...
3
votes
1answer
32 views

\ifmmode check in section caption

To assure the correct usage of newcommands which only shall be used in mathmode, I have introduced a mathcommand, which checks mathmode by \ifmmode. Now I want to use such a mathcommand in a section ...
7
votes
3answers
154 views

Numbering Theorems/Definitions together, by section and without section symbol

I am fairly new to LaTeX and I am looking for a particular style: I want to number my theorems/propositions/corollaries/definitions together and by section. For example, Definition 1.1, Theorem 1.2, ...
3
votes
2answers
48 views

Chapter formating, and TOC

I want to modify the chapter title in chapters without number (Namely, table of contents and bibliography). For this porpoise I used the following: \def\@makeschapterhead#1{ ...
2
votes
2answers
42 views

Excluding subsection from ToC and keep the references

I need to remove my subsection from ToC. I got that part right without any problems by using this link. Thanks! But I am unable to use \ref{"label from my subsection"} for the selected subsection I ...
1
vote
0answers
19 views

Place section header outside multicols environment [duplicate]

Is it possible to do something like ... \end{multicols} \section{A very long header that looks ugly if it does not span the columns} \begin{multicols}{2} Lorem ipsum dolor ... \end{multicols} ...
10
votes
2answers
131 views

Prepend 'Appendix' before 'A' using scrbook

I am writing my thesis and need to put 'Appendix' before the numbering (A, B, C, ...) in the table of contents (TOC), the chapter title and in the header. I'd also like for \autoref{} to output ...
3
votes
1answer
36 views

Insert chapters into letter document

I am writing an extensive letter document, and I would like to put a summary and a few chapters inside it. Is it possible to do that? Here my preamble: ...
2
votes
1answer
37 views

In LyX, how to change section headings from Arabic to Roman

I'm relatively new to LyX. I'm writing an article and would need to change the numbering of sections from Arabic to Roman. Would anyone know how to do this? (e.g. by means of ERT?) Also, the ...
1
vote
0answers
53 views

Arabic chapter numbers in ToC, Words in chapter headings in ConTeXt

My first post on tex.sx, so bear with me... The Goal: Arabic chapter numbers in the Table of Contents, and Words in the chapter headings (i.e. Chapter One) Seems simple enough, but I'm having the ...
6
votes
2answers
195 views

How many levels of nested subsections can the article class support?

How many nested subsections can I create using article class in LaTeX? E.g. for first level I use \subsection, for second level I use \subsubsection. My question is how deep can I go?
4
votes
1answer
37 views

Restart section numbering after unnumbered chapter

How can I make one chapter (Conclusion) without number? I have tried this: \documentclass{report} \begin{document} \tableofcontents \chapter{Introduction} \chapter{Chapter 1} ...
2
votes
1answer
39 views

change the style of numbering the theorem, definition in sections

enter code hereCould you help me please to create a paper which appears in the following way: The Newton's Law - section 1 Definition - \begin{definition} \end{definition} 2 Theorem - ...
2
votes
0answers
39 views

To visualise Schematic Intersections of Sections over Parts

Assume you have Parts Exotoxins A-B Non-spore-forming Gr+ Some of exotoxins A-B bacteria belong too to non-spore-forming Gr+. I can visualise this by a venn diagram, however I would like show this ...
2
votes
1answer
79 views

Formatting: Numbering paragraphs of sections

I have some problems in writing an article with inequalities. What I want to say: Now, it appears as Cauchy's Inequality 1. Introduction 2. Theorem Bernoulli's Inequality 3. Introduction 4. ...
4
votes
1answer
58 views

New section-like environment based on enumerate

I would like to define a new environment which basically works very similarly to enumerate. I want to create sort of sections with the following features: the numbering should go in the left margin ...
7
votes
2answers
169 views

Customizing chapter's title

How to make this in LaTex? I'm already making the chapter title using this: \def\@makechapterhead#1{% \vspace*{10\p@}% {\parindent \z@ {\reset@font \usefont{OT1}{phv}{m}{n} \LARGE Chapitre ...
1
vote
0answers
56 views

Representation of subsubsection numbers simpler

I have \documentclass{article} \usepackage[framemethod=tikz]{mdframed} %%%%%%%%%%%%%%%%%%%%%%%% Counter Section %%%%%%%%%%%%%%%%%%%%%% \makeatletter \def\@part[#1]#2{% \ifnum \c@secnumdepth ...
6
votes
1answer
111 views

Have the chapter title stick out of the type area

I'm trying to place my chapter titles to the edge of the page, with a colored background box surrounding them. The surrounding boxes would need to be set outside of the body of the document. So far I ...
2
votes
1answer
34 views

To develop part command in sectioning

I want to change Conzalo's command little (How to reset a section counter) by removing the representation of Part [number] in the document: \usepackage{xpatch} \makeatletter ...
2
votes
2answers
98 views

Parts with titlesec parts: \thepart wrong on last page of part

When using the titlesec package to customize part headers, the counter \thepart is somehow incremented before its value is used in, for example, running headers: \documentclass[oneside]{book} ...
6
votes
3answers
101 views

Protecting references in section headings from capitalization

I am using the ACM SIG alternate style, which automatically converts all section titles to upper case. I would like to include a reference in one of the section titles (Proof of Lemma X). The obvious ...
3
votes
1answer
58 views

Prepend different stuffs to starred and unstarred \chapter commands

For the unnumbered sections units of documents built with a personal class (which inherits from the book class), I'd like to use: not the starred form of the corresponding commands, instead the ...
3
votes
1answer
45 views

Clarification on old Comment

This post has a very nice answer from Martin Scharrer Fancy Chapter Headings The OP responds saying that he added a ~ after chapter and number for a nicer layout. What does he mean?
4
votes
0answers
65 views

Display beamer headline in frames conditional on section and subsection environments

I'm trying to create a beamer presentation (in LyX) where frames conditionally display a headline containing section and subsection navigation depending on (a) whether a frame is in a section ...
4
votes
1answer
189 views

Formatting chapter headings using the titlesec package

I'm trying to do a very simple task but I'm a beginner in LaTeX, so I have some doubts. I'd like to change the chapter style. Instead of Chapter 1 Introduction I'd like to have C H A P T E R 1 ...
0
votes
0answers
37 views

Kile structure view

I'm discovering Kile. The structure view is useful, but it would be very nice to have numbered sections in this view, in order to be able to jump quickly to section 54 for instance. Do you know if it ...
2
votes
1answer
51 views

Section Commands Inside Enumerate Environment

Good Morning, I would like to have subsection commands both before and inside an enumerate environment: \subsection*{Instantaneous Velocity} \begin{enumerate} \item[\textsf{\textbf{Example 1}}] ...
5
votes
2answers
180 views

How to force LaTeX to keep section/subsection headings with one line below it on the bottom of the current page?

By default, LaTeX allows a page break after the first two lines of paragraphs following section/subsection headings, but I would like to keep the section heading with even one line below it at the ...
6
votes
1answer
81 views

Changing the numeration of sections

believe it or not, I need to change the way the command \section enumerates the sections: I'd like my second section to be section number 4. (I don't want any section number 2 or three in my article). ...
3
votes
1answer
67 views

Overfull hbox in a custom section title

I use custom section headings, which for long titles occasionally create an overfull \hbox. Explicit hyphenation does not help. Per this answer I insert \\ to break the section title, but then the ...
3
votes
1answer
76 views

\subsubsubsection count not reset when starting a new section, subsection, etc

I am trying to use subsubsubsection on my report, and I using a code that was given on this website. On below my MWE : \documentclass[a4paper,11pt,french]{report} \usepackage[francais]{babel} ...