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

Manually set headmark in scrheadings

I am trying to get the proper header mark for my Preamble in my thesis. \documentclass[headsepline,12pt,a4paper]{scrreprt} \pagestyle{scrheadings} \ohead[\pagemark]{\pagemark} ...
3
votes
1answer
42 views

How to make the section and theorems with different colour

How to write the section and examples in different colour, such as the title with blue colour \documentclass[20pt,a4paper]{extarticle} \usepackage[a4paper,margin=6mm]{geometry} \usepackage{amsmath} ...
0
votes
0answers
24 views

Allow space before heading at top of page in book class

Another question asks about the possibility of leaving space before a section heading at the top of a page in the memoir class. Is there a similar solution for the book class? One workaround I've ...
0
votes
0answers
77 views

No idea, No google: sort subsections to sections [on hold]

I have no clue how to search for help for my problem. I will tell you my problem and hope you can give me some hints, how to solve that. Before i was using latex in a very simple way, but this is a ...
3
votes
1answer
26 views

Beamer: currentsection and currentsubsection highlight differently

Consider the folllowing code: \documentclass[xcolor=dvipsnames]{beamer} \usecolortheme[named=BrickRed]{structure} \usetheme{Singapore} \begin{document} \section{Section No 1} \subsection{SubSection ...
2
votes
1answer
33 views

Bracket error in section heading with new version of XeLaTeX and fontspec

The following MWE compiles correctly with XeTeX version 3.1415926-2.5-0.9999.3 in TeX Live 2013 and fontspec version 2.3c: \documentclass{article} \usepackage{fontspec} \setmainfont{Linux ...
3
votes
2answers
28 views

Page break after each section with title

I'd like to have there be a page break in between each section, just like in this question, but I'd also like there to be no page break prior to the first section (that is, between the title and the ...
0
votes
1answer
23 views

Chapter numbers being added to List of Figures etc

I am using a thesis template, which can be downloaded here I need to format my chapter titles like this: Chapter 1. Chapter Title I can achieve this with this code: \titleformat{\chapter}[hang] ...
2
votes
1answer
34 views

Dynamic Spacing in Titles

The following mwe shows titles embedded in two lines. The problem is, if the title includes letters like 'g','j','p','q', etc. the bottom line is very close to these particular letters. With the ...
1
vote
1answer
27 views

How to prevent header being the last line of page?

Hi. How to prevent breaking of section header and section content? It is very strange behaviour for LaTeX, but it happened and I want to fix it. Code of this section is below: ...
3
votes
1answer
30 views

Vertical space within chapter label using titlesec

I am required to have a chapter heading formatted in the following way to obey thesis formatting rules at our institution: CHAPTER Chapter Title The vertical space between "CHAPTER" ...
0
votes
0answers
28 views

Modify Beamer Outertheme headline to contain section headings on multiple lines

In a theme such as Frankfurt or Darmstadt I would like to have section headings appear on two lines once there isn't enough room on the first line. Please see the image for the output I would like to ...
0
votes
0answers
31 views

\thispagestyle{empty} on last page doesn´t work

I need a site without page style at the end of a document. But the command doesn´t work. How can I solve this? \documentclass[BCOR=10mm,DIV=11] {scrreprt} \usepackage{setspace} ...
4
votes
1answer
40 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
63 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
24 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
39 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
17 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
93 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
76 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
45 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
80 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
39 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
30 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
26 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
31 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
48 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
29 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
25 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
66 views

titlesec formatting

\documentclass[12pt,letterpaper]{report} \usepackage{blindtext} \usepackage[utf8]{inputenc} \usepackage[margin=1in,showframe]{geometry} \usepackage{titlesec} ...
1
vote
1answer
50 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
66 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
54 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
34 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
84 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 ...