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

Filter by
Sorted by
Tagged with
0
votes
2answers
122 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
41 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
30 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
114 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
37 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
45 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
65 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 ...
1
vote
1answer
25 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
24 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 ...
1
vote
1answer
56 views

reference to a \section*{}

I need to answer my assignment in latex with a Assignment 1a Assignment 1b Assignment 1c Assignment 2a Assignment 2b I have tried to use the \section*{}, but referencing then doesn't work. Is ...
4
votes
3answers
224 views

How to add frame around section using titlesec?

I want exact this section style but I am unable to add frame around it. Could you please help me? Here is my code snippet : \documentclass[10pt,a4paper,twoside]{report} \usepackage{blindtext} \...
0
votes
0answers
20 views

Skip headmark on section definition page [duplicate]

Is it possible to skip the headmark only on the section definition page? %KLASSE DOCUMENT \documentclass[a4paper, 12pt, bibliography=totocnumbered, twoside]{scrartcl} %TWOSIDE HANDLING \raggedbottom ...
2
votes
0answers
23 views

Glossaries entry in heading of book class causes an error [duplicate]

In the following MWE, an entry from glossaries is included in a section title so it gets included in the page heading created by the book class: \documentclass{book} \usepackage{glossaries} \begin{...
0
votes
0answers
35 views

Table and text over footer

When i try to put a table on the code below, text or the table gets over footer. And the text below that code does not appear on the next page. Does anyone knows how to correct it? Text before ...
0
votes
1answer
52 views

How to include section numbers in the eLife template of Overleaf?

I would like to use the eLife template in Overleaf for the supplementary material. Since it is very long, I need to include section numbers, to make it easier for the reader to navigate the document. ...
0
votes
0answers
43 views

Remove numbering in header for certain sections - Fancyhdr

I would like to turn off the chapter number and section number for appearing in my headers from a certain point in my document. I don't want my appendix to have a chapter number and also don't want ...
1
vote
1answer
49 views

How to do blind endnotes

A "blind endnote" consists of the page number to which the endnote refers, some text that precedes where the endnote number would be in the text, and the text of the endnote. In the text itself, there ...
0
votes
0answers
28 views

Remove chapter and section numbering in header for only select sections

I would like to turn off the chapter number and section number for appearing in my headers from a certain point in my document. I don't want my appendix to have a chapter number and also don't want ...
0
votes
0answers
18 views

How to get “full path” of a reference, when \thesubsection do not contain \thesection?

Context My document has following structure: 1. First section a. Lorem b. Ipsum 2. Second section Note that \thesubsection is defined without including \thesection. Or in other words, ...
2
votes
2answers
48 views

How can I list an un-numbered section on the table of contents?

Here is a capture of part of "Table of Contents" of my article. Between section 32 and Appendix A (On Page 68), I manually added unnumbered sections called "Summary" "Further Reading" and "...
1
vote
1answer
43 views

New title class doesn't increase counter

I'm fairly new to LaTeX and need to create a subsubsubsection in a document. After looking around I found that it could be done with titlesec. I've followed all instructions I've been able to find but ...
1
vote
1answer
46 views

Try to implement APA style heading and sub heading but it gives error

\documentclass[11pt, a4paper, oneside]{Thesis} % Paper size, default font size and one-sided paper \setcounter{tocdepth}{5} \setcounter{secnumdepth}{4} \usepackage{longtable} \usepackage{wrapfig} \...
0
votes
0answers
13 views

Vertically justifying chapter number and name

My thesis chapter are currently displayed as the image above, and I would like them to show as the image below, that is vertically justifying the name of the chapter according to the size of the ...
1
vote
1answer
44 views

Legal-style indentation with text on the same line as the subsection title

A legal document requires the indentation format as in Question How can I get legal style indentation on section, subsection, subsubsec.. using titlesec?. I'm using the answer to the related question ...
0
votes
0answers
56 views

sectioning - section and subsection starting in the same line

I need to save as much space as possible in my document. So, I use \titleformat with the [runin] shape argument from the titlesec package to use the space after a section heading. Whereas this works ...
0
votes
1answer
38 views

Setting multiple styles for sections

I'm trying to style my section headers using sectsty, but I can't seem to apply more than one style. This is my code: \sectionfont{\sectionrule{0ex}{0pt}{-1ex}{0.1pt}} %\sectionfont{\fontsize{30}{40}\...
0
votes
0answers
36 views

Section header text appearing one page early in a specific situation

Due to specific reasons, I created an alternative \section command called \nsection. The simplified version below should behave similarly to the original \section command, however, I get an unexpected ...
2
votes
2answers
39 views

Changing “Chapter” just for one chapter

I am writting my thesis, using the book class. The manuscript is in English, but the first chapter (the introduction) is in French. I would like to have "Chapitre" instead of "Chapter" written before ...
0
votes
0answers
67 views

1 section title for multiple pages pdfpages

I have tried to add a section title to my multiple pages pdfpages in the appendix. However, my attempt was wrong, as it now creates a new section title for every page of the included (multiplepages) ...
0
votes
0answers
25 views

Undesired effect on Font size and lines spacing in paragraph and ToC after including unnumbered chapters

When I include the unnumbered chapter; abstract, acknowledgment, the font size and line spacing of the entire document from ToC to the last chapter are changing in a haphazard way. However, if I ...
1
vote
0answers
70 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 ...
0
votes
0answers
36 views

Latex table not show in page

I write the script for show table in section like this. \section{RESULTS AND DISCUSSION} This paragraph will end the body of this sample document. Remember that you might still have Acknowledgments ...
1
vote
2answers
37 views

How to capitalize section title in body document but not on table of contens

How do I capitalize section title in body document but not in table of contents. I use \renewcommand\section{\@startsection {section}{1}{\z@}% {-3.5ex \@plus -1ex \@...
0
votes
0answers
28 views

Blank padding under the subsection heading

I have a subsection named "Resources" defined after a section as \subsection{Resources}. I am getting unwanted blank padding right underneath the heading of the subsection in the pdf. Below the image ...
2
votes
1answer
75 views

scrbook no chapterheadstartvskip for unnumbered chapter

I am writing a document using the KOMA-Script scrbook class. I am using a custom chapter style and a \chapterheadstartvskip. The chapter number is printed as a tikz overlay in the resulting whitespace....
3
votes
2answers
115 views

How to remove space in section title at KOMA-Script

Here is MWE: \documentclass{scrartcl} \usepackage{adforn} \renewcommand{\sectionlinesformat}[4]{% \ifstr{#1}{section}{% {\adforn{30} {#3}. {#4} \adforn{58}} } {{\...
0
votes
1answer
46 views

How to remove the underline from the ToC title at KOMA-script?

I made underline titles of sections at KOMA-script. Here is MWE: \documentclass{scrartcl} \usepackage{ulem} \addtokomafont{section}{\uline} \begin{document} \renewcommand\raggedsection{\centering} \...
2
votes
1answer
85 views

How to make underlined-centered titles at KOMA-script?

So I tried to make underlined-centered titles: The answer for the centered came here and here. Now my question is, how I make it underlined: with \ul it doesn't work (the file don't compile, and ...
0
votes
0answers
41 views

making a chapter independent of the previous one

I am new to latex and preparing my thesis with latex. My thesis consists of 2 parts. Part I includes 3 chapters, while part II includes a number of papers. In part II, I would like to have each paper ...
3
votes
2answers
94 views

How to center headings at KOMA-Script

As a continue to this question: customize subsubsection with koma script How do I center the titles? \renewcommand{\sectionlinesformat}[4]{% %\@tempswafalse \ifstr{#1}{section}{% ...
1
vote
2answers
41 views

How do I prevent from a symbol at part title to be in a new line

Here is a MWE: \documentclass[a4paper,english,hebrew,numbers=noenddot]{scrartcl} \usepackage{fontspec} \usepackage{adforn} \renewcommand\partlineswithprefixformat[3]{ #2 #3\adforn{64}} \begin{...
0
votes
2answers
122 views

Change font size of section title in document without messing table of contents and headers

I know this is technically wrong and I shouldn't even be attempting to do it... Nevertheless, I have a document which has section header sizes set up as Large and works fine everywhere except for one ...
0
votes
0answers
43 views

Start a new starchapter without heading

I'm trying to make a \chapter* without heading, just like this solution: Start a new chapter without heading So, how I start a \chapter* without any headings? And like before, not all the chapters, ...
1
vote
1answer
99 views

How to make a line break at the title of the parts?

As a continuation of this question: How to center a tcolorbox at a part title at KOMA-script article, if you see the But note of this answer this solution is good only if I don't break lines, i.e., I ...
2
votes
2answers
108 views

Numbering Question Help Me!

I don't know if my explanation is correct, but I'd like to make the following documents This is about numbering. I'm trying it myself, but... I think this is too difficult for me. Can you tell me how ...
0
votes
0answers
25 views

Bookmark skips section and only displays subsection

I've used such a command to generate bookmarks, \usepackage[colorlinks=true,citecolor=red,bookmarksopen,bookmarksdepth=2]{hyperref} However, only subsections appear in the bookmarks. Did I miss ...
0
votes
2answers
42 views

How to get uniform vertical space space after section title

I have encountered a problem when working with minipages. Consider the following example. \documentclass{article} \usepackage{mdframed} \begin{document} \begin{minipage}[t]{0.45\textwidth} \...
0
votes
1answer
118 views

How to write 1 Chapter instead of Chapter 1

I want to write 1 Chapter instead of Chapter 1. Any suggestion? Thank you
0
votes
1answer
50 views

My header changes color on pages that start with a section

Im writing a report (in LaTeX) for which a made a header using fancyhdr. The text in my header is suppose to be black and the line is colored. However at some pages my headertext is colored as well, ...