{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
1answer
309 views

Exact paragraph style to set in LaTeX? [closed]

How can I set a different padding value for each side? I want a result that corresponds with this HTML/CSS configuration: <html> <head> <style> div { background: #444; ...
7
votes
1answer
187 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
2answers
2k 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 ...
15
votes
1answer
391 views

What exactly does \@doendpe do?

Quoting from the LaTeX2e sources: [\@endparenv, \@doendpe] To suppress the paragraph indentation in text immediately following a paragraph-making environment, \everypar is changed to remove ...
2
votes
2answers
599 views

Automatically add vertical space /only/ between two sequential paragraphs

I am using KOMA-script scrreprt class. I know I can use \usepackage{parskip} or \setlength{\parskip}{12pt}, but both of these also affect headings. Adding \vspace{12pt} manually between all two ...
2
votes
1answer
219 views

Testing for multi-line paragraphs

I'm running into a situation where I need to insert some code (specifically, \hfill) only if my paragraph runs more than one line. This isn't a simple alignment thing, as I'm working with ...
1
vote
2answers
463 views

Command for paragraph indentation after equations

I want to write two new commands \eqend and \eqcntd so that when I put the command at the end of an equations, The \eqend command puts a "." after the equation and forces the next paragraph to ...
8
votes
1answer
220 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 ...
5
votes
3answers
166 views

Looking for an \ignorespacesandpars

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

A new paragraph followed by a big skip

Here is the code I am using to place a heading with a line above and below the text, from this post. \newcommand{\rheading}[1] { \par \bigskip \hrule height 1pt \kern 5pt \hbox to ...
5
votes
1answer
756 views

Memoir parskip package

How do I get the same effect as using the parskip package when using the memoir class. I want no indents, and spaces between paragraphs. What is the proper way to do this in the memoir class?
6
votes
2answers
360 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 ...
0
votes
1answer
292 views

Prevent a paragraph break before a section heading

How can I prevent a paragraph break before a section heading? To prevent it after, I know that I can use runin like \titleformat{\section}[runin]{\Large\bf}{\thesection\quad}{0pt}{} However, how ...
26
votes
2answers
4k views

How to avoid page-breaks inside paragraphs?

I would like to know if there is any global command that would prevent any page-breaks inside paragraphs. I'd rather have the whole paragraph on the next page instead of having it cut in the middle. I ...
10
votes
2answers
672 views

Test if a paragraph has a page break in it?

I'm trying to use TikZ to make fancier frames. I'm using the clever \tikzmark thing that Andrew Stacey wrote to put nodes at the top left and bottom right of the body of an environment. Then I use ...
3
votes
2answers
289 views

I want to fill all the space between paragraphs on a page with a grid(graphic)

I took an example from another answer to a similar question (How to define a figure size so that is consume the rest of a page?). On a page of an exam paper I want the following: Question ...
6
votes
4answers
2k views

Locally setting the line width in a paragraph

How can I make a specific paragraph have a specific line width?
2
votes
1answer
396 views

Multiple footnotes in minipage - how to typeset as paragraph ?

I have a table in a minipage with multiple, short footnotes. These are typeset one per line. However, I would like to have these in 'paragraph' mode to save space. I have tried ...
3
votes
1answer
1k 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 ...
4
votes
1answer
4k views

Change text background within paragraph (with automatic linebreaks)

How do I change the text color as well as the text background color for e.g. a sentence within a paragraph? I know \textcolor for coloring the font and \colorbox for background coloring ...
3
votes
1answer
545 views

Start new paragraph inside a table cell

Look out for the \par below (on the row starting with "MSA" and notice it does not achieve the desired new paragraph. How to achieve the desired effect? Thanks. \documentclass{article} ...
6
votes
3answers
515 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 ...
8
votes
3answers
1k views

How to use \sloppy for just some references?

I’m using XeLaTeX within MiKTeX and also the biblatex package for the literature. I’ve noticed that my bibliography set using \printbibliography is not set with the \sloppy option by default, which ...
9
votes
5answers
834 views

How to define a parshape command with LaTeX?

I want to typeset a book with some \parshape command, for example: \documentclass{article} \usepackage{lipsum} \begin{document} \parshape=4 0.2\textwidth 0.8\textwidth 0.2\textwidth 0.8\textwidth ...
4
votes
1answer
568 views

New paragraph style

I want to create a few new paragraph styles for a user manual I am writing. The trick part is I want to add an Icon to the beging of the line. I want to create three styles; Danger Warning ...
2
votes
0answers
279 views

Emphasize first line of paragraph in LaTeX [duplicate]

Possible Duplicate: Changing the style of the first typeset line of a paragraph Trying to find out how to emphasize the line of text automatically. The issue here is that I have no idea ...
4
votes
1answer
3k 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
1answer
559 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 ...
3
votes
1answer
303 views

Count number of paragraphs in command argument

Is there a way to count the number of paragraphs in a command argument? I would like to make a command doing something like this: \newcounter{\numberofparagraphs} \newcommand{\testcmd}[1]{ ...
5
votes
2answers
449 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 ...
4
votes
1answer
497 views

First paragraph of section becomes indented after setting \setbeforesecskip (memoir class)

I am trying to adapt my thesis draft to the format specifications of my university, which mandates among other things the number of line skips before and after section and subsection titles. I am ...
3
votes
1answer
217 views

How to properly break text with lots of inline formulas?

I have the following document: \documentclass{article} \begin{document} \textbf{Theorem:} $\forall x_0\cdots\forall x_{n+2}( \forall x_{n+3}(x_{n+3}\in x_{n+1}\leftrightarrow ...
3
votes
2answers
578 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 ...
3
votes
1answer
7k views

Remove/Reduce vertical space between paragraphs for acm_proc_article-sp

I need to use a certain document class (acm_proc_article-sp) that introduces vertical space between paragraphs. I want to remove or at least reduce that space, which I am unable to. Here is a minimal ...
4
votes
3answers
2k 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 ...
10
votes
2answers
7k views

How to disable automatic indentation on new paragraphs?

I'm using a template that I can't/shouldn't modify. This template forces that every time a new paragraph begins, there is an indentation added. In some rare cases this is just looking really ugly and ...
6
votes
1answer
604 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 ...
9
votes
1answer
2k views

Increasing paragraph indentation in KOMA script

The default parindent in KOMA scrartcl is too small for me. I remember reading somewhere that just changing \parindent directly is not wise, since it also affects other things (like itemize etc). And ...
8
votes
5answers
348 views

Paragraph indented to absolute horizontal position.

I am in the following situation: I need to have some text on the first line of a paragraph indented to the normal paragraph indentation point, then I need further text on that same line, as well as ...
5
votes
1answer
372 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?
4
votes
2answers
835 views

How to add paragraph line number in right margin

In passages, the line numbers are given on the right side of the paragraph. Like this: How could this be implemented in LaTeX?
8
votes
3answers
8k views

In how many ways can you create a paragraph in LaTeX?

How many ways are there to indicate the beginning of a new paragraph in LaTeX? Only way I know of is the double linebreak.
5
votes
2answers
215 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 ...
11
votes
1answer
886 views

Reduce natbib bibliography to one line

I would like my references to look like Foo et al. 2008, Nature, 100, 200 • Bar & Baz et al. 2010, Science, 300, 400 • Einstein, 1905, New Scientist, 5, 6 where "•" is perhaps some ...
1
vote
1answer
527 views

Paragraphs are in bold

You can see it: http://wstaw.org/m/2011/02/22/plasma-desktopRe1862.jpg Page source: \section{Esimese astme pealkiri} \subsection{Alampealkiri} \subsubsection{Veel madalam pealkiri} \paragraph{Lorem ...
11
votes
3answers
7k views

Add space between paragraphs in Beamer

Customizing spacing between paragraphs in Beamer plagues me constantly. To split two paragraphs by one empty line I usually put \medskip tag between paragraphs, but this is very ugly solution. Now I ...
12
votes
1answer
577 views

How to change \hsize in the middle of a paragraph at pagebreak, especially for two-column?

The original question is: How to get two columns with different width in LaTeX? I know this older question: How can I create a two-column layout with different widths (and texts) for the two columns? ...
3
votes
1answer
269 views

Problem with parbox using pstricks and ticket package

I'm trying to make cards for a game. I have a problem with \parbox. It's working ok only if the \parbox in the previous picture is empty. If it's not the contents of \parbox are shifted down. Here ...
31
votes
7answers
2k views

Automatically assign a number to every paragraph

I would like to add a marginal number (don't know the right term; in german „Randnummer“) to every paragraph of text I write. I don't see any other solution, than to write every single number manually ...
17
votes
3answers
2k views

When can I safely add an empty line?

I really like spacing my LaTeX to stay organized, but I'm always scared that adding a space will affect the output when all I really wanted to do was separate the "code" a bit. So most of the time I ...

1 3 4 5 6 7