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

5
votes
1answer
103 views

how to count the number of words in a sentence, the number of sentences in a paragraph, and the number of paragraph?

I am writing an article on latex. I need to count the number of words in a sentence, the number of sentences in a paragraph, and the number of words in the paragraph? e.g. This is the first sentence....
3
votes
2answers
20 views

widow paragraph title with orphan epigraph with epigraph package

When I use an \epigraph{} command (from the epigraph package) just after a paragraph containing a title, I can get a widow paragraph title on a page bottom and an orphan epigraph on the next page top… ...
3
votes
1answer
34 views

How to center the text in tabularx

I have created a table as given below. I want to center the following part. \gmc{4}{@{}p{0.8\textwidth}@{}}{Summary of monthly cross-portfolio regressions: 25 Fama-French portfolios (constructed on 5 ...
1
vote
0answers
41 views

Removing the blank space after a definition (or something)?

already I researched a lot about it, but found nothing. Could you help me remove this white space to be between intem 3 and paragraph ("Quando não ....."). I thank you
1
vote
0answers
18 views

Change text width in a specific part of a chapter or section [duplicate]

I'm new to Latex and was wondering if it'd be possible to change the text width for a paragraph without changing it for the whole document. Thank you.
2
votes
2answers
122 views

paragraph over 2 columns in an article document

I have a two column format for an article and a small paragraph which i want to split in those 2 columns(hard break). I dont want to use \vfill, as I am intending to display a table after the ...
2
votes
2answers
77 views

How can I remove trailing \par when reading a file and writing the output to the log?

I put together a macro to write the contents of an external file to the log output. Unfortunately, I always read out the trailing \par that LaTeX adds when reading files. How do I test for this and ...
11
votes
1answer
7k views

How can I get proper paragraph handling in itemize environments?

I'm using the itemize environment to answer a list of questions, because the output is compact and neat. However, when I need more than one paragraph in one item, the second one is not indented, as it ...
3
votes
0answers
45 views

Reduce bibliography to one line with dots and reference numbers

I would like my references to look like • [ 1 ] Foo et al. 2008, Nature, 100, 200 • [ 2 ] Bar & Baz et al. 2010, Science, 300, 400 • [ 3 ] Einstein, 1905, New Scientist, 5, 6 and so on. To ...
1
vote
1answer
163 views

Align section titles in margins properly

This is a follow-up to First paragraph indented after section title in margin, but I'm unable to vote, comment, or accept answers there because it's made under a guest account and not linked to this ...
5
votes
1answer
77 views

How to wrap each paragraph in a command using ConTeXt?

I’m typesetting a document partly translated from german into french. To do so, I created a \voc command, designed to: Put the word into a register. Display the word in bold. Display its translation ...
2
votes
2answers
81 views

Using list environment to refactor messy table

I'm writing a book using Latex (obviously). Xetex actually. I'm doing a lot of tables w/ \parboxes in the table cells. In the end there's alot of repetitions and the code looks bad as a result (it's ...
2
votes
1answer
60 views

How do I get a space or line break between paragraphs rather than an indent? Parskip is not working [closed]

So when I first started out with my file I had gaps between paragraphs and no indent, as I was using the parskip package as listed below in my pre amble. At some point for a reason unbeknown to me ...
2
votes
1answer
72 views

Numbered paragraphs without using \paragraph

I would like to get numbered paragraphs. However, I'm in the process of "retro-fitting" quite a long document and inserting \paragraph (or any other command) every time would be very painstaking. The ...
1
vote
1answer
43 views

Unable to print fi in latex [duplicate]

fiber text in paragraph is printed in pdf as ber in latex "fi ïs eliminated how to fix it. In paragraph fiber is displayed as ber in pdf, how to fix it. \documentclass[12pt,a4paper,oneside]{article}...
2
votes
2answers
126 views

Suppress paragraph indentation after tcblisting environment?

I am writing a document containing lost of snippets of code, and I've defined an environment using tcblisting from the tcolorbox package to do this. The environments work fine. What I want to do ...
0
votes
0answers
47 views

Paragraph & formatting marks similar to MS Word option

Is there a way to show/hide the paragraph and other formatting in LaTeX as with Word Show/Hide ¶ option.
1
vote
1answer
72 views

Is there a way to switch columns in paracol without introducing a paragraph break in the pre-switch column?

(M)WE: \documentclass{memoir} \usepackage[margin=1in]{geometry} \usepackage{paracol} \begin{document} \newcommand{\switchtoleft}{\switchcolumn[0]} \newcommand{\switchtoright}{\switchcolumn[1]...
3
votes
1answer
86 views

What is the difference between \\ and skipping a line? [duplicate]

What different effects do ending a paragraph in the following three ways have? 1. words words words words words words 2. words words words\\ words words words 3. words ...
15
votes
1answer
26k views

What is a “Overfull \hbox (9.89561pt too wide)”?

I have this warnings around, some of them seems to be solved naturally but I never really understand what do they mean. What this means? Edit: I would like to keep the question in more general terms,...
13
votes
4answers
24k views
5
votes
0answers
482 views

Shaped paragraph with centred picture (shapepar & cutwin)

I spent much time on this, but could not manage it or find a similar problem. I would like to insert a picture in the center of this heart shaped paragraph, the text should be wrapped around it. ...
0
votes
0answers
20 views

Keep lstlisting together with preceding paragraph (like formulas)

I have several listings that are only 2-4 lines long. They should be kept together with the preceding paragraph, like it is the default for formulas. For example, lets assume the following code and a ...
0
votes
0answers
17 views

Spaces at new paragraph [duplicate]

I need a space at new paragraph before first word, but I don't know how to do it. I have a problem only with first line at section, where I can't get a space there. After first line, when I put there ...
19
votes
2answers
8k views

\llap (or \rlap) at the beginning of an indented paragraph

If I use a \llap{text} command at the beginning of an indented paragraph, the text is not indented and is put on the line above the paragraph. \documentclass{article} \begin{document} \parindent=2cm ...
1
vote
1answer
42 views

Have new lines after paragraphs but not after headings in LaTex?

I wish to follow the convention of marking paragraph breaks with a line break as opposed to the LaTex default of an indent. However I do not wish to have a new line after section headings. Previous ...
1
vote
0answers
39 views

Not in outer par mode [closed]

I am using the following code and getting the error "Not in outer par mode" when i create my tables: \begin{table}[ht] \setlength{\extrarowheight}{4pt} \centering \begin{tabular}{cc|c|c|} ...
3
votes
1answer
119 views

Embedding version control information returns error when file is not under version control

Consider the following MWE. Note that this uses Mercurial for illustrative purposes, but the question is not specific to Mercurial \documentclass{article} \usepackage{fouriernc} \begin{document} \...
0
votes
0answers
34 views

Adding space before and after paragraph

I am using parskip package in my document to get spacing between paragraphs. I can change skip amount using \setlength{\parskip}{12pt}. However, this only affects the space after paragraph. The ...
1
vote
1answer
38 views

Forcing the paragraph placement

I want to write a letter, so I began to write it. In order to write other letters I want the opening sentence to be placed at the same location on the page. Indeed, this is what my letter looks like:...
6
votes
1answer
72 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 ...
5
votes
4answers
318 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 ...
2
votes
1answer
47 views

How to get multiline paragraph titles?

I search a way to got with the following code: \paragraph{Lorem ipsum dolor sit amet} consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ...
1
vote
1answer
50 views

Insert a special character at each end of line in a paragraph

I would like to add a character (e.g. $\hookleftarrow$) at the end of each line in a paragraph, in particular in a tabular cell, only if the paragraph has more than one line. How can this be coded?
1
vote
1answer
77 views

Outdent all lines except first line | first line spacing word-like! [duplicate]

How can one create a single first line indent? The idea is to produce the same exact effect as the Microsoft Word "First line indent": Word First line indent That produces an output, such as: ...
19
votes
4answers
8k 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 ...
1
vote
1answer
40 views

If I linebreak 2x in source, does latex automatically assume a new paragraph?

If I linebreak 2x in source, does latex automatically assume a new paragraph? Since I am noticing that when I do, whatever I write next comes with extra indentation. something_1 something_1 ...
0
votes
0answers
34 views

Long Math equations cause unwanted vertical paragraph spaces in the previous page in Classicthesis LyX version

This issue is identified as the cause for my previous question about unwanted space. In short, since the equation is about 1/3 pages long, it causes stretching in paragraphs and consequently leaves ...
2
votes
2answers
83 views

set \parskip but not for headings

I want to define the vertical space that is inserted between text paragraphs when there is an empty line in the code. If I use \setparsizes{0pt}{1.0\baselineskip}{0pt plus 1fil} or \setlength{\...
0
votes
0answers
22 views

Squeezing inter-paragraph space with the ACM proceedings document class

I'm using the ACM proceedings SP document class for a conference submission. I'm noticing that the inter-paragraphs vertical space is quite large (I don't mean \paragraph's, just paragraphs). Now, in ...
2
votes
1answer
44 views

Parshape doesn't work

I know that wrapping picrures is frequent question here, and all of my quetions here are about it. But new day is a new probem. Look at the screenshots... You will get this if you run my code ...
3
votes
2answers
35 views

Changes to spacing inside floats

I have a two-column style, but sometimes I want to put some text across the whole page. An easy way to do this is inside one of the starred float environments. I am using table*. However, I notice ...
4
votes
1answer
60 views

Disable microtype for a single paragraph

I have the following sequence of lines: something is\hfill not required.\\ something is\hfill not required.\\ something is\hfill not required.\\ something is\hfill not required. In case microtype ...
2
votes
0answers
28 views

Creating a line between one paragraph and the next

I just want to make it such that there is a line between my current and my next paragraph but also to have no indentation on the second paragraph.
0
votes
1answer
20 views

Underfull\hbox (badness10000) in paragraph at lines 31--43

a.) Probetas de acr\'ilico transparente, con escala de alturas graduada y con tap\'on de hule.\\ b.) Tubo irrigador de acero inoxidable, provisto de un tramo de manguera de hule y con un sif\'on.\\ c....
1
vote
1answer
52 views

To insert a blank space between two paragraphs, should I use medskip and vphantom?

There are at least 2 ways to insert a vertical white space between two paragraphs: medskip and vphantom. Which one should be preferred for example for spacing paragraphs in "The Chaos" poem?
2
votes
1answer
50 views

How to get paragraph contents

I have been using the following trick to obtain the contents of a paragraph. It works most of the time, but not on macros like \lipsum or \end{document} or \end{minipage} which expand the \par ...
3
votes
4answers
237 views

Auto-indent the second line of a paragraph

When working with numbered lists with long content, I get outputs like this: However, I would like to produce an output like where "z" and "planes" are aligned with the word "Giving". Using ...
0
votes
1answer
26 views

How can I change only the text margins to be inside the equation and section numbers?

How can I change only the text margins to be inside the equation and section numbers? Something Like this
0
votes
1answer
59 views

How to adding vertical spacing in \raggedright or \RaggedRight

I usually use \\, \par, \newline, etc. to add whitespace to LaTeX. However, when I use raggedRight, the pdflatex spits out a ton of messages saying "There's no line here to end." Ultimately, all ...