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

6
votes
1answer
57 views

Appendixify: Move selected slides to appendix in Beamer

When working with Beamer I often have slides that I initially write in the body of the presentation, then decide they should be consigned to an appendix. This is also useful when reapplying slides ...
1
vote
1answer
17 views

How to hide partial portion of subsection heading in table of contents [duplicate]

Let us consider the following scenario. If I write like the following, it will appear in table of contents as "Hai Hello". \subsection{Hai Hello} But I want to hide "Hello" in table of ...
2
votes
1answer
14 views

How to remove section both from header and outline in beamer?

In the beamer presentation I am using \section*{section name} to remove the section from the outline. How can I also remove the section from the header (I am using Singapore theme)? I tried the ...
6
votes
2answers
139 views

Section numbers colored

I want to color the section and subsection numbers in my document. I tried the solution here http://tex.stackexchange.com/a/193186/80972 but it doesn't work for me. Here's an example using that ...
5
votes
2answers
1k views

Adding text to the section numbering

I wish to add some text prior to the number given to a subsection, e.g.: Task 1.1 Blablabla ... Task 1.2 Blablabla How?
7
votes
1answer
118 views

Chapter and section number in margin and align chapter prefix with text in scrbook

I try to customize my chapter headings, without using additional packages like titlesec, as I'd like to avoid incompatibilities with all the other stuff around. I almost have what I want: ...
2
votes
2answers
90 views

What is the proper way to change the section title font in LaTeX?

Suppose I wanted to use a different font for a title then the body text in LaTeX (pdflatex). (For example, if I wanted to use a slightly fancier font for titles, or a sans-serif one.) How would I do ...
0
votes
1answer
81 views

Spacing between section, subsection, subsub… etc

I'm in the process of writing my bachelor thesis. The problem is: standards. Question: How to make the spacing between text and titles (chapters, sections, subsections etc.) but still hold the ...
5
votes
2answers
743 views

Replace (change) “Chapter 1” to “Chapter ONE”

I am writing a lab report, and select report class provided by LyX. I use LyX 2.0.3 and MiKTeX 2.9. My question is, how to change the chapter number to display as text? eg: CHAPTER ONE not CHAPTER ...
3
votes
1answer
40 views

Hyperlinks from chapter and section headings back to the table of contents

What I'd finally like to have are clickable backlinks from the headings to the table of contents. The goal is to click on a heading and land on that exact heading in the toc. As far as my search ...
5
votes
1answer
116 views

How to make headers uppercase without breaking references in latex?

I am trying to make section headers uppercase. I tried different packages (titlesec and sectsty) but always get broken references. \documentclass[english]{article} \usepackage[T1]{fontenc} ...
2
votes
1answer
30 views

Include paragraph number in enumerate numbering

Similar to this question, Include section number in list number, I would like to prepend the paragraph number to the list item labels in a enumerate environment, e.g. Paragraph 1. Some text 1.1. ...
3
votes
1answer
39 views

Redefining commands in Latex (\section in particular)

A few days ago I asked a question about how to redefine the \section command to be able to write content just after the head of the section with no line breaking: Redefining \section command (I ...
1
vote
2answers
96 views

Redefining \section command

I'm writing a draft of my notes with Latex. They are basically definitions related to a particular concept from different sources. Therefore I have used the command \section to highlight the concept ...
3
votes
2answers
95 views

Unnumbered part with “Part” header

I am writing a thesis, whose outline is a bit treelike, so I would like to have a trunk part (that contains several chapters) and several branches (also containing some chapters). I changed the name ...
11
votes
4answers
12k views

How do I force \section's to start on a new page if they don't fit on current page?

So I am writing a programming book, and I use \section for each topic. For example, I'd write, \section{Another way to double-space a file} \begin{lstlisting} awk 'BEGIN { ORS="\n\n" }; 1' ...
4
votes
1answer
21 views

Tweaking of Section style in amsbook class

I wanted to have less spacing before and after the section title in the amsbook class. Therefore, I changed the definition of the macro \@startsection as indicated in the documentation. Unfortunately, ...
1
vote
1answer
63 views

chapter and section headings at the center without packages

I would like to have my chapter and section headings at the center of page.Currently they are at left.Please give me some suggestion without using any packages please.
2
votes
1answer
25 views

Glossaries header has more above space than other section headings

I'm using the glossaries package to manage the acronyms in my thesis. Everything works fine except that there is some extra space between the glossaries heading and other section headings. I ...
4
votes
2answers
5k views

Per-subsection figure numbering

I want to have per-subsection figure numbering in the appendix of the following MWE: it should read "Figure A.1" instead of "Figure 2". \documentclass{article} \usepackage{amsmath} ...
2
votes
1answer
28 views

\hrule underlining of subsection titles

I want an underlining of my subsection titles - a horizontal line that extends the whole page width like a \hrule. I tried the answer from this question which is to add these lines: ...
2
votes
2answers
58 views

“Invisible label” to add to tree

Is there a way to create a subsection, without caption but add a reference to it in the WinEdt Tree? I am talking about WinEdt 9.
1
vote
1answer
17 views

Page-distance between labels

I'd like to instrument my sections with the length of the section (in pages, lines, ect). Section Title --> Section Title (12 pages) Instead of statically generating this information and adding it; ...
13
votes
2answers
9k views

Numbering \subsubsection in report class

I used the \subsubsection command hoping that LaTeX would add a subsection inside a section \subsubsection{sub sub section} But it just made the text within the {} bold. It did not give it a ...
1
vote
2answers
37 views

put part title instead of chapter's in headings

i would like to change my headings, instead of showing each time the current chapter title, i want to see the current Part title without "Part:" Here is the MWE: ...
0
votes
1answer
48 views

Redefining \chapter*, \section* and \subsection*

My problem is this one: I'm creating a LaTeX template for reports, my goal is to make a .tex file that is the simplest possible. I use a .cls file, where I'd like to redefine \chapter* (and so on), ...
2
votes
2answers
44 views

numbering error in the sections heading

The numbering in different sections is showing like 0.1, 0.2 instead of 1, 2 .... What should I do to correct this, my code is as : \documentclass[12 pt]{report} \usepackage[left= 12 mm,top=1 ...
4
votes
3answers
274 views

Sections are included in TOC, but not in the body text

I need sections included in the TOC, but not in the body text for a PDF output; so when I click the section at TOC, it will jump to the related page [where section header/title is not displayed]. How ...
4
votes
0answers
55 views

\includestandalone cannot compile \section or \subsection commands

Main.tex \documentclass{scrartcl} \usepackage{standalone} \begin{document} \section{A} \includestandalone{Subfile} \end{document} Subfile.tex ...
1
vote
2answers
33 views

How to make running heads in book class show Part and Chapter, rather than Chapter and Section

I am preparing a book, which is to be divided into Parts, Chapters, and Sections. At the moment, my running headers give the Chapter title (on recto pages), and Section title (on verso). I would like ...
2
votes
1answer
34 views

How to make \textsc look good in a section title in ACM documents?

Q: How can I suitably use \textsc in a section title in ACM documents? I'm wanting to use \textsc in a section title in an ACM document, but it looks poor. Here's a "Lorem ipsum" version: If I ...
1
vote
1answer
26 views

Lipics has no chapter numbers

I'm trying to modify the lipicsmaster document class in order to make the chapter number available: as you could see in lipics-sample-frontmatter.tex, the Preface chapter has no number. How could I ...
1
vote
1answer
15 views

Customizing chapter title code to act slightly differently for table of contents?

I'm using this code to customize my chapter titles: \chapterstyle{default} \renewcommand*{\chapterheadstart}{% \par \needspace{10\onelineskip} \vspace{\beforechapskip} ...
50
votes
2answers
8k views

Org-mode export to LaTeX: temptation or nuisance?

We are talking about Emacs and Org-mode: There are several advantages of drafting papers with Org-mode and to have them transferred later to LaTeX, e.g.: I'd like to avoid »programming while ...
5
votes
2answers
95 views

Small symbol next to section headers

I am writing a school report which has to be evaluated by two different teachers. I need to mark which sections each teacher should read. I guess I can make a small symbol next to the header to mark ...
0
votes
2answers
33 views

Sectionmark escaping and numbering problem

I have a document, where I wanted to use \sectionmark to make the heading shorter, but keep the long section title in TOC. Unfortunately, doing that is wrong (the long title is output for header) if ...
3
votes
1answer
91 views

Adding a circle to a section title

I want a circle around a roman numeral inside a section title. A command \circled is made from: \documentclass[11pt,a4paper]{article} \usepackage{tikz} ... %Circle around characters ...
0
votes
0answers
11 views

Small caps with \textsc in subsections [duplicate]

The code \subsection{\textsc{Should be in small caps} $\cdot$ Normal tekst} \textsc{This text is in small caps} gives the output The \textsc command works fine in normal text but not in a ...
2
votes
0answers
96 views

First chaptertitles position & style problem

This is how my document is looking. For the table of contents and introduction, I wanted to use a lighter block and no number, but there seems to be something wrong with the positioning of the ...
0
votes
0answers
27 views

Problem with images and different sections

I am having problems with images and sections. Here is an example. My fig 4 is from the section A, and i think that it doesn't fit in the section A because of the end of the page and LaTeX put it in ...
3
votes
2answers
51 views

New \settitles command

I'm new in LaTeX and i'm currently trying to modify a .sty in order to have my own presentation style (I often need to make new presentations). What I'm trying to do is to create a \settitles command ...
1
vote
1answer
20 views

RevTex4-1 figure reference wrong number? [duplicate]

I have included a graphic using \includegraphics into a \begin{figure} \end{figure} in revtex4-1. The figure appears in section II (i.e. 2) but the caption of the figure says Fig.1 (this is not a ...
1
vote
1answer
38 views

Make subsection text appear left aligned within the defined left margin?

How can I make subsection text appear left aligned within the defined left margin, with its "own" margin of 0.75in (instead of 3.0in)? I believe the package for the task is titlesec but I'm open to ...
0
votes
0answers
18 views

landscape table in horizontally oriented page

I'd like to insert a table in landscape form but I'd like page's orientation to remain horizontal. In the page, there would be only the section's title and the table. I've got them but in separate ...
2
votes
2answers
51 views

Writing additional \section commands

My company has a Word document with lots of styles based on the basic headings. I need to create LaTeX equivalents and am struggling with how to do so because I need to do more than just redefine ...
1
vote
1answer
60 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
32 views

Section title ruler on right side center-aligned

I want do exactly this: http://www.latex-community.org/forum/viewtopic.php?f=44&p=42626 But as a general command for all subsection titles. I have the feeling that I am going to use the ...
0
votes
0answers
12 views

Sections in Nomenclature using Lyx

I am finalizing my thesis using LyX and I want to make two sections in Nomenclature (One with abbreviations and another with symbols). There a tutorial in lyx wiki about sectioning Nomenclature, but ...
2
votes
1answer
83 views

Glossary-like list of subsection headings

I have a document, that has same subsection headings on multiple pages. I would like to create something like a glossary, that prints the list of headings and references to the pages where the ...
0
votes
1answer
46 views

Subsection and section numbers

I have question because I can't find anywhere answer. Is it possible in latex to number sections like this: 14 First (here I now `\addtocounter{section}{21}`) But how can i do it with ...