{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
2k views

Adding vertical lines to each side of a paragraph

How can I add vertical lines to each side of a paragraph? To illustrate, what I need is: some paragraphs... |My paragraph begins| |here and goes like | |this... ~~~~~~~~~~~| |~~~~~~~~~~~~~~~~~~~| ...
18
votes
1answer
222 views

Why does a color meant for the first typeset line *only* (with package magaz) affect the *entire* document?

I am trying to make a nice layout that gives a different style to the first line in a section using the package magaz. All examples I have seen feature some variation of small caps {\scshape text} or ...
2
votes
1answer
164 views

Empty sections cannot be broken, making page look stretched out

This is almost duplicate to question Random unwanted space between paragraphs but I don't even use \par. I'm using pdflatex to compile a .tex file. As I wrote my text I noticed a sudden change in how ...
3
votes
1answer
2k views

Images on same page as text (paragraph)

I have 3 paragraphs with text (but without use \paragaph, just ext) and I have 3 images to these paragraphs. When I create pdf I have these paragraphs on one page (with text before) then on next page ...
13
votes
1answer
332 views

No indent in the first paragraph in a section in Plain TeX

I have checked no indent in the first paragraph in a section? but I think my question warrants a new thread, because my question is about Plain TeX. I am using Plain TeX. I would like to write a ...
1
vote
0answers
46 views

How to hold all lines in a defined environment? [duplicate]

\def\Grammercaption{\textbf{Grammer}} \def\grammer{\bgroup\ignorespaces\Grammercaption\fontsize{10}{13pt}\selectfont} \def\grammer{\egroup} I want all lines of text within this environment stick ...
5
votes
2answers
277 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. ...
1
vote
1answer
326 views

Multiple paragraphs break custom command

first of all sorry if the question seems repetitive: I have tried to find a solution in previously asked questions but none of the hints provided seems to work for me. Here is my situation. I am ...
7
votes
2answers
394 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. ...
1
vote
0answers
52 views

Prevent figures from breaking lists, paragraphs and stay in current section [duplicate]

Possible Duplicate: How to protect text from being split by a float? I have quite some images in my report and I insert them with this command I made: \newcommand{\image}[3]{\begin{figure} ...
67
votes
2answers
14k views

When to use \par and when \\

What is the difference between \par and \\ and when should I use \par instead of \\?
5
votes
3answers
329 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 ...
6
votes
1answer
384 views

Newline, indentation, parskip - when to use what in what stylistic manner?

I intend to use scrbook. In real-life literature, English and German language, the text often looks like this: Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod ...
6
votes
1answer
218 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 ...
3
votes
1answer
84 views

How to indent part of line to certain amount?

I apologize if this is a basic question, but I'm new to LaTeX and typography in general, and I'm not sure how to articulate my question properly. I have a document which looks like this: ...
3
votes
1answer
664 views

space between paragraph and list

In this code, I'm confused about why the space between First paragraph and Second paragraph is not equal to the space between Second paragraph and First bullet. How can I make them equal? ...
4
votes
1answer
3k 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} ...
11
votes
2answers
193 views

Define a command to affect everything until the end of the paragraph?

Is it possible to define a command so that it affects everything until the end of the current paragraph? As a minimal example, I am trying to define a command using syntax similar to the following: ...
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 ...
6
votes
1answer
140 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} ...
8
votes
1answer
360 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 ...
9
votes
1answer
1k views

Remove indent of paragraph and add line skip with tufte-latex

I'm using tufte-latex and I want paragraphs to have no indent, but a line skip instead. Normally you can achive this with: \usepackage[parfill]{parskip} Using tufte-latex this does not work ...
1
vote
1answer
958 views

Single paragraph with styling and larger \parskip

I'd like to use something like this: {\bfseries\small Some text here...\setlength{\parskip}{1em}} More text here in the next paragraph... In order to increase the spacing after a single paragraph, ...
3
votes
2answers
280 views

“Math paragraphs”: display a lot of small formulas, automatically placing line and page breaks

I have a lot of short formulas that I want to set out all together—short enough that usually two or three will fit on each line—so I would like to simply give all the formulas, and let TeX place the ...
8
votes
1answer
415 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 ...
1
vote
0answers
47 views

Suppressing pagebreaks within paragraphs [duplicate]

Possible Duplicate: How to avoid page-breaks inside paragraphs? The style spec for a document requires that pagebreaks come between paragraphs or list items, so paragraphs are never split ...
2
votes
1answer
115 views

Prevent paragraph ending before display equation in TeX4ht

I'm using TeX4ht and I noticed that the displayed equations always forces the current paragraph to end. For example, if I write: We define \[ x = 3 \] and continue the discussion. I would expect ...
6
votes
2answers
1k 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 ...
2
votes
1answer
1k views

Line alignment with \par

I was writing a document in LaTeX and found out that I am not able to properly align the text when I use \\ or \newline Here is the code. \par{ {\bfseries{\today}} \vspace{1\baselineskip} Name \\ ...
1
vote
2answers
265 views

Correct spacing around environments without the comment symbol when using parskip?

I prefer inserting blank lines between paragraphs, and no indenting. I know that the package parskip can offer this functionality, but it comes with a catch. When writing \documentclass{article} ...
3
votes
2answers
252 views

How to define the beginning and ending of paragraphs in ConTeXt?

The manner of creating paragraphs in ConTeXt appears to differ from that in LaTeX. In LaTeX, one need only create an empty line between two paragraphs, and paragraphs are automatically created, e.g.: ...
13
votes
2answers
542 views

Breaking a theorem between pages

I currently have this custom myexample theorem environment that is working absolutely great. \newtheoremstyle{myexamplestyle}{}{}{}{}{\bfseries}{.}{ }{} ...
6
votes
2answers
223 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
119 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 ...
3
votes
1answer
543 views

Environments with thmtools => too much space if using itemize at the end (also problem with q.e.d. symbol)

I want to use the thmtools package, because it provides some awesome features for declaring environments (proofs, theorems, examples etc.) And I especially like the "qed" feature which places some ...
3
votes
1answer
139 views

A small inline graphic

Let's say I have the following text (a part of a paragraph): hello world I want to be able to typeset a small star/smiley/whatever graphic in between these two words. This graphic should of course ...
7
votes
1answer
431 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} ...
13
votes
1answer
344 views

mdframed is causing wrong alignment at the bottom of pages

If you would be so kind to compile this LaTeX document: \documentclass[a4paper,11pt]{book} \usepackage[paper=a4paper,twoside=true,lmargin=4cm, rmargin=4cm,bindingoffset=0cm]{geometry} ...
7
votes
2answers
110 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
725 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 ...
1
vote
0answers
55 views

Prevent float from splitting paragraph [duplicate]

Possible Duplicate: How to protect text from being split by a float? I have this LaTeX like code \begin{figure}...\end{figure} [my paragraph text] The output is my paragraph ------ ...
4
votes
1answer
209 views

\newcommand creates underfull\hbox (badness 10000) in paragraph

I have a 2-column document with repeating boxes. So I created these macros (don't mind the colors and boxheight): % ------------------------------------------------------- % aitparagraph % % gives ...
1
vote
1answer
1k views

Changing default paragraph style in LyX

I tried for couple hours changing Chapter, Paragraph...etc styles (especially font and it's color) in LyX, I managed to do that by modifying layout files (for example db_stdsections.inc) by simply ...
5
votes
1answer
193 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
195 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}} ...
3
votes
2answers
4k views

Changing vertical space between paragraphs globally

To obtain space between paragraphs I'm currently using \medskip. (I'm not using the parksip package as this gave me problems with space when writing lists. Also when using it I couldn't work out how ...
2
votes
4answers
765 views

Un-indent all paragraphs and increase the space between paragraphs

How could I un-indent all paragraphs and increase the space between paragraphs, avoiding - at the same time - unwanted changes? Package parskip works partially fine for me (it causes some unwanted ...
7
votes
1answer
542 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 ...
5
votes
2answers
108 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: ...
2
votes
1answer
298 views

Automating the usage of \vspace{\abovedisplayshortskip} and \vspace{\abovedisplayskip}

I'm trying to replicate the space above the equation environment. Currently, I have to manually alternate between \vspace{\abovedisplayskip} and \vspace{\abovedisplayshortskip} depending on the ...