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
0answers
25 views

Why authors use static references to sections in the Introduction section? [closed]

In my copy-editing work I often encounter paper where authors use static reference to (sub)section in the Introduction section (e.g. "...section~2.3") while, in the rest of the paper, they ...
0
votes
2answers
42 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[...
34
votes
9answers
24k views

paragraph style - how to force line break? \paragraph{} \\ - make paragraph a header?

I want to format paragraph to work as a regular title \paragraph{title} text goes here output of that is: title text goes here how can I change the output to force line break and use the usal ...
0
votes
2answers
44 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} \...
0
votes
0answers
29 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{...
1
vote
2answers
72 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 ...
2
votes
0answers
46 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 ...
0
votes
0answers
25 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 ...
0
votes
1answer
36 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 ...
12
votes
4answers
4k views

Section headers in margins

I'm working on my resume in LyX and I would like my section headers to look like this. What should I write in the preamble to achieve this?
0
votes
1answer
34 views

Changing paragraph heading style in memoir

For changing all heading styles up to paragraph, I can use the same process in memoir (seen in MWE below). However, this does not seem to work for paragraph, and no result is printed! I am not sure ...
0
votes
0answers
37 views

Consecutive paragraph headings in the same line

How do I convince LaTeX to write consecutive headings of the paragraph level in the same line? In the following minimal example, I've included the original definitions of \paragraph, \@startsection, ...
1
vote
1answer
69 views

Beamer subsections

I tried to point my subsections. I have a table of content and I want to show the subsection I will talk about before the frame in which I will talk about it. I managed to do such thing with sections ...
0
votes
1answer
21 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 $\...
1
vote
1answer
79 views

How to define \section to compile conditionally

I would like to create a structural delimiter that behaves identically to \section but compiles conditionally. In the MWE below I have labeled it \draftsection. The content of this section should ...
0
votes
0answers
11 views

How to include Current Chapter and Current Paragraph into memoir header?

I am using a the "memoir" class. I am using a custom pagestyle called "mio": \makepagestyle{mio} % Define a new custom page style \setlength{\headwidth}{\textwidth} % Header the ...
2
votes
1answer
152 views

Keeping section heading with body paragraph & image (context)

How can you get Context MkIV to automatically put in page breaks to keep \section, etc. headings with the paragraph when accompanied with a floating image, instead of putting the heading at the end of ...
1
vote
1answer
26 views

Ending wrapfigure before next section

I would like to end the wrapfigure environment before the next paragraph. I have tried to stop wrapping at various line values but to no avail. Ideas? MWE and picture below. \documentclass[twoside, ...
0
votes
1answer
40 views

Make Part look like Section and make Section look like paragraph; but with all the numbering preserved?

So I am trying to write a book summary, a few pages long. Is there any way to make part look just like section, except preserving the Roman numbering for part; and make section look just like ...
1
vote
1answer
40 views

\subparagraph with llncs

I can't get \subparagaph to work properly in my file \documentclass[runningheads]{llncs} \usepackage{hyperref} \renewcommand\UrlFont{\color{blue}\rmfamily} \usepackage{thm-restate} \usepackage{...
11
votes
3answers
2k views

Make \section unaffected by \parfillskip

To avoid widow words at the last line of a paragraph, I adjust parfillskip: \parfillskip 0pt plus 0.75\textwidth While this gives nicer paragraphs, it also stretches section titles a little, as you ...
307
votes
6answers
735k views

How to add an extra level of sections with headings below \subsubsection

I have a document which requires many levels of sectioning. I have sections, subsections and subsubsections, but require one more level below that. I can't change the sections to be parts and move ...
0
votes
1answer
34 views

Less space between paragraphs?

This answer shows how we may achieve a numbering of paragraphs with \S. How may we in the following have the same spacing between §1 and §2 as the line spacing in the text above §1, without changing ...
0
votes
0answers
47 views

Overlapping paragraph

I have to say i have no idea what is happening here, the "test" should be below section 2 and not section 2.1 plus the overlapping subsection 2.2. If i write a shorter definition then it ...
4
votes
2answers
9k views

How to get new line after \subparagraph title?

Is there a default way to change the style of the \subparagraph title, namely to add a new line after the title? Is there a way to do it without \renewcommand (some style changes of something else) - ...
0
votes
1answer
22 views

Svmono Class - Numbered Paragraph (Section)

Does anyone know how to set up the svmono class in order to get the paragraph sections numbered as well? The default setting is without numbering. See MWE: % !TEX TS-program = pdflatex %%%%%%%%%%%%%%%%...
0
votes
1answer
30 views

Missing numbered subsection

I use \subsection{example} and on the toc shows 1.4.1 Example. But on the text only shows 1.4 Example. The numbered after chapter number 1 and section number 4 is missing. How to add the number for ...
2
votes
1answer
45 views

How to declare shorthand key for section/subsection?

I am now writing a file with many section, subsection, subsubsections. I wish to declare a new shorthand for this. Perhaps something like: \s, \ss, \sss for section, subsection, susubsection, and ...
1
vote
1answer
18 views

Add a letter after the paragraph heading

I've currently set the \paragraph command to function like "subsubsubsection". But I would like to add a letter "a" after each \paragraph numbering. I am not familiar with all the commands in LaTeX. ...
5
votes
2answers
130 views

“Loose” section/paragraph numbering

EDIT Playing around with the nice amsthm solution by egreg below I realized that I really would prefer an equivalent ntheorem construction. Can anyone help out here? There are Math books which use a &...
1
vote
2answers
266 views

section without numbering, and text follow right after the section title

Anyone can tell me how to make such a section style: I searched internet and kind of know I need to do it with \titlesec package. But I can not find a way to both remove the numbering in front of the ...
0
votes
0answers
145 views

\paragraph and \subparagraph formatting after creating a \subsubsubsection

I have some issues formatting \paragraph and \subparagraph after creating a \subsubsubsection as found here. As you can see on my code, I am trying to have this shape for my \paragraph and \...
7
votes
2answers
3k views

How to set counter for paragraphs in sections?

I want to counter paragraphs, always like x.y where x is section number and y is paragraph number in that section. \documentclass[11pt, twocolumn, a4paper]{article} \usepackage[left=1.5cm, text={...
1
vote
1answer
33 views

hanging indent conflict with section space

In some parts of my document, I want to have hanging indent on paragraphs. I noticed that the section space gets messed up when I use \hangparas. Compared to other sections in the document, there is ...
0
votes
0answers
38 views

Underfull \hbox (badness 10000) in paragraph in a EUSFLAT2019_template.tex [duplicate]

I have downloaded on my local machine eusflat 2019 template for paper https://www.overleaf.com/latex/templates/eusflat-2019-template/jmqvcrhkqhgx and using it in miktex following section in ...
20
votes
4answers
30k views

Redefining commands in LaTeX (\section in particular)

A few days ago I asked a question about how to redefine the \section command to be able to write content just after the head of the section with no line breaking: Redefining \section command (I ...
0
votes
1answer
41 views

How to add subsubsection in mybook.cls

i am using mybook.cls class for my thesis. I want to add subsubsection which should appear in table of contents as well but its not coming. Anyone found any solution to this? I have tried using ...
3
votes
3answers
156 views

How to fix table of contents links leading to incorrect places? (subsection*, setcounter)

Shortly put, the links in table of contents do not work the way I'd like. For the second subsection, Subsection B, all subsubsection links lead instead to the subsubsections in the first subsection, ...
3
votes
1answer
98 views

Weird error when using amsart + tocdepth + paragraph

For the following MWE \documentclass{amsart} \setcounter{tocdepth}{3} \title{Hi} \begin{document} \maketitle \tableofcontents \section{A} \subsection{B} \subsubsection{B} \paragraph{D} \end{document} ...
0
votes
1answer
69 views

Number section-LaTex

How Can I change the format number section, subsection, and subsubsection? The document put: Section (I.) Subsection (I.1) Subsubsection (I.1.1) But... I want: Section (I.) Subsection (1.1) ...
0
votes
0answers
60 views

Avoid new line after \paragraph{Blah blah} command

My corporate template bolds the text provided to the \paragraph{Blah blah} command and adds a new line. I want the bolding, but I don't want the new line. Too many paragraphs, and it just uses up so ...
2
votes
2answers
38 views

Getting error when using multiple “\paragraph”s

I am trying to make two paragraps one after another using \paragraph: \begin{proof} \paragraph{Case 1} If $ \mu E_N = \infty $ for some $ N $, then $ \mu E_m = \infty $ for all $ m \geq N $. Also $ \...
1
vote
2answers
140 views

Format \section like \subsection (except for numbering)

Is there an easy way to have \section headings be numbered in the usual way, but inherit their formatting from \subsection, so that section 3 below is formatted exactly like subsection 1.1, including ...
1
vote
1answer
80 views

Customise space after \paragraph

This is a simple question but somewhat hard to search for, so it may already have been asked. What’s the easiest way to customise the spacing that appears after the \paragraph section heading so that ...
0
votes
1answer
214 views

adding subsubsection to Koma-script scrreprt

The Koma-script class scrreprt does not provide numbering of \subsubsection. I would like to have, if possible, \subsubsection available like \subsection. I have found a solution but the question is ...
1
vote
1answer
48 views

Command for switching exercise styles

I am trying to create a command that allows me (or the user) to switch between two different styles for typesetting problems. One is the runin in the margin, while the other one is defined by ...
1
vote
1answer
214 views

Adding the fourth level of section

I am using overleaf and I want to go to the fourth section. I am using \chapter, \section \subsection and \subsubsection. I want the (1.1.1.1 desired) mark. I tried using \paragraph but it is not ...
0
votes
0answers
18 views

Why does my text insert on the same line as my section title? [duplicate]

I want to use section numbers with the following sequence: 1 Section 1.1 Sub Section 1.1.1 Sub Sub Section 1.1.1.1 Sub Sub Sub Section I have found a way to do this using the following code but ...
2
votes
0answers
194 views

Extremely weird formatting of text in section

\documentclass[a4paper, 11pt]{book} % Packages \usepackage[utf8]{inputenc} \usepackage{graphicx} % For images \usepackage{titling} % For adjusting white space above headers \usepackage{titlesec} % ...
1
vote
1answer
43 views

How to change the color in ' \section{.} '

\documentclass[12]{article} \usepackage{lmodern} \usepackage{amsmath} \usepackage{amssymb} \usepackage{mathrsfs} \usepackage{amsthm} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[...

1
2 3 4 5
9