Tagged Questions

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

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
198 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
182 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
183 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
653 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
166 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
104 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
271 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
403 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
378 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
336 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
827 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
185 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
190 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
551 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 ...
28
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
182 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
722 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 ...
9
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 ...
14
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
752 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
504 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
553 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
534 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
161 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
837 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: ...
10
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
20 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 ...
10
votes
2answers
2k 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 ...
15
votes
3answers
23k views

Reducing spacing after headings

I've searched many sites but I couldn't get any answer. Here is this mystical question: How can i reduce the spacing after headings? Here is my code. \documentclass[12pt,a4paper]{article} ...
6
votes
3answers
184 views

How to set two or more paragraphs to use the same amount of vertical space?

Given several paragraphs in ConTeXt or plain TeX, how can I ensure that all paragraphs use the same amount of vertical space, by adding white space to the end, as the longest paragraph in the set? ...
4
votes
3answers
4k views

Indent first paragraph only once

I'm writing a document in English which includes an abstract in Spanish. In Spanish the first paragraph of a chapter should be indented, while in English shouldn't. If I use indentfirst package, all ...
11
votes
2answers
764 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 ...
8
votes
1answer
491 views

Mark (highlight) a paragraph (\item{…}) with a squiggly line for later attention

I'd like to mark one or more of my \item{...}'s in an enumeration with a squiggly line at the right so that I can easily see which parts I have to re-phrase/re-write later on. All I have found is how ...
7
votes
1answer
149 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 ...
3
votes
1answer
346 views

everything is bold, and pagebreaks are appearing in the wrong place

I'm just starting trying to use texmaker 3.3.2. I think I understand the basics but already in a very short document, I have multiple problems. I just downloaded texmaker so I don't think I ...
4
votes
1answer
1k views

Change paragraph font and background color

I'm submitting a project that involves blocks of code. I figured a nice way to present it by be that paragraphs of code are black text on a light gray background, in courier font. I'm wondering if ...
6
votes
3answers
620 views

New paragraph style for newbie

This question may have already been asked, but with all of my searching, I couldn’t find it. I am new to LaTeX and after a few rough starts, I am finding my way. I am using this tool to create ...