{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
2answers
135 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
3answers
8k 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 ...
6
votes
2answers
244 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
180 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
207 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
119 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
79 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
680 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
156 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
472 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
242 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
1answer
226 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
317 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). ...
6
votes
2answers
955 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
626 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} ...
6
votes
1answer
161 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
125 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
729 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
527 views

Horizontal character width scaling

I'm interested in saving space by scaling all characters in a passage of text to, say 95% of their normal horizontal character widths. In Microsoft Word this is done with the Scale field under the ...
6
votes
1answer
90 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
150 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
2answers
547 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
479 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
131 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. ...
6
votes
1answer
237 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 ...
5
votes
2answers
5k 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
1answer
10k 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, ...
5
votes
5answers
201 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
372 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
2answers
547 views

Implicit \hfil at the end of each paragraph?

Why do Alpha \hfil\ Omega\par and Alpha \hfil\ Omega not flush "Omega" to the right?
5
votes
4answers
317 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} ...
5
votes
2answers
113 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
689 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: ...
5
votes
2answers
259 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}{ ...
5
votes
2answers
180 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 ...
5
votes
3answers
1k views

How to enumerate the items in line within the paragraph not each item in a separate line?

I want to have the following: A graph can be cut in several ways including \begin {enumerate*} [label=\itshape\alph*\upshape)] \item minimum cut, \item normalised cut and \item average cut. \end ...
5
votes
2answers
178 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 ...
5
votes
1answer
614 views

Control the <p> tags added by Tex4HT

TeX4HT allows to reset LaTeX macros to insert HTML code in order to produce clean HTML documents. This is great, but it often gets in a mess of <p> tags, such as: <p class="noindent" ...
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
1answer
527 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?
5
votes
2answers
249 views

Indenting text after numbered paragraphs

I have a 60 page document with numbered Sections, subsections and paragraphs. All the paragraphs are numbered. I want all the text to be indented evenly after the numbered paras, such as the following ...
5
votes
3answers
410 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 ...
5
votes
2answers
3k views

How and when to remove the space on the left hand of the beginning of a paragraph?

I have something like that: \section{subsection} ... \begin{figure} ... \end{figure} texttexttext ... It turns out that it does not put the "texttexttext" on the very left hand side... it leaves ...
5
votes
2answers
208 views

Why does \ExecuteMetaData break my paragraphs?

I have a lot of content to assemble in several different ways and would like to use excerpts from one file in another. I have specified: \usepackage{catchfilebetweentags} I then have an external ...
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 ...
5
votes
3answers
496 views

Re-use code like figures and paragraphs in other documents

I was wondering if there is a way in which I can reuse the code, for example one figure, that is written in one file into another file. I want to use something similar to xr package that allows you ...
5
votes
1answer
6k views

hanging indents

Note: Subsequent to the original post, it was pointed out to me that my problem had nothing to do with the textpos package. I've edited the title, but left the original post as is for posterity (or so ...
5
votes
1answer
80 views

How to put characters between every paragraph

I'd like plain TeX (pdftex) to put a specific sequence of characters between every paragraph of its output. For example: Original text might be: This is paragraph 1. This is paragraph 2. This ...
5
votes
3answers
159 views

How do I redefine the paragraph style midway through the document (and then go back to the default)?

I prefer to build my bibliography manually because I'm finicky about the formatting, and I need each bibliographical entry to have a hanging indent and an empty line after it. I'm doing fine with this ...