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

6
votes
1answer
137 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 ...
6
votes
1answer
144 views

Is there a way to configure a command to affect the following paragraph?

I have made the following small command to insert visible section breaks in a manuscript: \makeatletter \newcommand{\subsectionbreak}{ \vspace{1\baselineskip} \centerline{\char"E030} ...
6
votes
2answers
502 views

Unequal space between paragraphs and header-footer

As you can judge from the page below, the vertical space between the text and the header line and the text and the footer line is not equal..... This is much more prominent in a PDF reader so I am ...
6
votes
1answer
101 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. ...
6
votes
1answer
221 views

No gridding for a single paragraph (ConTeXt)?

Is there a possibility to deactive grid=yes in the text for a single paragraph only? It should be something like \nogrid{ paragraph.... }. There is \placeongrid{} - but this does not allow ...
6
votes
0answers
138 views

Replace paragraphs with boxes [closed]

I would like to replace the paragraphs of a compiled document with framed boxes. Although I read the /tex/latex/base documentations I have no idea how to tackle this problem. In detail I want to ...
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
3k 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
275 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
1k 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
4answers
181 views

Paragraph indentation

I am trying to get TeX to indent every new paragraph, but have not been successful after trying many different preambles. Currently, this is my preamble: \documentclass[12pt]{article} ...
5
votes
2answers
109 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
517 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
199 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
674 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
170 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
683 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
1k 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
469 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
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
478 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
349 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
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 ...
5
votes
1answer
1k 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
1k 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
459 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
6k 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
6k 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
50 views

Paragraph spacing within minibox

I have tried all kinds of gimmicks, but I am stuck trying to reduce the double-spacing within the minibox to single space. (Obviously, I want to keep the global \onehalfspacing option.) This sounds ...
5
votes
2answers
140 views

Indenting text after numbered paragraphs

I have a 60 page document with numbered Sections, subsections and paragraphs. All the paragraphs are numbered. I want all the text to be indented evenly after the numbered paras, such as the following ...
5
votes
1answer
63 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
386 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
407 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
881 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
134 views

KOMA script and amsthm: Space lost before and after theorems

I am having a problem similar to this and this, but without using parskip, and only after a recent package update. The MWE \documentclass{scrartcl} \usepackage{amsmath,amsthm} \theoremstyle{plain} ...
5
votes
1answer
466 views

Smaller parskip than half for KOMA-Script?

I am using the documentclass scrbook. To mark paragraphs I need both vertical spacing and indentation. I know that KOMA-Script supports the option parskip or halfparskip, however, this disables the ...
5
votes
1answer
433 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
286 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
202 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
295 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
131 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
202 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
1answer
3k views

How to highlight paragraph (linebreak preserving) as well as itemize, tabular etc.?

I want to highlight changes which are introduced by myself in the pdf document. So far the soul package is very neat but it does throw errors when I want to highlight not only paragraphs but also some ...
5
votes
2answers
585 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
48 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
153 views

How to measure the height and width of several lines (paragraph)?

1. Measuring total height of a paragraph : Hello I'm trying to draw a black box of same height and width of a paragraph with several lines. For this I need to know the size of paragraph and I'm using ...
5
votes
1answer
69 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
74 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
169 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
63 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 ...