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

17
votes
3answers
2k 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 ...
17
votes
2answers
10k 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 ...
17
votes
2answers
528 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
1answer
3k 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 ...
17
votes
2answers
4k 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 ...
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 ...
16
votes
2answers
690 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
295 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 ...
16
votes
3answers
6k 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 ...
16
votes
3answers
1k 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
606 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
2answers
1k 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 ...
16
votes
2answers
2k 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 ...
15
votes
3answers
260 views

Safely overriding default paragraph breaking to something unusual

I am, as an experiment, trying to simulate a certain typgraphic style which uses only the pilcrow sign to separate paragraphs -- no line breaking. What I'm after should look like this: This example ...
15
votes
3answers
3k 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 ...
15
votes
1answer
1k 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
2answers
227 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 ...
14
votes
2answers
667 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
1answer
3k 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 ...
14
votes
2answers
4k 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 ...
14
votes
1answer
24k views

What is a “Overfull \hbox (9.89561pt too wide)”?

I have this warnings around, some of them seems to be solved naturally but I never really understand what do they mean. What this means? Edit: I would like to keep the question in more general ...
14
votes
2answers
5k 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 ...
14
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 ...
14
votes
1answer
10k views

Change text background within paragraph (with automatic linebreaks)

How do I change the text color as well as the text background color for e.g. a sentence within a paragraph? I know \textcolor for coloring the font and \colorbox for background coloring ...
14
votes
1answer
877 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
2k 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
4answers
21k views

How to draw a line between two paragraphs of my text?

It's just as the title says. Thanks.
13
votes
2answers
736 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 ...
13
votes
2answers
882 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 ...
13
votes
2answers
740 views

Breaking a theorem between pages

I currently have this custom myexample theorem environment that is working absolutely great. \newtheoremstyle{myexamplestyle}{}{}{}{}{\bfseries}{.}{ }{} ...
13
votes
4answers
3k 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 ...
13
votes
1answer
473 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
1k views

Remove indent of paragraph and add line skip with tufte-latex

I'm using tufte-latex and I want paragraphs to have no indent, but a line skip instead. Normally you can achive this with: \usepackage[parfill]{parskip} Using tufte-latex this does not work ...
13
votes
1answer
389 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
1answer
7k views

Increasing paragraph indentation in KOMA script

The default parindent in KOMA scrartcl is too small for me. I remember reading somewhere that just changing \parindent directly is not wise, since it also affects other things (like itemize etc). And ...
13
votes
2answers
800 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
222 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: ...
12
votes
2answers
2k 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
2answers
3k views

Adding vertical lines to each side of a paragraph

How can I add vertical lines to each side of a paragraph? To illustrate, what I need is: some paragraphs... |My paragraph begins| |here and goes like | |this... ~~~~~~~~~~~| |~~~~~~~~~~~~~~~~~~~| ...
12
votes
1answer
252 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 ...
12
votes
3answers
4k 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 ...
12
votes
2answers
3k views

How to change paragraph separation to indent within blockquote (csquotes)

I am using the package csquotes to generate a blockquote. csquotes inserts what looks like half a blank line between the paragraphs within the quote. I would prefer to have no vertical space but an ...
12
votes
2answers
566 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 ...
12
votes
2answers
2k 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 ...
11
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 ...
11
votes
3answers
224 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
2answers
3k views

Manual linebreak with justification but without empty line afterwards

What do I write at the end of a paragraph if my text is a couple letters short of being flush from left to right and I want the last line stretched slightly so that no empty space is left that the ...
11
votes
1answer
3k 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 ...
11
votes
3answers
579 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
1answer
171 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}, ...