{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.
10
votes
4answers
957 views
Why do I need to use \paragraph{} after a \section{} to get correct indenting whereas a blank line suffices for subsequent paragraphs?
I have noticed that whenever I start a new section, subsection, etc., I need to preface my text block with \paragraph{} to get correct indentation for the first paragraph. In subsequent paragraphs, ...
10
votes
3answers
565 views
When to indent a paragraph?
I use indentation of the first line for paragraphs. When a new paragraph starts after a code listing (or some other figure), this looks a bit unpleasant to me. What is the typographical convention for ...
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 ...
10
votes
3answers
1k views
How to avoid using \sloppy document-wide to fix overfull \hbox problems?
How to avoid using \sloppy document-wide to fix overfull \hbox problems?
This is my minimal working example.
\documentclass[12pt]{report}
\usepackage[english,ngerman]{babel}
...
10
votes
2answers
4k views
Temporarily increase line spacing
How do I temporarily increase line spacing? I have some text on my title page:
\begin{center}
{ \Large \textbf{The Great Thesis About Some Very Great Things Indeed With
a Pretty Long Title That Will ...
10
votes
3answers
2k views
How to colour multiple paragraphs?
I have a set of commands in my document's preamble that look like this:
\newcommand{\nathaniel}[1]{\textcolor{blue}{[#1]}}
\newcommand{\anotherAuthor}[1]{\textcolor{darkgreen}{[#1]}}
They are to ...
10
votes
2answers
677 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 ...
10
votes
1answer
460 views
Inconsistent line spacing
If I type something like this:
{\itshape\LARGE
Dunt venim dolorerosto do odit
ametum vulla conum dolore
conulput in vero od el
Dunt venim dolorerosto do odit
ametum vulla conum dolore
...
10
votes
1answer
82 views
How to get the natural width of the last box in a paragraph?
I want to get the natural width of the last line in a paragraph. For example, the last line of the following paragraph
Georg Friedrich Bernhard Riemann (September 17, 1826 – July 20, 1866) was an ...
10
votes
1answer
140 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 ...
10
votes
2answers
436 views
How to break URLs when footnotes are on same line?
Question Footnotes on the same line revealed that it is a good idea to use \usepackage[para]{footmisc}. However, this does not seem to work with URLs:
\documentclass{article}
\usepackage{hyperref}
...
10
votes
2answers
745 views
Quotations spanning multiple paragraphs in csquotes
I have a quotation which extends for multiple paragraphs. The literary convention is that there is no end-quote at the end of each paragraph, except for the last one.
However, this seems to be ...
10
votes
1answer
419 views
How to reduce the space between two footnotes, making them seem more like two paragraphs?
\documentclass{article}
\usepackage{lipsum}
\usepackage[doublespacing]{setspace}
%\usepackage[onehalfspacing]{setspace}
\setlength{\parskip}{0pt}
\usepackage[b5paper]{geometry}
\begin{document}
...
10
votes
4answers
1k views
Is there a general command to disable indentation of paragraphs after figures and tables?
I am typesetting a manual, that uses normal indentation for paragraphs. The pages have a lot of figures and tables and I would like to have the paragraph after tables and figures to have no ...
9
votes
3answers
15k views
How to insert vertical space between paragraphs [duplicate]
Possible Duplicate:
Is there an easy way to have my whole document with a space between paragraphs rather than indentation?
Googling didn't give required results. (Many, but not applicable ...
9
votes
3answers
999 views
How to increase the size of first character in a chapter (Drop-Caps)
I would like to know how I can increase the size of the first alphabet of first paragraph of a chapter using (Xe/La/?)tex. Please look at the image shown below.
What is such an effect called? How ...
9
votes
2answers
263 views
Avoid just nearly filled last lines
Old school typesetters never allowed the last line of a paragraph to be just nearly filled. Either it would be clearly shorter than the other lines or it would be stretched to align with the right ...
9
votes
3answers
8k views
Indent an entire paragraph / section?
I am writing a document with some odd spacing. I am copying another document, and therefrore the layout must be almost exact. I have sections divided by letters below, and some paragraphs in each ...
9
votes
5answers
848 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
...
9
votes
2answers
1k views
Downsides of using \par instead of two new lines
Coming from an HTML background using <p> to mark paragraphs I consequently use \par to mark paragraphs instead of using two consecutive blank lines. This feels more semantic (of course I realize ...
9
votes
1answer
853 views
How can I number paragraphs (and sections) in the margin?
I am (still) trying replicate the layout of this document.
Sections and paragraphs are all numbered, in the margin (the chapter titles do not treat this as a margin, but I can ignore that). They are ...
9
votes
2answers
1k views
Automatic noindent after quote environment
I need to include block quotes in my thesis, and the line following should not be indented. I am using the memoir class with XeLaTeX.
For example the following code:
\begin{quote}
Lorem Ipsum Dolor
...
9
votes
2answers
105 views
Using memoir, how do I number paragraphs?
I am trying to implement paragraph numbering with memoir. I would like the numbers to be
in the outside margin,
flush against the text block, and
vertically aligned with the first line of the ...
9
votes
2answers
420 views
Automatically itemize a paragraph
I'd like to use LaTeX for lecture notes but I use bullet lists extensively, and the itemize macro in LaTeX is too time consuming for lecture notes. But if I could teach LaTeX how to do it for me ...
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 ...
9
votes
1answer
116 views
Using \hangindent within enumerate
I would like to have a hanging indent within the paragraph of an enumerate item. I have the following:
\begin{document}
\begin{enumerate}
\item Lorem ipsum dolor sit amet, consectetur adipiscing ...
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.
8
votes
4answers
697 views
Centered but left-aligned paragraph
I want to have a paragraph, that is centered but in itself left-aligned. Does somebody of you know how to achieve this?
(I have text in a paragraph, on each line the text is shorter than the width, ...
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 ...
8
votes
4answers
2k views
8
votes
6answers
1k views
Setting a single equation in a paragraph in a smaller font
I'm trying to figure out the best way of making a single equation just a little bit smaller. Of course, I could try and break up the equation into pieces and proceed that way, but I'd like to ...
8
votes
2answers
911 views
Paragraph spacing affecting table of contents [duplicate]
Possible Duplicate:
Is there an easy way to have my whole document with a space between paragraphs rather than indentation?
I am trying to increase the spacing between paragraphs, using
...
8
votes
3answers
299 views
How can I indent all text after the label in my example environment
I have built my own example environment for a paper I am working on. I have created a counter to label the resulting blocks of text. Now I want to indent the Text after the label, like so:
(1) ...
8
votes
2answers
313 views
Minimum length of last line of a paragraph
There is a more or less equivalent question to this: Ensure minimal length of last line, but I absolutely need a TeX solution. I more or less stumbled upon the problem mentioned in the discussion of ...
8
votes
1answer
8k views
How to use the parskip package? (space in between paragraphs)
Sorry, because I think it's a many times asked topic. But I don't find an example which help me to understand how to create a white space between paragraphs.
I think parskip is the package I need to ...
8
votes
1answer
732 views
Is it possible to have multiple paragraphs inside a multicolumn using xcolor or a replacement?
I am getting information written by users in many lines, paragraphs, and I have to put those inside a table, I would like to know if it is possible to instruct LaTeX to accept paragraphs inside a ...
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 ...
8
votes
1answer
207 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 ...
8
votes
1answer
172 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 ...
8
votes
1answer
221 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
4answers
700 views
How to layout irregular paragraph shape
I have found this in the cover of seminar(one tool to make slide) document.
The final result I have captured below:
The complete document can download here.
I wonder how to make this. Is there ...
7
votes
2answers
1k views
Printing interlinear translation: how to mix automatically two paragraphs, printing lines alternately
I am writing a document on a foreigh language, say French, and want to put some paragraphs in French with their translation in English. But I would like to print one line in French, the corresponding ...
7
votes
2answers
180 views
How to write “note:” in front of an indented paragraph
I have a question similar to this one:
How to mark book paragraphs as note, warning, tip etc.?
I'd like to have my paragraph indented and the text "note:" appear just before it. Ideally this would ...
7
votes
2answers
91 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
117 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
852 views
Footnotes on the same line
For documents with a lot of footnotes, particularly if some are short, it can be nice to have multiple on the same line, e.g.:
this is the first footnote 2. this is the second footnote 3. this
...
7
votes
2answers
122 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
1answer
421 views
How to mark book paragraphs as note, warning, tip etc.?
In my text I have some paragraphs that should be denoted as "note", "caution", "tip", "story". These paragraphs should be rendered with darker background and an icon on the left side.
I was not able ...
7
votes
1answer
204 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
2answers
663 views
Nominal values for \parindent and other paragraph metrics
In memoir, when I run
\documentclass{memoir}
\begin{document}
\showthe\parindent
\end{document}
I get:
17.62482 pt
My questions are :
Why that value? This number seems to capture something ...