1
vote
1answer
45 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
74 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
60 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?
5
votes
1answer
32 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, ...
4
votes
1answer
96 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
57 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
40 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 ...
0
votes
2answers
39 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
43 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 ...
2
votes
1answer
36 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
3answers
105 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
91 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 ...
2
votes
2answers
87 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 ...
5
votes
1answer
70 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} ...
2
votes
1answer
96 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
75 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
95 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
935 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
87 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
43 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 ...
1
vote
1answer
86 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 ...
8
votes
2answers
198 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 ...
4
votes
1answer
343 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 ...
10
votes
1answer
171 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
73 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
92 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 ...
2
votes
1answer
170 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 ...
3
votes
1answer
238 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
333 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
614 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 ...
27
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
1answer
313 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
59 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. ...
1
vote
1answer
406 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
343 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, ...
4
votes
2answers
518 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} ...
14
votes
2answers
767 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
423 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
303 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
89 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
872 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
185 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 ...
4
votes
1answer
290 views

change position of Subsubsections and paragraphs and enumerate them

I am new to TeX. I have a document with subsubsections and paragraphs. I don't wand the paragraphs inside the block, they should be bevor the block, like the subsubsection header bevor. The other ...
1
vote
0answers
170 views

ConTeXt: How to adjust the space before and after a section with respect to gridset [closed]

I use grid=yes in my setuplayout. With \showgrid I can see, that the space before and after a section is the same as before and after a subsection (3 lines before, and 2 lines after). But it would ...
2
votes
1answer
219 views

Paragraph and subparagraph titles inherit color settings from TeX group *after* them

I'm getting some strange behaviour when using the color package at paragraph and subparagraph level. See the code snippet below: \usepackage[usenames,dvips]{color} \section{A} {\color{Green} ...
8
votes
2answers
350 views

How to append code to a section?

In my scrartcl document I want to change the spacing between sections and the first paragraph. Since I am using the parskip package, the parskip is set to a non-zero value. The \section command uses ...
6
votes
2answers
168 views

Subdividing structured abstracts

I am trying to produce a structured abstract, i.e. with subdivisions. For that purpose, the \paragraph command would produce the perfect output since I would like no line break after the subtitle of ...
5
votes
1answer
100 views

Paragraph titles disappearing

So, I'm trying to use the listings package for some code samples in my document. When I converted my verbatim sections to lstlisting my paragraph titles disappeared. I've attached some example code ...