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

14
votes
3answers
21k 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 ...
14
votes
2answers
3k views

Automatic noindent after quote environment

I need to include block quotes in my thesis, and the line following should not be indented. I am using the memoir class with XeLaTeX. For example the following code: \begin{quote} Lorem Ipsum Dolor ...
14
votes
1answer
755 views

How to change \hsize in the middle of a paragraph at pagebreak, especially for two-column?

The original question is: How to get two columns with different width in LaTeX? I know this older question: How can I create a two-column layout with different widths (and texts) for the two columns? ...
13
votes
2answers
826 views

Format a verbatim paragraph

How can I format a verbatim paragraph? I.e. break, fill and join input lines to produce globally balanced output with the lengths of each line approaching the target \textwidth as closely as possible. ...
13
votes
2answers
487 views

Breaking a theorem between pages

I currently have this custom myexample theorem environment that is working absolutely great. \newtheoremstyle{myexamplestyle}{}{}{}{}{\bfseries}{.}{ }{} ...
13
votes
3answers
4k views

How to colour multiple paragraphs?

I have a set of commands in my document's preamble that look like this: \newcommand{\nathaniel}[1]{\textcolor{blue}{[#1]}} \newcommand{\anotherAuthor}[1]{\textcolor{darkgreen}{[#1]}} They are to ...
13
votes
1answer
1k views

Inconsistent line spacing

If I type something like this: {\itshape\LARGE Dunt venim dolorerosto do odit ametum vulla conum dolore conulput in vero od el Dunt venim dolorerosto do odit ametum vulla conum dolore ...
13
votes
1answer
281 views

No indent in the first paragraph in a section in Plain TeX

I have checked no indent in the first paragraph in a section? but I think my question warrants a new thread, because my question is about Plain TeX. I am using Plain TeX. I would like to write a ...
13
votes
1answer
326 views

mdframed is causing wrong alignment at the bottom of pages

If you would be so kind to compile this LaTeX document: \documentclass[a4paper,11pt]{book} \usepackage[paper=a4paper,twoside=true,lmargin=4cm, rmargin=4cm,bindingoffset=0cm]{geometry} ...
13
votes
2answers
4k views

Create new paragraph style in LyX

Background In OpenOffice and Microsoft Word it takes seconds to create a new paragraph style. Here is how I currently use LyX with the KOMA Script document class to mark text as a quotation: Type ...
13
votes
2answers
776 views

paragraphed footnote style with bigfoot

I need paragraphed footnotes precisely as manyfoot offers them, but also some of bigfoot's other features (mainly "natural" order of the notes). As bigfoot is described as "a drop-in replacement of ...
12
votes
2answers
11k views

Temporarily increase line spacing

How do I temporarily increase line spacing? I have some text on my title page: \begin{center} { \Large \textbf{The Great Thesis About Some Very Great Things Indeed With a Pretty Long Title That Will ...
12
votes
2answers
186 views

LaTeX adds an additional blank paragraph after the end of my custom environment

A friend, who is a LaTeX user but isn't very confident with customising it, told me that he would like to be able to put framed paragraphs and framed equations into his documents. So I took it upon ...
12
votes
3answers
3k views

How to increase the size of first character in a chapter (Drop-Caps)

I would like to know how I can increase the size of the first alphabet of first paragraph of a chapter using (Xe/La/?)tex. Please look at the image shown below. What is such an effect called? How ...
12
votes
1answer
3k views

\par vs \paragraph

What is the difference between \par and \paragraph? I can skip a space between two paragraphs and have it retained on in the output on XeLaTeX. How is the effect different from using paragraph ...
12
votes
2answers
440 views

Avoid just nearly filled last lines

Old school typesetters never allowed the last line of a paragraph to be just nearly filled. Either it would be clearly shorter than the other lines or it would be stretched to align with the right ...
12
votes
2answers
1k views

Downsides of using \par instead of two new lines

Coming from an HTML background using <p> to mark paragraphs I consequently use \par to mark paragraphs instead of using two consecutive blank lines. This feels more semantic (of course I realize ...
12
votes
1answer
19k views

How can I indent a block of text for a specified amount? [duplicate]

Possible Duplicate: Indenting a whole paragraph Write text with some fixed amount of space from the margin I would like to indent a paragraph or two for a specific amount. The quote ...
12
votes
3answers
2k views

How to use \sloppy for just some references?

I’m using XeLaTeX within MiKTeX and also the biblatex package for the literature. I’ve noticed that my bibliography set using \printbibliography is not set with the \sloppy option by default, which ...
12
votes
1answer
2k views

Typeset a dialogue?

I need to typeset a dialogue in LaTeX, it's for a translation assignment. The original dialogue does something like this: - I found it, I told him. My finger was in the book, where George Best's ...
12
votes
2answers
432 views

Producing centered asterisk to indicate new section

In a text (or a passage of a text) that is not subdivided by headings -- say, an essay --, a common tool to indicate the start of a new section is a simple asterisk (or other symbol), usually ...
12
votes
2answers
1k views

How can I prevent page break between lines of a paragraph or bibliography entry?

My university's thesis guidelines require that each bibliographic entry appear in whole on a single page, rather than being split across two. How can I prevent (La)TeX breaking a paragraph across a ...
11
votes
2answers
190 views

Define a command to affect everything until the end of the paragraph?

Is it possible to define a command so that it affects everything until the end of the current paragraph? As a minimal example, I am trying to define a command using syntax similar to the following: ...
11
votes
2answers
314 views

Why does \everypar not work?

I tried to put a \P (¶ sign) after each paragraph. Therefore, I chose the \everypar={\P} command. First of all, I figured out that LaTeX redefines it internally after \begin{document} Hence, I ...
11
votes
3answers
178 views

Command delimited by return or blank line

I have this document \documentclass{scrartcl} \long\def\quotenextparagraph#1 {\begin{quote}#1\end{quote}} \begin{document} Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod ...
11
votes
3answers
503 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
3k views

How do you put multiple paragraphs in a caption?

I have a really long caption for a figure in a LaTeX document. I would like to break the caption into a few paragraphs. How do I do that? As per the request below, I removed everything I could ...
11
votes
4answers
2k views

Is there a general command to disable indentation of paragraphs after figures and tables?

I am typesetting a manual, that uses normal indentation for paragraphs. The pages have a lot of figures and tables and I would like to have the paragraph after tables and figures to have no ...
11
votes
2answers
745 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
1answer
1k views

Reduce natbib bibliography to one line

I would like my references to look like Foo et al. 2008, Nature, 100, 200 • Bar & Baz et al. 2010, Science, 300, 400 • Einstein, 1905, New Scientist, 5, 6 where "•" is perhaps some ...
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
3answers
854 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
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 ...
10
votes
1answer
2k views

Footnotes on the same line

For documents with a lot of footnotes, particularly if some are short, it can be nice to have multiple on the same line, e.g.: this is the first footnote 2. this is the second footnote 3. this ...
10
votes
1answer
2k views

How can I number paragraphs (and sections) in the margin?

I am (still) trying replicate the layout of this document. Sections and paragraphs are all numbered, in the margin (the chapter titles do not treat this as a margin, but I can ignore that). They are ...
10
votes
2answers
1k 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
80 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}, ...
10
votes
1answer
603 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
146 views

How to get the natural width of the last box in a paragraph?

I want to get the natural width of the last line in a paragraph. For example, the last line of the following paragraph Georg Friedrich Bernhard Riemann (September 17, 1826 – July 20, 1866) was an ...
10
votes
3answers
2k views

Nominal values for \parindent and other paragraph metrics

In memoir, when I run \documentclass{memoir} \begin{document} \showthe\parindent \end{document} I get: 17.62482 pt My questions are : Why that value? This number seems to capture something ...
10
votes
2answers
208 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 ...
10
votes
2answers
803 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 ...
10
votes
2answers
2k 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 ...
10
votes
2answers
971 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} ...
10
votes
1answer
724 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
1answer
385 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 ...
9
votes
4answers
2k views

How to layout irregular paragraph shape

I have found this in the cover of seminar(one tool to make slide) document. The final result I have captured below: The complete document can download here. I wonder how to make this. Is there ...
9
votes
3answers
9k views

Random unwanted space between paragraphs

I generate LaTeX code from XML for a book I'm writing, using pdflatex (Version 3.1415926-1.40.10 (Web2C 2009)) and memoir. Very infrequently, there appears to be an extra blank line between two ...
9
votes
4answers
191 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} ...
9
votes
2answers
226 views

\raggedright removes paragraph indentation

This code \documentclass[]{article} \usepackage{lipsum} \begin{document} \raggedright \lipsum[1-3] \end{document} produces three paragraphs with a ragged right edge and no paragraph ...