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

learn more… | top users | synonyms

1
vote
1answer
36 views

Align sentences of paragraph

I have a paragraph called 'a)'. Next to the 'a)' there is a formula. Then in the same paragraph, but on the next line I have another formula, but I want this to begin at the same place as the first ...
2
votes
2answers
21 views

Bold Greek letters in latex section name

I'm having small trouble with "pi" in section name \section{ $\pi$ } in LaTeX. I need to bold \pi but I do not know how to do it. I was try to use $\mbox{\boldmath${\pi}$}$, $\mbox{\mathbf{\pi}}$, ...
6
votes
2answers
287 views

Why is there no new line after paragraph sectioning commands?

I'd love to know why traditional document classes are not including a new line after the \paragraph sectioning command. Maybe there is some typographic history behind it or something (maybe not and ...
1
vote
1answer
33 views

Starting text right after section in -res- class

Is it possible to start your text right after the section in the res class? As an alternative, one could also fake a section title's look (font) etc. However, how would you fully indent it to the left ...
1
vote
2answers
63 views

Disable indentation within a section [closed]

I want the text inside a \section{} tag to be unindented, how do I accomplish this? I have tried \noindent and \parindent0pt{text} and neither one seems to affect the text inside a section.
1
vote
1answer
101 views

Define font size of titles, subtitles and content

I'm having some troubles defining the size of the titles, subtitles, sub-subtitles and the text of my document. Basically, I'd like to control the size. As you can see in my example, the ...
3
votes
1answer
28 views

Different indent only the first line in Section, subsection,

I am writing a document with different indent (spacing) in all section (0.3in), all subsection (0.8in) and all subsubsection (1.4in). Only the first line in each paragraphs should be indented but ...
1
vote
1answer
27 views

Line of dots in a Section with Text at the end

I'm having a section in which i need to append dotted line till the line end. At the end i need some text. Exactly like the below Healthcare ...
1
vote
1answer
34 views

Include sections of some chapters but not others in table of contents

The title pretty much says it all. I have a long document, which contains chapters, sections, subsections.... The table of contents should only include sections for most of the chapters, but ...
0
votes
1answer
52 views

Command \excludeonly for sections

I understand that there is an \excludeonly{xyz} command where xyz is a LaTeX file name (explained here). This excludes the specified file(s) from compilation. My question is if there is equivalent ...
1
vote
1answer
59 views

How to globally left align the text of paragraphs containing variable-length headers with the first line of the paragraph?

I have several paragraphs each with unique headers of differing lengths: \documentclass[12pt]{article} \begin{document} \subsection{Subsection 1} \paragraph{Title} Paragraph text here. Paragraph ...
4
votes
2answers
106 views

Change numbering level for one chapter only

Apologies if this is duplicate but couldn't find it. I have a document using amsmath for chapter, section & subsection numbering, & everything (theorems, lemmas etc) uses the same numbering ...
4
votes
1answer
64 views

Empty line after \paragraph?

In order to have a subsubsubsection I have used \paragraph. The problem is that I get text immediately after the tittle. How do I make to get a empty line after \paragraph?
6
votes
1answer
59 views

Spacing after first line with titlesec using runin option in titleformat

I'm using the titlesec package to format my (sub)section titles. I'd like to use the runin option in \titleformat to place my subsections titles within the first paragraph of each subsection. However, ...
0
votes
1answer
106 views

Wrapfigure, \baselineskip if not top of page

TL;DR The wrapfigure environment aligns wrapped content differently, depending on if the page is still empty or not. If the page is not empty, it will lower the wrapped content by \intextsep. I am ...
3
votes
1answer
43 views

How to force part of a paragraph title to correctly align with right marging (using e.g. \hfill)

I would like to have a \paragraph{A paragraph title 2000} with the term '2000' aligned to the right margin. If I use \subsubsection{A subsubsection title \hfill 2000}the term 2000is correctly aligned ...
5
votes
1answer
151 views

Reducing chapter and section spacing for scrbook

I'm using scrbook document class and using chapters and sections. The spacing between chapters and sections is quite large, too large for my taste (before and after the chapter and section). So my ...
5
votes
2answers
68 views

How to renewcommand the word-size in section titles?

I type \section{\Large Section title} to make the section title larger than what it originally appears. Please could you tell me how to achieve this effect by redefining the command \section ...
2
votes
1answer
54 views

Should the sectioning command \paragraph be used to delimit blocks of text of more than one paragraph?

1 An example section I've read that \paragraph is a sectioning command one level lower than \subsubsection. However, it seems to work a little differently. For one thing, it is unnumbered (unless ...
4
votes
1answer
98 views

How to underline a section's title without using the sectsty package (memoir class)?

Can anyone tell me how to underline a section's title without using the sectsty package please? Indeed I am using the memoir class which prohibits this package. Thank You.
0
votes
2answers
42 views

Indentation inside of text

I know that the title of this question might be a little bit confusing, but I don't know how can I solve my problem and even how to search for the solution. I want to make inside a long text something ...
0
votes
2answers
47 views

How can I keep the size of my subsubsection the same size as the paragraph font size?

I would like to keep my subsubsection header the same size of the paragraph font, can someone help me? at the moment the subsubsection font is the equivalent of \small whilst the paragraph font is ...
3
votes
0answers
87 views

Add \paragraph type entries to beamer table of contents

I want a beamer TOC slide like this: SECTION 1 ..Subsection 1 ......Slide Title 1 ..Subsection 2 ......Slide Title 2 ......Slide Title 2 NEXT SECTION ......Another Slide Title In documents I use ...
2
votes
1answer
38 views

In LyX, how can I remove the title and newline in a subsubsection?

I'm using the KOMA-script article class (\documentclass{scrartcl})and would like to remove the title and newline from the subsubsection, leaving me with a number followed by standard text. Ideally ...
4
votes
1answer
48 views

How not show on the Table of Contents the subsubsubsection?

I found this little snippet to get subsubsubsection: % -- For subsubsubsections: \setcounter{secnumdepth}{4} \setcounter{tocdepth}{3} \makeatletter \newcounter {subsubsubsection}[subsubsection] ...
4
votes
3answers
183 views

Control line spacing of section headings

I use macro and titlesec package to create custom \section heading. \documentclass[final]{book} \usepackage{lipsum} \usepackage{titlesec} \titlespacing*{\section}{0pt}{1em}{0.3em} \def ...
1
vote
2answers
187 views

Hanging indents for \section headings

Sometimes, I do have long section headings that take more than one line. I would like to make second and each subsequent line of \section heading indented (so called 'hanging indent'). I know I can ...
1
vote
1answer
20 views

dont apply color in section of Annexs

I create a specific color font for my section and subsection .. \chapterfont{\color{blue}} % sets colour of chapters \sectionfont{\color{purple}} % sets colour of sections ...
2
votes
2answers
108 views

Create new section commands (with correct TOC entries) in KOMA-Script

What is needed to make a new sectioning command which outputs a correct entry in the TOC? For example, a command \foo which outputs something similar to \subsection in the TOC (and in the main ...
3
votes
1answer
164 views

LaTeX - Different section names in TOC from body

Sorry if this question already appears elsewhere, I couldn't find it. Is there a way to label a section in the text but give it a different name in the table of contents? I have very long section ...
5
votes
1answer
78 views

Figure as superscript in section title

I would like to have a section title of special type: I need it to be a letter with a figure in superscript. My code (that does not work) would be: \documentclass[12pt,a4paper]{article} ...
4
votes
1answer
81 views

Small caps in section but not in ToC

With LaTeX, I would like to set all my section titles in small capitals but I need the \textsc to be 'cancelled' in my table of content. Is that possible somehow ? I currently do this : ...
0
votes
1answer
111 views

Titlesec, paragraph title disappears using \titleformat

I am using th titlesec package to redefine paragraphs (as well as a few minor changes). Essentially, I just want to change the format from bold to italic font. Here's my code: ...
3
votes
1answer
111 views

pdflatex raise error when \paragraph inside quote environment

Why I get a error when there is a \paragraph{} (or \subparagraph{}) inside a quote environment? For the example below \documentclass[]{article} \begin{document} \begin{quote} \paragraph{My header} ...
3
votes
1answer
39 views

How can I put an environment within a subsection?

I have this code, but the environment is put at the top of the page above the sections. \documentclass[a4paper,11pt]{article} \usepackage[utf8]{inputenc} \usepackage[italian]{babel} ...
4
votes
1answer
287 views

Adjusting spacing before and after subparagraph with sectsty

I am helping a friend that is using sectsty to format the titles in his document. How can I adjust the spacing before and after the titles, in particular the subparagraph one? (I know that titlesec ...
5
votes
1answer
245 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, ...
2
votes
1answer
189 views

How to disable indentation in subsubsection using IEEEtran?

I am using IEEEtran and my sub subsections are indented. I tried using \parindent0pt but that removes the indentation of the paragraphs too. Any suggestion?
0
votes
1answer
102 views

Vertical spacing between sections

I would like to know how I can define the vertical space between: a previous section and the new section title; the new section title and the following text. Now it looks like both space measure ...
4
votes
2answers
100 views

Different names of sections

I wish to name my sections as "Exercise x - name" in the text but as "Exercise x" in the ToC and in the \leftmark. Does anyone have an idea for this? I have tried just manipulating my \leftmark by ...
4
votes
1answer
3k views

\subsubsubsection, \paragraph and \subparagraph count not reset when starting a new section, subsection, etc

I am trying to use subsection, subsubsection, subsubsubsection, paragraph and subparagraph on my article, and I using a code that was given below. How to add an extra level of sections with headings ...
1
vote
1answer
104 views

Subsection starting in same line as subsection name [duplicate]

Many articles are structured in the following way: 1. [Title of section 1] 1.1.[title of subsection 1.1].text of subsection 1.1 1.2.[title of subsection 1.2].text of subsection 1.2. 2. [Title os ...
4
votes
1answer
64 views

Fix spacing from sections in toc, and part title

I've got to fix a friend's work that was done with latex. I've got almost all done, but there are a couple of issues that I couldn't fix, so I would like if you can help me please (an article ...
4
votes
1answer
45 views

Removing section separation line just if on top of page

I have horizontal lines separating my subsections and I would like to remove them only if they are on top of the page. Anybody can help me? Thanks! Here is the code snippet of the header of the ...
3
votes
1answer
145 views

Changing heading style of a section

I'm porting my CV from Word to latex. I want to include my publication list, but I want to split it into two halves, my thesis and my journal articles, with the appropriate subheadings. Since academic ...
1
vote
1answer
109 views

How to create inner section like environment with sub-table of contents?

Is there an easy way to create a inner section like environment that can produce a sub-table of contents at a preferred location? The sub-table does not necessarily need to give page numbers, but it ...
1
vote
0answers
48 views

How to get “subsubsections” in the table of contents if the document class is book? [duplicate]

I want to use the book class for a thesis and need to provide the table of content with chapter-section-subsection-subsubsection, all four should be displayed. Is there any trick to make it, as I ...
8
votes
2answers
274 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 ...
6
votes
1answer
372 views

Numbering subsubsections in beamer

I tried using \setbeamertemplate{subsubsection in toc}[subsubsections numbered] but this does not seem to work. Here is a full example: \documentclass{beamer} \setbeamertemplate{section in ...
4
votes
1answer
512 views

How could make the topic of \paragraph not bold?

I am writing a paper for a journal. So I download a template for LaTeX. But it does not define \subsubsubsection. So I use: \setcounter{secnumdepth}{5}% for \subsubsubsection ...