Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [paragraphs]

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

1
vote
1answer
18 views

Using wrapfigure with custom paragraph breaks

In my document, I've modified \parskip to give a nice break between paragraphs. But this means that \wrapfigure calculates the number of lines wrong, and gives itself a significantly larger margin ...
1
vote
0answers
19 views

Automatic line feed after paragraphs?

I would like to have more space between the paragraphs, this automatically using usepackage or similar, for the whole document. Would you have an idea how? thank you \documentclass[11pt]{article} \...
1
vote
1answer
38 views

How add spacing after of \paragraph

How add spacing after of \paragraph{Parrafo}? \documentclass{report} \usepackage{float} \renewcommand\paragraph[1]{$\bullet$ \textbf{#1}} \begin{document} \chapter{ } %if you want a name write it as \...
0
votes
0answers
28 views

Down the text of paragraph

I want down the text of paragraph in new line. \documentclass{report} \usepackage{float} \renewcommand\paragraph[1]{$\bullet$ \textbf{#1}} \begin{document} \chapter{ } %if you want a name write it as ...
1
vote
1answer
28 views

Put a bullet before paragraph

I want put a bullet before paragraph ?, I want to put a bullet before the paragraph starts \documentclass{report} \usepackage{float} \begin{document} \chapter{ } %if you ...
2
votes
3answers
33 views

Making \paragraph{} spacing the same as other paragraphs

I am using the ACM proceedings template. I use the \paragraph{} command to highlight a few words at the beginning of the paragraph. However, the paragraph spacing is significantly more when I use the \...
3
votes
1answer
41 views

How to use a macro to specify number of lines in a \parshape

I would like to be able to use a macro to specify the number of lines in a given \parshape. So, instead of \parshape 8 ... for instance, I would like to be able to use \newcommand*{\NumberOfLines}{...
3
votes
3answers
76 views

Multiple Paragraphs with \parshape

When using a \parshape, I can use \newline\hspace*{0.5\parindent} to produce a new "paragraph" and still continue with the current \parshape. Is it possible to leave a blank line and still get the ...
3
votes
2answers
28 views

Paragraph breaks inside tcolorbox

I have a document full of nicely formatted and separated paragraphs (each separated by two line breaks in the source), which is working nicely. Now I'd like to put some of them into a tcolorbox. But ...
6
votes
2answers
205 views

How to have 4 subsections on 2 paragraphs

So I'm trying to have four different subsections on "2 different paragraphs". what I mean is the following: x ¦ x ----¦---- x ¦ x where x denotes the ...
0
votes
2answers
46 views

Align start of paragraph and images

To give some context, I am working with a fairly big document, that contains some concatenated outputs from chained curl requests to a forum-like webpage, formatted afterwards with a bunch of regular ...
2
votes
0answers
24 views

My number of figure display in paragraph [duplicate]

I don't know which part of code make it happened %%%%%%%%%%%%%%%%%%%%%%LIST OF FIGURES%%%%%%%%%%%%%%%%%%% \renewcommand\listoffigures{ \if@draftmode\else \if@twocolumn \@restonecoltrue\...
4
votes
1answer
90 views

Paragraph with a colored circle

I would like to put a red circle before the beginning of a paragraph. This code does that effect but there are a lot of errors: \paragraph{{\tikz{\draw[red,fill=red] (0,0) circle (.5ex);}} PARAGRAPH}...
2
votes
1answer
60 views

Add text at end of paragraph that has an \hbox:n

This is a follow on to my previous question about the LaTeX3 \hbox:n behavior. I am trying to automatically add text at the end of a paragraph by redefining \par in the middle of the paragraph. This ...
0
votes
0answers
18 views

Remove space between two paragraphs without resetting parskip [duplicate]

I would like to remove space between just two paragraphs without changing the parskip length for the entire document. Is there a way to do that?
0
votes
1answer
24 views

Priority of page breaks between paragraphs in beamer slides with allowframebreaks

I have breamer slides with allowframebreaks which have some basic structure, e.g.: \begin{frame}[fragile,allowframebreaks]{Title} some text... \begin{itemize}...\end{itemize} other text \begin{...
0
votes
1answer
32 views

Paragraph indentation after using `\ensuremath`

I have created a macro that writes the progressive number of the exercises in an exam sheet. The macros works in normal mode and in math mode, so that I am able to write something like this: \...
6
votes
1answer
99 views

Why does adding `\par` here add vertical space in a different place?

I've been playing around with LaTeX trying to really learn how spacing works in-depth. Here's a silly bit of code that I've been experimenting with: \documentclass[]{article} % Draw a raised \...
2
votes
2answers
50 views

How to put multiple paragraphs in single \loop … \repeat

I wanted to create list of n Fibonaci numbers. This is my code so far: \newcount\n \n=5 \newcount\a \newcount\b \newcount\i \a = 1 \b = 1 \i = 0 $a = \the\a$ \par $b = \the\b$ \par $i = \the\i$ \...
1
vote
2answers
53 views

How to prevent the cover letter from rolling over to the second page?

% Briefvorlage für Privatleute % Ersteller: Alexey Abel % Git-Repository: https://github.com/PanCakeConnaisseur/latex-briefvorlage-din-5008 % Basiert auf KOMA-Scripts scrlttr2 \documentclass[ % ...
1
vote
1answer
52 views

Use normal spacing within a minipage (same as outside)

I was wondering how to have the contents of a minipage look exactly the same as “normal” text (i. e. with respect to spacing, indents etc.). These minipages can contain arbitrary content such as ...
4
votes
1answer
63 views

unexpected extra parskip before equation, when the last line reach the end

like the figure below, it always generates a extra vertical space, if the line before equation is full. what I have found: remove hyperref or option parskip=full* can solve this, but I want to know, ...
0
votes
1answer
35 views

Starting a new indented paragraph after an equation

What is the recommended way to start a new indented paragraph after an equation? Example 1: We end the paragraph with the following equation: $$ a + b = c. $$ In this new paragraph, we will show... ...
0
votes
2answers
28 views

How to have a paragraph text in a table column in which the table is aligned with text width?

I have the following table with two columns and one of them requires longer text and i need the table to fit with the text width. Hence, i am using two columns page style as IEEE or ACM conferences. \...
3
votes
2answers
35 views

How to avoid extra large space after paragraph heading?

It seems a bit strange to me that when I write \paragraph{Monkeys} Monkeys are non-hominoid simians ... I get the word Monkeys twice. On the other hand if I write \paragraph{Monkeys} are non-...
0
votes
0answers
35 views

Highlighting text in between paragraph [duplicate]

Here my requirement is highlighting the text with run on case. Here I attached the sample page PDF. MWE: \documentclass{book} \usepackage{color} \begin{document} \section{Overview} Numerous ...
6
votes
1answer
42 views

How can I completely suppress hyphenation that starts in a column (or page) and ends in a second one?

In the example above, the hyphenation of the word 'deterministic' starts in one column and ends in the next one. How can I suppress this behavior altogether? NOTE: I know that \mbox{<text>} ...
1
vote
1answer
34 views

Strange paragraph formatting using tcolorbox and wrapfigure

First of all, my apologies for the quite large MWE; I tried to reduce it to the minimum but, given that the problem occurs quite randomly, it is difficult to maintain it. Given the following MWE, ...
1
vote
0answers
23 views

Paragraph spacing that does not affect the content section

I'm writing my thesis, and I'd like to have a blank space between the paragraphs in the chapters, so I used the following code \setlength{\parskip}{\baselineskip} However, this command does also ...
0
votes
1answer
22 views

How to make parskip in minipage match that of parskip outside minipage?

Here is my code: \documentclass{article} \usepackage{parskip} \usepackage{multicol} \begin{document} Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam scelerisque purus eget arcu eleifend ...
0
votes
0answers
21 views

Justifying Text under 'newenvironment' Environment Name

I apologize for how bad this probably looks, as I am relatively new to LaTeX. Here is the code I have: \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \...
3
votes
2answers
72 views

Is it possible to set the absolute position of paragraph numbering?

I'm trying to use the following example from this question to number the paragraphs in my document (slightly modified to remove \thesection. from the paragraph number). The example: \documentclass{...
0
votes
0answers
9 views

How to get a skip line after use \paragraph{..} with sectsty package? [duplicate]

sectioning my document I had to use \paragraph{}, but the text appears in the same line. For customizing my section titles I'm using sectsty. How can I get a newline after using \paragraph{}? \...
0
votes
1answer
26 views

linebreaks in lstlisting and verbatim environment

longline*.txt files contain some text and in some files the text is inserted in an environment as indicated in the filename. The following script: \documentclass{article} \usepackage{listings} \...
1
vote
0answers
40 views

Why I have different space between some par?

If I enable the ban of hanging rows: \clubpenalty=10000 \widowpenalty=10000 for some reason, the distance between several paragraphs begins to change. Especially to make it noticeable, I increased ...
2
votes
0answers
23 views

Adjustwidth of all sections

Is there any way to adjustwidth of all sections without writing all the time adjustwidth? For example \begin{adjustwidth}{1.3cm}{} is repeated twice: \documentclass[10pt,a4paper]{article} \...
2
votes
2answers
101 views

Indent paragraph both on the left and right without any external packages

I am following the AAAI 19 Template from https://aaai.org/Conferences/AAAI-19/aaai19call/ where a text abstract is supposed to be formatted in a way that it is indented 10pt to the left and 10pt to ...
2
votes
1answer
101 views

Why do I have to use \par if I change font size withing a group scope?

I was working on a Beamer presentation, and noticed that, if I open a group scope and use a \tiny, the font size will bet set, but there will be a large space between lines. However, if I issue a \par ...
3
votes
1answer
166 views

How to find the length of last line of a right to left paragraph

This question is a follow up of my previous question Colors bizarre results with right to left text, \color command works well in right to left text if included at the beginning of paragraph, then I ...
1
vote
2answers
51 views

Custom paragraph command, prevent page break

I am using the book class to write a document that will have numbered paragraphs. Wanted the (auto-incremented) paragraph numbers to be bold and centred, then the text below, and the paragraph number ...
0
votes
1answer
46 views

Indent a paragraph - all lines but the first

I have multiple paragraphs in a chapter. I want to indent all but the first lines each. Is there any way to achieve this? I tried \begin{hangparas}{1em}{1} but this will indent all but the first ...
1
vote
1answer
29 views

Paragraph numbers with titlesec

I am using titlesec in order to redefine \paragraph to appear hanging as a \section. Strangely (to me, at least), the paragraph numbers do not appear. This is a minimal working example: \...
1
vote
2answers
117 views

Tuning Paragraph shape for makeup

Recently I happened to process ~4500 paragraphes in my 6-volum book set, ~1500 A4 pages, and I had many operations for page-proofing (widow and orphan control, amount of lines of last paragraph of the ...
0
votes
3answers
39 views

\paragraph command start below heading

When using the \paragraph command, how do get the text that follows to start below the heading (and not in the same line)?
0
votes
0answers
26 views

Adding extra section levels in amsart documentclass

My latex code is: \documentclass[reqno]{amsart} \usepackage{titlesec} \setcounter{secnumdepth}{4} \titleformat{\paragraph} {\normalfont\normalsize\bfseries}{\theparagraph}{1em}{} \titlespacing*{\...
1
vote
0answers
32 views

Indenting and justifying a paragraph [duplicate]

I would like to force the justification (after a \raggedright command) of a paragraph while also having it indented. I tried the following commands but this doesn't seem to work (only the first line ...
1
vote
0answers
34 views

Linespacing with cutwin

The problem is that the first and the last lines have different line spacing compared with the rest of the text. This is the code: \documentclass[10pt]{tufte-book} \usepackage[utf8]{inputenc} \...
0
votes
0answers
23 views

Paragraph exceeds page margins [duplicate]

I'm writing an article using only Titles, i.e., section, subsection, subsubsection and paragraph. Doing so, some paragraphs exceeds page bottom margins (right, left and top margins are ok). If I add ...
3
votes
2answers
35 views

How to suppress space between two specific paragraphs only

I defined a new commentaire environment to one of my projet in order to bring enlightment to a specific paragraph of the document. It takes as entry the author of the comment and obviously the text. ...
0
votes
0answers
22 views

Change number to letter for \paragraph [duplicate]

I would like to use \paragraph{} as a subsubsubsection. It's working fine but I want to change the number to a letter. For example instead of having 1.1.1.1 I would like to have 1.1.1.a. How can I ...