Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

0
votes
0answers
26 views

Section titles for documentclass beamer

I am using the template available here to make a poster. Using section in the document doesn't display the section titles, \section*{Equation 2:} \subsection*{Number = 2} \begin{equation*} X = CS =...
0
votes
1answer
20 views

Section*{} and table of contents [duplicate]

When using \section*{XXXXXX} it won't show in the table of contents. Is there any way to show this section without a number in the toc?
0
votes
2answers
31 views

Remove white space at the start of new section in latex

Using this code: \RequirePackage[l2tabu,orthodox]{nag} \documentclass[12pt,letterpaper,nofootinbib,notitlepage,tightenlines]{revtex4-1} \linespread{2} \usepackage[letterpaper,margin=1in,bottom=1in]{...
0
votes
1answer
49 views

Section mark styling and page number style

Im quite new to LaTex but i am willing to learn how to style my own Thesis instead of just copy and paste some code from a template. Now im facing a problem. I would like to style my thesis similar ...
1
vote
2answers
30 views

How to turn on/off \newcommand{\sectionbreak}{\clearpage} per chapter?

I have a book with lots of chapters and many sections in each chapter. Some chapters, I want to automatically make each section start on new page, but not in some other chapters. The problem is that ...
0
votes
0answers
22 views

Is there a way to give vertical space before the title of section when it is on the top of the page?

\documentclass[a4paper,12pt]{article} %twoside yaz iki taraflı için \usepackage[top=2.5 cm, bottom=2.5 cm, left=4 cm, right=2.5 cm]{geometry} \usepackage[turkish,shorthands=:!]{babel} \usepackage[...
0
votes
3answers
30 views

Prevent pagebreaks before and after part

I'm trying to create a titlepage that's linked in the table of contents (i.e. clicking the link should send me onto the titlepage). It should look like this: \documentclass[oneside]{scrbook} \...
1
vote
1answer
46 views

tableofcontents in beamer

I need to do tableofcontents ,where the was only one section on frame,other section on next frame ,but only one section at slide, like this not like this and not like this How can I do it ,help me ...
0
votes
0answers
33 views

Why does subsubsection not appear in my file?

I want use subsubsection such as 2.1.1. Do I need a specific package to allow that? I used them in Overleaf without problems, but now I'm using TeXShop and I can't use them. The title of section shows ...
0
votes
1answer
16 views

Have section headers be dependent upon recto vs verso pages

Would it be a typographical abomination to have section headers be mirrored of the verso pages on the vecto pages? ie, if the verso page looks like: Verso: 1.1 Some header Then, Recto: Some ...
0
votes
2answers
31 views

Blank page after subsection in appendix

The table after the subsection title in the Appendix gets moved to the next page, although it would easily fit, afaik, on the page with the subsection title. This gives a page that includes nothing ...
1
vote
1answer
30 views

Boldsymbol in subsection title

I'm using the following command in my text and there is no problem, but it doesn't work in the subsection title, \boldsymbol{\mathrm{tr}} \documentclass[10pt, twocolumn, twoside, journal]{IEEEtran} \...
0
votes
1answer
21 views

Section numbers not showing

I am currently writing a latex document using a template I got sent from someone. The problem with this template, however is that the section numbers are not showing. Since I am not super familiar ...
1
vote
0answers
31 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
1answer
26 views

Section/Subsection naming in Greek

I would like to replace the words "Secon" and "SubSecon" with something in Greek. Also i would like to have the Table of contents showing everything correctly. Here is my code: \documentclass{article}...
1
vote
1answer
46 views

How can I configure latex to try to break at a sectioning command before it breaks a paragraph?

MWE \documentclass[paper=a4]{scrartcl} \usepackage{lipsum} \begin{document} \section{a} \lipsum[1-2] \section{b} \lipsum[3-4] \subsection{c} \lipsum[5] \end{document} The ...
1
vote
1answer
27 views

Package fncychap: how do you make the title boxes smaller

I'm new to LaTeX and wanted to write my dissertation in report mode. I am trying to use the package fncychapbut I noticed that my typeset version has a massive box that stretches to halfway down the ...
0
votes
0answers
16 views

Bug in section numbering indentation? [duplicate]

I used automatically generated documents to export some computation results and I have observed that when section number reach 100 the indentation becomes too small to prevent some overlaps: I have ...
0
votes
0answers
29 views

Remove section numbering from Bibliography

I am using a ref.bib file where I am putting my references and attaching them to the main TeX file using \bibliography{ref.bib} \bibliographystyle{unsrturl} The reference section then appears as: I ...
0
votes
1answer
20 views

Less distance subsubsection in cleanthesis style

How can I reduce the distance between the subsubsection heading and the text in the Clean Thesis Style? I didn't find anything about it.
0
votes
0answers
28 views

Table of Contents - alter number of vertical spaces

In my thesis, I'm required to submit a table of contents which begins 5 blank single-spaced lines below margin. The contents of the table begin 2 single-spaced lines after the header. The picture ...
0
votes
1answer
21 views

How to make a section with multiple numbers

I am creating tables with questions above them. The answers have a unique ID and I want those IDs as the numbers for the section. So for example: 12-14. On a scale of 1 to 3 how well can you do in ...
2
votes
1answer
30 views

Numbered sections in unnumbered chapters + ToC

I want to have numbered sections in an unnumbered chapter. This is my code: \documentclass{book} \begin{document} \tableofcontents \chapter*{Introduction} \addcontentsline{toc}{chapter}{...
0
votes
1answer
28 views

Consecutive equation numbers with different section numbers in the front

I am looking for commands that enable me to have consecutive equation numbers with different section numbers in the front. For example, when the last equation of section 2 is (2.18), the next equation ...
0
votes
1answer
21 views

How to list portion of subsections

Right now I have a list of questions which I labeled. \documentclass[10pt]{article} \usepackage[hidelinks]{hyperref} \usepackage{enumitem} \begin{document} \newpage \section{Project} ...
0
votes
1answer
27 views

Adding unnumbered subsections to toc

https://tex.stackexchange.com/a/11669/174620 This answer worked very well for setting the counter to zero for sections. I want similar command for subsection. I tried \setcounter{subsecnumdepth}{0} ...
3
votes
1answer
103 views

Setting chapter numbering to alphabetic in one part only

I need to have the chapter numbering of a specific part in my document be alphabetic instead of numeric. How is this accomplished? MWE playground: \documentclass[a4paper,12pt,twoside,onecolumn,...
0
votes
0answers
10 views

\resheading personalized

I would like to change my \resheading tab and insert a black box with question number in white. Like this post (Problem 1): \resheading in two column book document class Thanks! Helena
2
votes
1answer
35 views

Bibliography as numbered subsection

For my Bachelor thesis, I would prefer that the references are listet as a subsection in the section "Appendix".... The only thing a achieved so far is, that together with \usepackage[numbib]{...
0
votes
0answers
31 views

Check whether section/subsection is longer than one page

I have defined myself a small (probably disgustingly overcomplicated) command to reference parts of my document and add the respective page number to the output if the referenced part is on a ...
0
votes
0answers
31 views

Toc entry misplaced with \addcontentsline

I have some problem with my PhD thesis, in particular with the Table of Contents. My preface consists in many different environments (defined by a custom class) containing the abstract, the ...
2
votes
2answers
29 views

Renewing \section command affects \subsection spacing

If I use standard \section and \subsection commands I get the following normal behavior: However, if I renew the section % Custom sectioning style \let\oldsection\section \renewcommand{\section}[1]{ ...
2
votes
1answer
21 views

How to place part titles to top of paper

How to place part titles like chapter titles in book class? MWE: \documentclass{book} \usepackage{lipsum} \usepackage{titlesec} \titleclass{\part}{top} \titleformat{\part}[display]{} {\huge\bfseries ...
3
votes
1answer
52 views

Accessing chapter's name in Koma-Script

I looked up for a solution to access the name of current sections (chapters, sections, etc.) from macros (including starred variations of the section command). The set of macros proposed here works ...
2
votes
2answers
24 views

Remove hyphens from chapter, section titles

How do I remove hyphenating from all the \part{}, \chapter{}, \section{}, etc., titles of a document?
0
votes
0answers
20 views

Add/Continue a new subsection to an older section after it was ended [in toc]

I'm basically looking to not order things how they appear chronologically, page-wise. Instead, if I have [subsection #1.3] after [section #n], add #1.3 to #1 instead of #n, for ToC reasons. What I ...
0
votes
0answers
23 views

how to implement APA style heading and Sub Heading in Thesis.cls file

this is my Thesis.cls file \NeedsTeXFormat{LaTeX2e}[1996/12/01] \ProvidesClass{Thesis} [2007/22/02 v1.0 LaTeX document class] \def\baseclass{book} \DeclareOption*{\PassOptionsToClass{...
2
votes
1answer
24 views

textbf in mintinline

I am trying to have bold font in a subsection*{} with using \mintinline. Is there anyway to accomplish that? Here is the example: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{...
1
vote
1answer
19 views

TOC/bookmark not accurate when containing math content (Something weird at ToC and math mode) [duplicate]

I put at one of my sections this: $\left\langle a,b\right\rangle $ and what I get is something very wired! Do you know why it's happens and I can I solve it? If there is a solution for it... Here is ...
1
vote
1answer
36 views

How to overlay a custom list using AtBeginSection in Beamer

I would like to separate my sections in a beamer presentation with a custom frame that contains an enumerate list. However, using overlay specifications with item inserts multiple frames at the ...
0
votes
2answers
55 views

How to get custom section style using titlesec?

I am trying to design a custom section. My desire section will be something like this : But I am unable to get the exact result. This is what I was trying : Horizontal rule will be joined at the ...
0
votes
1answer
29 views

how to add the word chapter to a fancy style?

Dears i am using a fancy style in my document, however i would like to add the word chapter to the number of chapter (see the picture bellow). how can i do that ?
0
votes
0answers
25 views

How do I remove a specific chapter from a table of contents? [duplicate]

My current layout looks like this: \documentclass[12pt, onecolumn]{revtex4} \tableofcontents \section*{Acknowledgements} \section{Chapter 1} \section{Chapter 2} \section{Chapter 3} \section{...
2
votes
1answer
76 views

Underlining section titles [duplicate]

Is there a good way by specifying it in the preamble, to underline my section titles (not chapter titles), instead of having to do \chapter{\underline{Section Title}} for all chapter titles in the ...
0
votes
0answers
20 views

How to change the title of a section in the table of contents [duplicate]

In the file I am working on, some lengthy section titles are split up into two lines in the table of contents, with just one word dangling on the second line. Therefore, I would like to redefine the ...
1
vote
1answer
38 views

How do I change the properties of my subsubsection headers (ie. make them bold)? [duplicate]

I want to be able to put my subsubsections in bold - currently they are displayed in italics by default. What I have: 1. Section 1.1 Subsection 1.1.1 Subsubsection What I want: 1. Section 1.1 ...
1
vote
1answer
44 views

scrreprt: unnumbered chapters, numbering within sections - how to remove period?

Using KOMA-Script's report class scrreprt, I'd like to have chapters without any numbering, and have normal (Arabic numerals) numbering within each section (in text and in ToC), like so: Chapter ...
0
votes
0answers
15 views

Tender dossier with centered articles

I'm trying to write a tender dossier in LaTeX. I'm trying to achieve the result in the picture below: I need mainly to know 3 things: which would be the best class to use (article, book etc.) how ...
2
votes
1answer
24 views

Calling section via csname [duplicate]

I want to make a command that will create a new section or subsection (or subsubsection or...) based on its argument. Why does calling \section and \subsection via \csname not seem to work at all, ...
0
votes
1answer
18 views

Indent 2nd line of multi-line header \paragraph

Writing a text in the article class, there are levels of headers until \subsubsection. However, for the next lower header type, \paragraph needs to be used. If this is a multi-line header, it is not ...