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
2
votes
0answers
48 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
31 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
17 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
18 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
88 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
24 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
44 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
17 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
35 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
18 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
33 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
45 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
35 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
40 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
296 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
25 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
63 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
35 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
24 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
43 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
123 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
33 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
76 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
155 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
99 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
59 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
444 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
49 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
44 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
214 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
235 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
21 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
53 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
156 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
154 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
41 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
99 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 ...
0
votes
1answer
42 views

Avoiding page breaks after section headings followed by lists

I am writing a reference book in which every section heading is followed by an itemized list. I often get page breaks after the section heading and just one or two of the list items. In such cases I ...
2
votes
0answers
66 views

Automatic paragraph numbering within subsections

I'm attempting to create a similar format to a word document (example attached) within LaTeX but I'm having a lot of issues with achieving. The document is an article and every single single paragraph ...
0
votes
1answer
628 views

How to add subsubsubsection to acm conference template

I am using ACM conference template. I can not add \subsubsubsection and the \par does not add number. How can I overcome this issue? Can you please help me add another level section? Here is my ...
3
votes
1answer
116 views

How to remove a specific section from bookmarks

I'm trying to find a way to remove a specific section from the bookmarks. Suppose I have the following code \documentclass[a4paper,11pt]{article} \usepackage{titlesec} \usepackage[colorlinks]{...
0
votes
0answers
60 views

Math character in section (book)

I need to have sections titles with math characters but I get many warnings of this type Syntax Error (155862): Unknown filter 'DCTDecode' Syntax Error (226992): Unknown filter 'DCTDecode' Syntax ...
1
vote
1answer
140 views

KOMA-Script scrbook: How to remove period after sections and subsections?

I am a total TEX noob, so please forgive me :D I am trying to prepare a template in LATEX, that I can potentially use for all papers I will have to write, in accordance with my faculty's regulations. ...
0
votes
0answers
152 views

Set the space between the subsubsection title and its number

I would like to decrease the space between the subsubsection title and its number only. Space between chapters\sections\subsections name and their number should not be changed. I have tried to follow ...
1
vote
1answer
361 views

Section and text left indentation

My MWE: \documentclass[a4paper,12pt]{article} \usepackage{showframe} \usepackage{lipsum} \usepackage{geometry} \geometry{paper=a4paper} \geometry{bindingoffset=1.5cm,hmargin={1.5cm,1....
0
votes
1answer
66 views

Chapter heading when there is no section

I have a chapter where no section appears and in that case I would like to have the chapter as heading. This is what I tried: \renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}} \...
1
vote
0answers
117 views

apxproof changing appendix title

I need to use the apxprrof package because i have proofs that I want to show only in the appendix and this package does exactly what I need. However, I also need to place some tables (not all) in the ...
1
vote
1answer
62 views

spacing before and after titles

I am making a custom sty file in which I intend to change the spacing before and after sections, subsections and subsubsections. I use the command \titlespacing{<command>}{<left>}{<...
11
votes
1answer
521 views

Why is \paragraph treated as level below \subsubsection?

Note: This is meant as a question about the historical development of LaTeX conventions, and how they influence Editor design, not as question about how to implement it differently. One of my pet-...