{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
0answers
82 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
90 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
658 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
113 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
166 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, ...
7
votes
1answer
244 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
87 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
168 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
2answers
121 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
30 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
112 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
453 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
382 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
167 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
702 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
43 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
341 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
542 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
124 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
111 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 ...
5
votes
1answer
119 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
254 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
154 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
519 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
25 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
550 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
238 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 ...
23
votes
3answers
555 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
96 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
160 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
43 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
99 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
564 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
144 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
126 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
121 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
395 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
130 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
676 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
294 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
413 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
33 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 ...
3
votes
2answers
207 views

Paragraph indent after multicols environment

I'm using the multicol package and have found that the paragraph immediately following the multicols environment is indented. This happens even when there is no blank line between the end of the ...
5
votes
1answer
681 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... ~~~~~~~~~~~| |~~~~~~~~~~~~~~~~~~~| ...
18
votes
1answer
197 views

Why does a color meant for the first typeset line *only* (with package magaz) affect the *entire* document?

I am trying to make a nice layout that gives a different style to the first line in a section using the package magaz. All examples I have seen feature some variation of small caps {\scshape text} or ...
2
votes
1answer
159 views

Empty sections cannot be broken, making page look stretched out

This is almost duplicate to question Random unwanted space between paragraphs but I don't even use \par. I'm using pdflatex to compile a .tex file. As I wrote my text I noticed a sudden change in how ...
3
votes
1answer
809 views

Images on same page as text (paragraph)

I have 3 paragraphs with text (but without use \paragaph, just ext) and I have 3 images to these paragraphs. When I create pdf I have these paragraphs on one page (with text before) then on next page ...
11
votes
1answer
238 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 ...
1
vote
0answers
45 views

How to hold all lines in a defined environment? [duplicate]

\def\Grammercaption{\textbf{Grammer}} \def\grammer{\bgroup\ignorespaces\Grammercaption\fontsize{10}{13pt}\selectfont} \def\grammer{\egroup} I want all lines of text within this environment stick ...
5
votes
2answers
219 views

Getting the interlinear spacing correct within a paragraph when using minipages

Let me start by saying that this is very similar to a previously posted question, How to keep a constant baselineskip when using minipages (or \parboxes)?, for which egreg gave a very nice solution. ...