{paragraphs} are distinct text divisions that begin on a new, usually indented line. In TeX, a paragraph is ended by the \par command or at least one blank line. If your question is about the \paragraph or \subparagraph sectioning commands, use {sectioning} plus {sections-paragraphs} instead.

learn more… | top users | synonyms (1)

3
votes
1answer
91 views

Basic question on spaces

I'm trying to learn LaTeX in my spare time using "Learning LaTeX" by Griffiths and Hingham. I copied down the example code on page 6 and when I compile it there's no paragraphs. Could someone point ...
4
votes
1answer
286 views

Vertical space between two paragraph (only)

I would like to increase the vertical space between two specific paragraphs. These paragraphs are already in a deep section (\subsubsection{}) so I do not want to put each paragraph inside a ...
2
votes
2answers
304 views

Paragraph separation with “article” document class

I'm writing a text but it seems the document class "article" doesn't allow for paragraph separation. Is there any way to force the paragraphs to have an space between (even in the abstract)? ...
2
votes
1answer
127 views

Formatting: Numbering paragraphs of sections

I have some problems in writing an article with inequalities. What I want to say: Now, it appears as Cauchy's Inequality 1. Introduction 2. Theorem Bernoulli's Inequality 3. Introduction 4. ...
4
votes
1answer
105 views

Changing paragraph begin/end commands

Is it possible to modify TeX/LaTeX commands so that certain commands are executed before/after a paragraph? For instance, we know that when the LaTeX compiler sees the \par command or a whitespace ...
17
votes
2answers
505 views

Difference between commenting out empty lines and \noindent?

My question is similar to this one but I understand the behavior described there and am interested in best practices in cases like the following. Typically, when ending an environment like quote in ...
0
votes
0answers
118 views

Subparagraph between two pages is not aligned correctly

I have a tex book document, containing chapters, sections, paragraphs and subparagraphs. The subparagraph that you see in the code is inside a section. The problem is that if the subparagraph is ...
9
votes
4answers
309 views

How to start a new line in \boxed{}?

I have: \documentclass[12pt,a4paper]{article} \newcounter{conto} \setcounter{conto}{\time} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{dsfont} ...
1
vote
1answer
112 views

Formatting my basic tex report with specific spacing and font settings

Ok so I am configuring the settings of my tex file before starting my (mathematical) report and am going through my basic template and removing all packages I don't need and believe I have the very ...
3
votes
1answer
126 views

Equation causes overfull hbox

I have the following code, which causes an overfull line. I don't know how to fix this. Any ideas? \documentclass{elsarticle} \usepackage[math-style=TeX]{unicode-math} \usepackage{amsmath} ...
4
votes
2answers
138 views

Why does \ExecuteMetaData break my paragraphs?

I have a lot of content to assemble in several different ways and would like to use excerpts from one file in another. I have specified: \usepackage{catchfilebetweentags} I then have an external ...
3
votes
1answer
227 views

How to combine paragraphs of text with equations using \shortintertext and 'align'

I commented that I'm solving problems to make a book of basic math (or precalculus). In the environment or region of solving an exercise I want to combine paragraphs of text (using \shortintertext) ...
1
vote
0answers
206 views

Change paragraph spacing without messing up the rest of the document

If I use \setlength{\parskip}{1cm plus4mm minus3mm} Or change the lengh of parskip in anyway, it not only changes the space between paragraphs, but also the space before and after equations, the ...
5
votes
2answers
175 views

How to break a paragraph between double {}

Document class I use the following document class: sig-alternate.cls The document class can be found at: http://www.acm.org/sigs/publications/proceedings-templates Problem: I have the following ...
5
votes
2answers
680 views

Uneven space between bibliography entries using flushend

I'm having problems with uneven spacing between bibliography entries. As seen in the attached screenshot, the space between entry 4 and 5 is much smaller than the rest of the distances. This makes the ...
42
votes
3answers
11k views

How to avoid page-breaks inside paragraphs?

I would like to know if there is any global command that would prevent any page-breaks inside paragraphs. I'd rather have the whole paragraph on the next page instead of having it cut in the middle. I ...
0
votes
0answers
65 views

LaTeX adds a line break when the last line in a paragraph extends to the right margin [duplicate]

Could someone tell me why LaTeX adds a linebreak after stanza 11? [Edit: sorry, I think I should have used \par instead of double backslash \getroot{§10§} \par \getroot{§11§} \par \getroot{§12§} ...
5
votes
1answer
579 views

Smaller parskip than half for KOMA-Script?

I am using the documentclass scrbook. To mark paragraphs I need both vertical spacing and indentation. I know that KOMA-Script supports the option parskip or halfparskip, however, this disables the ...
2
votes
1answer
87 views

Paragraphs with a vertical bar on the left, but starting *after* the first line of text

I'd like to write paragraphs (e.g. definitions, theorems etc.) having the following appearance: there's a vertical bar to the left of the entire paragraph, except the first line of text. Furthermore, ...
2
votes
1answer
356 views

How to make url in footnote clickable?

How to make url in footnote clickable? Currently I have: \paragraph{Some text \protect\footnote{xyz available at \protect\url{https://someplace.org}}} The footnote appears just fine but nothing ...
3
votes
1answer
983 views

Setting paragraph indentation AND vertical space in KOMA class

I would like to have both a paragraph indentation and a vertical space between paragraphs in a the KOMA article class. At the moment I use \documentclass[12pt,captions=nooneline,DIV=14, ...
0
votes
1answer
49 views

Getting no pagebreaks in numbered paragraph mode using eledmac

Could someone help with getting no page breaks while typing 4 line-paragraphed texts in \pstart and \pend paragraph groups in eledmac. I'm typesetting a multilingual critical edition using XeLaTeX ...
24
votes
5answers
23k views

Add space between paragraphs in Beamer

Customizing spacing between paragraphs in Beamer plagues me constantly. To split two paragraphs by one empty line I usually put \medskip tag between paragraphs, but this is very ugly solution. Now I ...
9
votes
2answers
270 views

Randomly color paragraphs in LaTeX document

I usually type up my notes for school in LaTeX, and I find it easier to focus on text where the color changes between paragraphs, which is easy to do with old fashioned pen and paper. On LaTeX, ...
33
votes
3answers
13k views

How to highlight an entire paragraph?

I'd like to highlight paragraphs such that the highlight color appears as one whole rectangle underlying the entire paragraph. I have looked around but nothing gives me the desired effect so far. For ...
2
votes
1answer
116 views

Default paragraph headings with possible override

I am currently creating a new class for the reports that we do at work. All of our reports require that each paragraph have an in-line, non-numbered heading. Most of the time this heading is the same ...
2
votes
1answer
74 views

consistently increased line spacing when subscripts occur in paragraph

The question is about consistent vertical spacing in a paragraph of text that includes some math using subscripts. Concretely, in the example I feel that there is not enough vertical space between ...
2
votes
2answers
61 views

spacing between \paragraph{} and next chars

Is it possible to make a new line between the text of \paragraph{} and the next characters ? I've tried this, but nothing have changed. \paragraph{Raffinement du cas d'utilisation \og Rechercher \fg} ...
4
votes
2answers
425 views

Reduce spacing between two (custom) paragraphs in scrreprt

I have defined a custom paragraph named myparagraph to use it as a small, unnumbered headline within my document. The reason is that I like the font of the paragraph heading, which is not as bold as ...
0
votes
0answers
206 views

Paragraphs new lines or indent

I am writing an article with for springer lncs. My problem is that sometimes new paragraphs are separated by a new line, and sometime just by indentation. I would like to force only indentation. I ...
24
votes
2answers
17k views

Any way to center text within a \parbox?

Probably I'm missing something, but I'm really struggling to find an answer to this simple question: How to center text within a \parbox? Side note: I don't want to switch to any other environment ...
6
votes
1answer
112 views

Paragraph with a given aspect ratio?

I using tikz together with package varwidth, I find myself playing out with different values for paragraph width, so as to achieve an "optimal" aspect ratio. Ideally, I would have liked to have an ...
3
votes
2answers
180 views

Paragraph numbering

I've got a question following from a previous post answers on numbering paragraphs (Automatically assign a number to every paragraph). I used the code that Alan provided, however it seems that I ...
8
votes
2answers
457 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
139 views

Best way to add hanging indent to (almost) every paragraph

I want to have a hanging indent on every paragraph, but not on the section headers. I can achieve this with titlesec and \leftskip, but this solution feels dirty/hackish, and I'm sure there must be a ...
3
votes
2answers
437 views

Multiple paragraphs in a multirow cell?

I'm trying to write multiple paragraphs inside a multirow cell,... but I can't find how! I've tried a lot of options, but none of them worked. First of all, I'll show you what I would like to get: ...
6
votes
3answers
1k views

\addtolength{\leftskip}{2em} does not apply to equations in the paragraph

I have a paragraph which should be emphasized using left and right skips. Thereby I recognized that it simply ignores equations in this paragraph. Is this reasonable? \documentclass{article} ...
6
votes
1answer
225 views

No gridding for a single paragraph (ConTeXt)?

Is there a possibility to deactive grid=yes in the text for a single paragraph only? It should be something like \nogrid{ paragraph.... }. There is \placeongrid{} - but this does not allow ...
2
votes
2answers
1k views

How to force \paragraph to start on a new page

If \paragraph{abc} text text text text text text text text text text ... text is on the bottom of page \paragraph stays at the bottom while the content is moved to top of the next page. How to ...
4
votes
1answer
93 views

How to take the following paragraph

I'm new to TeX and I'm a bit lost. Could someone tell me how this should be written (marked 'PROBLEM HERE' in the code) Situation: When argument #2 is space (empty paragraph), I want to use next ...
2
votes
1answer
183 views

How to use apa6 man and have justified paragraphs

I want to be able to use the apa6.cls class man but paragraphs are flushed to the left, and I want it to be justified.
8
votes
2answers
233 views

How can I get all paragraphs in a block to have a hanging indent?

I have a manual bibliography (i.e. not bibtex) that I'd like to indent with hanging indent (only second, third, etc, lines). Ideally, I'd like not to have to do this with a command on each line, but ...
16
votes
3answers
254 views

Why do user-defined whatsit nodes affect LuaTeX pagebreaking?

EDIT: A summary of the possible answers is given below. In my current LuaTeX project I am using user-defined whatsit nodes to transfer information between the different stages of a LuaTeX run. On ...
8
votes
3answers
486 views

Move right-aligned paragraph more to the center

So I am typesetting a little songbook for our Christmas get-together. To make better use of the limited space, I am using the multicol package; no issues there. What I'd like to do is move a whole ...
5
votes
1answer
568 views

How to apply \looseness=-1 to ALL the paragraphs?

I'm writing a short document of (3-4 pages), and try to condense it into the allowed space. Putting \looseness=-1 at the end a paragraph helps quite a lot. Is there a way to tell LaTeX to treat ...
2
votes
2answers
358 views

Justified paragraph followed by right-aligned paragraph with custom spacing

I'd like to have a paragraph of ordinary text with a single right-aligned line underneath, with a custom vertical spacing (0.5 cm) between them, but can't figure out how it is done. My best guess is: ...
15
votes
2answers
4k views

\llap (or \rlap) at the begining of an indented paragraph

If I use a \llap{text} command at the begining of an indented paragraph, the text is not indented and is put on the line above the paragraph. \documentclass{article} \begin{document} \parindent=2cm ...
26
votes
3answers
926 views

When is it better to use \par than \endgraf?

Just yesterday I had to patch a package file (changing the description to indicate that the file had changed) to replace some \par to \endgraf because the code had bad interactions with non-\long ...
4
votes
1answer
158 views

gb4e example with two-paragraphed footnote throws error

gb4e is a useful package for writing linguistics papers, as it allows one to append judgments to examples, via the optional argument of \ex{}. As such, I would like to retain the use of this package, ...
11
votes
2answers
382 views

I'm using the standalone package. How can I get regular paragraph breaks?

I'm using the standalone class to render images for individual math problems that will be displayed in an app, so the cropping functionality is essential. However, the package seems to destroy ...