As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [sections-paragraphs]

{sections-paragraphs} is about the lower-level sectioning commands from \section to \subparagraph that help to form the logical structure of documents. This tag should only be used *in addition* to the more general {sectioning}.

Filter by
Sorted by
Tagged with
0 votes
0 answers
26 views

Page breaks after the introduction section and \nopagebreak doesn't work

So I want the section to start right after the introduction paragraph, but it starts a new page. Note: I am new to this so I am not sure if I should include more than this to know what the problem is. ...
Rahma Hesham 202-000-434's user avatar
0 votes
1 answer
55 views

Redefining sections, subsections, and subsubsections mess up \ref output

I've redefined my sections as follows: \renewcommand\thesection{\arabic{section}} \renewcommand\thesubsection{\thesection.\arabic{subsection}} \renewcommand\thesubsubsection{\thesubsection.\arabic{...
Tomas Premoli Muniagurria's user avatar
0 votes
0 answers
20 views

May we avoid the line break after section title? [duplicate]

I would like to avoid the mandatory line break after \section{title}, so that the text after \section{title} continues on the same line. One way to answer the question may proceed by modifying David ...
Sapiens's user avatar
  • 4,327
0 votes
1 answer
59 views

\themysection numbers in left margin (scrbook)

I would like to make chapter/section numbers appear in the left margin of a scrbook document. While the following code is doing this for chapter/section numbers, it is not doing it for \themysection ...
Christopher's user avatar
3 votes
1 answer
47 views

Scrbook subsubsections formatted like paragraphs

I'm using the scrbook class and would like to have subsubsections formatted exactly like paragraphs (like in the image). I tried to copy the \paragraphformat to overwrite the \subsubsectionformat but ...
Daniel Stich's user avatar
0 votes
1 answer
79 views

Why are all paragraphs in my document not indented?

I am working on a document in Overleaf and all paragraphs are not indented. I cannot see what is forcing this behaviour, since Latex default is indenting paragraphs after the first one in each section....
Joaquim Brasil-Neto's user avatar
0 votes
1 answer
44 views

extra vertical spacing when new section starts in my research article, while working in the format of journal

I am writing a research paper in a latex format of a journal, and facing extra spacing before and after of section ``Some properties for $\varphi_{m}$-convex function". point out the problem ...
razi ch's user avatar
1 vote
1 answer
33 views

How to hide numbers in custom sections and paragraphs

I'm trying to customize my own sections but I can't figure out how to hide the numbers for each section. This is my code: \documentclass[12pt]{article} \usepackage{titlesec} \titleformat{\section}{\...
curry's user avatar
  • 231
4 votes
2 answers
110 views

How to conditionally add a period after a section title when it is followed by normal text

As a follow up to Adding period/dot after subsubsection title, I need to find a way to conditionally add a period/dot after the subsection title when the title is directly followed by normal text. If ...
Neal Kruis's user avatar
0 votes
0 answers
32 views

Problems with 'ctexbook ctexrep ctexart' using '\@startsection‘ (compatibility issues)

I tried to get another lower level section heading after 'subparagraph', and I can get 'sectionLevelSix' (as in the following MWE) to work under 'book report article' series classes. But the 'ctexbook ...
miya's user avatar
  • 43
0 votes
0 answers
44 views

modify book.cls class to add one more section level (subsubsubsection)

I would like to modify the book.cls class by adding one more section level (subsubsubsection). I know this can be done with the titlesec package, but I'm looking for a way to do this within a copy of ...
Martina's user avatar
0 votes
1 answer
49 views

Changing shape of some sections-paragraph

I am working on my dissertation in Overleaf (documentclass book). I would like to change the shape of the section-paragraphs' title from bold to small caps italics. However, this change should not be ...
Sarah's user avatar
  • 3
0 votes
0 answers
43 views

Why does \subsubsubsection not work? [duplicate]

Why am I not use \subsubsubsection{My subsubsubsection}? I tried to use \paragraph but same result. \documentclass[a4paper,12pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \...
Zokulko's user avatar
  • 131
1 vote
1 answer
204 views

Applying font to a paragraph

I am doing my phd thesis and I want to apply a different font but only to the paragraphs of my document, I mean: only to some parts of the document. How could I do this? Moreover, does anyone know ...
Joncarre's user avatar
  • 173
0 votes
1 answer
195 views

is it possible to add more subsections like 1.2.3.4.5.6.7 in LaTeX? [duplicate]

Is it possible to add extra subsections? example) \subsubsubsubsubsection
Shino Mathews's user avatar
3 votes
2 answers
168 views

Remove indentation

How can I remove indentation between enumeration and text? I tried \noindent but it didn't work. \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage{graphicx} \...
MASSAL's user avatar
  • 115
-1 votes
2 answers
47 views

Set the index of items inside the text

With this code: \section{Consideraciones generales} \subsection{}Autoridad reguladora y fiscalizadora \subsubsection{}El Ministerio de Salud fungirá como órgano regulador vigilante del ...
Elbert Villarreal's user avatar
0 votes
1 answer
38 views

Section name not displaying correctly in ToC

I faced a problem with the Table Of Content in LaTeX (see the picture) The code I'm using: Preambule: \usepackage[left=1.5cm,right=1.5cm,top=2.5cm,bottom=1.5cm]{geometry} \usepackage{fancyhdr} \...
WolfGang1710's user avatar
0 votes
2 answers
411 views

write "Section 1" instead of "1.1"

How can I write section 1 instead of 1.1 in my report and show it on Table of Contents this is the only solution I have founded but this do not show section on table of content \section*{Section 1 :...
girl_of_data's user avatar
1 vote
1 answer
30 views

set paragraph headings in colour

I am trying to get my paragraph headings to be in color, so I try: \documentclass{article} \usepackage{lipsum} \usepackage{gentium,color,titlesec} \definecolor{tuftsblue}{rgb}{0.08, 0.37, 0.61} \...
user3236841's user avatar
0 votes
0 answers
56 views

Translate sections into German

This is my Code: %% Packages %% ======== %% Babel provides support for languages. 'english' uses British %% English hyphenation and text snippets like "Figure" and %% "Theorem". ...
srky's user avatar
  • 101
1 vote
1 answer
47 views

How Can I to remove the second enumeration in the sections?

I wish to remove the second enumeration of sections in my text, i.e, where has section 1.1 I want section 1. How can I do it?
Cícero Hitzschky's user avatar
1 vote
1 answer
50 views

Conditional dot at the end of a section heading with \@addpunct

I am trying to add a dot automatically to section headings. Take the following example: \documentclass{report} \usepackage{amsgen} \makeatletter \newcommand{\sectiontitleformat}[1]{% #1\@addpunct{.}...
haggai_e's user avatar
  • 446
0 votes
1 answer
2k views

Springer Nature LaTeX Template with Acknowledgments section on the title page

I am using the latex template of Springer Nature and I would like to add Acknowledgments section on the title page but when I use \bmhead{Acknowledgments} and \section*{Declarations} before \abstract{}...
user257895's user avatar
1 vote
1 answer
100 views

Is there an easy way to move between sections in TeXstudio

In Scientific Word, there is a list box for displaying all sections in the article so that moving between sections is very easy. I wonder if there is a similar way to move between sections in ...
Eugene Zhang's user avatar
0 votes
0 answers
145 views

Positioning text on the side of a paragraph

I would like to be able to place a text besides a paragraph. The figure below illustrates the scenario: I would like to add the text "This is a paragraph comment." besides a paragraph. But ...
Rodrigo Falcão's user avatar
0 votes
1 answer
81 views

Automatic dropcaps for the first letter of a section

I'm working on my thesis dissertations, and I'd like to convert the first word of each section to dropcaps automatically. I know how to do this manually using the lettrine package. But I would like to ...
George G.'s user avatar
  • 101
0 votes
0 answers
59 views

Remove internal zero from paragraph numbering

I'm writing a paper using the IEEE template. When using \paragraph I get a numbering that includes a zero in between. For example, this... \paragraph{MSF\cite{rfc9033}} is the Minimal Scheduling ...
Lucas Aimaretto's user avatar
0 votes
1 answer
67 views

after \paragraph{} return to main text

I was wondering whether after a \paragraph{paragraph_title} environment I might return to the main text. If so, how can I properly do it in latex? Example: \section{Why does the Sun shine?} main text ...
Cecilia's user avatar
0 votes
1 answer
107 views

(Done!) Chapter Uppercase | indentation in section numbering

I'm editing this book >> https://www.overleaf.com/read/dntbyngmsfzs and I'm having 3 problems: The top summary I can't get down to 2.5 cm The chapter is not capitalized (uppercase) and IS NOT ...
Marcio Lord's user avatar
2 votes
2 answers
106 views

How to write sections in following format?

I am not able to find a function to write this. Please help!
Unknown's user avatar
  • 29
3 votes
1 answer
62 views

how to reduce horizontal space before and after paragraph/subparagraph/sectional headings

I have the following MWE: \documentclass{article} \usepackage{lipsum} \usepackage{titlesec} \setcounter{secnumdepth}{5} \begin{document} \section{Section} \lipsum[1] \subsection{Subsection} \lipsum[2] ...
user3236841's user avatar
0 votes
0 answers
27 views

Can I add a section, suppress it showing when ouputting to pdf, but reference the section number later instead?

So I want a centered title page for each chapter of the notes I'm writing using the article class. I've tried this but getting an error: \suppress \section{Numerical Analysis Techniques\label{sec:...
markh748's user avatar
0 votes
2 answers
50 views

Edit the distance to the edge of a paragraph, for one paragraph

What would be the proper way to move the entire paragraph a distance. Not just the indentation. In the code i show the 2 first lines are good, but when is a paragraph one can see just the indentation ...
Libreik's user avatar
  • 91
0 votes
1 answer
60 views

Adding tex files as a single document adapting the section structure

I have several standalone documents/chapters (A.tex, B.tex, ...), that I want to assemble in a single document (Main.tex). Every chapter has its own section hierarchy (starting from sections, ...
Jose Soto's user avatar
0 votes
2 answers
165 views

How can the space between a paragraph title and its body be eliminated?

Is there a way to eliminate the space between a paragraph title and its body? \documentclass{report} \begin{document} \paragraph{Title}and body. \end{document}
Paul's user avatar
  • 103
0 votes
0 answers
44 views

How to make a paragraph at the beginning a section?

I have a problem with paragraphs. Well, I want every sentence that starts a new chapter or sub-chapter to have a paragraph. I still know how to make a paragraph. It is enough to give a blank line. E.g....
user243883's user avatar
0 votes
1 answer
462 views

Having trouble customizing the paragraph using titlesec in Overleaf (LaTex)

I am working on customizing sections, subsections, and paragraphs for my report. I almost have the functionality that I want, but I am missing a small part. Current Situation: \titleformat{\paragraph} ...
AArtlone's user avatar
2 votes
1 answer
108 views

How do I make titleless clauses appear in the scrjura table of contents?

How do I make \Clauses without title appear in the table of contents? \documentclass[]{scrreprt} \usepackage[contract,juratotoc]{scrjura} \begin{document} \maketitle \tableofcontents \chapter{First ...
homocomputeris's user avatar
1 vote
2 answers
42 views

Put float after (empty) paragraph

My code looks roughly as follows: \clearpage \subsubsection{mySubSubSection} \paragraph{because SubSubSubSections don't exist} \begin{figure}[H]\includegraphics[]{fig1}\end{figure} \begin{figure}[H]\...
PDiracDelta's user avatar
2 votes
1 answer
160 views

Change "paragraph" to "subsubsubsubsection"

When I make reference to paragraphs in Latex, I'd actually like it to say "subsubsubsubsection" (not my choice of formatting) instead of referring to "paragraph 1.0.0.1" in the ...
Lisa's user avatar
  • 123
3 votes
2 answers
155 views

How can I use macros in \addcontentsline?

A word of warning to begin with: I doubt I have fully grasped \def, \edef, \let or \expandafter and feel utterly stumped after a long string of attempts to solve the following problem. I would like to ...
holconius's user avatar
0 votes
2 answers
56 views

Why are there on certain pages no headings?

I am wondering why the chapter is not written down on the heading (as I marked red). I guess it has something to do with \section*{}. Does anyone know how to fix this? This is my code: \documentclass[...
Adam's user avatar
  • 95
0 votes
0 answers
142 views

How to place graphics/image/figure after a paragraph

I have hacked together a small command that I can use to include graphics, scale them as I want and create a label for it and reference to it. I use it like this: As can be seen from \screencap{...
amateur99's user avatar
3 votes
2 answers
883 views

How to use sections/headings in a scrlttr2 letter?

I use scrlttr2 as a letter template? (Together with mailmerge in case that is relevant.) How can I use sections or headings inside of a long letter to structure it? Of course, I don't want to make use ...
rugk's user avatar
  • 1,040
2 votes
0 answers
232 views

How to prevent new Section to start at new page when there is no space [closed]

I really hate it and annoyed when I start a new long section (I just use \section*{Section Name} and there is no additional package I'm using), but it starts at a new page because the new section ...
Dr. Yutam's user avatar
0 votes
0 answers
83 views

How to list the theorems, lemmas etc without sections? I would like 'Theorem 1', 'Lemma 2', 'Theorem 3' etc

I only have theorems and lemmas in my short document, and it does not make sense to have then listed with sections and subsections. I also have no corollaries (to be clear, this is a homework ...
Meep's user avatar
  • 321
0 votes
1 answer
55 views

May I avoid new line for subsubsections?

I have this MWE: \documentclass[12pt]{article} \begin{document} \section{The title} \subsection{A subtitle} \subsubsection{} \subsubsection{} \end{document} How may I get subsubsection 1.1.2 to ...
Sapiens's user avatar
  • 4,327
1 vote
2 answers
697 views

\paragraph does not appear where it should

until now I think I have searched the whole internet, but without finding an answer. I hope this question is not embarrassing. I have the following Latex Code: \subsection{Benutzeroberfläche} \...
Lukas Thiersch's user avatar
0 votes
1 answer
268 views

Put \overrightarrow in section title [duplicate]

I've been trying to put a vector in the title of a section but no matter what I've tried, I keep getting the same error message (see below). I am using pdfLaTeX. \section{Das Drehmoment $\...
A Potato's user avatar

1
2 3 4 5
9