{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)

3
votes
2answers
235 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
509 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
220 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
114 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
497 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
134 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
398 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
333 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
108 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
612 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
201 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
185 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
185 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
3k 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
675 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 ...
5
votes
1answer
221 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
105 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: ...
1
vote
1answer
274 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 ...
5
votes
1answer
406 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" ...
0
votes
1answer
385 views

Setting Space Between Paragraph in A Custom Class

I've been trying set space between paragraph to 3 spaces with 1.5 line spacing on text (based on my thesis requirement). Searching around, looks like everyone suggest either using the parskip package ...
18
votes
1answer
1k views

Why is \parskip zero inside a minipage?

This question was originally entitled "inconsistent paragraph spacing with \parskip inside minipage" as the MWE below shows. But I found the answer at How to preserve the same parskip in minipage, ...
7
votes
1answer
1k views

How to make paragraph start title in IEEE trans

using the IEEE trans format, how to display the paragragh title such as "Relaxing the Autonomy condition" as shown below?
2
votes
1answer
346 views

Customize appendix entries in ToC and pdf bookmarks [duplicate]

Possible Duplicate: How to make appendices behave like sections in ToC Consider the minimal example below. How can I achieve that in the appendix part (only there!) of the ToC paragraphs ...
10
votes
2answers
850 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 ...
3
votes
1answer
186 views

New environment. Highlight content with symbols and indentation

I'm writing my thesis and I want to highlight some part of my text which resides in a separate paragraph. I like the well-known example of \newenvironment{king} {\rule{1ex}{1ex}\hspace{\stretch{1}}} ...
5
votes
2answers
2k views

\captionof messes with paragraph indent

\documentclass{mwrep} \usepackage[font=small,compatibility=false]{caption} \usepackage[chapter]{minted} \usepackage{lipsum} \begin{document} \chapter{Test} \lipsum[2-3] \captionof{listing}{Caption of ...
12
votes
2answers
192 views

LaTeX adds an additional blank paragraph after the end of my custom environment

A friend, who is a LaTeX user but isn't very confident with customising it, told me that he would like to be able to put framed paragraphs and framed equations into his documents. So I took it upon ...
5
votes
2answers
561 views

set hanging indent for more than one paragraph at a time

is there a way to start every paragraph in a document with a hanging indent, without defining this for each and every paragraph? Is this possible without any extra packages loaded or such? And, ...
6
votes
1answer
112 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, ...
2
votes
3answers
161 views

Enumerate content and reference the numbers

I'm looking for a solution to enumerate paragraphs in my appendix and reference the numbers. I don't want to use sections for it and the enumerate environment seems unfeasible. In my case I have ...
29
votes
3answers
10k views

How to highlight an entire paragraph?

I'd like to highlight paragraphs such that the highlight color appears as one whole rectangle underlying the entire paragraph. I have looked around but nothing gives me the desired effect so far. For ...
1
vote
1answer
185 views

How do I create an indentation in the first line of every paragraph? [duplicate]

Possible Duplicate: Paragraph indenting not working I'm using parameters as below. \usepackage{indentfirst} \setlength{\parindent}{1.5cm} I'm using \\, \\\\ and \linebreak to create new ...
7
votes
1answer
748 views

Indenting multiple paragraphs in description

I am trying to put multiple paragraphs in a description, where the body text is indented by one \parindent, and I want to indent the second paragraph by one \parindent relative to the body text ...
10
votes
2answers
8k views

How to disable automatic indent?

I know there are some similar questions here, but I haven't found the perfect answer for my problem. I don't like that TeX indents he first line of each paragraph and I'm too lazy to write \noindent ...
15
votes
3answers
7k 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} ...
6
votes
1answer
778 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 ...
1
vote
1answer
523 views

Prevent vertical distribution of paragraphs over entire page

It seems it tries to fill an entire A4, as the image of the next page is too big. So it puts a lot of space between the paragraphs. But, I'd much rather have a big chunk of white at the bottom of the ...
6
votes
1answer
561 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)), ...
4
votes
1answer
540 views

How to set parindent in apa class?

Usually one can adjust paragraph indent with \setlength{\parindent}{0pt} but that fails for the apa class. Is there another way to get rid of this indents in this class?
10
votes
2answers
1k 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} ...
19
votes
2answers
12k views

Any way to center text within a \parbox?

Probably I'm missing something, but I'm really struggling to find an answer to this simple question: How to center text within a \parbox? Side note: I don't want to switch to any other environment ...
4
votes
1answer
163 views

How can I get spacing between paragraphs while also keeping the default indentations?

I'm using the report documentclass, and the paragraph formatting looks something like this with two paragraphs: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam ac odio est. Morbi vel ...
2
votes
2answers
869 views

Perfectly scale line, paragraph, image, anything up to textwidth

I want to scale a multi line text up to the available textwidth. I found something here: pgfplots: how can I scale to text width? and here: ...
11
votes
1answer
2k 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 ...
0
votes
0answers
21 views

Add figure after paragraph with no text interruption [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned How to influence the position of float environments like figure and table in LaTeX? Is it possible to add ...
4
votes
1answer
1k views

Controlling paragraph spacing in LyX

I'm working on a rather large document for my university using LyX. I have been using the report (KOMA-Script) document class. According to my university's document specification each paragraph ...
15
votes
2answers
3k views

Difference between setting parindent and hangindent

Is there a difference between setting \parindent to 1em and to setting \parindent to 0em, \hangindent to 1em, and \hangafter to -1 that shows in practical use? The nodes created by TeX are ...
1
vote
2answers
169 views

How to make additional paragraph commands that use sectioning counters?

I would like to be able to use the following additional (new) commands: \sparagraph, \ssparagraph, \sssparagraph. All of these will use the \paragraph formatting but, will use different counters. The ...