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.

Filter by
Sorted by
Tagged with
0
votes
1answer
40 views

Is it possible to push long words to new line yet keeping the current line as justified text?

I want a document with justified text. However, there are some long words which are coming at the end of lines and are being pushed to the new lines and are being hyphenated. If I have spacing ...
1
vote
1answer
23 views

Setlength \parskip with \baselineskip

For me it does not work to specify a plus and minus in units of pt in the setlength option for \parskip with \baselineskip. Why is that the case, what might be typical reasons, how can I specify some ...
4
votes
2answers
332 views

Why does \narrower not work in LaTeX as in plain TeX?

In the TeXbook (page 100), \narrower is described and the following example provided, which works fine in plain TeX. {\narrower\smallskip\noindent This paragraph will have narrower lines than the ...
2
votes
1answer
38 views

Paragraphs in \thanks

Paragraphs don't seem to work in a \thanks footnote, which surprised me. Why is that so, and what would be the best workaround? \documentclass{article} \begin{document} \title{Some Title} \author{My ...
0
votes
1answer
40 views

Making the indentation of a multi-line paragraph equal to the indentation of the first line

I have the following input that I receive from a third-party program: START OF SECTION This is a long sentence; really long that when rendered by PDFLatex it becomes a paragraph that spans a ...
4
votes
1answer
54 views

Locating \smallskip Correctly

Does the location of \smallskip matter in the following three examples? Version 1 applies \smallskip at the end of the previous paragraph. \documentclass{article} \begin{document} This is a sentence. ...
0
votes
1answer
25 views

Uneven vertical spacing between paragraphs

Here's a MWE: \documentclass{book} \usepackage{geometry} \geometry{paperwidth=127mm,paperheight=203mm,totalwidth=92mm,totalheight=165mm} \usepackage{lipsum} \linespread{1.2} \begin{document} \vspace*{...
1
vote
1answer
20 views

Setting negative margin for one line

Consider the following code: \documentclass[11pt]{article} \usepackage{amsthm,amsmath} \newtheorem{thm}{Theorem} \begin{document} \begin{thm}[Locality] For two fields $A(z)$ and $B(w)$, the followings ...
2
votes
3answers
54 views

Avoid start a paragraph after align environment

I highlighted my problem in red. As you can see, the highlighted line start with a paragraph, but I do not want this. How can I solve this problem? \[ F: M \times [0,T) \longrightarrow N \] such ...
0
votes
0answers
27 views

Problem with initial

I have a problem with the \initial, the paragraph is aligned with the initial paragraph. Can you help in fixing that? \RequirePackage[l2tabu]{nag} \documentclass[a4paper,11pt,leqno]{memoir} \...
1
vote
0answers
41 views

Problem in paragraph shape

\begin{itemize} \item \textbf{Equilibrium Condition} It represents the internal forces on the interface of component $A$ are equal but opposite to the forces on the interface of component $B$. As ...
0
votes
0answers
22 views

Environment not breaking with the end of the page

\documentclass{article} \usepackage{lipsum} \usepackage{titlesec} \titleformat{\section} {\normalfont\scshape} {\thesection} {1em} {} \titlespacing*{\section} {0pt} {2ex plus 1ex minus ....
2
votes
1answer
39 views

\hangparas not working in Memoir

I am trying to get hanging paragraphs in my Memoir document. It isn't working. The MWE below doesn't cause errors, but the paragraphs are not indented. E.g. the word "that" is directly under ...
3
votes
2answers
118 views

Using the minted package breaks my paragraph indentation

I'm using the minted package for a paper that I'm writing and everything works perfectly fine and compiles without errors, except that, after the first time I use \begin{minted}{csharp} the usual ...
0
votes
0answers
34 views

Highlighting citations along with some long sentences starting in the middle of paragraphs

I am trying to highlight my revised paper in latex, since when I highlight its PDF using Foxit the highlights are not shown after pressing generate PDF in journal's website. I have some troubles: I ...
0
votes
1answer
42 views

How to avoid spaces other than paragraph while using parskip package?

When I did not use parskip package table of content seems compact but when I used parskip package I see some other contents i.e. itemized items, table of content, enums etc. also getting spaces ...
0
votes
1answer
31 views

How to add indent even for starting line of paragraph? [duplicate]

\documentclass[10pt, a4paper, oneside]{scrartcl} \usepackage{lipsum} \title{\normalfont{Technical Report: Loren Ipsum}} \author{{Alex Murphy}} \date{} \begin{document} \maketitle \section*{...
0
votes
0answers
54 views

Underfull \vbox (badness 2547) has occurred while \output is active [] in overleaf

How do I fix the following warning (s)? Underfull \vbox (badness 2547) has occurred while \output is active [] For another similar warning, I have: underfull \hbox (badness 1097) in paragraph in ...
0
votes
1answer
47 views

Paragraph Indentation in minipage

I am having some trouble with paragraph indentation in a minipage. Here is my MWE code: \documentclass{article} \usepackage{ragged2e} \begin{document} \begin{minipage}{0.8\textwidth} \...
0
votes
0answers
36 views

Making paragraphs design

Is there any way in TeX (especially XeLaTeX and LaTeX) to make special paragraphs design (see the attached pictures as an example)?
0
votes
1answer
36 views

Paragraph spacing with exam class

I use the exam class to prepare exams. I prefer to have questions with no indentation and a space between paragraphs, so I use parskip. However, I find the space between paragrapsh and between ...
1
vote
1answer
33 views

Provided Definition and Example with an Outdent/Aligned text

I am not sure what to even search or how to describe what I'm trying to do here. I'm trying to do a definition-example type of thing. Here's an example: For the Term definition part, I am using \...
0
votes
1answer
21 views

Parskip seems to reset after tabular environment

I am working on a document in which I include some tables. However, when I include the tables, the \parskip length seems to reset to 0 afterwards. Why is that and how can I circumvent that? The code I ...
0
votes
0answers
36 views

Sudden jump in theorem/lemma numbering

So for some reason my theorem numberings are suddenly going from 2 to 15 and I observed that the reason is because of having many cases (which were used as in new paragraphs). This has never happened ...
0
votes
1answer
36 views

How to avoid starting a new paragraph at a new page?

I am using LaTeX to write a thesis now and there exists a problem that every time a new paragraph can not be fully situated on the current page, the system will put it completely on a new page, ...
0
votes
1answer
56 views

Apply \parshape from the last line of a paragraph

I would like to format paragraphs as shown in the picture below, i. e. paragraphs such that the last n lines of the paragraph are centered and of linearly decreasing width. (n is constant from ...
0
votes
0answers
13 views

Removing extra white space between paragraphs before a new section [duplicate]

I'm happy with the space management that LaTeX applies to the documents. However, there are times when the next section cannot be included on the current page and goes to the next page. This makes the ...
0
votes
1answer
25 views

Setting paragraph indention

How can I set include an indent for each new paragraph? I tried multiple things but I can't seem to fix it. This is my current main file: \documentclass[a4paper,man,floatsintext,natbib]{apa6} \...
0
votes
1answer
36 views

Make Part look like Section and make Section look like paragraph; but with all the numbering preserved?

So I am trying to write a book summary, a few pages long. Is there any way to make part look just like section, except preserving the Roman numbering for part; and make section look just like ...
0
votes
0answers
50 views

vertical spacing around align* equations to match custom paragraph spacing

Context: I find that I have to add custom vertical space between paragraphs using the Lyx gui. Problem: Normal equations appear fine but multi-line align* equations have incorrect vertical spacing. ...
1
vote
0answers
35 views

Single command/package in the preamble to achieve space between paragraphs

I was trying to figure out a way to instigate spaces between paragraphs on LaTex articles - that is, I want a gap between paragraphs like this. Whereas in LaTex, if you hit the enter key (I've hit it ...
0
votes
1answer
24 views

Creating multi-line indent with hangparas

I'm trying to have all the text in a theorem or definition indented as it is usually done in books, however the hangparas environment just doesn't work for me and I have no idea why. Here is the ...
1
vote
1answer
39 views

Paragraph indentation: A contradictory request

\documentclass{article} \usepackage{blindtext} \usepackage{titlesec} \titleformat{\section} {\normalfont\scshape}{\thesection}{1em}{} \titlespacing*{\section} {0pt}{2ex plus 1ex minus .2ex}{1ex ...
0
votes
1answer
33 views

scrartcl produces \par in last line of document

You can see here \documentclass[parskip=half]{scrartcl} \usepackage[T1]{fontenc} \begin{document} |\hfill|\\ %\setlength{\parfillskip}{0pt plus 1fil} Datum, Ort \hfill Unterschrift Mieter% ...
0
votes
0answers
21 views

Removing excess spacing between subsections in Springer template

I am preparing a paper for a journal in Springer and am using svjour3.cls as my permeable. I see some weird spacing at some parts of my document. Any idea how to fix that?
0
votes
1answer
24 views

Changing paragraph spacing in a specific part

I am working with the exercise and in some of my questions (when I have large equations), I would like to have a different paragraph spacing. Is there a way to do this? This is what I have: \...
2
votes
3answers
123 views

Ignore double \newline on page break

When I want two paragraphs of text to be separated by an empty line in between, I use: \newline \newline However, I would like that extra empty line to be ignored if it happens that the page breaks ...
0
votes
0answers
26 views

Titled paragraphs in IEEE conference paper templates

Titled paragraphs are very commonly used in CVPR and ICCV papers, like in here: \section{Related Work} \paragraph{Convolutional Neural Networks.} Such networks are also usually referred to as deep ...
0
votes
1answer
31 views

List with arrows in two different directions

The goal is to reproduce this formatting in LaTex (in proving if and only if): where the entire paragraph is indented except the arrows. Additionally, two arrows are pointing to different directions. ...
1
vote
1answer
15 views

Add a letter after the paragraph heading

I've currently set the \paragraph command to function like "subsubsubsection". But I would like to add a letter "a" after each \paragraph numbering. I am not familiar with all the commands in LaTeX. ...
0
votes
2answers
51 views

How to wrap paragraphs in XML tags?

Closely Related: Changing paragraph begin/end commands Is there a LaTeX "hook" for automatically wrapping paragraphs in boxes, or preferably XML tags? I would like to load the outputted file into an ...
1
vote
1answer
39 views

Disable indentation for one paragraph

I have written the following : \par{first paragraph} \par{second paragraph} \par{third paragraph} Now, I want to disable indentation for the third paragraph. I naturally add \noindent command as ...
1
vote
0answers
18 views

Exam class: Indent each question, part and subpart to that of the upper-level indent [duplicate]

I've been working with the class exam, and I have been grappling with how I can set the indents for questions and their subparts, and have so far tried every combination of \setlength{\labelsep}{}, \...
0
votes
1answer
131 views

undefined control sequence after `\paragraph`

I try to use \paragraph{xx}, but I get the error (in the next line with text, after the \paragraph: ! Undefined control sequence. <everypar> ...ubpenalty \@M \begingroup \@svsechd \endgroup \...
1
vote
1answer
88 views

How can I ignore empty lines before, after, and inside an equation environment?

I would like an equation environment that doesn't care about empty lines. Normally, empty lines before and after equation start a new paragraph, resulting in additional vertical spacing around the ...
0
votes
1answer
21 views

How to properly justify the small paragraph which has some equations in it

I have a small question and answer kind of a paragraph, I wanted it to justify properly. how to do that \documentclass[12pt,a4paper]{article} \usepackage{amssymb} \usepackage{amsmath} \usepackage{...
0
votes
2answers
61 views

Line breaking after \paragraph{}

I know that I can it with \mbox{}\\ (\paragraph{}\mbox{}\\) but that's kinda messy and using titlesec to redefine \paragraph{} doesn't cut it for me either, because I most of the time want to have ...
1
vote
2answers
41 views

Separately align paragraph numbers and paragraphs

I am numbering unindented paragraphs and want the numbers to line up with section headings (that are not numbered) and all paragraph lines including the first line, to justify left like so: Section ...
0
votes
1answer
58 views

Subsubsubsection (paragraph) not showing in TOC

To add a sub-sub-sub-section (aka a paragraph), I followed the instructions here: How to add an extra level of sections with headings below \subsubsection Now, this works great, however, I noticed ...
0
votes
1answer
48 views

Subparagraph numbering not working after changing to aspect

I am facing an issue with \subparagraph numbering. Here is my code : \documentclass{book} \begin{document} \setcounter{secnumdepth}{6} \setcounter{tocdepth}{6} \renewcommand{\theparagraph}{\Alph{...

1
2 3 4 5
22