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

8
votes
2answers
9k views

How do you make a paragraph indent within a table?

I can manually try and indent, but it only works on the first 'paragraph' within the cell, and the \hspace won't even work with the second paragraph. Is there an easier way? \ctable[ cap= A short ...
8
votes
1answer
133 views

Inserting predefined paragraph numbers in page header

I am dealing with translated texts that have "paragraph" numbers which are already defined in the source, with which I must keep consistency. Hence I can't use \theparagraph to generate the numbers. ...
8
votes
1answer
435 views

How can I tie two pieces of text together so LaTeX tries not to break exactly between them?

I'd like to typeset two chunks of text (a problem statement and solution) next to each other, but I don't want the problem to be the last thing on a page and the solution to be the first thing on the ...
8
votes
1answer
576 views

Identical vertical spacing between paragraphs of different textsize

Something that happens to me very often is that I change the size of certain formula-like material (something close to but not identical to pseudocode in my case) but get inconsistent vertical ...
8
votes
2answers
632 views

Indent further paragraphs in the caption of a table

I have a little problem how to create a caption to my table. It looks ok as of now, but I would like to indent the heading of a new paragraph. Also right now, I cannot even create a new paragraph ...
8
votes
1answer
351 views

Avoid paragraph due to trailing empty line in standalone file

Using my standalone class and package it is possible to compile diagrams etc. inside own files stand-alone or as part of a main document. However, a common user error is to keep an empty line between ...
7
votes
1answer
3k views

Implicit newline at the end of each paragraph?

In certain styles of text I define \parindent 0pt in the preamble and write the text in this manner: paragraph 1\\ paragraph 2\\ and so forth. I wonder if there is anything I can include in the ...
7
votes
3answers
5k views

Numbering paragraphs in latex

I would like to number paragraphs for a covering report I am writing. Paragraphs should increment and not reset with new sections. The text should not be bold. Here is what I have tried \makeatletter ...
7
votes
1answer
425 views

No indent in the first paragraph in amsart?

I would like to remove all the first indentations in amsart, so I am seeking for an "indentfirst=false" command. Note that amsart do indents the first paragraphs by default (so the suggested solutions ...
7
votes
2answers
503 views

Unexpected list spacing when trying to implement vertical lists in paragraph style (with enumitem)

I'm trying to create a styling for certain numbered lists where they are formatted as normal paragraphs; i.e., a paragraph indent before the label, with all subsequent lines of each item unindented. ...
7
votes
2answers
117 views

Making sure that text is aligned between bottoms (and tops) of pages

Here is a LaTeX document: \documentclass[a4paper,11pt]{book} \usepackage[paper=a4paper,twoside=true,lmargin=4cm, rmargin=4cm,bindingoffset=0cm]{geometry} \begin{document} Lorem ipsum dolor sit ...
7
votes
1answer
1k views

Indenting multiple paragraphs in description

I am trying to put multiple paragraphs in a description, where the body text is indented by one \parindent, and I want to indent the second paragraph by one \parindent relative to the body text ...
7
votes
1answer
166 views

How can I prevent a new paragraph between two \input commands?

I want to use the command \input{} to insert two textfiles, text1.tex and text2.tex, into my latex working file. I want these two textfiles to produce one single paragraph when I am compiling my ...
7
votes
1answer
2k views

Stanza breaks with verse package

I am trying to enforce stanza breaks via a blank line as explained in the verse package documentation. Stanza breaks do not seem to eventuate with this MWE: \documentclass{memoir} \usepackage{verse} ...
7
votes
1answer
1k 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 ...
7
votes
2answers
839 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 ...
7
votes
1answer
2k views

Why does adjust box not resize to the dimensions given

Hi looking to understand this a little better. Why does adjustbox not resize the text in the following example so that it fits the dimensions I think I'm specifying. e.g a 4in x 4in box. Am I doing ...
7
votes
1answer
2k views

How to make paragraph start title in IEEE trans

using the IEEE trans format, how to display the paragragh title such as "Relaxing the Autonomy condition" as shown below?
7
votes
1answer
247 views

Numbering multiple paragraphs at once

I am drawing up a document that has numbered paragraphs. 1-36 are numbered normally and I have no problems. However, on paragraph 37, I need something like: 35 Normal paragraph. 36 ...
7
votes
3answers
481 views

Looking for an \ignorespacesandpars

Is there an analogue of \ignorespaces which will also ignore the following \pars?
7
votes
1answer
987 views

Large gaps between paragaphs VS avoiding widows / orphans

How to avoid widow and orphan lines, while also avoiding too large gaps appearing between the paragraphs on the previous page? I figure that to strongly discourage widows and orphans, one would use a ...
7
votes
1answer
159 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} ...
7
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 ...
7
votes
2answers
1k 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: ...
7
votes
1answer
327 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 ...
7
votes
1answer
288 views

lock spacing in math mode [duplicate]

Is it possible to "lock", or protect, the spacing of a math formula displayed in-text, so that latex will not stretch and squeeze the formula? I would not like to do this globally for all formulas, ...
7
votes
1answer
469 views

bigfoot, paragraph-style footnotes, and premature page breaks

When using the bigfoot package and its paragraph-style footnotes, sometimes page breaks are inserted in the main text although there's room for another line. I've nailed down the problem in the ...
7
votes
1answer
533 views

How can I set lateral margins to every paragraph, but not other elements?

I would like to obtain narrow paragraphs within wide pages, so that section titles, figures, tables, may all be wide, and paragraphs may all be narrow. \documentclass[12pt,a4paper]{article} ...
7
votes
0answers
150 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 ...
6
votes
3answers
2k views

Negative indent?

Is a negative indent of a particular paragraph possible or does another command need to be used? I.e., the first line should begin inside the margin. Can a command similar to \noindent be constructed ...
6
votes
3answers
698 views

What is an elegant way to insert a skip between two paragraphs?

From time to time I want to insert a skip between two specific paragraphs (at the end of a thought). My first shot was to simply insert a \vspace but the indentation still bothered me. So what I came ...
6
votes
1answer
485 views

Is there an alternative to LaTeX which isn't whitespace sensitive?

I have been using LaTeX for about a year now, and I quite like it. However, I like to space out my source code. In most languages, this doesn't cause an issue, as extra newlines don't affect meaning. ...
6
votes
3answers
196 views

How to set two or more paragraphs to use the same amount of vertical space?

Given several paragraphs in ConTeXt or plain TeX, how can I ensure that all paragraphs use the same amount of vertical space, by adding white space to the end, as the longest paragraph in the set? ...
6
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} ...
6
votes
2answers
2k views

Indenting the first line of figure captions

I want to create a small indentation in the first line of figure captions, similar to the way LaTeX indents the first line of paragraphs. The caption package does not seem to support this. Is it ...
6
votes
2answers
4k views

Paragraph in TikZ

How make paragraph in TikZ. I use \parbox with \node \node {\parbox[5cm]{text}}; but i need more options, alignment center or left or right, similar to text box. All in TikZ. thanks.
6
votes
3answers
232 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 ...
6
votes
3answers
865 views

New paragraph style for newbie

This question may have already been asked, but with all of my searching, I couldn’t find it. I am new to LaTeX and after a few rough starts, I am finding my way. I am using this tool to create ...
6
votes
3answers
1k views

Insert a paragraph into a list that uses the whole text width

I want to insert a paragraph or possibly even a box with a background color into a list that uses the whole \textwidth. Something like this: 1st item a subitem 1 b subitem 2 2nd item a ...
6
votes
2answers
968 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, ...
6
votes
1answer
106 views

Why hbox does not start a new paragraph?

These two produce the same result: abc %\null def \bye abc \null def \bye These two are different: abc %\null def \bye abc \null def \bye Does anybody know where this behavior is ...
6
votes
1answer
193 views

Setting \parindent to 2em or \quad

I would like to set \parindent to 2em (or \quad which is the same if I know correctly). How can I do it? \setlength{\parindent}{...} only accepts values with length units, for example, 15pt, 1cm, ...
6
votes
1answer
1k views

How to disable new paragraph at empty line?

With the goal of making the latex source easier to parse, I was wondering if one could (locally or globally) disable the latex default behaviour of creating a new paragraph when it encounters an empty ...
6
votes
3answers
253 views

Vertical skip between p{…} rows of tabular

I want to increase a bit the vertical spacing in my tabular table. I did something like this: \documentclass{article} \begin{document} \begin{tabular}{p{4cm}p{4cm}} Lorem ipsum dolor sit amet ...
6
votes
1answer
1k views

Tight horizontal lines around a block of text

I wish to create a block of text with tight horizontal lines above and below, e.g. This is a paragraph. The following example seems to produce more space between the paragraph and the horizontal ...
6
votes
1answer
1k 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 ...
6
votes
1answer
2k 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 ...
6
votes
4answers
2k 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 ...
6
votes
2answers
2k views

Indent all but first lines of paragraph.

Inside of a table column with a width determined by a p{5in} tag, I want all but the first line of text to be indented. Is there any way to achieve this? Doing it by hand would make later edits ...
6
votes
2answers
244 views

How to indent only the second line of a paragraph?

I am not an expert in Hebrew typesetting, but the majority of the works I study has the second line of each paragraph indented. Is there a package that would allow me to do this, or will this need to ...