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

How to change reference hierarchy from section to subsection in latex article

I am writing a report using article class where I have to put bibliography in as a separate subsection in every section. But in general reference are coming as separate section. Can we make hierarchy ...
2
votes
3answers
18 views

When using section* counters don't reset properly. How to fix this?

For example : \documentclass{article} \usepackage{chngcntr} \counterwithin*{equation}{section} \counterwithin*{equation}{subsection} \begin{document} \section{One} \begin{equation} 2+2=3.99 ...
2
votes
1answer
31 views

Switching Chapter and Section titles

I am somewhat new to TEX and I am writing a book using a publishing framework which uses Xelatex and polyglossia. My book is divided into three major sections or sub-books and each sub-book is ...
2
votes
1answer
30 views

\everypar in section (or chapter) command not working

This is a follow up question of Automatic Paragraph Numbers (\everypar only for paragraphs and not for \section and so on). I want to change \everypar in every section (or chapter). As soon as ...
2
votes
1answer
28 views

left and right aligned section title on one line

I am trying to have a simple bilingual title for a section. The English text should align to the left and the Arabic text should align to the right, both on the same line. The following line of ...
4
votes
1answer
24 views

Fancy Header Chapter Thumb - Change boxed text to display Subsections in two lines

In the code given below, I wanted to change the text that appears in the Chapter Thumb to display the current Subsections Titles. Currently, the chapter thumb shows the chapter name. ...
3
votes
1answer
155 views

Customize a section title with Tikz

I am trying to get this kind of result with tikz. However I don' have any idea how to align the text with the bottom of the rectangles or how to anchor the 2nd rectangle with the line of the title ...
7
votes
0answers
27 views

How can protrusion in the headings of document divisions be fixed when using pdfLaTeX and titlesec?

How can protrusion in the headings of document divisions be fixed when using pdfLaTeX and titlesec? In this answer I provide a tentative patch which allows character protrusion to work normally in ...
3
votes
1answer
32 views

Is there an alternative for samepage for a multicolumn environment?

In my document, I successfully use samepage to force content to be on the same page. I want to do the same in a 2-column document so that the heading and the text are in the same column. How can I ...
0
votes
1answer
30 views

Numbered subsection within unnumbered section

How to add numbered subsections with unnumbered subsection in article template? I want the following format Unnumbered section A First numbered subsection B Second numbered subsection so ...
3
votes
1answer
80 views

Chapter thumb to work with Legrand Orange Book Template

This code is building from the solutions presented here. It also employs the Legrand Orange Book template. I was trying to implement the chapter thumb solution to this template but could not get my ...
2
votes
1answer
40 views

How would you demarcate a “Prayer” and “Practical Reflections” section which ends every chapter?

I'm using memoir with the \book, \chapter, and \section sectioning macros. Each book contains several chapters, each chapter contains several sections, followed by a single "Practical Reflections" ...
8
votes
2answers
72 views

microtype: Protrusion not affecting unnumbered section titles

The microtype protrusion won't work in my starred (unnumbered) section titles. I have a feeling that this might be part of a general bug of microtype when dealing with starting lines of environments ...
19
votes
1answer
472 views
+500

Document Layout Styles

I am inviting partial solutions for defining styles for document layouts. The solutions should be capable of defining the font size, leading (interline distance), and type for the running text as well ...
2
votes
0answers
30 views

How to put the section head on the same location as a slide title when using slidepage

I am developing my own beamer theme. As part of the theme I want the section slides to have the section title on the same position as the other slides. At this moment the position is a little off. ...
2
votes
1answer
49 views

Option argument for Beamer section slide

I am creating my own Beamer theme with a custom section slide. Ideally I would like the command \frame{\sectionpage} to have an additional, optional argument, that specifies the color of the ...
7
votes
1answer
164 views

Elements of Typographic Style subhead styles

Section 2.2 of Robert Bringhurst's The Elements of Typographic Style deals with vertical rhythm. I want to try out some of his lessons in scrbook, to hone my LaTeX skills. Specifically, I want to ...
2
votes
1answer
35 views

How to set the section “range” onto the head? scrpage2, scrbook, titlesec

I want to get the "range" of the sections of one page into the headline. I use scrpage2 scrlayer-scrpage for changing the headline and scrbook as documentclass. I try to write a MWE: ...
4
votes
1answer
74 views

Listing Subsection title in same TOC line as Section in Memoir

For a manual-like document I'm writing, I have the need to save two additional items together with each section. For this I have created a custom command that creates a subsection under the section ...
2
votes
1answer
25 views

How can I remove a section number from the heading but not figure captions?

I'm preparing a thesis with only one appendix section and the university submission guidelines have some funny requirements. Particularly because there's only one appendix, the chapter heading should ...
2
votes
0answers
43 views

Removing chapter numbers from section headings in memoir

I don't want the chapter number in the section headings: That can be achieved by \counterwithout{section}{chapter}, which works fine as long as one doesn't have more than one chapter at a time: ...
1
vote
1answer
52 views

How to indent first paragraph after \section using Texstudio? [duplicate]

I am using Texstudio to compose my assignment. However, I have a problem with it. After I used \section*{}, and the my first paragraph in section is indented to the very left. I want the paragraph ...
1
vote
1answer
21 views

How to redefine the section counter in amsart? [duplicate]

I'm using the document class amsart, which defines the section counter as follows: \newcounter{section} However, I want the section counter to reset to zero every time I start a new part. Thus, I ...
11
votes
1answer
99 views

Visual table of contents (tikz mindmap) - Problem in output

I would like to make visual table of contents, just like here. However, I have a part that does not have a section and I would like it to output, but it does not do so. I took my code from here as ...
4
votes
2answers
63 views

Yet another section number question

There are a number of numbering questions asked, but I haven't found one that fits this particular need: 1. First section 1.1 Second level A. Third Level (italic) B. Third Level (italic) 2. ...
0
votes
1answer
22 views

sectioning / document hierarchy issue / start new root / move section up one level [duplicate]

Sorry for the bad title, but couldn't come up with something better. I have a problem with the section-hierarchy of my latex document: This is my document structure: \begin{document} [...] \part{ ...
1
vote
1answer
31 views

Changing footnote number size in chapter heading

I'm writing my thesis as book style and I formatted the chapter heading size with \makeatletter % to set the layout of the chapters header \def\@makechapterhead#1{% \vspace*{60\p@}% {\parindent ...
0
votes
0answers
35 views

Replace (.) in ToC with a space

I am creating my own Appendix numbering in a document, and the number isn't appearing correctly in the ToC. In appendixa.tex, I have: \renewcommand\thesection{Appendix \Alph{section}} \section{} ...
2
votes
1answer
41 views

sectioning - \@startsection vertical spacing on top of page

In the MWE below, the beforeskip argument to \@startsection (#4) seems to be ignored if \section occurs on top of a page. This is cool – because no big vertical space is needed here. However, what ...
0
votes
1answer
16 views

memoir and parallel: too much blank facing pages before \chapter; no valid headings

My test document: \documentclass{memoir} \usepackage{lipsum} \usepackage{parallel} \begin{document} \chapter{Single Lipsum} \lipsum[1-3] \begin{Parallel}[p]{}{} \ParallelLText{ ...
0
votes
0answers
30 views

Changing sub-section numbering

I am new to Latex and wasn't able to find anything related to my query. The current organization of my section & sub-section naming is: A. Section 1. Sub-section 2. Sub-section I want ...
2
votes
3answers
67 views

Creating a documentclass with colored titles in koma-script

I am trying to create my own documentclass which fits my needs according to the use of colors. For a shorter description I put all corresponding things in the following working example: ...
1
vote
2answers
31 views

Re-formatting (appending text to) \paragraph{}

I would like to change the appearance of \paragraph{} (particularly the space between the end of the heading and the beginning of the text) to look more like \noindent\textbf{Paragraph heading} --- ...
3
votes
1answer
41 views

Left justifying chapter name while chapter number is right justified

Considering the following code: \documentclass{book} \usepackage{fullpage} \usepackage[english]{babel} \usepackage[avantgarde]{quotchap} \begin{document} \chapter{Introduction} \end{document} How ...
2
votes
1answer
62 views

Bug or feature of floats mechanism

If I type $\section{Second section}$ or \begin{enumerate} \item first bla bla \item second bla bla $\item last bla bla$ \end{enumerate} I get the error message ! Missing $ inserted... or ! LaTeX ...
2
votes
1answer
38 views

\titleformat (in titlesec) doesn't show any horizontal line for chapter

I have been trying to get a simple thing working with titlesec: getting a horizontal line under each chapter. There are many tutorials, documents and questions on TeX that explain how this can be ...
1
vote
0answers
11 views

How do I format my section/subsection titles without changing the cross-referencing result [duplicate]

I am using some code recommended by the editor of a journal. However, the \renewcommand line for \thesubsection and \thesubsubsection seems to be causing a problem with the cross-referencing function ...
0
votes
0answers
19 views

How to set section title to be both centered and underlined using a personalised class (based on memoir)?

\NeedsTeXFormat{LaTeX2e} \ProvidesClass{iac}[2015] %% BUILD UPON THE MEMOIR CLASS \LoadClass[11pt,twocolumn,twoside,article]{memoir} ...... ..... ..... %% SECTIONS \setsecnumdepth{subsubsection} ...
0
votes
0answers
42 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
60 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
83 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
117 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
12 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
97 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
87 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
26 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
30 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
39 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
38 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 ...
6
votes
1answer
47 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 ...