Tagged Questions

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

21
votes
2answers
1k 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 ...
9
votes
1answer
8k 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 ...
6
votes
2answers
428 views

Better vertical space between paragraphs and centered tabular or figure

When I need to place a tabular or figure inside a paragraph (usually in exams or class notes) I use {\par\centering <tabular>/<figure>\par} because center environment uses too much ...
3
votes
1answer
202 views

Inhibit indentation in paragraph after using the “quoting” package

A little while ago I asked this questions concerning how to quote in the style of "quotation" but without the first paragraph being indented. The answer I got was to use the quoting package instead of ...
4
votes
1answer
261 views

Fool-proof paragraph skipping

I'm using XeLaTeX, and I need to have paragraphs that are only separated by vertical space, and with no indentation. However, no matter what I try, I always get indented paragraphs. This is my ...
1
vote
1answer
326 views

New paragraph without \newline?

I am writing on a larger text and sometimes I want to begin a new paragraph. So I don't want to have a new heading, just a space for visiual reasons. Currently I use the solution with \\ \newline For ...
2
votes
1answer
187 views

Paragraph Spacing within a Tikz Environment

I am looking to replicate the look of paragraphs within a tikz environment (actually a minipage). \documentclass[letterpaper,12pt]{book} \usepackage{tikz} ...
2
votes
1answer
196 views

Inhibit indentation of first paragraph of quotation

I'm using LyX. Would it be possible to format something as "quotation" in a way in which the first paragraph doesn't get indented but the subsequent paragraphs does, like the way in which text ...
6
votes
1answer
828 views

How to remove the paragraph break after lipsum block?

Usually I use the lipsum package to produce random text. But sometimes I want to test something just after the text (e.g. some \hrulefill command). I noticed that \lipsum[1] ends with a \par or ...
2
votes
1answer
399 views

Variable white space between paragraphs

I am having trouble finding out why the white space between my paragraphs is variable. Sorry, I am not allowed to post images but sometimes there is no white space (like it should be), just an indent ...
5
votes
3answers
851 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} ...
1
vote
3answers
160 views

How to format a set of paragraphs with captions to the left of the first line

I am trying to write a document with a list of paragraphs that have an introductory caption displayed to the left of the first line of each paragraph, such that the captions appear as a left column ...
0
votes
1answer
53 views

Defining clauses as in the C standard document?

I am trying to write a document with the same presentation as the C standard document. Here is the document: C draft n1570 Look at page 256 and the 7.12.4.1 section for example. My question is how to ...
10
votes
1answer
151 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 ...
9
votes
2answers
210 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 ...
6
votes
1answer
233 views

biblatex: no linebreaks in name lists when typesetting ragged-right

When typesetting a bibliography \raggedright, biblatex seems to have trouble breaking a line between an author's first/last/middle names (and, if multiple authors are present, between two authors). ...
4
votes
2answers
164 views

Inserting automatic vertical space between blocks when \obeylines is active

Sometimes as I write a manuscript in LaTeX for speaking, I want to format parts of it as \obeylines and \obeyspaces permit, so that a single coherent thought is expressed compactly on each line, and ...
2
votes
0answers
90 views

Defining \@ifnextchar to detect a newline [closed]

At the end of a list (eg in \enditemize or similar) I need to detect if there is a blank line before whatever comes afterwards. Can this be done by \@ifnextchar or has someone already done this ...
4
votes
2answers
100 views

Are theorems, lemmas etc as new paragraphs or as in a paragraph?

Curious about skips above and below them and the indentation.
6
votes
2answers
892 views

Indent Theorem like \hangindent, but for multiple paragraphs

I would like to create a theorem style which indents the theorem exactly like a \hangindent would do, expect that the indention should continue for all paragraphs of the theorem. For example: ...
1
vote
0answers
136 views

Text starting at the bottom of paper? [closed]

I start writing my thesis in LaTeX. On one of the paper do have a graph and for some reason it split the text and the text are starting at the bottom of the new page. I am using the ...
2
votes
2answers
198 views

how to control font and paragraph formatting in margins

i'm having a hard time to figure out how to control the exact appearance of margin text (such as is output by the \marginpar command). i'm using XeLaTeX with packages such as geometry, fontspec, ...
8
votes
1answer
282 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?
6
votes
1answer
121 views

Problem with enumitem and \raggedright [duplicate]

I want my items in lists (enumerate, itemize and description) to be raggedright. So I use enumitem package to make things easier \usepackage{enumitem} \setlist[enumerate]{before = \raggedright}% In ...
4
votes
1answer
188 views

Add \par only if last paragraph did not end with displayed math

Background: I have named "sections" (sections for rest of this question) which are conditionally displayed or suppressed based on parameters. To simplify the test case below, these are controlled by ...
1
vote
1answer
147 views

How do I insert an empty line? [duplicate]

How can I add an empty line between to paragraphs, thus separating them more strongly?
2
votes
0answers
31 views

Bold text multiple paragraphs [duplicate]

What I want is to be able to do \textbf{ paragraph 1 paragraph 2 } but the compiler complains that I've put new paragraphs inside \textbf{}. I had the same problem with \textcolor but this How ...
0
votes
1answer
156 views

How to format a Scenario text

I writing currently on a paper and i have a short scenario, how my product can be used in the future. i saw that most people use italic font and indention to mark it as a story. Is it possible that ...
6
votes
1answer
611 views

Annoying paragraph spacing issue with memoir

I have a spacing issue while using the memoir class. The main problem is that after the first paragraph there is a line skip and an indentation and afterwards, all the paragraphs are indented properly ...
14
votes
2answers
479 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 ...
4
votes
2answers
210 views

How to change ledmac's paragraph footnotes from justified to ragged

How to change ledmac's paragraph footnotes from justified to ragged ? They seem to be justified by default, but I need them ragged left. Probably needs a redefinition of \parafootfmt, but I don't know ...
18
votes
1answer
938 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 ...
2
votes
0answers
44 views

How to get “paragraph keywords”? [duplicate]

Sometimes, especially in large textbooks, you find descriptive keywords like "Model Definition" to the left/right of the normal text flow. They help to quickly orient yourself in a lengthy text with ...
12
votes
2answers
448 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 ...
27
votes
3answers
576 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 ...
5
votes
2answers
156 views

Paragraph break when combining tabbing and font change

I have found a strange behavior when combining the tabbing environement with a font change. When I write the following code blah blah blah blah blah blah blah blah blah blah blah blah \begin{tabbing} ...
3
votes
1answer
120 views

Include links for certain paragraphs

I would like to include links/reference points in my latex document, e.g. The situation is the following: There is a certain paragraph on, say page 11, and on page 13 there is a link and when the ...
6
votes
1answer
130 views

How to center the last line of a paragraph?

I am trying to center the last line of each paragraph to keep with an old style typesetting. I tried using the example by Gonzalo Medina in How to center text without adding space AND not altering ...
5
votes
1answer
321 views

Indent text after line 1

How can I accomplish something like this: Basically, I want my text to be "indented" after the first line. It would be great if somebody knew an answer. Ideally I would like to do this, because I ...
3
votes
1answer
171 views

Picture and Paragraph in Metapost

How to insert a paragraph in Metapost and a drawing below that? This has to be done within a single Metapost block, (i.e) within a single \startMPcode and \stopMPcode block Sample image :
23
votes
4answers
643 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". ...
2
votes
0answers
26 views

How can I make a command/environment for a titled paragraph but with the text indented to the title (picture inside)? [duplicate]

Basically I want to make this: **The title** Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nam vestibulum accumsan nisl. Phasellus lacus. Lorem ipsum dolor sit ...
5
votes
1answer
886 views

How to apply formatting (sans-serif, color etc.) to multiple paragraphs?

Some LaTeX formatting commands like \textcolor{red}{...}, \sout{...} or \textsf{...} work fine when the thing inside is a single paragraph but fail to compile if you put a paragraph break in the ...
5
votes
1answer
329 views

Flexible vspace

I created a macro to insert diary-like right-aligned paragraphs. \newcommand{\diarydate}[1]{\begin{flushright}\textit{#1}\end{flushright}} Example: \diarydate{New York, August 1992} This looks ...
26
votes
3answers
706 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
111 views

The biblatex has problems with \par having \prevdepth

Russian paragraphs have not too short last lines as the \Arussian substitution for \par does. But this approach creates conflicts with biblatex package. Is there any method to make it run? Here is a ...
6
votes
3answers
169 views

PGF keys error with key filter for keys containing \par

I am trying to use pgfkeys to store some text for use later. The end goal is to use a key filter to process options first and then apply them to text before it is stored. In the MWE below, if it try ...
0
votes
0answers
48 views

Space Above Equations [duplicate]

Possible Duplicate: Vertical spacing before and after equation environment: empty line or not? I am using iPython Notebooks and a utility called nbconvert to translate notebooks into LaTeX. ...
2
votes
1answer
104 views

Octavo environment stanza break spacing

In the octavo document-class, there is (as in many others) a verse environment for the setting of poetry; however, breaking stanzas appears to be unimplemented: there's no difference in vertical ...
3
votes
2answers
847 views

Shorthand for empty line or \\ \indent

This page says that \\ starts a new paragraph. However, it does not end up looking the same as inserting an empty line in my source code (which I have always used to define paragraphs), which also ...