Skip to main content

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
3 votes
1 answer
50 views

Paragraph indents dissapeared suddenly

At some point my paragraph indents dissapeared... I cannot recall when. Why is this happening? Here is a MWE that does not work for me MWE: \documentclass[a4paper,12pt]{report} \usepackage[document]{...
lukygee's user avatar
  • 91
2 votes
1 answer
55 views

Avoid the space given by parskip if it goes on a new page

So, all along the code of my thesis I put blank lines between every mathematical environment, so it starts a new paragraph every time there is an equation. I did it because, since I'm using the ...
Marco Olivieri's user avatar
2 votes
1 answer
97 views

is it possible to add a stepwise counter for assigning a number to each text block?

Basically I want to have a number assign to each paragraph in the document at document level . That means not having to define a script at paragraph level. No each 'paragraph' in the document has \...
bonCodigo's user avatar
  • 123
4 votes
2 answers
124 views

\ExplSyntaxOn problem with new paragraph [duplicate]

I use the below code to highlight a list of words. It works fine as long as all the text is in one paragraph and no LaTeX command such as \href is used. Is there any way to fix this problem? \...
nakisa's user avatar
  • 65
3 votes
3 answers
49 views

referencing "modified" paragraph numbers

For legal documents I need the paragraphs numbered in the format section.paragraph. So e.g. the third paragraph in section 12 would be 12.3. I don't need subsections. The paragraphs are all indented ...
Landvogt's user avatar
0 votes
0 answers
20 views

Indent all paragraphs (except the first one!) with eledpar

Who knows how to indent all paragraphes in the greek and latin text, except the first one? There're two facing pages with foot- and sidenotes (eledpar). Thank you. %LuaLaTex \documentclass[a4paper,12p]...
Raphael Blasberg's user avatar
1 vote
0 answers
45 views

Shift a box to another line

I have a question. I'm creating a TOC from scratch. Some lines are too long, and to solve this, I came up with something like this (obviously, this is much more simplified than the actual code). The \...
gxono's user avatar
  • 528
1 vote
1 answer
52 views

How to remove \marginpar from automatically numbered paragraphs?

New member, first question: I have found Fully automatic numbering of paragraphs to be very helpful. I would like to not include numbering on \marginpar , \paragraph , and \subparagraph etc In the ...
22fergy's user avatar
  • 13
0 votes
1 answer
56 views

Adjust left margin of whole paragraph

\documentclass[12pt]{article} \usepackage{fontspec} \usepackage[skins]{tcolorbox} \usepackage[letterspace=150]{microtype} \usepackage{geometry} \geometry{ a4paper, left=1.5cm, right=1.5cm, ...
lmkerbey's user avatar
1 vote
1 answer
18 views

Insert arbitrary-row-size multi-columns in revtex4, for the purpose of inserting figures more freely

Are there equivalent commands in revtex4 documentclass, like the multi columns inserted in the arbitrary place in the beamer like the following? Naively, I expect something like this so we can insert ...
wonderich's user avatar
  • 2,447
6 votes
2 answers
191 views

Number sentences in paragraphs, as a range

I need to typeset a critical edition of a small philosophical work. Editorial and typesetting rules require to number sentences at the beginning of each paragraph. That is easy for 1-sentence ...
gsl's user avatar
  • 761
0 votes
1 answer
46 views

Latex paragraph indentation missing

I am using \setlength{\parindent}{1cm} and \setlength{\parskip}{0cm} in preamble for consistent paragraph indentation, however when rendering file in pdflatex I have no indentations visible in my ...
TomaszG's user avatar
0 votes
2 answers
80 views

Is there a way to avoid new paragraph?

Is it possible to avoid a paragraph/line break in the compiled document between different paragraphs of code? Something like \noindent but specifically for the paragraph break: lorem ipsum dolor sit ...
joaocandre's user avatar
2 votes
1 answer
59 views

Format \paragraph titles

after many attempts, I can't do this in LaTeX (XeLaTeX or Pdf Latex): \paragraph{} vs \paragraph{toto} I want 1/ continuous paragraph numbering 2/ a symbol after the title IF it's non-empty : \...
Frédéric Jaëck's user avatar
0 votes
1 answer
27 views

Display multiple paragraphs at the right side of an image separated by vertical line

What I am trying to do I'm trying to typeset the following using LaTeX. The image shown below was created using Inkscape. Some important details: Paragraphs, which are shown on the right side, are ...
Rodrigo Morales's user avatar
2 votes
1 answer
128 views

Automated parskip after formulas

I understand that English people generally want to delete paragraph indentation everywhere... This is not the french custom, and I there is very few tips on how to add indentation in LaTeX. Hence my ...
Louis Lascaud's user avatar
1 vote
2 answers
52 views

Avoiding page break inside all paragraphs with \filbreak when also using \\

I am writing some song lyrics. If possible, partially empty pages should be preffered over page breaks inside paragraphs. Using \widowpenalties 1 10000 and \raggedbottom didn't work. Until now, I was ...
Filip Ž's user avatar
1 vote
2 answers
44 views

Drop Cap is causing text to be pushed out on certain lines of text

I would like the text to stay flush but it looks like the superscript along with the dropcap to be pushed out. I don't know what I need to fix that. Also, I'd like the paragraph to wrap around the ...
DonnyRodriguez's user avatar
0 votes
2 answers
45 views

Customized output when referencing autonumbered paragraph

I have a customized paragraph that I use to define skills and autonumber them. When referencing the paragraphs, the output should be custom text plus counter number (e.g., S1, S2 etc). But currently, ...
mike's user avatar
  • 335
2 votes
1 answer
283 views

Why does specific text refuse to begin with a new line

My first post so I hope I did this correctly. Here is the MWE for this problem: %Abridged Drug Book \documentclass[12pt,letter,twoside]{book} \usepackage{multicol} \usepackage[text={7in,10in},...
John Gillen's user avatar
2 votes
1 answer
69 views

Paragraph gets under the figure despite being above in code

I am trying to make the paragraph to be above the figure yet it is put below. Why ? I have tried different figure options with no success. \paragraph{Poniżej jest porównanie obrazów przed i po ...
Szymon42214's user avatar
0 votes
1 answer
35 views

How do I reset the paragraph numbering after a new chapter?

I'm writing an academic assignment and the paragraph needs to be reset after a new question. After the first question, the paragraph continoues to count with D. , but I need to start with A. again. ...
DidiG's user avatar
  • 23
1 vote
1 answer
47 views

Paragraph numbering in the margin + line numbering (using reledmac)

I would like to have the paragraph number in the right margin (preferably without a full stop after it; and without indentation of the text) At the same time, I would like to have line numbering that ...
FondueCat3000's user avatar
1 vote
1 answer
76 views

How do I correctly include the titles and sections in this document without the titles being the first word of the parageraph for the section

I have a main text that calls other texts in, and for some reason, despite the main.tex specifically saying no indentation, the tex file indents the first line of every section after the first section....
Alex Poyser's user avatar
2 votes
1 answer
58 views

Trigger code in para/begin hook for a precise paragraph

I made a simple system of multiple levels paragraph counters using the para/begin hook: \documentclass{article} \usepackage{lipsum} \usepackage{expl3} \usepackage{xparse} \usepackage{fancyhdr} \...
Antony Geedies's user avatar
3 votes
1 answer
89 views

Too many sections in a chapter cause large vertical spaces between paragraphs

I am trying to write a chapter which has a lot of sections. At a certain amount of sections in a chapter (exact number depends on top/bottom marings) the paragraphs in the text are split by very large ...
pbit24's user avatar
  • 133
0 votes
1 answer
169 views

Right shifting a paragraph

Have been working on shifting the PAR. part as a shifted paragraph to the right by a certain amount (0.8cm in this instance). But the whole paragraph is not getting shifted as intended. Would like ...
Veak's user avatar
  • 1
0 votes
2 answers
93 views

Scratching a paragraph, or a specified amount of text in latex

I want to figure out how to scratch(draw an oblique or diagonal line across the text) out some number of lines(in particular, a paragraph). Does anyone know of a simple command to do this? I am ...
Parish's user avatar
  • 101
0 votes
0 answers
56 views

Why picture appears above text even when I added it below the text [duplicate]

I wrote following code and I added picture below the text but it appeared above it. can anyone please suggest fixes, Thanks. \subsection{Bloch sphere} Bloch sphere is graphical representation of Qubit....
Shakeel Ur Rahman's user avatar
4 votes
1 answer
79 views

Tcolorbox automatically indents the text after the equation

I have a problem I do not know how to solve. I am using tcolorbox to create equations which are colorful with a frame. However, after the equation the text that follows is always indented, even though ...
Andris Erglis's user avatar
0 votes
2 answers
98 views

How to stop LyX from indenting the start of every paragraph?

I can select the paragraph > Right-click > Paragraph settings > Uncheck "Indent Paragraph" > "OK". But now new paragraphs still have the same indentation. How do I stop ...
user182601's user avatar
1 vote
1 answer
50 views

Correct line spacing when changing font size without causing the end of the paragraph

Consider the following code: \documentclass[12pt]{article} \usepackage{xcolor} \usepackage{lipsum} \begin{document} \lipsum[1]% \begingroup% \tiny\color{red}% \lipsum[2]% \endgroup% \lipsum[3]% \end{...
Vincent's user avatar
  • 5,583
1 vote
3 answers
66 views

Can you make certain lines wrap around early and have a hanging indent beyond the regular indent?

I want to modify this LaTeX code to create a hanging indent effect when the line wraps to the next line. I want this to break at around 75% of the textarea and start wrapping around to the new line ...
Mark Pampuch's user avatar
0 votes
0 answers
53 views

reledmac : \pstart and \pend with quotation env

Here is a MWE : \documentclass[twoside]{book} % \usepackage{polyglossia} % \setdefaultlanguage{sanskrit} % \newfontfamily{\devanagarifont}[% Script=Devanagari, Ligatures=TeX, ]% {Adishila} %...
lalitaalaalitah's user avatar
0 votes
1 answer
184 views

latex generated pdf with multi line text puts newline after each line

I have multiline text in an \item of {itemize} or in {section} and creating a pdf of the document. When I copy the text from the pdf, there is a newline character at the end of each line. I am ...
Furqan136's user avatar
2 votes
1 answer
76 views

vertical space after a list but only before a new paragraph [duplicate]

How to insert a \parskip after lists, but only before a new paragraph? In the example below, the desired output would be no vertical space after the first list and vertical space after the second list:...
Ernest A's user avatar
  • 2,805
0 votes
0 answers
68 views

How can I let floats interrupt my text, but only at paragraph-resolution?

I'm writing some text, with a float at some point. I don't mind where my float is placed exactly, but - I do mind if it breaks up individual paragraphs into two pieces, before and after the float. I ...
einpoklum's user avatar
  • 12.5k
2 votes
3 answers
140 views

How to change vertical alignment of text in a paragraph

I am trying to format a line of text that has two different sized fonts such that the vertical alignment of the smaller sized text is based off the larger sized text. In one instance I'd like the ...
atommclain's user avatar
0 votes
1 answer
58 views

Unwanted new line between paragraphs

I have a .tex file in which I defined the below code: \section{Introduction} \paragraph{} This is an example \paragraph{} This is an example which is shown like this: How can I avoid to have the ...
Paolo Gasparro's user avatar
4 votes
1 answer
89 views

How can I ensure the next things is always at the start of a new line?

I have an environment that needs to ensure that its body always starts on a new line, but that doesn't add extra blank space when doing that. What I have works well, except with a few corner cases ...
BCS's user avatar
  • 251
1 vote
0 answers
64 views

paragraph not showing numbering [closed]

I am using \paragraph in a command named \kom. Looking at the documentation, \paragraph{this} should introduce a numbered paragraph, but it does not. What is the reason for this ? \documentclass[...
user avatar
1 vote
0 answers
47 views

Aligning latex3 boxes side by side

I'm building a token list by adding dynamically generated boxes to it inside a map-function, but the result only looks correct when it's inside a paragraph or a table cell. When they are the first ...
meide's user avatar
  • 1,175
0 votes
1 answer
36 views

How do I add vertical margins to a paragraph (selectively, so not applying to all paragraphs)?

For some typesetting, I want to add vertical margins (top and bottom) around certain paragraphs. I already found the package changepage and their environment adjustwidth to set the horizontal margins (...
clel's user avatar
  • 365
1 vote
0 answers
35 views

Suppress vertical space at beginning of macro when there is no preceding paragraph

I want to create a variant of the itemize command for Beamer that spreads the items vertically. This should increase the space between items as well as to preceding text. With other words, I want a ...
Wrzlprmft's user avatar
  • 759
3 votes
1 answer
86 views

Do the \parindent and \noindent cancel each other out?

I was reading through the \maketitle command provided by the default article.cls class and it has the following code: \newcommand\maketitle{\par \begingroup \renewcommand\thefootnote{\@...
Nathaniel Boynick's user avatar
11 votes
3 answers
2k views

Should one ever use \bigskip?

I am wondering whether one is ever justified in using \bigskip in LaTeX (specifically in overleaf)? I have recently drastically reduced my use of it, due to my teacher's recommendation. But I tend to ...
Ben123's user avatar
  • 223
2 votes
1 answer
162 views

How can I make sure that the tables and figures don't divide the paragraphs?

According to the rules for written work at my university, a table or figure cannot divide a paragraph. In the following MWE, the table doesn't fit on the first page and is therefore placed on the ...
Daniel Valencia C.'s user avatar
0 votes
1 answer
592 views

How to correctly separate paragraphs with a blank line

I want to end a paragraph with a blank line and start a new paragraph. When I use first paragraph\\ second paragraph I get an underfull hbox error. When I use first paragraph\par second paragraph ...
simulate's user avatar
  • 107
-1 votes
1 answer
50 views

How do adjust line recoil/margin of a paragraph in LegrandOrangeBook [duplicate]

The document has always the first paragraph coming with no margin (no recoil). I wanted an uniform look for all paragraphs in the document. Any tips?
Jason's user avatar
  • 39
0 votes
4 answers
99 views

Underfull \hbox (badness 10000) in paragraph within nested minipages

I am generating a PDF using a .tex file of similar name. Generating the PDF with pdflatex generates a number of Underfull \hbox (badness 10000) in paragraph at lines 539--542, with each set of line ...
MTecknology's user avatar

1
2 3 4 5
27