{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
112 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
249 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, etc....
6
votes
3answers
309 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
254 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
141 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
284 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
201 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
225 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
121 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
80 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
1answer
339 views

how to set the multiple short footnote in a line

How to get these automation "if a Short single notes in a page should be centred. Set several very short notes on same line with 3 EMs # between" like the below output Sample Footnote text Sample ...
6
votes
2answers
755 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
171 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 ...
6
votes
1answer
500 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
1k views

How to avoid \parskip being applied to \listoffigures etc.?

Follow-up question of Why are \listof{}{} and \listoffigures styled differently?... With the issue mentioned above I finally managed to design my \listof{}{} and \listoffigures as desired but one ...
6
votes
1answer
1k views

parskip package, keep the indents

That may be a stupid question but is there a way to keep the indent while using the parskip package? I use parskip to keep spacing between my paragraphs while leaving the table of contents and lists ...
6
votes
2answers
1k views

Uneven space between bibliography entries using flushend

I'm having problems with uneven spacing between bibliography entries. As seen in the attached screenshot, the space between entry 4 and 5 is much smaller than the rest of the distances. This makes the ...
6
votes
1answer
253 views

How to set lengths only for a specific environment (parindent for paracol in this case)?

Is it possible to set a length specifically for an environment? I know it is possible to change lengths for parts of the document only, by placing the \setlength command between {}, but when using an ...
6
votes
1answer
348 views

biblatex: no linebreaks in name lists when typesetting ragged-right

When typesetting a bibliography \raggedright, biblatex seems to have trouble breaking a line between an author's first/last/middle names (and, if multiple authors are present, between two authors). It'...
6
votes
2answers
988 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 ...
6
votes
1answer
655 views

Paragraph spacing in other languages.

I am writing a document in French using LaTeX and I found a weird behavior with paragraph spacing. Here is a MWE (in English): \documentclass{article} %\usepackage[french]{babel} %\usepackage[...
6
votes
1answer
83 views

Create custom note environment with tcolorbox

I just stumbled upon the tcolorbox package but can't seem to find my way through its extensive manual. What I'm trying to achieve is to create a custom environment to add short notes into a body of ...
6
votes
1answer
188 views

Problem with enumitem and \raggedright [duplicate]

I want my items in lists (enumerate, itemize and description) to be raggedright. So I use enumitem package to make things easier \usepackage{enumitem} \setlist[enumerate]{before = \raggedright}% In ...
6
votes
1answer
133 views

\index after mathmode

I want to create a range index for some part of my document. But when I do the following: \documentclass{article} \makeindex \begin{document} \index{test|(} Some Text \[ 1, 2, 3, 4, 5, ...
6
votes
1answer
783 views

Numbered, hanging paragraph without list environment

I often quote text (legal sources). Normally I use the quoting-package and csquotes (block quote). Often, the quotation contains some lists, and often with a non-standard numbering (f. ex. § 4-1(a)), ...
6
votes
1answer
92 views

Is it permitted to have arguments (i.e. value in key-value) including \par in the xkeyval package?

I wish to use the xkeyval package to overide the 9 arguments limit and to clarifiy the different arguments (compulsory or optional). In my arguments/parameters, I have complete paragraphs possibly ...
6
votes
1answer
157 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
242 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 ...
6
votes
2answers
577 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
567 views

Paragraph indentation incorrect with picinpar package

I am using the picinpar package and don't know why the paragraph indentation is not working. The problem words are highlighted: Notes: I am not stuck to using the picinpar package, but want to ...
6
votes
1answer
141 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. http://www.all-...
6
votes
1answer
252 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 page-...
5
votes
2answers
7k 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
5answers
263 views

Marking the end of a definition

I'm using the amsthm package to define a definition environment as follows: \theoremstyle{definition} \newtheorem{definition}{Definition} To my surprise, this provides barely any typographic ...
5
votes
4answers
328 views

How can I indent the whole paragraph instead of only one line?

To comply with the braindead thesis style guide for my university, I need to be able to indent a whole paragraph using the same indentation level that is used to indent the first line in regular ...
5
votes
5answers
286 views

New hanging format for all paragraph in a newly defined environment

I'm trying to define a new environment where all paragraph should adopt a new indention. I tried to use \hangafter and \hangindent to do this. However, these commands only apply to the first para ...
5
votes
3answers
499 views

How to make a framebox around paragraph title

I would like to have a framebox around some paragraph titles. Something like the diagram below. I would like the framebox to have a background color (e.g. cyan), round corners, and shade if possible. ...
5
votes
4answers
398 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} \usepackage[...
5
votes
2answers
115 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
786 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: \newcommand{\headingthree}[...
5
votes
3answers
2k 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
2answers
296 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}{ \patchcmd\@thm{\trivlist}{\list{}{\...
5
votes
1answer
10k 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} \section{...
5
votes
2answers
695 views

Paragraph indenting in an mdframed environment

I'm using the mdframed package and I've defined my own environment. But it seems that paragraph indentation doesn't work inside a mdframed environment. I've used the settings option of mdframed to ...
5
votes
2answers
219 views

Text indentation for dedication page

I am using stock book template and would like to create a dedication page. I have used this answer to align the text vertically and my current code is the following: \cleardoublepage \vspace*{\...
5
votes
2answers
182 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 ...