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

2
votes
1answer
39 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 ...
2
votes
1answer
71 views

Adding names of sections in List of Figures

I want to have the names of sections and subsections included in my List of Figures. So for instance I want to see something like this in ToC: 1. Figures 1 But I do not ...
2
votes
1answer
90 views

Definitions and theorems in beamer

I have several questions regarding the use of definitions and theorems in the beamer package. Here is an example: \documentclass[mathserif]{beamer} \usepackage{graphicx} \usepackage{tcolorbox} ...
1
vote
1answer
77 views

Enumerate paragraphs and subparagraphs like sections but with letters

I'm using pandoc and in my template.tex exists this code to make the paragraphs and subparagraphs to behave like sections. % Redefines (sub)paragraphs to behave more like sections ...
1
vote
1answer
46 views

Chapter formatting in classicthesis broken [closed]

I've been using the classicthesis package for a project. It provides parts, chapters and sections for structuring the document, and a chapter beginning is supposed to be formatted like this: In the ...
2
votes
1answer
36 views

A manually created suffix for section titles compiled using tex4ht

I am building a document that looks one way with xelatex and another plain text file appearance using tex4ht. I produce an html document that then produces a great document that can be copied into ...
6
votes
3answers
138 views

Section title with dash which appears conditionally on whether there is a section title

I would like to add a dash after the section label but before the section title. But I would like to do this conditionally on if there is a section title in the first place. So \section{Merry ...
2
votes
0answers
59 views

Reset/clear Part with \backmatter in a customized book.cls? [closed]

I'm producing a fairly large volume using a customized version of book.cls with four Parts containing several chapters in \mainmatter, followed by a \backmatter that contains only the Bibliography for ...
2
votes
1answer
127 views

Book (Novel) Layout

I would be grateful for any advice please. I would like to format section headings with the Mathilde font. However, I receive an the error: File ended while scanning use of \scr@ttl@@extract. Usage ...
5
votes
2answers
56 views

Centering the section headings, but having the multines horizontally aligned wrt to the first line of the title

EDIT: I tried the solutions by @Bernard and @egreg. both the solutions work for multiline headings, that is to say that, the title is centered and all the lines of the titles are at the same distance ...
2
votes
1answer
110 views

Remove indentation of second line of section headers

The display of all my headings in sections, subsections, etc is indented for all lines, like so: 1.1 A very long heading that goes over multiple lines. This starts to look a bit silly ...
1
vote
1answer
49 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, ...
0
votes
0answers
19 views

Vertically align the subsequent lines of centered long sub/sub/section title

I use the article class and define my section format as \def\@seccntformat#1{\rmfamily\bfseries\upshape\llap{\csname the#1\endcsname\hspace{0.16em}<8)>\hspace{0.16em}}\normalfont} ...
2
votes
1answer
28 views

Bigger headline numbers without changing the height of the headline

I have made the section numbers in the headlines appear in the margin with this code \newlength\mylen \setlength\mylen{\dimexpr\oddsidemargin+7mm+\hoffset\relax} \titleformat{\section} ...
0
votes
1answer
91 views

Documentclass “article”, numbering still begins at 0

I am writing an article using LaTeX. As I never used LaTeX before i downloaded a template that i could reuse. First it used \documentclass{Thesis} which required the article to use chapters. However ...
4
votes
2answers
58 views

Zeroing theorem number after each section

I would like to call \setcounter{theorem}{0} after each \section no matter if \section{something} or \section*{something} is called. How can I do that?
3
votes
2answers
63 views

Is it possible to reference the chapter name by the section/subsection label?

I would like to know if there's a functionality that would give me the chapter's name by referencing a label that I know is defined somewhere in this chapter? For example: \chapter{What's it's ...
0
votes
0answers
25 views

Subsection shifts \rule

i use some commands to add a line under every section. Therefore my commands look like this: This one adds a line \newcommand{\sectionline}{\vspace{-24pt}\textcolor{brightgreen}{\rule{16cm}{1pt}}} ...
2
votes
1answer
46 views

How to determine if documents has parts

I'm writing a custom class based on book.cls for our office's publication series, but I've hit a problem in how to set up a conditional. Some of the publications are part->chapter->section while ...
2
votes
1answer
56 views

How to Keep Section Numbering but Not Include in Table of Contents [duplicate]

I would like have sections in the appendix numbered but not appearing in the table of contents. If I use the \section command then the section is numbered and appears in the table of contents. If I ...
0
votes
0answers
28 views

Change the color of a PART text of name in \section (\subsection or etc.) [duplicate]

In the example, I used \subsection[sub-section {\color{green}1.1}]{sub-section {\color{green}1.1}} to change the color of a part of text 1.1 to green, which didn't work. I used \color for ...
3
votes
2answers
100 views

titlesec is not properly working with koma script

I am new to latex and I am using titlesec for formatting the chapter headings with titlesec. \usepackage{titlesec} \titleformat{\chapter}[display] {\bfseries\huge} ...
0
votes
0answers
14 views

Fitting long headings inside page [duplicate]

The problem is that when I use \pagestyle{headings} for some of my sections, the heading is too long for the size of the page, so it doesn't fit inside it. This is what I currently have: Is ...
1
vote
1answer
57 views

Showing the overview of section in beamer

I am making a presentation in beamer, and I want to display overview of the whole document at the beginning and overview of upcoming section. But I have too many sections and subsections, so the ...
2
votes
1answer
31 views

Numbering align-environments

I'm writing in the article class. The align-environments are being numbered continuously, but I want them to be numbered like "section.number in this section". How can I do that? :)
1
vote
0answers
61 views

How to display all the subsections' titles in navigation bar in beamer?

I want to modify miniframes theme in order to not display the bullets, but to show in the lower bar the titles of all the subsections of the current section. I did it modifying miniframe theme file: I ...
0
votes
1answer
36 views

Table of Contents Inside Section

I would like to add a table of contents inside a section environment to make a TOC made up of subsections, subsubsections and etc. One slight difficutly is that I am not using an article class ...
0
votes
0answers
40 views

mimic an article appearance

I hope to have the appearance of the article of http://math.stanford.edu/~akshay/research/sp.pdf This is an article. I can make the spacing of title looks like the paper, but have difficulty finding ...
0
votes
0answers
14 views

glossaries: glspl scrambles page header [duplicate]

i am working on my master's thesis and encountered a problem I cannot solve myself. I use the glossaries package to be able to use only one package for glossary and acronyms. But when I use acronyms ...
2
votes
0answers
62 views

Make two versions of one document in LaTex?

so I wanna have two versions of a document in LaTex where one versions has additional information for example: section[important]{Formula} importantFormulaXYZ subsection[notimportant]{additional ...
2
votes
1answer
55 views

Section line is indented too

I'm trying to add indentation to my documentation. Every time I wanted to indent a paragraph I put a \hspace*{1cm} command before it. I want to write a command into the preamble. I found ...
1
vote
2answers
28 views

New subsubsection without any space after the title

This is part of my code: \setcounter{secnumdepth}{3} \setcounter{subsubsection}{411} \subsubsection{Root calculation.} The easiest way to.. It has to look the same as : ...
4
votes
1answer
61 views

Section titles: single, centered roman numerals

As the title suggests, I want my section titles to be single, centered roman numerals. That's it, no actual section names. Is that possible? If so, how might I do it?
0
votes
0answers
18 views

Including “Chapter” before each section number in the ToC? (Updated Question) [duplicate]

I was given a solution to include "Chapter" before my section entries in the ToC, however the number of the section does not get transferred to the ToC! For instance, in the MWE below, the sections ...
0
votes
0answers
24 views

How to place subsection heading next to paragraph

I am looking for a way to place subsection titles next to the paragraph / body text they correspond to. The following example is taken from Bauhausbuch No. 9: Any help would be greatly appreciated. ...
1
vote
0answers
36 views

Changing fontfamily for chapter heading using quotchap

I have tried several ways to change font family for chapter heading but to no avail. I am using the following: \renewcommand*{\sectfont}{\fontfamily{Consolas}} Though \sffamily and \sffamily does ...
2
votes
1answer
52 views

Report Table of contents layers

I have a \subsubsection in the table of contents (ToC). It is layered correctly in the table, however for some reason the section number doesn't appear. Every other section appears fine. Any ideas ? ...
0
votes
1answer
33 views

rename theorem environment to proposition

How can I rename the theorem environment to proposition? In other words, I would like to print: Proposition 1 instead of Theorem 1/Lemma 1, etc Thanks in advance PS: I am using koma-script article ...
1
vote
2answers
36 views

How can I obtain correct table of contents order in beamer when including subsections from files?

How can I fix the table of contents order in my beamer? I work with a main file and include one file for each section. However the table of contents puts the subsections before their respective ...
2
votes
1answer
83 views

\appendix command adds a period after section number before it was called

I am using the scrartcl class. To make an appendix with tables and figures I am using the command \appendix. After it, I simply continue using \section to make sections. I noticed that if I use ...
2
votes
1answer
38 views

Adding text outlines to the Section command

I am learning LaTeX and I want to add a outline to the text of the section title and was wondering if there is a nice way to adjust the command to include the outline in the section command rather ...
5
votes
1answer
50 views

Change the name of sections [closed]

In the past I just used \newcommand{\sectionname}[1]{Task~#1} to make the sections have a different name. Now it seems to have stopped working. I am using babel with the ngerman option. I have ...
2
votes
3answers
46 views

Mixing Numbered and Un-Numbered Sections in the ToC

In my table of contents, I need to have some entries numbered, and some un-numbered, but still have the number increment on un-numbered parts. In other words, I need: 1 - First Section Title 2 - ...
1
vote
0answers
53 views

how to correct broken pipe and bad range specification [closed]

I am getting broken pipe and bad range specifications all morning today. Everything worked fine and today I am updating my latex files by splitting chapter and sections to different files. I didn't ...
4
votes
1answer
91 views

How to ignore starred command (such as \section*) with latexdiff?

I try to ignore changes of \section* in latexdiff, and while I am able to do so for \section, the same does not work for \section*. This is a.tex: \documentclass{article} \begin{document} ...
2
votes
1answer
76 views

how to separate chapters and section

I have a lot of chapters and sections inside chapters tex file. I want to make a separate folder for chapter and there put separate sections tex files. How I should do this? I am using report for now, ...
3
votes
1answer
64 views

Displaying Text Next to Section/Subsection title in LyX

Within a given section (or subsection), I would like my section title to appear on the left and I want the text to appear immediately after the title of the section as in the following example. In ...
2
votes
1answer
56 views

Including “Chapter” before each section number in the ToC? (Article Class)

Basically, here's my MWE, and I need to include "Chapter" before every section title in the ToC (without changing anything else). \documentclass[12pt]{article} \usepackage[utf8]{inputenc} ...
2
votes
1answer
33 views

Why won't memoir show a header on the first page of a chapter?

I want to have a header on the first page of a chapter. \documentclass{memoir} \makepagestyle{generalstyle} \makeevenhead{generalstyle}{}{HEADER}{} \makeoddhead{generalstyle}{}{HEADER}{} ...
0
votes
1answer
29 views

How can I change the style of the section number? [duplicate]

The section appears like "1 XXXXXXX", and I want something like "1. XXXX". I've been looking for some way to change it using \renewcommand, but nothing happens. Can you help me? P.D. I am using the ...