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

11
votes
3answers
591 views

How to display only certain lines of a paragraph?

From reading Knuth's TeX Book (Chapter 14 How TeX Breaks Paragraphs into Lines), I understand that entire paragraphs are read in and then "massaged" by the "line-breaking algorithm" in an optimal way (...
11
votes
2answers
1k views

Minimum length of last line of a paragraph

There is a more or less equivalent question to this: Ensure minimal length of last line, but I absolutely need a TeX solution. I more or less stumbled upon the problem mentioned in the discussion of ...
11
votes
1answer
192 views

\phantom causes a spacing issue between paragraghs

Could anybody tell me why does phantom command create paragraph spacing issues as described in this thread: This sort of code Vin.\ i zvat.\ mn.\ imaju akcente kao i im.\ mn.: \emph{zȗbe : zȗbi}, ...
11
votes
2answers
3k views

Quotations spanning multiple paragraphs in csquotes

I have a quotation which extends for multiple paragraphs. The literary convention is that there is no end-quote at the end of each paragraph, except for the last one. However, this seems to be ...
11
votes
2answers
1k views

Automatically itemize a paragraph

I'd like to use LaTeX for lecture notes but I use bullet lists extensively, and the itemize macro in LaTeX is too time consuming for lecture notes. But if I could teach LaTeX how to do it for me ...
11
votes
2answers
2k views

How to break URLs when footnotes are on same line?

Question Footnotes on the same line revealed that it is a good idea to use \usepackage[para]{footmisc}. However, this does not seem to work with URLs: \documentclass{article} \usepackage{hyperref} \...
11
votes
1answer
28k views

Remove/Reduce vertical space between paragraphs for acm_proc_article-sp

I need to use a certain document class (acm_proc_article-sp) that introduces vertical space between paragraphs. I want to remove or at least reduce that space, which I am unable to. Here is a minimal ...
11
votes
1answer
945 views

Ignore spaces and \par's after an environment

In defining an environment, I could use \ignorespacesafterend to ignore all spaces after the environment. But how could I also ignore all \pars and empty lines after the environment? In other word, ...
11
votes
1answer
737 views

Using \hangindent within enumerate

I would like to have a hanging indent within the paragraph of an enumerate item. I have the following: \begin{document} \begin{enumerate} \item Lorem ipsum dolor sit amet, consectetur adipiscing ...
10
votes
4answers
1k views

Why do I need to use \paragraph{} after a \section{} to get correct indenting whereas a blank line suffices for subsequent paragraphs?

I have noticed that whenever I start a new section, subsection, etc., I need to preface my text block with \paragraph{} to get correct indentation for the first paragraph. In subsequent paragraphs, ...
10
votes
2answers
3k views

\captionof messes with paragraph indent

\documentclass{mwrep} \usepackage[font=small,compatibility=false]{caption} \usepackage[chapter]{minted} \usepackage{lipsum} \begin{document} \chapter{Test} \lipsum[2-3] \captionof{listing}{Caption of ...
10
votes
3answers
1k views

When to indent a paragraph?

I use indentation of the first line for paragraphs. When a new paragraph starts after a code listing (or some other figure), this looks a bit unpleasant to me. What is the typographical convention for ...
10
votes
4answers
334 views

Why is the use of a doubleslash as a newline indicator outside of tabular bad

I recall seeing some comments that using a \\ to start a new line is a really bad idea outside of tabular type of environments. What are the reasons for this?
10
votes
2answers
13k views

Why isn't LaTeX indenting my paragraphs?

I am trying to get latex to indent the first line of each paragraph, but whatever I try I can't seem to get it to work as I would expect reading the documentation. I expect that since I am using the ...
10
votes
5answers
2k views

How to define a parshape command with LaTeX?

I want to typeset a book with some \parshape command, for example: \documentclass{article} \usepackage{lipsum} \begin{document} \parshape=4 0.2\textwidth 0.8\textwidth 0.2\textwidth 0.8\textwidth 0....
10
votes
2answers
2k views

Test if a paragraph has a page break in it?

I'm trying to use TikZ to make fancier frames. I'm using the clever \tikzmark thing that Andrew Stacey wrote to put nodes at the top left and bottom right of the body of an environment. Then I use ...
10
votes
1answer
2k views

Memoir parskip package

How do I get the same effect as using the parskip package when using the memoir class. I want no indents, and spaces between paragraphs. What is the proper way to do this in the memoir class?
10
votes
1answer
845 views

How to mark book paragraphs as note, warning, tip etc.?

In my text I have some paragraphs that should be denoted as "note", "caution", "tip", "story". These paragraphs should be rendered with darker background and an icon on the left side. I was not able ...
10
votes
1answer
1k views

Is it possible to have multiple paragraphs inside a multicolumn using xcolor or a replacement?

I am getting information written by users in many lines, paragraphs, and I have to put those inside a table, I would like to know if it is possible to instruct LaTeX to accept paragraphs inside a ...
10
votes
1answer
1k views

How to reduce the space between two footnotes, making them seem more like two paragraphs?

\documentclass{article} \usepackage{lipsum} \usepackage[doublespacing]{setspace} %\usepackage[onehalfspacing]{setspace} \setlength{\parskip}{0pt} \usepackage[b5paper]{geometry} \begin{document} {\...
10
votes
2answers
135 views

Paragraph numbering (lineno for paragraphs)

How can I add margin numbering for paragraphs? It should be alternating (left and right) for odd and even pages. So basically like lineo with the switch option but for paragraphs instead of lines.
9
votes
4answers
2k views

Centered but left-aligned paragraph

I want to have a paragraph, that is centered but in itself left-aligned. Does somebody of you know how to achieve this? (I have text in a paragraph, on each line the text is shorter than the width, ...
9
votes
4answers
611 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} \usepackage{...
9
votes
4answers
9k views

Locally setting the line width in a paragraph

How can I make a specific paragraph have a specific line width?
9
votes
1answer
3k views

How to prevent the paragraphs to spread out over the page?

I have a problem. I have several large equations within the text. And when LaTeX does not manage to put the equation on the same page and moves it to the next one, he spreads the paragraphs of the ...
9
votes
2answers
401 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, ...
9
votes
2answers
411 views

LuaLatex: How get ascii text from paragraph, change it and render again

Is possible to render paragraph in LuaTeX -> get ascii text with hyphenation -> put back text and render again? I have simple text: "Lorem ipsum dolor sit amet, conse... laborum." I need get this ...
9
votes
2answers
291 views

paragraph writing

How can I achieve typesetting as can be seen in the following picture? I especially would like to know how the paragraphs can be written in Latex. Chapter 2 (etc.) seems to be written with bigger font ...
9
votes
2answers
3k views

Paragraph spacing affecting table of contents [duplicate]

Possible Duplicate: Is there an easy way to have my whole document with a space between paragraphs rather than indentation? I am trying to increase the spacing between paragraphs, using \...
9
votes
2answers
170 views

Disallowing paragraph breaks inside environment

An environment, singlepar, is supposed to contain a single paragraph. This means that there must be no paragraph breaks inside the code it wraps: \begin{singlepar} Right. \end{singlepar} \begin{...
9
votes
2answers
313 views

Using memoir, how do I number paragraphs?

I am trying to implement paragraph numbering with memoir. I would like the numbers to be in the outside margin, flush against the text block, and vertically aligned with the first line of the ...
9
votes
2answers
384 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 ...
9
votes
1answer
459 views

What is the difference between \everypar and \EveryPar?

In a previous question I got recommended to use \EveryPar instead of \everypar. What is the difference between the two? Are there other commands that I should capitalize the same way in ConTeXt?
9
votes
1answer
4k views

Indentation of sections and paragraphs to show hierarchy [duplicate]

I am having troubles with the format of a work that I'm doing. The default output of LaTeX looks like: 1.1. Section A Latex latex latex latex. 1.1.1. Subsection A-1 Latex latex latex ...
9
votes
1answer
662 views

Identical vertical spacing between paragraphs of different textsize

Something that happens to me very often is that I change the size of certain formula-like material (something close to but not identical to pseudocode in my case) but get inconsistent vertical inter-...
9
votes
1answer
295 views

First paragraph indented after section title in margin

How do you keep the first paragraph from being indented, even when indentation is off, when using section titles in the margin? I'm pretty new to LaTeX, but I thought I was getting pretty good at it, ...
9
votes
1answer
470 views

Parallel text in ConTeXt

I need to type parallel text on facing pages (original text on right page and translation on left one) in ConTeXt. I've used ledpar in Latex but wasn't satisfied with the results (text is aligned on a ...
9
votes
1answer
365 views

Avoid paragraph due to trailing empty line in standalone file

Using my standalone class and package it is possible to compile diagrams etc. inside own files stand-alone or as part of a main document. However, a common user error is to keep an empty line between ...
9
votes
1answer
288 views

Balancing lines in two-column document containing figures

How to balance lines in two-column document that contains figures? In other words - how to set the vertical margins of figure with caption so that the line after the figure corresponds to the line in ...
8
votes
3answers
574 views

Placing a fleuron in a paragraph indent without altering the spacing?

I'm trying to place a fleuron at the beginning of an indented paragraph without pushing the text of the first line forward. I want the fleuron to be flush with the left margin of the paragraph, while ...
8
votes
5answers
663 views

Paragraph indented to absolute horizontal position.

I am in the following situation: I need to have some text on the first line of a paragraph indented to the normal paragraph indentation point, then I need further text on that same line, as well as ...
8
votes
4answers
266 views

Paragraph break only if insufficient space to end of line

I want to write source like Lorem ipsum dolor sit amet. \smallnote{Smaller.} and have it render so that if there is enough room for a \parindent plus the start of the \smallnote (the first word, ...
8
votes
2answers
2k views

Printing interlinear translation: how to mix automatically two paragraphs, printing lines alternately

I am writing a document on a foreigh language, say French, and want to put some paragraphs in French with their translation in English. But I would like to print one line in French, the corresponding ...
8
votes
6answers
4k views

Setting a single equation in a paragraph in a smaller font

I'm trying to figure out the best way of making a single equation just a little bit smaller. Of course, I could try and break up the equation into pieces and proceed that way, but I'd like to ...
8
votes
2answers
634 views

How to write “note:” in front of an indented paragraph

I have a question similar to this one: How to mark book paragraphs as note, warning, tip etc.? I'd like to have my paragraph indented and the text "note:" appear just before it. Ideally this would ...
8
votes
1answer
8k views

Paragraph indentation in a list

I'm trying to use LaTeX to produce my homework assignments. They're in the form of answering a question sheet, so the answers are formatted in a similar way to the questions, i.e. (a) foo (b) foo (c)...
8
votes
3answers
449 views

Hanging Indents / Text Wrapping

I'm trying to implement a command to be used in place of the itemize/enumerate environments. The idea is that I want to have a command (\detail), which can be used to construct an itemized list ...
8
votes
1answer
676 views

Mark (highlight) a paragraph (\item{…}) with a squiggly line for later attention

I'd like to mark one or more of my \item{...}'s in an enumeration with a squiggly line at the right so that I can easily see which parts I have to re-phrase/re-write later on. All I have found is how ...
8
votes
3answers
712 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 ...
8
votes
3answers
503 views

How can I indent all text after the label in my example environment

I have built my own example environment for a paper I am working on. I have created a counter to label the resulting blocks of text. Now I want to indent the Text after the label, like so: (1) ...