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

5
votes
2answers
2k views

How do I embed equations in the text?

Let's say I have a text block like this: Within the field of texture analysis, a number of categories of methods exist, and even if we restrict ourselves to statistical methods, a large number ...
5
votes
2answers
2k views

\captionof messes with paragraph indent

\documentclass{mwrep} \usepackage[font=small,compatibility=false]{caption} \usepackage[chapter]{minted} \usepackage{lipsum} \begin{document} \chapter{Test} \lipsum[2-3] \captionof{listing}{Caption of ...
5
votes
2answers
137 views

Implicit \hfil at the end of each paragraph?

Why do Alpha \hfil\ Omega\par and Alpha \hfil\ Omega not flush "Omega" to the right?
5
votes
3answers
885 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} ...
5
votes
2answers
106 views

Enforcing new paragraph indents in book style

I'm having trouble getting the paragraphs in my document to indent. I'm not sure what could be wrong, as I thought this was default behaviour. Here is a cut down version of my tex file: ...
5
votes
2answers
432 views

Create a macro for heading

LNCS class requires 3rd-level heading to be "Run-in Heading in Bold. Text follows" at 10 point, bold It seems that there is no existing macro for that, so I have written: ...
5
votes
2answers
165 views

paragraph indentation inside an indented environment

I have used the thmtools-package to create a new proof environment. With the following code I indented the whole environment: \AtBeginEnvironment{prf}{ ...
5
votes
3answers
430 views

How to enumerate the items in line within the paragraph not each item in a separate line?

I want to have the following: A graph can be cut in several ways including \begin {enumerate*} [label=\itshape\alph*\upshape)] \item minimum cut, \item normalised cut and \item average cut. \end ...
5
votes
2answers
165 views

How to break a paragraph between double {}

Document class I use the following document class: sig-alternate.cls The document class can be found at: http://www.acm.org/sigs/publications/proceedings-templates Problem: I have the following ...
5
votes
2answers
565 views

set hanging indent for more than one paragraph at a time

is there a way to start every paragraph in a document with a hanging indent, without defining this for each and every paragraph? Is this possible without any extra packages loaded or such? And, ...
5
votes
3answers
911 views

Change line spacing for normal text, but not in tabular or verse

\usepackage{setspace} \doublespacing I used above two lines to change the spacing in my document. This changes the spacing of the entire document. My requirement is to change the line spacing in ...
5
votes
1answer
406 views

Control the <p> tags added by Tex4HT

TeX4HT allows to reset LaTeX macros to insert HTML code in order to produce clean HTML documents. This is great, but it often gets in a mess of <p> tags, such as: <p class="noindent" ...
5
votes
1answer
450 views

Is there a LaTeX package that lets me explicitely show indentation on paragraphs?

I'm looking for the following sort of effect in my document: Or something like this: Is there a package that lets me do this?
5
votes
3answers
310 views

Automatically stretch/fit contents of a paragraph

I am preparing my thesis and in many places I find the Overfull/Underfull warnings. Usually it is not very alarmingly visible in the document but sometimes it is painfully out of the specified ...
5
votes
4answers
1k views

Verse environment won't set in italics

Could someone please help me fix the following problem? I want to typeset an indented paragraph in italics. Using the verse package, the paragraph typesets without a problem, but when I try to add ...
5
votes
1answer
941 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
916 views

Formatting – title with underline and box around paragraph

Can you help me please with formatting? I like this format: How can I define this title with grey underline (width of all page)? Font is sans serif (Arial). And how can I make grey box around some ...
5
votes
3answers
424 views

Re-use code like figures and paragraphs in other documents

I was wondering if there is a way in which I can reuse the code, for example one figure, that is written in one file into another file. I want to use something similar to xr package that allows you ...
5
votes
3answers
5k views

How not to indent the very first line on a page in LaTeX?

If the first line on a page happens to be the first line of a paragraph at the same time, I would like not to indent it (just as if it is the first line of a section). Is there a way to do this ...
5
votes
1answer
5k views

hanging indents

Note: Subsequent to the original post, it was pointed out to me that my problem had nothing to do with the textpos package. I've edited the title, but left the original post as is for posterity (or so ...
5
votes
1answer
53 views

How make \parshape declared inside an environment to apply the next paragraph outside the environment?

I'm trying to do something like the MWE below: \documentclass{article} \usepackage{lipsum} \newenvironment{myenv}{% \parshape = 4 0pt 0.5\textwidth 0pt 0.5\textwidth 0pt 0.5\textwidth ...
5
votes
1answer
336 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 ...
5
votes
1answer
339 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 ...
5
votes
2answers
833 views

Numbered paragraphs

I would like to write something with numbered paragraphs - for those who know it the style should be the same of EGA. So instead of having something like blah blah Theorem 2.1 blah blah ...
5
votes
1answer
282 views

How to apply \looseness=-1 to ALL the paragraphs?

I'm writing a short document of (3-4 pages), and try to condense it into the allowed space. Putting \looseness=-1 at the end a paragraph helps quite a lot. Is there a way to tell LaTeX to treat ...
5
votes
2answers
258 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. ...
5
votes
1answer
186 views

Border on top of paragraph

I am trying to put a line over a paragraph in LaTeX. I tried this code: \noindent\makebox[\linewidth]{\rule{\textwidth}{2pt}} ...
5
votes
2answers
279 views

How to spread words in several lines uniformly?

In TeX, I can use \hbox to 1in{foo bar baz} to get Is it possible generalize the use, to get this result: by typing a paragraph foo bar baz test text only? I tried \break to break lines at ...
5
votes
2answers
110 views

hangparas and href: hyperlinks running onto new lines, but not indenting

How can I get the text in the hyperlinked text in the second paragraph to follow the same hanging paragraph indent as the first? I've tried putting a new hangparas environment inside the href block, ...
5
votes
1answer
185 views

Preserve vertical spacing between paragraphs in different pages

I am trying to include some vertical spacing between two lines. In the example below, the space between questions 2 and 3 should have been the same as between 1 and 2. However, as you can see in this ...
5
votes
2answers
555 views

Inserting very wide paragraphs or pictures…

The questions and answers regarding wide paragraphs are rather popular. What I would like to have is a new kind of "element" in my documents which would allow me to display wide paragraphs which can ...
5
votes
2answers
27 views

Separating some paragraphs with a blank line, and other paragraphs without a blank line?

I want to be able to write blocks of paragraphs that share the same idea like this. __1. This a a sentence about something. I continue with another sentence. With this sentence I conclude an idea, ...
5
votes
1answer
64 views

Small indentation appears when adding custom header

A small indentation appears on the first line of the paragraph when I add \pagestyle{myheader} to the MWE. I don't want it there. Thanks to Gonzalo Medina's answer I did the part described in Section ...
5
votes
2answers
63 views

Move short keywords to the left of the text in box, not marginpar/marginnote

I am trying to create a command that moves (short) keywords to the left side of the text. They should be "right" aligned" with a fixed separation between the keyword and the text. The command below ...
5
votes
2answers
154 views

Start next paragraph on this line

TL;DR: Can I convince LaTeX to start the next paragraph on the same line as the current one? The format I’ve chosen for my résumé looks something like this: EXPERIENCE Doctor Midos, Inc.   ...
5
votes
1answer
58 views

How can I create a better pseudo-enumerated list unconstrained by any environment

I have a longish document which isn't written in LaTeX but structures for markup are easily identified. I can write a Perl script to translate most of the document into LaTeX. However, lists ...
5
votes
2answers
164 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} ...
5
votes
1answer
164 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 ...
5
votes
1answer
164 views

Testing for a blank line (“paragraph”) immediately after \begin{document}

(With this question, I hope to resolve an edge case relevant for my quoting package.) Suppose I define a customized environment for displayed text. It resembles the standard LaTeX environment quote ...
5
votes
1answer
88 views

How to concatenate a whole paper into one big line of text + footnotes

I've helped my girlfriend typeset her Bachelor's degree paper with LaTeX. I'd like to create a single-page poster version of the whole text. Cf. "All the World's a Page" posters, e.g. ...
5
votes
2answers
216 views

How do I make a hanging indent for numbered paragraphs?

The code I have is: 1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat \\ But as you can see in ...
5
votes
1answer
213 views

LyX: Paragraphs ignored in PDF output

I have a document with article class. Here's the minimal example: #LyX 2.0 created this file. For more info see http://www.lyx.org/ \lyxformat 413 \begin_document \begin_header \textclass article ...
4
votes
1answer
7k views

Paragraph spacer: blank line and no indent, instead of indent [duplicate]

Possible Duplicate: Is there an easy way to have my whole document with a space between paragraphs rather than indentation? I would like to have my paragraphs separated by a blank line, ...
4
votes
3answers
5k views

Indent first paragraph only once

I'm writing a document in English which includes an abstract in Spanish. In Spanish the first paragraph of a chapter should be indented, while in English shouldn't. If I use indentfirst package, all ...
4
votes
3answers
199 views

How do you make text flow to another part of a page?

I have a nasty paragraph with tables, long math and enums which I want to flow between two regions of my page. Here is an example of what I am trying to accomplish: I figured I could somehow do it ...
4
votes
2answers
447 views

Paragraph indenting in an mdframed environment

I'm using the mdframed package and I've defined my own environment. But it seems that paragraph indentation doesn't work inside a mdframed environment. I've used the settings option of mdframed to ...
4
votes
1answer
2k views

Paragraph after \section doesn't indent [duplicate]

Possible Duplicate: How can I indent the paragraphs which follow a heading? I want to ask why "Hello!" doesn't indent. % work1.tex \documentclass{article} \begin{document} ...
4
votes
2answers
141 views

Proclaim command with multiple paragraphs

In page 131 of "TeX for the Impatient", it says the followings for proclaim command: \proclaim ⟨argument⟩.␣⟨general text⟩\par This command ``proclaims'' a theorem, lemma, hypothesis, etc. It sets ...
4
votes
2answers
227 views

Paragraph indent, both \indent and \par, not working

Preamble. I use Win 8 Pro x64, MiKTeX 2.9, TeXnicCenter latest version. \documentclass[12pt,a4paper]{article} \usepackage{graphicx} \usepackage{polyglossia} \usepackage{xltxtra} \usepackage{xunicode} ...
4
votes
2answers
2k views

How and when to remove the space on the left hand of the beginning of a paragraph?

I have something like that: \section{subsection} ... \begin{figure} ... \end{figure} texttexttext ... It turns out that it does not put the "texttexttext" on the very left hand side... it leaves ...