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
48 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
28 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
58 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
28 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
24 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 ...
0
votes
1answer
28 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 ...
1
vote
1answer
33 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
64 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 ...
1
vote
1answer
37 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 ...
2
votes
1answer
46 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 "...
2
votes
1answer
95 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 ...
2
votes
0answers
57 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
34 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[...
0
votes
2answers
18 views

Remove spacing between repeated empty subsubsections

I'm writing a technical specification document, and each section is one part of the specification. But in many situations it makes sense to group together multiple parts of the specification and ...
0
votes
0answers
20 views

How to make a space between section's number and the title

I was so confused of thinking about this. I'm trying to make a space between the section number and the text after it. I want to make a chapter as illustrated below. I have no idea about this because ...
2
votes
1answer
171 views

KOMA-Script - paragraph new line without space and parskip

I am currently writing my master thesis with KOMA-Class srcreprt and I am a little bit weird about blank lines in paragraphs, parskips and sectioning vertical space. As I have learned usage of \\ as ...
1
vote
1answer
27 views

How to assign titles to paragraphs, followed by a line break?

If I want to give a title to a paragraph I can just use \paragraph{Respective Title} *Text* However, I cannot put a line break between the title and the text, since it would give a compilation error. ...
0
votes
0answers
52 views

Paragraph Styles

Trying to set up a section mimicking U.S.C. format: Question - Is there a way to set up personal paragraph styles. ie. paragraph section; paragraph subsection; clause, etc. Indents are set at 2em ...
0
votes
0answers
19 views

why \subparagraph in text does not appear in Table of Content and no numbering? [duplicate]

\section{section} \subsection{subsection} \subsubsection{subsubsection} \paragraph{paragraph} \subparagraph{subparagraph} Outcome: Why in table of content or text as 1.1.1.1.1 subparagraph I am ...
2
votes
1answer
36 views

How to make different command for subparagraph (or any other sectioning) with empty and nonempty title?

I want to make a sectioning command (for example subparagraph) that will have a different behavior for command with empty title. This is my MWE, showing somewhat about i want to get: \documentclass{...
0
votes
0answers
30 views

(Section in Latex) How to added 1.1.1.2 [duplicate]

\section{First,1 } \subsection{Second,2} \subsubsection{Third,3} \subsubsection{Third,3} \paragraph{Fourth, 4} \subparagraph{Fifth,5} Output: 1 First,1 1.1 Second,2 1.1.1 Third,3 1.1.2 Third,3 ...
0
votes
1answer
37 views

How do I indent the first line of \paragraph{Title}

When using \paragraph{}, the first line is not indented by default. How can I change the setting so the default will be indented? Update: Here is an example of what I want to do. I have \...
1
vote
1answer
47 views

Prevent line break after SOME (sub)section declarations

I am trying to prevent the automatic line break that happens after a (sub)section declaration, but only for some subsections. I know that I could use: \titleformat{\subsection}[runin] but this ...
0
votes
0answers
36 views

Unwanted vertical space between \paragraph objects

I have the following LaTeX code: \section{Related Work} \paragraph{Paragraph 1.} This is a very nice paragraph, it contains some words. \paragraph{Paragraph 2.} This is a very nice paragraph as well, ...
3
votes
1answer
48 views

How to center particular sections?

I am a very new in LaTex. Can anybody help me with this: I need that some my sections will be centred and without a number, but other will be with the number and be aligned to the begining of text. ...
7
votes
1answer
313 views

numbering from Indian to arabic “arabic babel”

\documentclass[12pt]{arabbook} %%%%%%%%%%% packages \usepackage{fancyhdr} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english, arabic]{babel} \usepackage{t1enc} \usepackage{float} ...
0
votes
0answers
26 views

Why vertical spacing discrepancy with parskip for paragraph command?

I have a LaTeX document that contains something similar to the code below. When I compile with pdflatex on Windows and Linux, there is extra vertical space just before the \paragraph command on the ...
2
votes
2answers
69 views

Anonymous division in memoir with small caps

I want to create "anonymous divisions" -- breaks in the text that do not have their own section titles. I'm using the memoir class, and it provides \plainbreak{} and \fancybreak{} for this purpose. ...
0
votes
1answer
37 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
1answer
31 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 ...
0
votes
0answers
25 views

How to set a fixed distance between section and the text in a twocolumn document

I would like to know how to set a fixd distance bewteen the title of a section and corresponding text. \documentclass[twocolumn,prl,nobalancelastpage,aps,10pt]{revtex4-1} %\documentclass[rmp,...
1
vote
0answers
55 views

\paragraph does not act as \section, the body text continues on the same line [duplicate]

Hi My \paragraph after \subsubsection does not act as a section, the text continues on the same line as title. Please help.
3
votes
2answers
139 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
0answers
35 views

Formatting section, subsection, subsubsection, paragraph titles and text

Background: I did my master's thesis 18 years ago in LaTeX, but basically haven't touched it since. I am trying to format a xelatex document to look like the following sample: 1 So the short ...
1
vote
1answer
110 views

Section styling similar to the elsarticle class

Since I have become quite used to the style of Elsevier articles, I would like to adopt a similar style also for notes that are not intended for submission. In particular, I attempted to mimic the ...
0
votes
2answers
231 views

argument of @sect has an extra run away argument

I am new to latex, so excuse me. I keep getting "argument of @sect has an extra run away argument" and I don't know how to fix it. Thanks \documentclass{article} \usepackage{amsmath} \usepackage{...
1
vote
1answer
137 views

Placing a figure with subfigures immediately below paragraph title

I would like to have some paragraphs including a sequence of figures (no text at all). However I am not succeeding in placing the figures right below the paragraph title. What happens is that the ...
0
votes
1answer
67 views

Section title running into margin

In the below MWE one can see that the section title runs into the margin of the page. This is due to the use of the \mbox{...}, but the \mbox is unfortunately in the normal case, automatically ...
12
votes
1answer
482 views

How to get this fancier line to divide paragraphs?

Here I found lecture notes in which the author uses the following symbol when a certain thought is finished but no new chapter or similar follows. Since the user doesn't share his source I code I ...
0
votes
1answer
71 views

section numbering accross subsubsections

Need to get numbering rules: \section -> A,B,C etc.. \subsection -> 1,2,3 etc.. \subsubsection -> A1, A2 .. ; B1, B2 .. I have tried, but it only create proper section format: \...
0
votes
1answer
48 views

How to use the \plainfancybreak* command from the memoir class with the book class

I would like to use something similar to \plainfancybreak* as defined in the memoir class doc (pg 99), but in the book class. Is it possible? FYI: The \plainfancybreak*{<space>}{<num>}{&...
1
vote
1answer
262 views

Why does it cause errors in subsubsubsections

I want another level of subsections (i.e. subsubsubsections). For that I am using; \setcounter{secnumdepth}{5} \paragraph{This is my subsubsubsection} However, this gives me an error saying that ...
1
vote
1answer
309 views

Change font for the \paragraph command

If I add something like \paragraph{Title} Paragraph text to my LaTeX document, "Title" will have a bold font. I want to change it to \textit. How can I do it for \paragraph{} and \paragraph*{} ...
0
votes
0answers
22 views

Structure paragraphs a bit more

I often try to group paragraphs together with \\[0.5cm]. For example I have a section with 5 paragraphs and I think the first two and the last three are more connected with each other I would group it ...
1
vote
0answers
54 views

How to properly have chapters in a thesis [duplicate]

EDITED: \documentclass[11pt, a4paper]{report} % \usepackage{eurosym}% you probably don't need this (most fonts have euro) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...
1
vote
1answer
159 views

Repeated section titles clipping / overflowing through page

So I am currently writing a report in Latex, I chose to use the "classicthesis" template in the Overleaf editor. The problem I have is that the repeated section titles (i.e. if I begin a section and ...
3
votes
1answer
190 views

How to show bullets for subsections in the table of contents?

I am writing my thesis with overleaf. I have used a book document class and I am proceeding in the enumeration of the chapters, sections and subsections. It looks fine from section to subsection where ...
2
votes
1answer
44 views

Showing Paragraphs in ToC in tex4ht

I've been fiddling with this for three hours and I feel so lost because it seems like nothing I do has any effect on the tex4ht generated html. I have a fairly large document that I'm building as a ...
1
vote
1answer
107 views

bad position of a section

I'm currently writing a thesis using Latex. Unfortunatly i'm facing a bad output since two days without resolving it. To explain the problem here is my output: The first page: The second page: As ...