{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)

1
vote
1answer
67 views

Align custom chapter heading to the left

I am using a custom calss called ufpethesis, based on the book class, to format my masters thesis. My aim is to insert the chapter numbering to the left of the chapter title, have it aligned to the ...
2
votes
1answer
70 views

remove chapter number from section entries in tableofcontents

an MWE: \documentclass{book} \usepackage{a4wide} \usepackage{fancyhdr} \usepackage{graphicx} \usepackage{polyglossia} \setmainlanguage[spelling=new,babelshorthands=true]{german} ...
1
vote
1answer
53 views

AMSART: Change subsection headings from boldface to smallcaps

In amsart, how do you change subsection headings from boldface to smallcaps?
1
vote
1answer
59 views

problem: no vertical space in chapter title using koma-class scrbook [closed]

I have a problem with the koma-script scrbook class. I want to have a two lines chapter title like: I tried: %%% classe de base (KOMA-Script) \LoadClass{scrbook} %% classe report ...
1
vote
1answer
41 views

Why does package `silence` have a conflict with `alphalph`?

Note: This question is related to an issue shown in another question: Does subsections have limit in the IEEEtran document class?. MWE \documentclass[journal,twoside]{IEEEtran} ...
2
votes
1answer
32 views

Does subsections have limit in the IEEEtran document class?

Note: I've asked a similar question to this one before: Does subfigure package have a limit of subfigures within a figure?. To be honest, it is pretty much the same situation, but the solution can ...
3
votes
2answers
74 views

How to color section number and section name with different colors?

I want to use different colors for section number and section name in \documentclass{book} using sectsty package. The section number must be put in color box. Give me an idea.
2
votes
1answer
151 views

Adding line after section heading

I am trying to add a horizontal line (like \hrule) that starts just after each section's heading, fills the rest of the line, and is vertically aligned with the heading, as shown below. To do so, I ...
1
vote
1answer
46 views

Section formatting messes up Table of Contents

So, a bit ago I asked a question regarding a specific format for my sections, which worked out great. However, when I create my table of contents, it lists each section like this : (without the ...
3
votes
1answer
55 views

How to color the lines and title in \chapterstyle{VZ43}

I want to use the \chaperstyle{VZ43} in writing my book. How to color the vertical lines, section number box and chapter name in different colors?
2
votes
1answer
43 views

Appendix header to show like “Appendix A. Chapter name”

In the MWE below, I wanted to get the appendix header to show up like: Appendix A. Chapter name. In the MWE, just the Chapter name shows up. Here is my code: \documentclass{book} ...
2
votes
1answer
43 views

Using bibentry and section together

I am using Latex for my annotated bibliography. In this document, I currently have a section* like this: \section*{\bibentry{Li2010}} blah blah blah \section*{\bibentry{Andrews2012}} blah blah blah ...
7
votes
2answers
32 views

Cross-referencing Sections with French Latin Section Numbering

This question is tied to my other question about French section numbering using bis, ter, etc. The previous question gave me a method to number the different sections with the latin bis, ter, and ...
5
votes
2answers
208 views

How to make a rule under each section title with KOMA-script?

This question is more or less a duplicate of this similarly named question, but is not exactly the same. I also want to place a horizontal rule below each section title (exactly like in the linked ...
1
vote
1answer
104 views

\setcounter{section} numbering not working

Here is what I am working with: \documentclass{amsart} \newcounter{mysection} \let\realsection=\section \renewcommand\section[1]{\refstepcounter{mysection}% \subsection*{\themysection.\space #1} } ...
2
votes
3answers
104 views

figure is in subsection but it goes to subsection

I need your help in solving the followings: \documentclass[a4paper, 10pt, conference]{ieeeconf} ... \subsubsection{C} \begin{figure}[h] \begin{minipage}[t]{0.3\linewidth} \centering ...
2
votes
1answer
80 views

Using Metapost for titles in Context

I'd like to use Metapost to format my titles like this (not exactly like this, so no need to complain about design issues :)): The problem is that when I try to use the following macro I get an ...
4
votes
1answer
80 views

Define different style for \section & \subsection command

I am trying to customize my \section and \subsection command in such a way that they have two different styles. With the following code I am able to draw squared shades around the section numbering. ...
6
votes
2answers
87 views

Modifying what \part prints

I have uploaded a picture. I wrote \part{Functions from $\mathbb{R}^{n}$ to $\mathbb{R}^{m}$} and it printed what you see in the picture. However I just want it to be seen as I Functions ...
2
votes
1answer
86 views

Left Justified Fancy Section Headings

With a slight modification to the code found here developed by Gonzalo Medina, how to keep the section and subsectioning numbering justified to the left and still have the colored boxes and line? ...
0
votes
0answers
42 views

tipa and sections

I would like to do the following (tipa-package): \documentclass{article} \usepackage{tipa} \begin{document} \section{t\sups{a}{\tiny{e}}t} \end{document} but this leads to an error. Is there a way ...
4
votes
2answers
108 views

How can I replace section* with subsection?

Every time I try to use Latex commands with asterisks in them the compiler says "Paragraph ended before \@sect was complete." I want to define \begingroup \let\section*=\subsection \endgroup ...
7
votes
1answer
70 views

Allow chapters to start on an even page in front matter only

I would like to allow chapters in my frontmatter to start on an even page, without changing the rule for the mainmatter. I've tried the following, but it didn't work: \documentclass{memoir} ...
3
votes
1answer
58 views

Format subbibliography headings as subsection

I'd like my subbibliography headings to be formatted as subsections with the book documentclass : Here is an example : \documentclass[12pt]{book} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
5
votes
1answer
211 views

Showcase of beautiful section styles combinations

Working with all kinds books, I often need inspiration for a set of sectioning styles that are coherent, logical and aesthetically appealing. Well-known examples include Edward Tufte and the style ...
3
votes
2answers
61 views

How to tell if last sectioning command was chapter/section/subsection/…?

I'm trying to define a command which creates a part/chapter/section/subsection/... depending on the last defined part/chapter/section/subsection/... It should look like this pseudo code: global ...
3
votes
1answer
76 views

Increase vertical distance between chapter title and chapter preamble (Koma Script)

I'm using Koma Script's scrbook for a document. I would like to insert some text above chapter headings, which can be done like this: \documentclass[chapterprefix=true]{scrbook} \begin{document} ...
1
vote
1answer
33 views

What can I do if I use class “yathesis” and the chapter title is too long?

I use the class yathesis to edit my thesis. There is a problem: the titles of several chapters are very long, so in the page headers, a bad result is produced like this picture: Picture: The text ...
2
votes
0answers
61 views

Phd Book Styling Package [closed]

Have there been any updates on the usability of the phd package for book styling? A similar question here as well as the github repo for the package both indicate that it is still in its development ...
0
votes
1answer
60 views

How can I insert original text into a beamer frame, keeping the section*'s format?

\documentclass{beamer} \begin{document} \newcommand{\origintext}[??]{?????} %<-------------How ? \section{aaa} \subsection{bbb} %%%%%%%%%%%%%%%%%%% frame 1 \frame{test frame 1} ...
0
votes
1answer
63 views

No section numbering in scrbook

I am using the scrbook class. In some chapters, I have sections so the elements therein get numbered x.y.z where x denotes the numbering of the chapter, y the one of the section and z the one of the ...
3
votes
1answer
94 views

How to write the “subtitle” like this?

I want to write some subtitle like the bold sentence inside the box, could anyone give me some guide on how to do it? Basically this subtitle is inside a section environment. I have no idea how to ...
3
votes
1answer
94 views

(Almost) Robert Bringhurst Style Chapter Titles in Standard Book Class

I have tried: \usepackage[tracking = true]{microtype} \usepackage{titlesec} \titleformat{\chapter}[hang] ...
1
vote
1answer
81 views

Ruled section and \dotfill'ed subsection heading

I am using the memoir class and would like to recreate the section and subsection headings from the moderncv "banking" style: I was able to create the rule under the section heading using the ...
5
votes
1answer
81 views

Adding a \vskip{1em} before each section - won't compile with it

So here's the format I'm using for my sections (I have an article document): \titleformat{\section}{\sffamily\Large\bfseries\filcenter}{\vskip 1em}{CHAPTER \thesection}{\break}{} ...
1
vote
1answer
45 views

How to specify address and telephone number in resume in a vertical manner?

Hi i am making my resume. I want to write some more details such as residential address, Skype address, tel phone number in a vertical manner. How do i do it? Here is my code. \namesection{}{name}{ ...
4
votes
1answer
122 views

Thesis Chapter Formatting

I have started trying to customise my thesis formatting. I am using the book document class. I've been able to follow some tips on here to get e.g. underlined chapter headings etc but I saw a really ...
1
vote
1answer
74 views

adding section and subsection titles in footnote of presentation

I want to show Section and subsection names in the footnote of a presentation, made by beamer. Now, in the footer, I am using \insertsection\text{ $\quad \mid \quad $ }\insertsubsection to create ...
0
votes
0answers
20 views

Define unique section headings [duplicate]

I have no doubt this has been asked, but was unable to find the same question elsewhere. I want to be able to keep the structure of sections and subsections, but have the ability to label them as I ...
1
vote
0answers
24 views

Overfull \hbox in subsection heading when using fontspec

In the following example I get an Overfull \hbox in the subsection heading when loading fontspec: \documentclass[11pt,a4paper]{memoir} \usepackage{fontspec} \makeatletter ...
7
votes
2answers
270 views

Add decoration at end of chapter

A half full page at the end of a chapter nicely signals that the chapter ends. However, sometimes the last page of a chapter looks a bit too empty if there are are only, say, 5-10 lines. In some older ...
3
votes
1answer
78 views

How can I control the space above a section heading in the memoir class?

I'm using the memoir class to typeset a cassette cover with some lyrics in it. I'd like to section headings to be very basic, just with a lineskip above and under them. But it seems that there's more ...
1
vote
2answers
70 views

Unnumbered section numbered figures

I have unnumbered sections (\section*) in my document (documentclass article) but I need to have numbered figures, tables and footnotes within sections. Normal solution like ...
0
votes
0answers
22 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 ...
5
votes
3answers
150 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
50 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
53 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
84 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
55 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
241 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 ...