{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
19 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 ...
2
votes
1answer
22 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 ...
4
votes
1answer
15 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. ...
9
votes
3answers
2k views

What's the right way to change display of chapter headings?

I am using the scrbook class and I would like to achieve the following effect for my chapter headings: #### ##### ### ### ##### Name of chapter How would I do this best? Is ...
11
votes
1answer
95 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 ...
3
votes
1answer
144 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 ...
16
votes
1answer
285 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 ...
3
votes
1answer
78 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 ...
7
votes
0answers
25 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 ...
2
votes
0answers
23 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 ...
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 ...
0
votes
1answer
120 views

Spacing between section, subsection, subsub… etc

I'm in the process of writing my bachelor thesis. The problem is: standards. Question: How to make the spacing between text and titles (chapters, sections, subsections etc.) but still hold the ...
2
votes
1answer
39 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" ...
0
votes
1answer
28 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 ...
7
votes
1answer
143 views

Changing the numeration of sections

I need to change the way the command \section enumerates the sections: I'd like my second section to be section number 4. (I don't want any section number 2 or three in my article). Is this possible? ...
2
votes
0answers
27 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
48 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 ...
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: ...
7
votes
1answer
161 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 ...
4
votes
1answer
68 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 ...
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 ...
1
vote
1answer
46 views

how to remove 'Chapter' word only from headings?

I want to suppress the word 'chapter' from my headings but to leaving the normal 'CHAPTER X: Name of the chapter' in the document. I want that my headings says '# Name of the chapter', not 'Chapter # ...
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 ...
1
vote
1answer
50 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 ...
2
votes
0answers
41 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
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 ...
2
votes
1answer
40 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 ...
4
votes
2answers
61 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. ...
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
1answer
21 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{ ...
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
3answers
65 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: ...
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{ ...
2
votes
2answers
107 views

Glossary-like list of subsection headings

I have a document, that has same subsection headings on multiple pages. I would like to create something like a glossary, that prints the list of headings and references to the pages where the ...
1
vote
1answer
82 views

Align section titles in margins properly

This is a follow-up to First paragraph indented after section title in margin, but I'm unable to vote, comment, or accept answers there because it's made under a guest account and not linked to this ...
10
votes
1answer
3k views

Remove bibliography title in moderncv with multibib

I want to have multiple bibliographies within my CV (moderncv class) so I've been using multibib. The trouble is, multibib automatically places a bibliography title above each bibliography, which I ...
8
votes
2answers
120 views

Adding text to a different part of the document

I'm writing a LaTeX document at the moment which has problems (which are created in a {theorem} environment) for the reader in it. I'd like to put solutions to those problems in the end of the ...
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 ...
0
votes
1answer
50 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 ...
1
vote
0answers
74 views

toc- sections and subsections printing out of order

I have a large presentation for a series of lectures - I have split it up into separate lecture files which I have then included in the main document e.g. \section{ Algebra } ...
20
votes
2answers
5k views

Fancy Chapter Headings

I'm reading a document created with TeX, and it has rather nice chapter headings. Does anyone know how this was done? Update Ok, I've got quite far using TikZ, the only thing I haven't got is the ...
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} --- ...
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 ...
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 ...
1
vote
1answer
95 views

Support sections on the bookmark in landscape mode

I'm writing a book and I want to put a unnumbered chapter (chapter*), where I will discuss the results and then put the results in tables. These results are divided into three options, so I want to ...
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 ...
3
votes
1answer
161 views

Remove section titles from text, but not table of contents — interaction with columns

Update: a previous version of this question wrongly attributed the problem to use of minitoc to get section-level tables of contents (\secttoc). I've got a complicated document with a tables of ...
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} ...
3
votes
1answer
93 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 ...