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

Adding a sectionning level with titleclass and tocdepth

I want to add a subchapter sectionning level, between chapter and section. I use the \titleclass command from titlesec package. According to titlesec documentation, ...
3
votes
1answer
50 views

Get chapter number

I am newbie on latex, my question is how can I get a structure like: number of chapter + title of chapter (exemple: I Introduction) I only get Introduction, I want the number before the name. If ...
3
votes
2answers
59 views

Font to pair with latin modern

I would like some suggestions for fonts to match LModern. In particular I am searching for a heading-font, so I am thinking of sans serif families, but every suggestion is appreciated. I really like ...
3
votes
2answers
93 views

Removing the trailing period when referencing a section number

I'm writing a prospectus and my college has given me the following class for formatting it. I'm new to Latex and I've seen the these examples already (one, two, and three) but I can't understand how ...
0
votes
0answers
9 views

Text Prior to Subsubsection affecting alignment of text following it

Following are two snippets of code along with what they compile into. The issue is with the alignment of the text that follows the subsubsection. It should align with the subsubsection's heading, ...
3
votes
1answer
58 views

Same \chapterformat for \chapter and \chapter* without titlesec

I've done some styling for my chapter titles, based upon tikz and the titlesec package. Unfortunately, the KOMA-Script packages gives me numerous warnings about titlesec. In order to get rid of the ...
3
votes
3answers
65 views

How to remove a chapter from a local ToC

In a chapter of a volume I have a local ToC. I would like to remove the chapter itself from that ToC, or, if that's a good way to do that, any \chapter level division, so that only \sections and lower ...
0
votes
2answers
22 views

First subsection in chapter 2 gets the number 2.0.2 which should be 2.0.1

Here is a minimal example \documentclass{report} \begin{document} \chapter{1} \subsection{should be 1.0.1} \chapter{2} \subsection{should be 2.0.1} \end{document}
1
vote
1answer
20 views

amsbook customization of toc, section alignments and running heads

I am working with \documentclass[12pt,twoside,openright]{amsbook} and I wish: titles of Chapters centered in the page titles of Sections left aligned (for instance: 3. Third Section) In the ...
3
votes
1answer
24 views

Vertical alignment in sections beginning with itemize

I'm working on a résumé which places section headers in a widened left margin. In the example below, I am trying to get the itemize in section Bar to be vertically aligned with the section title, ...
2
votes
2answers
36 views

Chaptermark not changing

Similar questions have been asked, but after reading them i still think the code below should lead to the beginning of a chapter being displayed as 1 Some Chapter rather than Chapter 1 Some ...
5
votes
1answer
41 views

Define nested sections in a relative way

When working with large tex documents I often find myself using search/replace to restructure them (eg. make sections out of chapters or subsubsections out of subsections) Is there any way to define ...
0
votes
1answer
46 views

Color Underline Section Headings

I would like to underline section headings using different colors (e.g. red for section, yellow for subsection). So far I have only achieved to change the text color of the headings (see code), but I ...
1
vote
2answers
46 views

How to change \subsection such that text follows immediately?

Consider this example: \documentclass[10pt,a4paper,oneside]{article} \begin{document} \section{Xavier functions} \subsection{} %% \textbf{1.1} We define the \textit{Xavier functions} for a complex ...
0
votes
1answer
12 views

Howto refer to (or avoid) a numbered entity in section title [duplicate]

In a master thesis, I need to refer to a model described elsewhere, from a section title, like \section{Analysis of model X} One way of referring to a model is to create a new counter, and then ...
2
votes
1answer
31 views

How to refer to (or avoid) a numbered entity in section title

I need to refer to a model described elsewhere, from a section title, like \section{Analysis of model X} One way of referring to a model is to create a new counter, and then write ...
1
vote
0answers
28 views

How to make titles of chapters in an edited volume?

For an edited volume whose chapters live in separate files and which will probably have to be compiled separately, what is the best way to make the titles? Separate titlepages are not required, just ...
3
votes
1answer
41 views

How can I use titlesec without changing CHAPTER ONE to CHAPTER 1

I have a week to submit my Ph.D thesis, done in latex, and have ran into a strange difficulty. Before introducing {\usepackage[rm,tiny,compact, bf]{titlesec} } which was necessary in order to unify ...
2
votes
1answer
28 views

French bis/ter/quater/quinquies section numbering with manual line breaks

As a follow-up to my previous Question French section numbering using bis, ter, etc, I'm attempting to manually add line breaks in my section titles that show up in the body of the text as intended ...
6
votes
1answer
63 views

Newline after Section number / before Section title in KOMA Script

i have to adhere to a style guide which dictates newline after a chapter/section/etc number, i.e. instead of the usual 1.2 Heading its supposed to be 1.2 Heading This has to work for both the ...
3
votes
1answer
43 views

Hanging indent in headings

Good Evening, as I am new to this whole Tex thing, making bigger adjustments to the presets still poses a problem. Basically, I want to change the setting for the headings, so they look like this: ...
3
votes
0answers
88 views

Why is my Chapter heading so strange?

What could possibly cause this problem? Normal is: Mine is: The white space after "introduction" is also longer for mine. What could possibly cause this problem? I load ...
0
votes
0answers
55 views

Spacing before and after headings

EDIT: I've adjusted this question after experimenting with the titlesec package. I removed the following code to prevent conflicts as suggested by @Bernard & @cfr. \makeatletter ...
4
votes
1answer
29 views

Part equivalent to \@chapapp{}

I was recently poking around a cls file with a custom chapter formatting. It uses \@chapapp{} and I would like to find out if there is a part equivalent other than \partname?
5
votes
1answer
66 views

scrbook - Three extremely simple questions about adjustment and font-styling

I have some (probably) really simple questions about a few adjustments in a scrbook-documents. Let's take the following minimum-example as the basis for my questions. Working minimum-example: ...
1
vote
2answers
74 views

scrbook - How to add one horizontal line above and one below the chapter-entry without (!) using titlesec?

I want to add one horizontal line above and one below the chapter-entry as well. Before using the scrbook-class, I used this simple solution made by titlesec-package: \newpagestyle{headrules}{ ...
1
vote
3answers
66 views

How to unstyle styled macro in headings?

I have a macro that occurs very frequently in the text. At one occasion, it occurs inside a heading, which causes some problems: \documentclass{scrartcl} ...
2
votes
1answer
41 views

put the horizontal line below the section title and modified page number with the box surrounding it

I would like to put the horizontal line below the section title as the figure below: and the second one I would like to modified the page number by putting it in the rectangular box as the second ...
0
votes
0answers
36 views

Can I create a standalone section after having chapters?

I have a document which contains 4 'chapters'. In the end, I am trying to add a Bibliography section but it is getting filed under the last chapter. I want it as a standalone section. ...
0
votes
0answers
25 views

Sections and new pages

I programmed the following command for my personal \section: \newcommand{\mysection}[1]{ \vspace*{.9cm} \textcolor{blue} {\large \bfseries #1} \vspace*{-.3cm} ...
3
votes
1answer
42 views

colored citations in \section

I am trying to put in a citation on a section heading using opaline style (yes, I know some think this is a bad idea, but let us leave that aside for now). If I put in \section{Section Heading ...
4
votes
2answers
53 views

Formatted date inside section

I am trying to compile a document where each section title corresponds to a given date. The date has to be formatted, 2014/01/03 should produce 3rd January 2014 in the title. I was trying to use the ...
0
votes
0answers
15 views

subheading of titletoc exceeds dotts and beginning of pagenumber

I am using titletoc like this: \usepackage{titletoc} \newcommand\frontmatterchaptoc{% ...
1
vote
2answers
35 views

addcontentsline works for section but not for chapter

I'm trying to add a new chapter to both the bookmarks in the PDF as well as the table of contents, without having the chapter appear on the page outside of the TOC. When I try this using ...
3
votes
1answer
28 views

Alternate section title in header, also when new section starts at top of page

I'm using fancyhdr to display the current section title in the header of even-numbered pages of a book. I achieve this with the following code: \setlength{\headheight}{14pt} \pagestyle{fancy} ...
2
votes
1answer
44 views

section spacing from top of page vs normal text spacing

I'm trying to change the distance from the top of the page that text starts appearing when I use \section, so that it matches the distance when I just use regular formatting (not in a section). Below ...
12
votes
2answers
97 views

French section numbering using bis, ter, etc

I'm in the process of transcribing an old French engineering text (circa 1890) that uses a somewhat non-standard section numbering. As I am attempting to make a more-or-less verbatim copy, it is ...
3
votes
1answer
28 views

Conditional section title [ifthenelse] not working

I have the following code: \documentclass{article} \usepackage{ifthen} \usepackage{amsmath,amsfonts,amsthm,amssymb} \newcommand{\probName}{}% \newcounter{probCounter}% \setcounter{probCounter}{1} ...
2
votes
2answers
44 views

How to prevent page break between two section headings with color formatting using titlesec?

Description This question is based on almost the the following question, How to prevent page break between two section headings. The answer given there explains that the problem is with \color, which ...
2
votes
0answers
48 views

Modify a Memoir code to the Book Class

I saw this beautiful code: Modifying the section, subsection and subsubsection style , and I try to implement it in the format of book Class, but I find difficulty doing this. My code in ...
6
votes
1answer
83 views

Using ordinal numbers in chapter headings (e.g. First chapter)

I'm writing a document using the book class. The normal chapter headings are of the form (for the first chapter in the book): Chapter 1 <Name of first chapter> Instead I would like it ...
1
vote
0answers
30 views

\paragraph{} sectioning with eledmac/eledpar

Maybe just a short question: In a layout with parallel pages using eledpar and eledmac I try to use the \paragraph sectioning command (and KOMA-Script), which causes the layout going off perfect sync. ...
0
votes
1answer
27 views

Why doesn't my \csname-based glossary macro work inside \section and \caption?

I'm a LaTeX newbie. I have a custom macro called \gloss that decorates its argument in a certain way - let's say that it adds a star symbol for the purpouse of the MWE. I have wrapped it around a ...
1
vote
1answer
23 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
26 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
87 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 ...
6
votes
2answers
164 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 ...
2
votes
2answers
105 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 ...
5
votes
1answer
123 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
38 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. ...