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

3
votes
1answer
36 views

Including a Theorem in a section heading

Within my thesis I am attempting to number the studies listed throughout. I have used a custom theorem style for this: \newtheorem{study}{Study} First Issue I then want to use this within my ...
4
votes
2answers
53 views

Cleveref reference name depending on label instead of counter?

Let's say I have this: \documentclass{article} \usepackage{cleveref} \begin{document} \section{Section One} \label{a:sec1} \cref{a:sec1} \section{Section Two} \label{b:sec2} \cref{b:sec2} ...
1
vote
0answers
23 views

Put count of pages in each section in the table of contents

How would I make the table of contents display a count of the number of pages in each section, so instead of 1. Foo 1 1.1 Bar 2 1.2 Baz 5 it would show 1. Foo 7 1.1 Bar 4 1.2 ...
0
votes
3answers
37 views

lines above and below section

I'm currently using the code below for making section-like titles in a two-column document \newcommand{\titulo}[1] { \par\medskip \begin{noindent} \rule{\linewidth}{0.8pt} ...
11
votes
2answers
1k views

Did anybody manage to use the PhD package?

I've seen these very nice dicussion about fancy chapters: Fancy chapter headings It seems that the packages are now called PhD https://github.com/yannisl/phd I can't find any documentation about ...
0
votes
0answers
14 views

texpos package - is there a push text to the bottom of the page to stretch the text block without using ~?

I have a couple subsections in my texpos block. I noticed you can't really set the size of the block vertically. What I want to do is push one of the subsections and the content's under it to the ...
3
votes
3answers
91 views

Numbering sections, subsections etc manually

I want to number nested sections, subsections, paragraphs etc manually without using commands like \section{Section},\paragraph{Paragraph} like this: 1 1.1 1.1.1 ... How can I achieve that?
3
votes
1answer
73 views

Add tikz styled Summary heading

As per MWE, I currently use two kinds of section header bars: a rounded grey bar for ordinary unnumbered sections ('osections' in MWE) and a 'Topic N', for numbered sections (where N=section number) ...
0
votes
0answers
42 views

Formating section headings

For a journal, I have to format the headings as followed: Title, subtitles, and text subheadings should be chosen for succinctness and interest. Primary (an "A Head") and secondary (a "B Head") ...
2
votes
1answer
49 views

Formatting the headings

SX I'm still fairly new to latex and hoping to get some help on how to do the formatting of the font for chapters and headings. I've been looking around the forum for hours now, trying to see if I ...
3
votes
1answer
79 views

Start a new chapter without heading

In the appendix of my thesis (using scrreprt) I want to start a new chapter containing a lot of large figures. For formating reasons I don't want the automatic heading, created when using ...
4
votes
1answer
72 views

Daleif1 Theme : how to get part's title above chapter?

I am using the daleif1 theme, and I would like to have the \part's title juste above the \chapter's title on the same page. \documentclass{memoir} \usepackage[explicit]{titlesec} ...
0
votes
0answers
38 views

Table of Content Inquiry--LaTeX

I have sections made by the code \section*{} (the asterisk to hide the section number), but when I insert a table of contents, none of the sections are showing up in the contents. I think it's because ...
2
votes
2answers
41 views

Problem adding a new section?

I think my question is pretty simple, but since I've been using LaTex for 2 days by now... Anyway, the thing is I'm having a problem adding a new section. I use the command \section, but in the ...
2
votes
1answer
28 views

Titlesec creates entry in ToC for a starred part

I have the following code, creating section titles starting with "Section [number].", exactly as I wish: \documentclass{article} \usepackage[hidelinks]{hyperref} \usepackage[explicit]{titlesec} ...
3
votes
1answer
85 views

How to lowercase first word of sentence

I have a section like this in my document. \section{\textit{Use case} 5: Restore backup} \label{sec:UC5} I am using the hyperref package to make references that includes the content of the section ...
3
votes
1answer
24 views

Glossary heading not showing up with amsart

after getting a great solution to my problem, amsart with table of contents with "to" and "from" hyperlinks , I've now spent over a day - which is why I keep a template usually :) ...
1
vote
1answer
24 views

Create subsection in enumerate environment

Currently I am using enumerate to create numbering. I want to include subsection within the enumerate environment with the numbers continue as they are. Well, some suggest me to use new enumerate but ...
0
votes
1answer
23 views

How can I get epigrapf on a page without `1.1 TITLE` left over from the previous section?

Epigraph would appear on a page under the previous section's heading in the MWE below: \documentclass{memoir} %\usepackage{epigraph} \usepackage{lipsum} \begin{document} \chapter{preface} ...
0
votes
0answers
29 views

New section using titlesec and titleclass

I'm trying to define an Appendix section with titlesec but I get an error every time I try to use \appendix . My code is \titleclass{\appendix}{straight} \newcounter{appendix} ...
2
votes
1answer
52 views

How to show my plan after each part (\part)? (memoir class)

In the first page of my document a table of content is displayed. However, I would like to show a plan after each \part 's title. I don't have the slightest idea how to do it. Should I use ...
1
vote
1answer
37 views

Section referencing disabled by \renewcommand

The sections in my article have to be re-styled as follows : \renewcommand{\section}[1]{\medskip \addtocounter{section}{1}\flushleft \textbf{\Roman{section}. \ #1}\medskip \setcounter{subsection}{0} ...
3
votes
1answer
47 views

openright sections in article class

Is there a way to achieve something like openright, but for sections in the article class? The MWE would be somthing like this, real simple: \documentclass{article} \begin{document} ...
2
votes
1answer
52 views

How to insert a paragraph before the chapter title?

I need to include several lines before the chapter title for some (not all) chapters. A new chapter always starts with a new page, how to realize the following layout for certain chapter while other ...
3
votes
1answer
27 views

Make listofalgorithms (algorithm2e) inside a section instead of chapter

I'm writing my thesis and I have a few algorithms (using algorithm2e) that I want to list in my appendix, but I don't want to start a new page. Also my listoffigures currently creates a section, not a ...
3
votes
1answer
24 views

Change font size of lstlistoflistings heading

How can I change font size of lstlistoflistings heading? Currently it is smaller than normal chapter heading title. Any ideas? Unfortunately I need to use document class from my university, my MWE: ...
3
votes
1answer
65 views

titlesec formatting

\documentclass[12pt,letterpaper]{report} \usepackage{blindtext} \usepackage[utf8]{inputenc} \usepackage[margin=1in,showframe]{geometry} \usepackage{titlesec} ...
1
vote
1answer
49 views

How to show navigation bullets in customized Beamer them?

I've made my own beamer theme to provide my some resources. I have this code so far: \mode<presentation> \usetheme{Malmoe} \usecolortheme{orchid} \beamertemplatenavigationsymbolsempty ...
4
votes
1answer
65 views

Changing titles of chapters and parts from onehalfspaced to single spaced

Is there a simple solution for making the titlename of parts and chapters singlespaced but the text onehalfspaced without having to add \SingleSpace to every titlename. I have found a solution that ...
0
votes
1answer
49 views

All figures at end of section (or Chapter) but in the order they were cited in the text

I've been trying to do this for so long, it would make my life so much easier. I have a *.tex file containing all the details of the figures in a chapter (but not necessarily in the right order), ...
4
votes
0answers
53 views

Using the long form of a section title in the TOC

I would like to use a full section title for: the section title itself (of course) the table of contents the running heads But, I would like a short name to be used with \nameref{}, because ...
3
votes
2answers
89 views

Subsection label appearing within text

I have a document in "book" format (strictly speaking, in an environment defined by the book publisher I am using, the details of which are way beyond my comprehension), and I very much want to have ...
0
votes
0answers
21 views

How to put table of contents at the beginning of each chapter? [duplicate]

How can i have such a format in every chapter in my thesis. More specifically i would like this table of contents for each chapter depending on its subsections.
1
vote
2answers
41 views

Unnumbered chapter in toc and heading

I'm writing a thesis using scrreprt and want the preface to appear as an unnumbered chapter. When I use \chapter*{Preface} \addcontentsline{toc}{chapter}{Preface} I get the correct entry in the ...
1
vote
0answers
33 views

How to attach section-title to corresponding text? [closed]

My title (\chapter, \section etc.) should always be attached to the corresponding, followed text. It happens that the title is squeezed into the last line of a page and the corresponding text on the ...
1
vote
0answers
82 views

Chapter Design in Latex [closed]

I am writing a mathematics book for grade six . I need a special style for the title of the chapters. Does any one have an idea. Any help is highly appreciated. I plan to add pictures to the title. ...
1
vote
0answers
61 views

Conditional spacing based on length of chapter title

In LaTeX, (or possibly XeLaTeX), how can one achieve the following: A double spacing a 1- or 2-line chapter title, and single spacing under a 3- or more-line chapter title. A triple space ...
0
votes
2answers
50 views

Custom section in conflict with TOC

I adapted this answer to make a custom section I need. My intention is that it looks something like the second heading from this image: So the numbering must be made using (\Alph) and it must be ...
1
vote
1answer
18 views

Sections in ToC with links but without headings

I want to include some external documents (PDFs) in the appendix of the document I am writing. I would like to have these included documents listed in my table of contents, but no section heading ...
1
vote
1answer
22 views

latex dynamic subsection nesting

I need to find a command/environment that allows me to nest a [sub]section one level deeper than the level of the parent [sub]section. For example, given this syntax, \section{Foo} ...
2
votes
2answers
43 views

Page breaks inside titlesec section headings

I use LaTeX to generate contracts and agreements. In most cases, it works okay but, every so often, it causes problems with pagination; specifically, if I have too many subsections without an explicit ...
1
vote
1answer
37 views

\vspace (\section?) misbehaving in amsart document

In the example below, I wanted to reduce white space above the first section header (it seems to be improperly or at least variably placed), and when trying to use \vspace{} above the first \Section{} ...
5
votes
1answer
87 views

Section Numbering in “Convex Optimizaion” by Boyd et. al. with Koma Script [duplicate]

I like the way the section numbering is typeset in the book Convex Optimization, i.e. the sections numbers are placed in the margin. How do I achieve this style with the scrbook class from the ...
2
votes
1answer
66 views

How to indent entire section heading and indent second line, if it comes, further

I am formatting my CV in latex, and I currently have all my section headings indented by 2em. The first item is the date of the \NewEntry and after that I have \hspace{1.5em} inserted to separate the ...
1
vote
1answer
46 views

How to force section to not go to new page in article

I have a document like this: \documentclass{article} \begin{document} \include{sect1} \include{sect2} \end{document} Both files sect1.tex and sect2.tex begin with \section{...}. The output pdf ...
1
vote
1answer
47 views

How to globally left align the text of paragraphs containing variable-length headers with the first line of the paragraph?

I have several paragraphs each with unique headers of differing lengths: \documentclass[12pt]{article} \begin{document} \subsection{Subsection 1} \paragraph{Title} Paragraph text here. Paragraph ...
1
vote
0answers
110 views

Help Chapter Header [closed]

could you help me do a chapter headers like this (sorry for my english) if the page number is odd or even appears in a different place I be trying to use the following code: Fancy Chapter Headings ...
3
votes
2answers
47 views

Environment begin or end in Heading definition

I'm trying to include an automatic \end{multicols} and \begin{multicols}{2} before and after my Chapter headings. (The document is 2 column, the chapter headings are meant to be across the page.) ...
1
vote
1answer
61 views

Make custom tikzpicture section heading non-rigid

Trying to make a custom section heading but I don't know how to make it move fluidly with the text, only by commanding it to be in a specific location on the page. I want it to look like this: This ...
2
votes
1answer
69 views

Customize Bibliography layout with biblatex

I'm in the final stages of formatting my dissertation, and I'm having some trouble meeting the picky formatting requirements with biblatex. I'm required to have a cover page before the bib, with the ...