{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
58 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 ...
3
votes
1answer
105 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
45 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
93 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
133 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
46 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
37 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
64 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
25 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
62 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
34 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
54 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
67 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
57 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
59 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
29 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
31 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
176 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
67 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
39 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
87 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
42 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
53 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 ...
6
votes
2answers
99 views

Is it possible to add text underneath a part's title?

In a LaTeX report I'm working on, I have used \part{title of part} to organise the chapters into parts. This gives me distinct pages for each \part specified which is what I want. But if I try to add ...
1
vote
1answer
135 views

Manually set headmark in scrheadings

I am trying to get the proper header mark for my Preamble in my thesis. \documentclass[headsepline,12pt,a4paper]{scrreprt} \pagestyle{scrheadings} \ohead[\pagemark]{\pagemark} ...
3
votes
1answer
80 views

How to make the section and theorems with different colour

How to write the section and examples in different colour, such as the title with blue colour \documentclass[20pt,a4paper]{extarticle} \usepackage[a4paper,margin=6mm]{geometry} \usepackage{amsmath} ...
0
votes
0answers
97 views

Allow space before heading at top of page in book class

Another question asks about the possibility of leaving space before a section heading at the top of a page in the memoir class. Is there a similar solution for the book class? One workaround I've ...
3
votes
1answer
58 views

Beamer: currentsection and currentsubsection highlight differently

Consider the folllowing code: \documentclass[xcolor=dvipsnames]{beamer} \usecolortheme[named=BrickRed]{structure} \usetheme{Singapore} \begin{document} \section{Section No 1} \subsection{SubSection ...
2
votes
1answer
50 views

Bracket error in section heading with new version of XeLaTeX and fontspec

The following MWE compiles correctly with XeTeX version 3.1415926-2.5-0.9999.3 in TeX Live 2013 and fontspec version 2.3c: \documentclass{article} \usepackage{fontspec} \setmainfont{Linux ...
3
votes
2answers
57 views

Page break after each section with title

I'd like to have there be a page break in between each section, just like in this question, but I'd also like there to be no page break prior to the first section (that is, between the title and the ...
0
votes
1answer
30 views

Chapter numbers being added to List of Figures etc

I am using a thesis template, which can be downloaded here I need to format my chapter titles like this: Chapter 1. Chapter Title I can achieve this with this code: \titleformat{\chapter}[hang] ...
2
votes
1answer
49 views

Dynamic Spacing in Titles

The following mwe shows titles embedded in two lines. The problem is, if the title includes letters like 'g','j','p','q', etc. the bottom line is very close to these particular letters. With the ...
1
vote
1answer
59 views

How to prevent header being the last line of page?

Hi. How to prevent breaking of section header and section content? It is very strange behaviour for LaTeX, but it happened and I want to fix it. Code of this section is below: ...
4
votes
1answer
63 views

Vertical space within chapter label using titlesec

I am required to have a chapter heading formatted in the following way to obey thesis formatting rules at our institution: CHAPTER Chapter Title The vertical space between "CHAPTER" ...
0
votes
0answers
43 views

Modify Beamer Outertheme headline to contain section headings on multiple lines

In a theme such as Frankfurt or Darmstadt I would like to have section headings appear on two lines once there isn't enough room on the first line. Please see the image for the output I would like to ...
0
votes
0answers
45 views

\thispagestyle{empty} on last page doesn´t work [duplicate]

I need a site without page style at the end of a document. But the command doesn´t work. How can I solve this? \documentclass[BCOR=10mm,DIV=11] {scrreprt} \usepackage{setspace} ...
4
votes
1answer
45 views

Including a Theorem in a section heading

Within my thesis I am attempting to number the studies listed throughout. I have used a custom theorem style for this: \newtheorem{study}{Study} First Issue I then want to use this within my ...
4
votes
2answers
133 views

Cleveref reference name depending on label instead of counter?

Let's say I have this: \documentclass{article} \usepackage{cleveref} \begin{document} \section{Section One} \label{a:sec1} \cref{a:sec1} \section{Section Two} \label{b:sec2} \cref{b:sec2} ...
1
vote
1answer
55 views

Put count of pages in each section in the table of contents

How would I make the table of contents display a count of the number of pages in each section, so instead of 1. Foo 1 1.1 Bar 2 1.2 Baz 5 it would show 1. Foo 7 1.1 Bar 4 1.2 ...
0
votes
3answers
59 views

lines above and below section

I'm currently using the code below for making section-like titles in a two-column document \newcommand{\titulo}[1] { \par\medskip \begin{noindent} \rule{\linewidth}{0.8pt} ...
11
votes
2answers
1k views

Did anybody manage to use the PhD package?

I've seen these very nice dicussion about fancy chapters: Fancy chapter headings It seems that the packages are now called PhD https://github.com/yannisl/phd I can't find any documentation about ...
0
votes
0answers
23 views

texpos package - is there a push text to the bottom of the page to stretch the text block without using ~?

I have a couple subsections in my texpos block. I noticed you can't really set the size of the block vertically. What I want to do is push one of the subsections and the content's under it to the ...
3
votes
3answers
328 views

Numbering sections, subsections etc manually

I want to number nested sections, subsections, paragraphs etc manually without using commands like \section{Section},\paragraph{Paragraph} like this: 1 1.1 1.1.1 ... How can I achieve that?
3
votes
1answer
109 views

Add tikz styled Summary heading

As per MWE, I currently use two kinds of section header bars: a rounded grey bar for ordinary unnumbered sections ('osections' in MWE) and a 'Topic N', for numbered sections (where N=section number) ...
0
votes
0answers
61 views

Formating section headings

For a journal, I have to format the headings as followed: Title, subtitles, and text subheadings should be chosen for succinctness and interest. Primary (an "A Head") and secondary (a "B Head") ...
2
votes
1answer
83 views

Formatting the headings

SX I'm still fairly new to latex and hoping to get some help on how to do the formatting of the font for chapters and headings. I've been looking around the forum for hours now, trying to see if I ...
3
votes
1answer
143 views

Start a new chapter without heading

In the appendix of my thesis (using scrreprt) I want to start a new chapter containing a lot of large figures. For formating reasons I don't want the automatic heading, created when using ...
4
votes
1answer
122 views

Daleif1 Theme : how to get part's title above chapter?

I am using the daleif1 theme, and I would like to have the \part's title juste above the \chapter's title on the same page. \documentclass{memoir} \usepackage[explicit]{titlesec} ...
0
votes
0answers
41 views

Table of Content Inquiry--LaTeX

I have sections made by the code \section*{} (the asterisk to hide the section number), but when I insert a table of contents, none of the sections are showing up in the contents. I think it's because ...