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

5
votes
4answers
156 views

Remove numbering from Section and Subsection

I found this answer to remove the numbering from sections, but I also don't need numbering on sub- and subsubsections. I tried to add a second def but then the number on Section is showed again. I am ...
4
votes
1answer
29 views

Bookmark issues

I've found this code online, which allows using infinite section levels with the \level{n}{title} command. \makeatletter \newcommand\level[1]{% \ifcase#1\relax\expandafter\chapter\or ...
0
votes
1answer
50 views

Wrong page with `\addcontentsline{toc}{section}` after a list of figures

Consider the code presented at the end of this message, with the figure downloadable here (it is just a pdf of a rectangle). The problem is that the \addcontentsline{toc}{section} links to the wrong ...
0
votes
1answer
179 views

! Missing number, treated as zero error beamer

I'm working on my thesis' presentation with Beamer but I am facing the same problem which I did not know the reason everytime i compile this "! Missing number, treated as zero" everytime shows up in ...
0
votes
1answer
30 views

Suppress chapter number but keep section number in section headings

How do I format a book so that the chapters are sub-divided into numbered sections, where: only the section number, but not the chapter number, appears in the section heading (i.e. the third ...
4
votes
0answers
73 views

Memoir: put heading in margin using Expl3 or xcoffins

In the memoir class manual, there is the following code for putting section headings in the margin: A less traditional style is to put the whole heading into the margin. I have done this here ...
7
votes
2answers
192 views

Giant number next to chapter title

I want to make chapter titles that look something like this: I'll be using a different font, but the idea is the same. If possible, I'd like it to work like this: Pick the size of the number ...
2
votes
1answer
86 views

LaTeX report - table of contents without chapter

I am trying to write a LaTeX report (using class report) but I don't want to use chapters, only sections, subsections and subsub. Using \renewcommand{\thesection}{\arabic{section}}, my sections ...
0
votes
1answer
49 views

Make appendix files work for both book and article document classes

I have a book with chapters, sections, subsections, etc. I frequently want to distribute a single chapter of the book as a stand-alone article. To do this, I just write a replacement preamble setting ...
3
votes
1answer
41 views

Insert unnumbered headings in toc automatically

When I use a numbered heading like \section or \chapter, the heading is automatically added to the table of contents. If I use an unnumbered heading like \section* or \chapter*, I have to add another ...
1
vote
2answers
53 views

Change color of numbers of sections

I want to change this box in which I have the section number to black, which I can do. But then the text is the same color and illegible. I need to make it white. I tried this but it didn't do ...
3
votes
1answer
39 views

Section name missing in titles of sections

I used the solution given at http://tex.stackexchange.com/a/34292/77602. But I am not getting the titles of the sections. As it's an article with no chapters, I deleted the chapter stuff. So it's ...
0
votes
1answer
25 views

Section list without numbering? [duplicate]

I do not want the section numbered, i.e., Roman number I. (as the following figure show). How can I do this?
3
votes
1answer
172 views

What is the name of the variable containing the current chapter title?

Consider a chapter in a french book defined by: \chapter{Blablabla} It will generate the output: Chapitre I : Blablabla Then, we have the following variables: \chaptername corresponds to ...
5
votes
1answer
42 views

Modify Section Title in Document

I'm using memoir class. I'm trying to make section title that ends with a single dot. The section title would be in sans-serif font. I've searched for a while but still no luck. Here's my MWE. Thanks. ...
0
votes
1answer
34 views

chapter headings change alignment to center and without the word “chapter”

I want chapter heading as 1. chapter_name and center aligned. How can I get this? I have searched the net for an answer but I am able to get only separate answers but not combined answer for the both ...
2
votes
2answers
55 views

Inconsistent vertical spacing using section headers

Last week I read a short paper on LaTeX and now I'm writing my first document. I've googled and fixed most problems but this one I haven't found any working answer to. It's for a math assignment and I ...
2
votes
3answers
69 views

Removing the word “Chapter n”

So I am trying to remove the words Chapter n, and replace it by the chapter title. BUT I want it to show up in the table of contents... (So I cannot use \chapter*{...}). Is there a way to achieve ...
3
votes
1answer
25 views

one counter for multiple theorems?

I searched the internet for a while now but didn't quite get what i wanted. I want number different theorems with the same counter, which depends on chapter and section. eg Lemma 1.1.1 Example 1.1.2 ...
5
votes
2answers
109 views

How to use this chapter style such that it takes up less space?

I like the box chapter style from here: http://hstuart.dk/2007/05/21/styling-the-chapter/ Here is a MWE based on this style: \documentclass{memoir} \usepackage{tikz, blindtext} ...
1
vote
1answer
43 views

How Can I Put at Headings the Title of my book?

I want put on odd pages the chapter follow by the number page. And, at the even pages the number page followed by the title. The question is: HOW?
2
votes
1answer
38 views

Why does the introduced part-title in letter appear twice?

My intention is to create a letter with multiple appendixes, which are \included and their part-titles will be added to the \encl-list. My letter looks like: \documentclass{scrlttr2} ...
4
votes
2answers
74 views

Import \chapter into amsart

I would like to create a document with the appearance of amsart, but with added \chapter command (styled as in amsbook, or differently). How can I do that? I tried to make LaTeX load both amsbook and ...
0
votes
2answers
46 views

Indenting sub-bullet points

I had seen the following resume in the net and wanted to replicate the same. I tried out the following, but it does not seem to be working. \section{Technical Skills} ...
1
vote
2answers
52 views

Section-wise Table of Contents for Articles [duplicate]

Is it possible to have a section-wise Table of Contents in the article class?
0
votes
0answers
14 views

Multiple font sizes in a section heading [duplicate]

I'm currently writing a paper for a conference which requires the first letter of words in section titles to be size 10 font, and all subsequent letters to be size 8 (all capital). I've had a look at ...
2
votes
1answer
43 views

How to auto level-down section headings when \input-ing an document? [duplicate]

I'm wondering if there's a way to tell (Xe)LaTeX to handle \chapter as \section, \section as \subsection and so on when inputting a document via \input into another document. The setting is: I have a ...
3
votes
2answers
44 views

Do a setcounter only for an included file

I have currently the following situation: I am including a Latex-File in my main file. This file already has several \section{}-parts. Now I want to let their counting begin at 1 again, but without ...
2
votes
2answers
86 views

Removing fancy style from part pages

I am using the fancyhdr package to set headers and footers for the thesis. I have recently added LaTeX \parts, and defined a pagestyle for this purpose called 'partpagestyle'. As the MWE below shows, ...
1
vote
2answers
66 views

Changing space before chapter without titlesec package

I am sorry if this is a repeated question, I could not find anything similar on the forum search. How to adjust the space before the chapter heading without using titlesec package. I tried this code ...
3
votes
0answers
92 views

Remove page-breaks after chapters in the report class?

So I am using the report class, and every time I try to create a new \chapter it creates it on a new blank page with just the title. I have tried using \usepackage{etoolbox} but I keep getting Latex ...
3
votes
2answers
44 views

how to add a horizontal line before every section by controlling the style of section

I want to add horizontal lines before every section, just like this manually I can just put \rule{\textwidth}{1pt} before every section, but I want a more flexible method, for example, by putting ...
2
votes
1answer
96 views

Using small caps in section titles

A brief search yielded no answers, so I'm posting this question: Is there a way to get smallcaps to display correctly in (subsub...)section titles? My problem in particular is in the following code: ...
2
votes
1answer
61 views

How to make listofalgorithms behave like a section, not a chapter?

I have a problem. I included the following: \documentclass[a4paper,11pt,reqno]{book} \usepackage{algorithm} \usepackage{algorithmicx} \usepackage[noend]{algpseudocode} and wanted to create a ...
1
vote
1answer
44 views

Section number with mixed arabic and roman numerals

How can I get my sections and subsections headings to go along the lines of: 1i, 1ii, 1iii, 2i, 2ii etc...
8
votes
2answers
81 views

Converting “section” into “\section” to pass to the titleformat command

The \titleformat command of the titlesec package is invoked in the following way: \titleformat{\section}{<a few formatting options>} \titleformat{\subsection}{<a few formatting options>} ...
2
votes
1answer
62 views

Increasing horizontal space between chapter number and chapter title in scrreprt

I would like to change the distance between the chapter number and the chapter text. A poor way to do it would be renew \thechapter, but this affects section titles too. Other answers seem to suggest ...
4
votes
1answer
137 views

How to include graphics inside the section name

I am trying to insert an icon (a pdf file) literally next to the section name. I want the little shield icon to be where the <Icon> is. The code to generate this image is: ...
2
votes
1answer
67 views

Difference between \insertsectionnumber and \inserttocsectionnumber

The following beamer code \documentclass{beamer} \setbeamertemplate{section in toc}[sections numbered] \begin{document} \frame{\tableofcontents} \section{section one} ...
7
votes
1answer
201 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: ...
1
vote
1answer
50 views

Changing section headings

My MWE: \documentclass[]{aiaa-tc} \begin{document} \section{Introduction} \subsection{First} \subsection{Second} \section{Conclusion} \subsection{First} \subsection{Second} ...
1
vote
0answers
65 views

Very specifically customized sections and table of contents

I just became an editor for a bi-monthly Newsletter and we have built XeLaTeX code to generate the newsletter. This Newsletter was previously generated using Microsoft Word. We want to maintain the ...
0
votes
0answers
27 views

72 pt. spacing before Section heading [duplicate]

I'm trying to add a 72 pt. space before the section heading. I do not only want the 72 pt. between paragraphs but basically every section should start at a new page with a 72 pt. spacing before it. ...
0
votes
1answer
56 views

Minitoc Package: Secttoc works just after changing section to part and back to section

I have no idea why, but if I use \secttoc it works only for the section if I change the section to "part", compile it, and change it back to "section" \documentclass[12pt,a4paper,titlepage]{article} ...
2
votes
1answer
26 views

All Environments Share Numbering (According to Subsection)

The numbering scheme I'm looking for causes every environment to share one common numbering counter, according to subsection. For example, in my notes the numbering would look something like this: 1 ...
2
votes
1answer
36 views

Hide titleformat in a macro when [explicit] is loaded

This is a follow-up question to: Different titleformat style for different numberless chapters I have something like the following macro: \titleformat{\chapter} {\normalfont\Huge\color{blue}} {} ...
3
votes
1answer
145 views

Subsubsection numbering in IEEEtran Computer Society Journals template bleeds into text

I'm using a modified IEEEtran class with the template for Computer Society Journals (found here). When I produce a PDF of the basic demo (using Texmaker), I noticed that the numbering for ...
2
votes
0answers
65 views

including book name and chapter name above section name in memoir

I am using memoir with xelatex for typesetting a book with multiple chapters and sections. I would like to include the book name (or part name), and chapter name above the section title for each ...
3
votes
2answers
92 views

Hide section numbering, but keep labeling

How do I hide section and subsection numbers while keeping labels for referencing? I have tried renewing \thesubection as follows but that leaves a blank space when referencing a section using \ref. ...
1
vote
2answers
94 views

Chapter heading style?

Hi I ran into a PHD thesis with a beautiful layout. Specially I love its chapter heading I link also the thesis: ...