{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
71 views

Paragraph numbering (lineno for paragraphs)

How can I add margin numbering for paragraphs? It should be alternating (left and right) for odd and even pages. So basically like lineo with the switch option but for paragraphs instead of lines.
8
votes
2answers
538 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
338 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
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 ...
7
votes
4answers
6k views

Locally setting the line width in a paragraph

How can I make a specific paragraph have a specific line width?
7
votes
1answer
1k 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
1answer
349 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
465 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
116 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
915 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
165 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
1k 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
920 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
737 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
1k 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
1k 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
244 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
430 views

Looking for an \ignorespacesandpars

Is there an analogue of \ignorespaces which will also ignore the following \pars?
7
votes
1answer
955 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
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
219 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
417 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
484 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
144 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
684 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
450 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
192 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
216 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
775 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
931 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
1answer
91 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
143 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
209 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
885 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
2answers
229 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 ...
6
votes
2answers
130 views

Weird interaction between everyhook and fancyhdr

In a document I'm working on, I'd like whitespace to be added before a custom environment, but only if that environment doesn't immediately follow a sectioning command (\section, \subsection, etc). I ...
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
161 views

What is the difference between \@@par and \par?

In LaTeX internal code I came accross \@@par. How is this different from \par or \newline. When should I use \@@par if I am writing a package or class file? In general, there are so many other ...
6
votes
1answer
144 views

What is a good way to write exponentials within paragraph?

I want write a paragraph that has an exponential term in it, like `the complexity is on the order of 10^5'. This exponential changes the spacing between the lines of the paragraph. I have seen in ...
6
votes
1answer
187 views

Controlling Spacing after paragraph

I'm sure this is trivial, but I'm new to LaTeX and having trouble getting some formatting correct. I want two columns with bold headings and non bold text after. One of the headings, "experiments" has ...
6
votes
1answer
112 views

Paragraph with a given aspect ratio?

I using tikz together with package varwidth, I find myself playing out with different values for paragraph width, so as to achieve an "optimal" aspect ratio. Ideally, I would have liked to have an ...
6
votes
1answer
78 views

Margin for enumerated environments

How does one move out the "a)" so that the text in the enumerated environment aligns with everything else? Basically I want to produce text with default align alignment but where one is able to add ...
6
votes
2answers
612 views

Better vertical space between paragraphs and centered tabular or figure

When I need to place a tabular or figure inside a paragraph (usually in exams or class notes) I use {\par\centering <tabular>/<figure>\par} because center environment uses too much ...
6
votes
1answer
149 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 ...