{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
14 views

Starred chapter number and name in header

I have created custom chapter headings: \documentclass[final]{book} \usepackage{lipsum} % Custom macros \def \mychapter#1{% \chapter*{\centering{\LARGE #1}\thispagestyle{empty}}% ...
1
vote
1answer
12 views

Starting text right after section in -res- class

Is it possible to start your text right after the section in the res class? As an alternative, one could also fake a section title's look (font) etc. However, how would you fully indent it to the left ...
2
votes
1answer
29 views

How to force only one chapter to start on even page

I have quite a long book in which chapters SHOULD start on odd pages. But there is final, About author, chapter which I want to be printed on reverse side of previous chapter page. In other words, I ...
0
votes
0answers
23 views

Two column bible style headers

I found this nice(see last code on the page ) example I'd like to have two column text and when i use \documentclass[paper=a4,twocolumn,pagesize=pdftex]{scrbook} section (leading paragraph) ...
4
votes
1answer
33 views

New character in section title

With a lot of help from this site I have made some code for a new character ʾ (transcribed Arabic Hamza) consisting of a raised, small rotated c. This character needed special kerning for italic font ...
0
votes
0answers
13 views

Inconsistent AUX and OUT files create section not in TEX

I'm working on a document that has little content yet however I'm getting a section "2 Literatur" which is not in my TEX document currently. I can't figure out how to delete the section "2 Literatur". ...
0
votes
0answers
21 views

Run-in heading on condensed bibliography

I am writing a grant with a rather strict page limit and have used run-in headings as implemented in titlesec. included in preamble: \usepackage{titlesec} \titleformat{\section}[runin] ...
1
vote
2answers
55 views

Disable indentation within a section [on hold]

I want the text inside a \section{} tag to be unindented, how do I accomplish this? I have tried \noindent and \parindent0pt{text} and neither one seems to affect the text inside a section.
2
votes
1answer
20 views

Numbering sections independent of chapters numbering [duplicate]

Is it a way to create a document in such a way that the numbering of the sections is independent of that of the chapters? e.g.: Chapter 1 section 1 section 2 Chapter 2 section 3 ...
3
votes
1answer
31 views

Changing the word “Subsubsection” to something else

I am using babel (spanish) and want to change the name provided by \subsubsection (e.g. "Subsubsección" in Spanish) to something shorter (e.g. "Sección") To that end, I tried to follow the post: ...
1
vote
2answers
32 views

Change Font Size in Chapter Title without affecting Running Headers (Book Class)

Actually, I'm using the bookest class but it inherits book class commands. The documentation is sparse, unfortunately, and CTAN's book class manual seems to be misfiled (downloading the documentation ...
2
votes
2answers
43 views

How to change predefined section name?

I have looked at many answers (and tried them) for this particular question but nothing has worked for me. I've tried with the titlesec package but it gave me an error, and afterwards I noticed that ...
3
votes
1answer
40 views

Change the default headers of the book class

I am writing a thesis and my university requirements are to use 14pt fontsize for the body text with 1.5 line spacing. They require the chapter headings and the word CHAPTER #N to be in ALL CAPS, ...
1
vote
1answer
22 views

Undesired heading and footer in TOC (only) in memoir

I want a certain layout for the heading and footer for a document I'm writing using Memoir documentclass. The problem is that the entire document follows the defined heading and footer, except the ...
1
vote
1answer
36 views

Changing the design of the first page of a new chapter

I have a chapter located in the back-matter part of a book-class document which I want to change the style for. More precisely, I do not want to have the same big amount of space empty before the ...
4
votes
2answers
114 views

Rotate section headings

I'm trying to create a document according some brand guidelines which require the use of angled and coloured section headings. I have the colours working using the xcolor and sectsty packages, but ...
0
votes
0answers
21 views

LaTeX keeps placing floats above section headlines

I followed the accepted answer to the question on how to Start new page with each section but LaTeX still puts a float object on the top of a page, above the section headline. Instead, I want this ...
1
vote
1answer
62 views

How can I access short section content to avoid repetition?

I'm making frequent use of short section names for styling. I want the short names to appear in page headers and the longer name only in the document itself. I have that worked out, but it requires a ...
0
votes
1answer
39 views

How to use hyphen in section title

So my problem is that I need to use hyphen in the title of some of the section of the report that I am preparing. However, LaTeX would not allow me to use hyphen. Amazingly, by playing with LaTeX at ...
2
votes
1answer
25 views

titlesec-package prevents TOC from showing full subsection number

I'm using titlesec for customizing section titles. The problem is, that it prevents TOC from showing full (sub)subsection numbers. This applies to referring to section labels as well: ...
3
votes
1answer
26 views

How do I avoid `sectsty` removing a line break when using `paragraph` as a subsubsubsection

I am trying to use the first bit of code in this answer to use paragraph like a subsubsubsection. The problem is that there is a conflict with sectsty - without this the output is exactly as in ...
0
votes
0answers
15 views

Chapter section doesn't appear in the table of contents with a book

I'm using book style, but it happens with a report style, too. I'm using chapter* style and I want that the chapter section appears in the table of contents, but it doesn't appear. This is the code: ...
2
votes
0answers
13 views

Space after Proof Environment to next Section

I am using a modified definition of a proof environment: \makeatletter \renewenvironment{proof}[1][\proofname]{\par \pushQED{\qed}% \normalfont \topsep1\p@\@plus3\p@\relax \trivlist ...
7
votes
1answer
42 views

Two footnotes in a heading, only one is displayed at the end of the page

I'm adding two footnotes to a section heading: \documentclass{article} \usepackage[english]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lipsum} ...
1
vote
0answers
32 views

Incorrect page number counter in beamer using sections

I am trying to put together a beamer document put together using multiple sections where frame numbers restart at each section and I can leave certain frames at the beginning of the document and at ...
2
votes
1answer
42 views

How to redefine \section{…} to include \textsc{…}? [duplicate]

I'm writing a rather extensive report in LaTeX in which I have some specific preferences for my section titles. For example, I want the titles to be in upper-case using the \textsc{..} command. If I ...
0
votes
0answers
27 views

How to add a newline after subsection

I was using this template for my tex document. However, it removes the new line after the subsection. I want to have a new line after the subsection elements For eg \subsection{My subsection} Text ...
3
votes
1answer
67 views

Conditionally print subsection in Beamer

I've ported from PowerPoint my university's template in Beamer, and added some code to display sections (and subsections when they exists) in the header. This is the code snippet I've put in the ...
3
votes
1answer
33 views

How do I change the format of one section heading without affecting how it appears in the table of contents?

In one instance in my document I have the following: \section{\large Multi-worded section heading } Currently in the table of contents, it appears larger than all of the other titles (no doubt ...
6
votes
2answers
76 views

Insert matrix into \subsection{}?

I was trying to insert matrix into a \subsection{}: \subsection{Suppose $X= \begin{array}{cc} 1 & 2 \\ 3 & 4 \end{array}$} This gives me an error: ! TeX capacity exceeded, sorry [input ...
7
votes
1answer
85 views

Start a specific chapter on the left page?

Using the book class with the twoside option, I get chapters that start on right/odd pages, which is the expected behavior. Still, I would like to have some specific chapters starting on a left/even ...
2
votes
0answers
36 views

How to set bookmark anchor so \section- and \section*-bookmark behaves the same

If I make a \section and \section* bookmark, the anchor points to the two sections in a different place. A small vertical space is added to \section* (see png-files). How can I make sure the anchor is ...
0
votes
0answers
33 views

How do I add feature status labels to a software design document?

I'm writing a design document for a piece of software, and during the development this document will be referred to when looking at what features to develop next. How can I add labels in my document ...
2
votes
1answer
42 views

Font sizes for different header levels

What are the font sizes for \chapter \section \subsection \subsubsection and paragraphs when using the report,11pt document class? Also, what is the padding before and after each header level. I ...
0
votes
1answer
23 views

Organizing floats in a multi-file project

I find it convenient to manage my papers on a one-section-one-file basis. However, I also find it convenient to have my figures defined in the corresponding section. Unfortunately, these two ...
0
votes
0answers
41 views

Prevent titles at bottom of page—sometimes

I have a book that contains both prose and poetry. I don't want a poem to start too close to the bottom of the page. That's what the nobottomtitles option of titlesec is for. I don't want this to ...
0
votes
0answers
24 views

\titlesec mesh up with bookmark anchor in star-section

When \titlesec is enable, the bookmark anchor to \section*{text} is shifted one line. How can I redifine \titlesec so it does not add a line in *-mode? \documentclass{book} \usepackage{titlesec} ...
1
vote
1answer
50 views

Is it possible to use both long name and short name of the section in headers?

I'm using fancyhdr, and following this answer I have redefined \sectionmark as: \renewcommand{\sectionmark}[1]{\markboth{#1}{}} so that \fancyhead[RO,LE]{\leftmark} gives the name of the ...
1
vote
1answer
46 views

Centering sections without centering subsections

This question is about how to center all the sections (including chapters) without centering subsections. I have browsed all the related questions asked here but I found no one to which my question ...
3
votes
1answer
37 views

Turn off \appendices switch and resume normal section lables

Background: I am appending several IEEE style papers using the solution here. Most of the papers include appendices using the \appendices switch to redefine \thesection to create Appendix A, B, C, ...
3
votes
0answers
29 views

How to nest a pre-written chapter into another chapter without manually changing sectioning commands one by one [duplicate]

I have a tex file with several written chapters. Then I found I need to nest one of them to another. I know this can be done by manually changing the sectioning command one by one but I found it ...
4
votes
3answers
53 views

how to redefine a section to get this result?

I am writing a solutions manual for the problems at the end of chapters in a published book. For this I need unnumbered sections listed in the TOC, plus I need the title of each unnumbered section to ...
0
votes
0answers
22 views

Text to the right of a section heading

This is a macro that defines a heading for a project \newcommand{\project}[2]{ %1: project name %2: percentage of time \subsection*{#1 \begin{flushright} ...
1
vote
2answers
24 views

How to reset counter for un-numbered subsections?

\documentclass{amsart} \newtheorem{theorem}{Theorem}[section] \begin{document} \subsection*{1} \begin{theorem} blah is blah \end{theorem} \begin{theorem} bloo is bloo \end{theorem} ...
3
votes
2answers
113 views

How to have colored headings with one color per chapter

I'm typesetting a proceedings-style book that contains articles in their chronological order. Since the articles are also categorized, each category is assigned a color and the the chapter styles are ...
2
votes
1answer
54 views

What do I tell titlesec to get default values?

I'm making a style package for my student union, changing to our official fonts and adding other convenience methods. I've declared a main (serif) font and a title (sans) font family, and I want to ...
0
votes
1answer
32 views

How to stop certain pages appearing in the TOC

I need to add a couple of pages at the front of my report that should not appear in the table of contents. What is the best way to do this? I thought that maybe I could write the section normally ...
2
votes
2answers
72 views

How to edit latex file and add images to it

I am new to latex and i have only a basic knowledge of this formal (Mostly i use MS word for preparing documents). My current question is reagrding this file. What i am currently doing is editing ...
2
votes
0answers
33 views

polyglossia error when \section is used

When I use \section{abcd} in this document, I get a polyglossia error. The document without \section{} compiles normally. Kindly help. \documentclass[letterpaper, 10pts]{scrartcl} ...
2
votes
1answer
34 views

Display of Appendix titles in TOC and in the Document

The code below produces the contents page and appendix labels shown. I would like the First line Appendixes to appear without a numnber. I would then like to have appendix 1 labelled A1 and appendix ...