{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)

152
votes
5answers
5k views

How to define the badness of a river?

I've written an algorithm to try and detect rivers in paragraphs and it actually detects quite a lot when I run it. Some of them are clearly false positives, but there are others that are indeed ...
78
votes
5answers
6k views

Is there an easy way to have my whole document with a space between paragraphs rather than indentation?

I would like to have my whole document showing a blank line (or space) between paragraphs and no indentation. I know how to do it line by line, but is there a way to change that with just one or a few ...
62
votes
5answers
4k views

Avoiding “rivers” in successive lines of type

This question led to a new feature in a package: impnattypo The following quote is from James Felici, The Complete Manual of Typography (2003), p. 161: Rivers occur when word spaces stack ...
53
votes
2answers
9k views

When to use \par and when \\

What is the difference between \par and \\ and when should I use \par instead of \\?
42
votes
3answers
31k views

No indent in the first paragraph in a section?

I am just curious that the following format looks good to you or not? The preamble I used is just \documentclass[12pt,a4paper]{article} \usepackage{amsmath} \usepackage{amsthm} \usepackage{amssymb} ...
39
votes
7answers
4k views

Automatically assign a number to every paragraph

I would like to add a marginal number (don't know the right term; in german „Randnummer“) to every paragraph of text I write. I don't see any other solution, than to write every single number manually ...
37
votes
3answers
8k 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 ...
34
votes
4answers
38k views

Have new line between paragraphs, no indentation [duplicate]

Possible Duplicate: Is there an easy way to have my whole document with a space between paragraphs rather than indentation? I am sure that this must be a dup, but I can't find the right ...
31
votes
6answers
19k views

Indenting a whole paragraph

How do I indent a whole paragraph at the same distance from my left margin, with the simplest command or environment?
30
votes
2answers
21k views

How to disable automatic indentation on new paragraphs?

I'm using a template that I can't/shouldn't modify. This template forces that every time a new paragraph begins, there is an indentation added. In some rare cases this is just looking really ugly and ...
29
votes
2answers
747 views

Ensure minimal length of last line

This question led to a new feature in a package: impnattypo One rule in French typography is that the last line of a paragraph should not be shorter than the double of the indentation of the ...
28
votes
3answers
9k 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 ...
27
votes
3answers
562 views

Set up a system to alternate between genders per paragraph

In RPG writing it has become traditional to swap he and she on a per paragraph basis. Something like "He can use the smite evil ability one a day at first level. (Blah blah blah, paragraph break) when ...
26
votes
3answers
664 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 ...
26
votes
3answers
1k views

Does TeX always insert the macro \par?

When the input processor encounters two characters with category code 5 in a row (in other words, a blank line), it inserts the \par macro. When \vbox{Abc.} ends, TeX ends the current paragraph, but ...
23
votes
4answers
602 views

unexpected interaction between \raggedright and \parshape

While answering Random start of line, I came upon a strange interaction between \raggedright and \parshape. If a ragged-right paragraph ends in a short line, this line will be "the most ragged". ...
22
votes
3answers
808 views

What is the best way to draw two lines in LaTeX?

Bill Bryson's book, The lost continent: travels in small-town America  has an unusual first paragraph opening style. It has the equivalent of a long equal sign, followed by the first three words ...
21
votes
3answers
2k views

When can I safely add an empty line?

I really like spacing my LaTeX to stay organized, but I'm always scared that adding a space will affect the output when all I really wanted to do was separate the "code" a bit. So most of the time I ...
20
votes
4answers
974 views

How can I break an align environment for a paragraph?

I would like to have two displayed equations, broken by a short paragraph, but with aligned equal signs (as if using the align environment). Is there some way to "break" the align environment ...
20
votes
2answers
1k views

Very specific paragraph shape

I'd like to write something in the shape of this "coat of arms". I'd like to have the text filling the coat but with a hole roughly in the shape of the sword. I know there is the \shapepar command ...
20
votes
2answers
3k views

Reduce bibliography to one line

Quick question, hopefully with a quick answer. I'm writing a paper where I'm limited by length (2 pages) and I need references, but it doesn't have to look nice. I'd like LaTeX to compress my ...
20
votes
2answers
952 views

Reliable code for automatic \noindent after specific environments?

This question led to a new package: noindentafter There are a number of environments which I never want to follow up with an indented paragraph. itemize, enumerate, theorem, definition, etc. I ...
19
votes
5answers
1k views

How can I indent the paragraphs which follow a heading?

I am trying to write a text where the first line of each paragraph has an indent(tab). But for some reason, in a chapter or a section or subsection, except the first paragraph, the rest of the ...
18
votes
3answers
48k views

How to insert vertical space between paragraphs [duplicate]

Possible Duplicate: Is there an easy way to have my whole document with a space between paragraphs rather than indentation? Googling didn't give required results. (Many, but not applicable ...
18
votes
5answers
16k 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 ...
18
votes
2answers
10k 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 ...
18
votes
1answer
210 views

Why does a color meant for the first typeset line *only* (with package magaz) affect the *entire* document?

I am trying to make a nice layout that gives a different style to the first line in a section using the package magaz. All examples I have seen feature some variation of small caps {\scshape text} or ...
18
votes
4answers
2k views

How to prevent paragraph breaks after theorem environments?

By default, the list environments (such as itemize) have the nice property that if you add a blank line after it, it starts a new paragraph, and if you don't, the paragraph continues. So The ...
18
votes
1answer
1k views

Why is \parskip zero inside a minipage?

This question was originally entitled "inconsistent paragraph spacing with \parskip inside minipage" as the MWE below shows. But I found the answer at How to preserve the same parskip in minipage, ...
18
votes
1answer
836 views

Different vertical spacing (parskip) between concurrent section titles and paragraphs

I'm trying to remove the spacing between section headings, but maintain the paragraph to section heading spacing. Even though I set titlespacing before and after to *0, there is still spacing - quite ...
17
votes
3answers
19k views

In how many ways can you create a paragraph in LaTeX?

How many ways are there to indicate the beginning of a new paragraph in LaTeX? Only way I know of is the double linebreak.
17
votes
2answers
32k views

New line after paragraph? [duplicate]

Possible Duplicate: paragraph style - how to force line break? \paragraph{} \\ - make paragraph a header? I have the following problem. I have a paragraph and only after this single ...
17
votes
2answers
365 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 ...
17
votes
2answers
2k views

Sentence alignment for dual-line bilingual paragraph translation in LaTeX

I would like to make a translation of entire paragraphs at a time for a large document, with the start of the new sentences aligning. The following is almost what I want done, though it doesn't yet ...
17
votes
1answer
2k views

How to join paragraphs with a pilcrow \P?

Background There are many typographically distinct ways to separate paragraphs from one another, the most common being starting each paragraph on a new line with either an indent or additional ...
16
votes
2answers
645 views

Is it good style to use \newline instead of just leaving a blank line in order to get a new paragraph?

The two alternatives in my question of course lead to very different results. If you use \newline, then your paragraph will not begin indented. Also the spacing between the paragraphs differs. I am ...
16
votes
3answers
1k views

How to wrap text around a figure? (revised)

This question has been asked before (and in fact I stole the diagram below from that question) but the answers are not sufficient for my needs (at least near as I can tell). What I want is the ...
16
votes
3answers
990 views

Changing the style of the first *typeset* line of a paragraph

I've been playing around with dropcaps in LaTeX (with the yfonts and lettrine packages), and one typographical effect you often see after dropcaps is having the entire first line of the paragraph ...
16
votes
1answer
490 views

What exactly does \@doendpe do?

Quoting from the LaTeX2e sources: [\@endparenv, \@doendpe] To suppress the paragraph indentation in text immediately following a paragraph-making environment, \everypar is changed to remove ...
16
votes
1answer
21k views

How to use the parskip package? (space in between paragraphs)

Sorry, because I think it's a many times asked topic. But I don't find an example which help me to understand how to create a white space between paragraphs. I think parskip is the package I need to ...
15
votes
3answers
190 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 ...
15
votes
2answers
166 views

Multiple consecutive \par's equivalent to just one?

I think the answer to this question should be positive but I just couldn't find it answered elsewhere: Are multiple consecutive \par's the same as a single \par? For example, is \par\par the same as ...
15
votes
2answers
3k views

Cancel/undo a \setlength{\parindent}{3ex}

Assume I want to have a section within an article with different indentation/parskipping. Is there a way to undo that command at the end of the section so the next section behaves again as if I never ...
15
votes
3answers
2k views

Good strategy for line breaks with paragraphs of LaTeX source

What approach is recommended regarding line breaks when writing paragraphs of LaTeX? Should a new line be started at the end of each sentence? Is it better to manually start new lines or to let the ...
15
votes
2answers
3k views

Difference between setting parindent and hangindent

Is there a difference between setting \parindent to 1em and to setting \parindent to 0em, \hangindent to 1em, and \hangafter to -1 that shows in practical use? The nodes created by TeX are ...
15
votes
1answer
440 views

More condensed version of \parshape

\parshape can handle arbitrary paragraph shapes. One extreme is contained within How to layout irregular paragraph shape, where it can handle setting paragraphs like this: However, a simplified ...
14
votes
3answers
20k views

Reducing spacing after headings

I've searched many sites but I couldn't get any answer. Here is this mystical question: How can i reduce the spacing after headings? Here is my code. \documentclass[12pt,a4paper]{article} ...
14
votes
2answers
443 views

How does \\ suppress spurious spaces while \par\noindent doesn't

I'm trying to build a description-list-with-header-line by using a macro. In the non-MWE, the macro adds additional value like index entries and margin notes, but here I have the simplest case ...
14
votes
3answers
6k views

How to avoid using \sloppy document-wide to fix overfull \hbox problems?

How to avoid using \sloppy document-wide to fix overfull \hbox problems? This is my minimal working example. \documentclass[12pt]{report} \usepackage[english,ngerman]{babel} ...
14
votes
3answers
20k views

Indent an entire paragraph / section?

I am writing a document with some odd spacing. I am copying another document, and therefrore the layout must be almost exact. I have sections divided by letters below, and some paragraphs in each ...