{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

4
votes
1answer
36 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
23 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
38 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
36 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
44 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
42 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
33 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
50 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
72 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 ...
3
votes
1answer
85 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
51 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
35 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
38 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
73 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
58 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
31 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
107 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
92 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 ...
3
votes
1answer
188 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 ...
3
votes
1answer
46 views

Can I use patchcmd to modify definitions in book.cls?

Below are the commands for \paragraph and \subparagraph in book.cls. \newcommand\paragraph{\@startsection{paragraph}{4}{\z@}% {3.25ex \@plus1ex ...
10
votes
1answer
143 views

Why does titlesec cause bizarre line breaks within \paragraph?

Consider the following example: \documentclass[12pt,a6paper]{article} %\usepackage{titlesec} \usepackage[textwidth=79mm]{geometry} \begin{document} \paragraph{I guess we'll have to make a few ...
0
votes
0answers
35 views

Retrieve current subsection and subsubsection name without label [duplicate]

How do I retrieve the current subsection and subsubsection and paragarph name without using \label. The reason is that then I would have to \label everything and I want a more automated solution. ...
3
votes
1answer
66 views

Why does my new subsectioning heading not gobble the subsection title?

I hope I'm not missing anything obvious. Instead of trying to elaborate on my title, let me illustrate with an MWE: \documentclass[twocolumn]{article} \makeatletter \setcounter{secnumdepth}{4} ...
3
votes
1answer
74 views

Make \vspace appear below empty \subparagraph

I was doing some homework in LaTeX, and I wanted to put some blank space below a subparagraph heading so that I could draw a diagram in after printing it out. For the subparagraphs where I had content ...
3
votes
1answer
45 views

Change the spacing around select paragraphs

How would I make only specified paragraphs have a little extra space above and/or below them compared to the default setting (which seems to be no--or very little--extra space between paragraphs)? An ...
4
votes
2answers
51 views

multido variable in \paragraph prematurely incremented by one

The compilation of the following MCE: \documentclass{report} \usepackage{fixltx2e} \usepackage{multido} \begin{document} \multido{\i=1+1}{4}{% \chapter{I am the chapter \i} \section{I am a ...
2
votes
1answer
163 views

Is it possible to have section titles inside paragraphs?

Is there a way to have section titles that are inside paragraphs, especially when using titlesec package? The runin style and others cause a paragraph break after the input line. What I am aiming for ...
11
votes
1answer
1k views

\par vs \paragraph

What is the difference between \par and \paragraph? I can skip a space between two paragraphs and have it retained on in the output on XeLaTeX. How is the effect different from using paragraph ...
3
votes
1answer
146 views

Add paragraph symbol to section

I would like to ask how can I add the paragraph symbol § so that it will be displayed as below: §4 First section §5 Second section By default it is generated as below when a ...
3
votes
2answers
234 views

Starting a proof with \paragraph

I would like to break a proof into paragraphs, but I don't seem to be able to start a proof with a paragraph. \documentclass{article} \usepackage{amsthm} \begin{document} \begin{proof} ...
9
votes
1answer
428 views

Subsubsection: remove the newline (like paragraph)

Using the article document class, how can one remove the newline at the end of a subsubsection title? I am using \documentclass{article}; I do not currently use titlesec or any of the alternatives; I ...
26
votes
4answers
1k views

Why are Beamer subsubsections evil?

The Beamer manual claims, under "Guidelines for Creating Presentations": Do not use subsubsections, they are evil. Why? There's no further explanation. Is it simply because subsubsections are ...
2
votes
2answers
80 views

How to use an hyperlink as a paragraph title?

I want to use the hyperref package to create hyperlinks in my pdf output. I have a global table and I would like to link each line to a more detailed table further down the document. And for each ...
2
votes
1answer
276 views

End a paragraph and continue normal section

Inside a section, I have plain text and a paragraph. The section starts with normal text, then there is a short paragraph, and finally the normal section text continues. The last part of the text ...
0
votes
0answers
54 views

Creating subsubsubsection and using \ref and \label (+hyperref) [duplicate]

I'm writing on my thesis and need more levels of sections. This seems to be not a rare problem. So, after some search on the web i defined my custom deeper sections in terms of the following code. ...
2
votes
1answer
421 views

Adding \paragraph sections inside abstract package's onecolabstract environment

I am having trouble using \paragraph{} inside the onecolabstract environment. The desired goal would look something like this: \documentclass[twocolumn]{article} \usepackage{lipsum} ...
0
votes
0answers
25 views

Cleveref reference table as section [duplicate]

I am using cleveref for my references, and I just noticed that a reference to a table is actually resolved by cleveref into “section”. Is that indended behaviour? Is there maybe something wrong with ...
3
votes
2answers
154 views

No indentation after \paragraph command not working

I'm trying to create a new command called \domanda{}, that makes use of the \paragraph{} to create a series of questions with Q: in-built, together with their answers on a new line, WITHOUT ...
1
vote
1answer
263 views

Section numbers have a zero in front with report document class [duplicate]

I wrote my tex file first in article mode. Now that I switched the document class to report, unfortunately I am getting a zero before my sections and subsections which I want to be removed. Changing ...
7
votes
1answer
276 views

Numbering of subsections and paragraphs

I have a document style for a report which I'm having to copy to LaTeX format. I'm using pdfLaTeX, for information. In essence, the system is that paragraphs are on the same level as subsections, ...
3
votes
1answer
139 views

How can I set single line spacing for \enumerate amd \section?

I want to set \enumerate and \section to use single line spacing and small font like the table of content in this document. How can I do that? Thank you.
7
votes
1answer
134 views

Fragile error on robust command using relsize

I created a supposedly robust command through \DeclareRobustCommand{\plusplus}{\relsize{-3}{++}} that modifies some ++ sign, and I use it in the document. However, when I use the \relsize and the ...
3
votes
2answers
416 views

Indentation after section title on a first item of “easylist” item

The code: % XeLaTeX \documentclass[12pt]{article} \usepackage{geometry} \geometry{letterpaper} \usepackage{graphicx} \usepackage{amssymb} \usepackage[50, sharp]{easylist} \usepackage{titlesec} ...
13
votes
2answers
666 views

Should \paragraph be used only under \subsubsection?

Very simple question: Is \paragraph supposed to be used only under \subsubsection or do you use it directly under \section or \subsection as well (e.g., if there are no further sub sections ...
4
votes
1answer
296 views

Section and subsection name in headings

I'd like to make the headings of my article look like this: <Section name> <Subsection number> <Subsection name> | <Page number> and I wrote this ...
7
votes
2answers
1k views

Creating a subsubparagraph

I want to create a subsubparagraph heading (in order to comply with phd guidlines for formatting). I've copied code from article.cls and just made everything 'lower'. However, when I do, although the ...
11
votes
1answer
286 views

A zero \parskip and an unusual \paragraph result in overlapping paragraphs

I'm trying to debug a class provided by some journal. From times to times, the text appears completely garbled, or does not appear at all (I believe it is printed somewhere but probably out of the ...
5
votes
1answer
83 views

Modified Section Labeling with Theorem Environment

I am writing up solutions to qualifying exams at my school, and want to label the sections according to the corresponding solutions. The issue, is that each year there are two quals--one in January, ...
15
votes
1answer
756 views

What's the difference between \paragraph and \paragraph*?

Is there any difference between \paragraph{} and \paragraph*{}? When it's used (if nothing has been modified before, i.e. like in this post: Paragraph header), there's no difference in the created ...
5
votes
1answer
178 views

Onecolumn vs. Twocolumn: spuriously different header spacing

In the following example, there's a spurious space in the one-column variant. The problem seems to be that in two-column mode, the \section command is at the "beginning of a column" and no space is ...