{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

0
votes
0answers
23 views

Centering a section [duplicate]

When creating a table of contents, by using the book style, how do you center a section? I tried: \begin{center} \section{name of section} \end{center} but it gave me an error.
0
votes
1answer
49 views

What's a convenient/appropriate way to override my document class' \paragraph style?

The document class I'm using (ieeetran) typesets paragraphs as in the following: ------- [space here] a) The Paragraph Title In Italics:[space here]The quick brown fox jumped over the lazy dog. The ...
0
votes
0answers
43 views

Compile a paper using NSP instructions

I am using NSP to compile my paper but I have many problems even to compile their template paper.tex using the same files include in their folder .zip. Can you help me, please?
5
votes
2answers
123 views

Adding a line break after \paragraph section and making it justified

I had a friend help me change the \paragraph section to include a line break after the end of the section title. However the end result is a ragged section that isn't justified and if the title is too ...
2
votes
1answer
48 views

\section with empty title. Show number next to first paragraph

I am working on a document in which the numbers of headers are displayed in a left margin, e.g. 1 Main header some text within the given section. 1.1 A Subheader Some text within ...
1
vote
1answer
36 views

Inclusion of a small image in a heading

I am trying, if possible, to include a small graphic at the beginning of a section or subsection heading. Something like: \includegraphics[width=0.1\columnwidth]{skull.jpg}\section{Immersions, ...
1
vote
3answers
72 views

How to add a framed box inside a paragraph?

I'm using little markers in some parts of my text and I wanted to add one of those to a paragraph entitling a list: \newcommand{\hip}{{\color{BlueViolet}\framebox[1.1\width]{HIP}}} ...
2
votes
1answer
70 views

Fancy section headings

Would someone construct the following style of section heading (intended for longer reports and books)? (The dashed line is meant to be solid.) | 1.1 | SECTION HEADING (IT WOULD EXTEND AT ...
2
votes
1answer
25 views

New level of section, interaction with hyperref

I would like to create a new command \exsec that behaves like \section with the properties below. I am using the book class. It produces a heading with the same formatting as \section, except it is ...
0
votes
1answer
73 views

Section Title Style [duplicate]

I have been using the default style for section and subsection titles. I want to make some adjustment when needed. For example, right now, my titles for both a section and a subsection are appearing ...
2
votes
1answer
38 views

How can I start the next chapter in the article class?

I'm writing a LaTeX document in the article class and I recently realized there is no /chapter command for this class. However, when I use sections and subsections, they are written 1.1, 1.1.1, 1.1.2, ...
5
votes
1answer
152 views

Line break in modern beamer theme impossible?

I use the new LaTeX beamer theme mtheme by Matthias Vogelgesang (see http://bloerg.net/2014/09/20/a-modern-beamer-theme.html). As some section titles are a little longer I tried to break the titles ...
6
votes
1answer
163 views

Titlesec package - paragraph level headings as margin notes

After hours of pointless googling around I did not manage to find out how... I'm new to LaTeX templates and now I'm trying to make simple (?) modification so that I could have paragraph level headings ...
1
vote
2answers
86 views

How to change spacing before and after \paragraph command?

I tried to control the spacing before \paragraph{} using a command such as \setlength{\parskip}{3pt plus 1pt minus 1pt} but that doesn't influence it. (It influences spacing between regular ...
3
votes
1answer
74 views

How to add a TOC for each section and subsection before of each section in beamer? [duplicate]

At the beginning of each section I want to add a table of content without the subsections and a table of content with the subsections. What can I do?
2
votes
1answer
41 views

Remove the spacing on the left of a section title

I'm using this to modify my \section, \subsection and \subsubsection commands: %Sections \makeatletter \def\section{\@startsection{section}{1} {\z@}{10pt minus 0pt}{10pt minus ...
5
votes
2answers
125 views

How do I get my subsection to not appear bold and with no period at the end?

This is what I have for my codes: \section{MAIN RESULTS} \subsection{Graphical Analysis} I am getting this in the pdf: Instead I want the subsection in Italic non-bold form with no period at the ...
1
vote
3answers
118 views

alternative to \paragraph in amsart

I have a mathematical proof which is long so I have split it up into different sections using \paragraph (eg. \paragraph{The first step}...) In article mode, the text in the paragraph command is ...
1
vote
1answer
57 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
76 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
327 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
57 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
67 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.
2
votes
1answer
160 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
54 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
43 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
162 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
68 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
69 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
155 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
88 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
173 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
179 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
64 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
252 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
102 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
70 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
172 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
43 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
53 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
127 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
66 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 ...
5
votes
1answer
78 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
516 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
377 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
138 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 ...
4
votes
1answer
340 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
88 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
110 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 : ...