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

2
votes
1answer
395 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
843 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
159 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
149 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
205 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
230 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
162 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
88 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
879 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
134 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
196 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
280 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
186 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
139 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
152 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
600 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
477 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
209 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
932 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
446 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
572 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
154 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
129 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
641 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
878 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
323 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
704 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
103 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
822 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 ...
5
votes
1answer
162 views

How to best split long strings?

I would like to do a simple \StrSplit (from the xstring package) on a string I have, however, the string in question may contain a \par, and it appears that \@xs@StrSpl@t@@, which I can only imagine ...
6
votes
1answer
130 views

Going back to the end of the previous paragraph

Is there a way to define a TeX command that checks if the current position in the text is at the beginning of a paragraph, and if true, then to go back to the end of the previous paragraph? Edit: The ...
0
votes
0answers
127 views

Empty line between paragraphs [duplicate]

Possible Duplicate: Is there an easy way to have my whole document with a space between paragraphs rather than indentation? Adding an empty line between paragraphs does not work, \newline ...
7
votes
2answers
522 views

Making mdframed paragraph behave like normal paragraphs in terms of spacing

I'm using the mdframed package to highlight a paragraph with rules on both sides. However, the mdframed-environment creates a box for the paragraph inside of it and so the spacing around it is ...
1
vote
1answer
133 views

Subsection, subsubsection, etc. title outside (left of) the subsection, subsubsection, etc. content block

How could I get subsections, subsubsections, paragraphs, and subparagraphs (which I'll call "sections" from now on) that look like the one in this PDF file ? In this PDF example, the indentation ...
3
votes
2answers
1k views

Framebox with long paragraph and line break

I want to make a border to a paragraph, so I use \framebox to do it. But I have a problem that my paragraph is so long, I can't insert a line break and my paragraph cross the frame. ...
10
votes
1answer
411 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 ...
1
vote
2answers
743 views

Vertical spacing for paragraph environment

When I use \paragraph{...}, the vertical spaces in general are too big. I need to manually put \vspace{-5em} in front to adjust the spacing. It is not robust and unnatural. One reason may be that I ...
1
vote
0answers
35 views

Hiding and revealing interlaced paragraphs [duplicate]

Possible Duplicate: Commenting out large sections I am writing a document and I want to prepare two versions. Version 1 will contain the 'text'. Version 2 will contain the 'text' as well ...