Questions tagged [sectioning]

{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}.

201 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
14
votes
0answers
539 views

Calendar instead of table of contents

Situation I am planning to take some notes in a 'laboratory book'-ish latex document (compare these templates 1,2). The protocol will span a large time and entries might vary from a few items to ...
10
votes
0answers
141 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 ...
7
votes
0answers
870 views

Is there an alternative for \usepackage[nobottomtitles*]{titlesec}?

Is there an alternative for \usepackage[nobottomtitles*]{titlesec} as it messes up my automatic clearing of floatingfingure? \documentclass{article} \usepackage{mwe} \makeatletter \def\maxwidth{\...
5
votes
0answers
416 views

Follow up to underline subsections - incompatibility between lineno, sectsty, and ulem

In answering the question Underline subsections, I provided an answer which relied on the sectsty package (as compared to @GonzaloMedina's answer, which used the titlesec package). Ultimately, @...
4
votes
1answer
199 views

Memoir: treating a section as an appendix

We have an in-house document class which is based on memoir. For some smaller documents we don't want chapters so we effectively promote sections to be chapters as in my MWE. My question is how can I ...
4
votes
0answers
243 views

Recreating Minutes of Meeting layout in LaTeX

I'm trying to recreate a minutes of meeting layout in LaTeX. The goal is to match the layout of the previous minutes. Specifically, it is the layout of the sections or each item in the minutes. The ...
3
votes
0answers
41 views

ConTeXt: How to remove vertical space before top section headings in columns?

It has gotten that far that I have made a shopping list with ConTeXt… However, there remains one æsthetic problem: There is some unwanted vertical space above those section headings which are located ...
3
votes
0answers
50 views

two double spaces above heading iff text is above

My dissertation style guide specifies double spacing throughout, and two double spaces above section or subsection headings if there is text above the heading but a normal double space if there is ...
3
votes
0answers
144 views

How do you input maths into a section header?

so I am currently in the process of making a summary for my maths subject. I'm a new TeX user and using pdfTeX on TeXworks. I want to make this to show x=f(y) in the header as it would look like ...
3
votes
0answers
140 views

How to use subsections in a powerdot presentation?

I'm using the powerdot class for create a powerdot presentation. According to the manual of the package I'm able to create a structure for the presentation using the \section{} command and it's very ...
3
votes
0answers
155 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 for ...
3
votes
0answers
177 views

How can I 'uniquify' RefTeX label defaults?

When you create a new section within AUCTeX (using C-c C-s) and give the section a name, RefTeX will prompt you for a title, insert the section, and then prompt you for a label. This label is auto-...
2
votes
1answer
65 views

Last Section appearing on top with usage of pagestyle fancy

I am having trouble including page numbers in my resume. I earlier used \pagestyle{empty} for non-numbered page but thought to have page numbers. So I decided to use following packages which works ...
2
votes
0answers
75 views

Fancy chapter heading format under tufte-book class

I want to write chapter heading for a tufte-book document. Here is what I want to use: https://tex.stackexchange.com/a/339892/159116 \documentclass[openany,letter]{tufte-book}% \usepackage[T1]{...
2
votes
2answers
117 views

Short title in header but not ToC for document class book

I would like to have a short title of chapters and sections in my headers, but in the ToC there should appear the long title. I am using the book document class, and package fancyhdr. \section[...
2
votes
0answers
53 views

reledmac: \eledsection* in Header?

A simple question: Is it possible to use the \eledsection* in the Header as you would e.g. with KOMA's \addsec or as it would appear with a numbered section (\eledsection)? Thanks for any help! \...
2
votes
1answer
113 views

Configuring a section alias in LaTeX

Every week I produce a couple of A5 booklets (A4 folded) for my wife, an active colleague in church ministry, from which I am recently retired. I call the booklets a pulpit manuscript, as it includes ...
2
votes
0answers
66 views

Adjustwidth of all sections

Is there any way to adjustwidth of all sections without writing all the time adjustwidth? For example \begin{adjustwidth}{1.3cm}{} is repeated twice: \documentclass[10pt,a4paper]{article} \...
2
votes
0answers
57 views

Section spacing ignores figures placed at the top

IIUC, normally, a section only adds vertical space before it if the section is not the first thing in a column/page. To my surprise it acts the same after a \begin{figure}[t] ... \end{figure}. Is ...
2
votes
1answer
383 views

How do I prevent \section from breaking vwcol?

Here is a minimal example that works: \documentclass{article} \usepackage[english]{babel} \usepackage{vwcol} \usepackage{lipsum} \begin{document} \begin{vwcol}[widths={0.6,0.4},sep=1.0cm,justify=...
2
votes
0answers
123 views

ConTeXt: independent titles

I'd like to use a parallel and independent section numbering system for questions in exercises. What I want to achieve is similar to what is proposed in this page of the wiki ; however, I want many ...
2
votes
0answers
1k views

Small caps in section/chapter title

I am using report document class, and want to use small caps in titles of chapters, sections... if I write \section{\textsc{Lorem Ipsum}} it will be lowercase, not small caps. \documentclass[12pt, ...
2
votes
0answers
127 views

How can I customize headings in book-class?

I am writing my master thesis in the book-class in Latex and need some help to format the headings in the document. I have a Word-template from the University which have specific formats of the ...
2
votes
0answers
327 views

Unwanted vertical space at top of page before subsection heading

I have been using LaTeX for a while now, but I am very new to defining my own commands in the preamble. I am working on my thesis, and I'm using a custom .cls file which has been passed down by other ...
2
votes
0answers
223 views

Small-caps special character “ḫ”

I have been trying for some time to get the symbol "ḫ" to play nice with XeLaTeX. However, I'm now having trouble using it inside of a chapter title using the book class. Here's an MWE: \...
2
votes
0answers
309 views

including book name and chapter name above section name in memoir

I am using memoir with xelatex for typesetting a book with multiple chapters and sections. I would like to include the book name (or part name), and chapter name above the section title for each ...
2
votes
0answers
271 views

First chaptertitles position & style problem

This is how my document is looking. For the table of contents and introduction, I wanted to use a lighter block and no number, but there seems to be something wrong with the positioning of the block ...
2
votes
0answers
102 views

greek text doesn't show in headings with cm font in memoir

I have set up my document using memoir and polyglossia for hyphenation in greek and english. I have also used my own fonts, using the commands below and it worked great. I am working on sharelatex ...
2
votes
0answers
77 views

Auto fold sections on startup

I am working on a large document in TeXstudio and always become a bit daunted when i see the wall of text in the document. The first thing I do then is to fold all sections in the document to get a ...
2
votes
0answers
186 views

Kile structure view

I'm discovering Kile. The structure view is useful, but it would be very nice to have numbered sections in this view, in order to be able to jump quickly to section 54 for instance. Do you know if it ...
2
votes
0answers
245 views

How to have a wrapfigure not always be below section heading

I have noticed that wrapfigs always place themselves under a section heading, with quite a bit of white space. This often leads to my wrapfig captions being below the bottom margin and the white space ...
1
vote
0answers
18 views

LyX only shows the 1st section

I have a .tex file which consists of 4 sections. When I run it on LaTeX the result is consistent with the .tex file. But when I import the file using LyX, LyX only hsows the first section , the others ...
1
vote
0answers
52 views

How to reproduce this layout?

I'd like to reproduce this layout (especially the sections + the bottom and the top parts of the paper). My code: \documentclass[a4paper, french, 12pt]{article} \usepackage{amsfonts} \usepackage{...
1
vote
0answers
23 views

Change bullet color in TOC for current section only

In my TOC I would like to highlight the current section using a different color. Following the answers to this question, I have managed to change the text color of the current section using \...
1
vote
2answers
36 views

Section roman and section cross-reference arabic

I want to change just the section cross-reference from roman to Arabic numbers in a paper using the IEEE template. An MWE of my problem is \documentclass[journal]{IEEEtran} \begin{document} Section~...
1
vote
2answers
48 views

Overleaf and Section Fonts

Oveleaf say that it's possible to use a set of pre-installed fonts here. One of these is "CMU Classical Serif" I want to change the section title in my document to be "CMU Classical Serif" I try ...
1
vote
0answers
32 views

chapter title not appear on a single page

I am currently using report document class and include chapters and the titles appears on a single page, how the title showed up exactly after previous chapter?
1
vote
0answers
68 views

A very strange problem with Overfull \hbox

The last two days I face a very strange Overfull \hbox problem. I am writing a book and I am in the 4th chapter. I began writing a 5th chapter, but then I decided to include this in the previous ...
1
vote
0answers
52 views

Subsection title does not align with its section title under [left margin]

I put section title in left margin with use of titlesec package, and the first line of its text aligns with the title as expected. But its subsection title does not align. I tried with titlespacing ...
1
vote
0answers
95 views

Bold chapter numbers

I'm completely new to LaTeX and I was asked to write my capstone project using it. My advisor gave me a starting template that worked very well except for one thing: the chapter numbers are not bold ...
1
vote
0answers
42 views

How to Create Section Tags in TexMaker from Another Command?

This is more for convenience on my part. I'm writing up my homeworks in latex using Texmaker and that involves sectioning parts of the homework as different problems. The document class I'm using, ...
1
vote
0answers
22 views

Convert all sectioning of a document (or part of it) to the corresponding hierarchically higher one (in TexStudio)

I wrote a document which has now around 120 pages. As I'm new to Latex, I started writing the document without using the sectioning \part (as I didn't know it existed). So the higher hierarchical ...
1
vote
0answers
43 views

Titletoc package adds all the contents

When I use \startcontents and \printcontents the "partial" ToC added all the contents in the .out file although I use \stopcontents. They are added like inline text and the sections that are suppose ...
1
vote
0answers
56 views

Section in hebrew letters

I have a document in english with few sentences in hebrew. At one place I had like to make the Section title in hebrew however it appears at the left side of the paper instead of the right side. \...
1
vote
0answers
110 views

Section heading format with accessibility package

I am using the accessibility.sty package with the tagged option and I am getting an error when I try to center my section headings. http://www.babs.gmxhome.de/download/da_pdftex/accessibility.sty As ...
1
vote
0answers
222 views

Writing a cumulative thesis in LaTeX - how can I add “front matter” to every chapter/section?

I am going to write a cumulative thesis (i.e. a thesis consisting of several published academic papers). To make it look nice, I do not want to simply include the PDFs of the papers but rather have a ...
1
vote
0answers
109 views

apxproof changing appendix title

I need to use the apxprrof package because i have proofs that I want to show only in the appendix and this package does exactly what I need. However, I also need to place some tables (not all) in the ...
1
vote
1answer
252 views

How to end the supplementary part?

I am writing a thesis and after some chapters I would like to include some supplementary information. I use \beginsupplement to start my supplement . But how do I end it? My next chapter does now ...
1
vote
0answers
100 views

Centering part label and ornament on page in tufte-book

I'm writing a book using tufte-book and pdflatex through ShareLaTeX, and I want to have multiple parts for that book, with the part label centered horizontally in the page. The standard tufte style is ...
1
vote
0answers
27 views

MLA sectionheaders

What code would I need to get section headers as in this PDF, I've used the MLA usepackage but it doesn't change the headers. I've improvised with the following code previously \noindent\textsc{1. ...