The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
0answers
22 views

How to prevent latex from entering paragraph

I have the following problem \begin{figure}[H] \centering \includegraphics[width=0.8\textwidth]{pic6} \caption*{\textbf{Figure 4.} (left) Dielectric permittivity (\textepsilon') and (right) ...
1
vote
0answers
30 views

How to Add Footnotes Under Paragraphs, Princess Bride Style?

In the book, "Princess Bride", (Yeah, the book is SO much better than the movie.), the author has running commentary which is directly below the paragraph that it is associated to. How could this be ...
2
votes
0answers
21 views

Memoir class \paragraphfootstyle: Can paragraphed footnotes be split?

I am trying to get footnotes typeset in paragraphs, but with more than one paragraph of footnotes per page. This is to achieve a layout common in critical editions of Latin liturgical texts, such as ...
0
votes
1answer
22 views

how to break line \mychapter on page but not in toc

how to line break this \mychapter? if i use \chapter i can break line using \chapter[line 1 line 2]{line 1 \\ line 2} \documentclass{report} \newcommand{\mychapter}[2]{ \setcounter{chapter}{#1} ...
0
votes
0answers
28 views

How to make an hybrid environment paragraph/equation?

I would like to reproduce the text below which in you can see that some text paragraphs are treated like equations, with a label. I want to create hyperlinks to, has in : \begin{equation} \tag{$C_1$}...
0
votes
0answers
33 views

Ensure minimum length of last line by tightening word spacing

There are already a few questions that ask how to ensure a minimal length for the last line of a paragraph: Ensure minimal length of last line and Minimum length of last line of a paragraph. But ...
4
votes
1answer
54 views

TikZ Overlay: Inject content at the start of the next paragraph?

Problem Statement I'd like to conditionally add a TikZ overlay at the start of some paragraphs or figures. In this example (see code below), I'd like to conditionally insert red boxes around the ...
0
votes
1answer
26 views

Overfull \hbox in paragraph in tabularx

I am always getting the same error and can't find a solution. I want to create a table in text width. The first and the second column should be centered and the third column is for text until the end ...
1
vote
0answers
31 views

Is there a way to change the number of line breaks needed for a new paragraph? [closed]

Latex by default requires two line breaks for a new paragraph, and one line break only creates a new sentence in the same paragraph. Can this be changed so that Latex compiles literally what is typed, ...
0
votes
1answer
52 views

Latex doesn't format paragraphs properly

This is solved, should I leave this up for the archive or delete it? I am writing my thesis and using our unversities template. It is quite ugly, but that is a different topic. When I am writing ...
1
vote
1answer
24 views

How to assign titles to paragraphs, followed by a line break?

If I want to give a title to a paragraph I can just use \paragraph{Respective Title} *Text* However, I cannot put a line break between the title and the text, since it would give a compilation error. ...
0
votes
0answers
34 views

Aligning paragraph around centered word

I would like to align/indent a paragraph such that a specific word or phrase is in the horizontal center of the page, but I have no idea where to start to accomplish it (perhaps by calculating a ...
2
votes
1answer
44 views

Fix unwanted spacing between list items and paragraphs in memoir class

When writing a document in the memoir class I am getting some unwanted spacing between lists and paragraphs etc. If there isn't a full page of content then instead of placing the blank space at the ...
3
votes
1answer
33 views

If I give next para, then Error in \DeclareTotalTColorBox

My tags are follows: \documentclass{book} \usepackage{environ} %fancy boxes \usepackage{xcolor} \usepackage[tikz]{bclogo} \usepackage{etoolbox} \usepackage{blindtext}% \usepackage[skins,breakable,...
2
votes
2answers
63 views

Single space but double space for paragraph separation

a bit new to LaTeX My paper is in single-space via \usepackage{setspace}\singlespacing but I have to use double-space for paragraph separation Any way to do this without having to get rid of \...
1
vote
0answers
47 views

Float object vertical spacing with “Here definitely” settings using scrbook

Vertical gap before float object is too small and after it is too big. For this example I used to set Here definitely positioning, but gaps are similar for every other float placement settings. I ...
4
votes
2answers
194 views

How to use Tab in Latex?

For example: If you don’t see this email in your inbox within If you don’t see this email in your inbox withinIf you don’t see this email in your inbox within - If you don’t see this email in ...
1
vote
1answer
40 views

Improper first paragraph indentation after grouped sections

I have a KOMA-based document where section footnotes and text footnotes are formatted differently: \documentclass{scrartcl} \setlength\parindent{24pt} \usepackage[symbol]{footmisc} \usepackage{...
0
votes
1answer
32 views

Automatically numbering lines on a two column document for some numbers and not all of them

I have two column document in which I wish insert line numbers. I have used \usepackege{lineno}, I used \linenumbers for inserting line numbers at the left of the left column, and \rightlinenumbers ...
0
votes
0answers
20 views

to specify a certain paragraph with a vertical line to which adhered an English letter

My question seems to be chalenging!!! How can I specify a paragraph with a vertical line in the close of that? For example, below picture contains a shape includes two paragraph. The first paragraph ...
2
votes
1answer
53 views

Split content into two parts in middle of an enumerated list

Given content of several paragraphs (which definitely has at least one occurrence of {MyList} environment), I would like to define a macro that can break this content into the content before the end ...
1
vote
0answers
46 views

How to make a sentence as equally distribute?

As shown in Listing \ref{lst:dummylocalxmega} and Listing \ref{lst:dummylocalstm}, in the case of an implementation where dummy operations use local variables, it does not find a part corresponding ...
4
votes
1answer
39 views

How to avoid linenumbers in paragraph headers

I want to include line numbers(lineno) in an enumeration of paragraphs. How do I avoid line numbers in front of each paragraph header? What I need is something like \newcommand{\myParagraph}[1]{\...
1
vote
1answer
67 views

Multiple paragraphs in bibliography fields via double line breaks

I would like to add abstracts of certain references (which may contain multiple paragraphs) to the main body of a document. However, when I add them using \citefield{KEY}{abstract}, double line breaks ...
2
votes
1answer
100 views

Question about exercise 14.31 in TeXbook

The following example uses \signed macro from page 106 of TeXbook: \tracingonline=1 \tracingparagraphs=1 \def\signed #1 (#2){{\unskip\nobreak\hfil\penalty50 \hskip2em\hbox{}\nobreak\hfil\sl#1\/ \rm(...
4
votes
1answer
115 views

Question about exercise 14.23 in TeXbook

In answer to exercise 14.23 it is said: The three paragraphs can be combined into a single paragraph, if you use ‘\hfil\vadjust{\vskip\parskip}\break\indent’ instead of ‘\par’ after the first two....
4
votes
2answers
75 views

Stepcounter after paragraph

Code: \documentclass{article} \newcounter{mycounter} \setcounter{mycounter}{1} \begin{document} \paragraph{\arabic{mycounter}}% \stepcounter{mycounter}% \paragraph{\arabic{mycounter}}% \...
0
votes
0answers
18 views

How to make a paragraph appear closer to the itemization than the preceeding paragraph? [duplicate]

We have done blah blah blah Reasons: \begin{itemize} \item The need to blah blah \item The problem of blah blah \item \ldots \end{itemize} Results: As you can see the single-word paragraph "...
0
votes
1answer
40 views

How to calculate “badness” for ragged right margins?

In TeXbook (p.30) it is said: When \raggedright has been specified, badness reflects the amount of space at the right margin, instead of the spacing between words. That is, in ragged-right case, ...
2
votes
2answers
88 views

Squeeze paragraph such that lines have similar width

I would like to format a paragraph of text such that the width of the paragraph shrinks until the last line in the paragraph is about the same width as all the others. Here is an example of what I ...
0
votes
0answers
58 views

footnote in \Xarrangement{paragraph} does not go to the next line in reledmac

Dear members of this communication, I use reledmac for a critical edition of a Persian book. During my work, I faced a problem and would be grateful if you could answer it. Using \Xarrangement{...
3
votes
2answers
159 views

How to adjust default horizontal and vertical space such that it meets following requirements (related to \parshape, custom list and picture spacing)?

The requirements: Height of pages in the document should not be constrained by constant length (although page width should be). Every line in a paragraph should be indented more than the previous ...
2
votes
2answers
106 views

How to get the same output as in TUGBoat article “Tracing paragraphs”?

Recently I began to read a very interesting TUGBoat article "Tracing paragraphs" by Udo Wermuth. There is the example-1 from the article (with header and footer added by logic considerations): \...
2
votes
1answer
80 views

How to automatically capture \prevgraf value (inside xparse environment) every time text ends with \par?

I need to declare an environment with \NewDocumentEnvironment such that every \par provided by the user inside that environment would automatically set an integer variable (inside environment-...
2
votes
3answers
164 views

Why \NewDocumentEnvironment within \ExplSyntaxOn/Off removes spaces from content passed to it outside of \ExplSyntaxOn/Off?

I thought turning syntax on/off at appropriate places would make everything work, but I can't use \ExplSyntaxOn/Off inside \NewDocumentEnvironment so the following code sample doesn't work: \...
0
votes
0answers
37 views

How to add indentation at the start of new paragraph?

I am a wirting thesis, and I have to add indentation at the start of each new paragraph? my code for paragraph: \renewcommand{\baselinestretch}{1.5} % set linespacing = 1.5; equivalent to word ...
0
votes
1answer
35 views

Using the last line of a paragraph to start a new paragraph aligned to the right

Is it possible to define a command such that the paragraph that follows is right-aligned and its first line starts in the last line of the previous paragraph (which is justified)? Eventually, to have ...
2
votes
2answers
52 views

Infinite compilation with minted, bgcolor, and disabling \let\par\relax

I had defined an environment which disabled \par temporarily with \let\par\relax precisely to disallow paragraph breaks in that environment. It was working fine until I last compiled the document (mid ...
3
votes
1answer
32 views

Why standalone class reverses \parshape indentation (such that it appears on the end of each line, not the beginning) and how to change that?

You can replace \documentclass[varwidth]{standalone} with \documentclass{article} to see the difference. How do I make \parshape work as intended while using standalone? \documentclass[varwidth]{...
0
votes
0answers
25 views

Paragraphs and indention [duplicate]

Latex by default indents the first line of a new paragraph, but does not leave empty vertical space. Currently, I am writing a text with many formulas in it. I don't think this paragraph style works ...
1
vote
1answer
39 views

\hfill -like command in the middle of a paragraph

I want to align the contents of a paragraph such that it is justified, BUT the white space at the end of the paragraph (on the last line) is moved inside the paragraph at a place where a \hfill-like ...
3
votes
3answers
81 views

Paragraph formatting with neg indentation of first line

The follwoing result is easily accieved in Word: How is this possible in Latex? Description: First line without indentation and fixed tabulator at, say, 2 cm Starting from the second line, ...
0
votes
2answers
47 views

Memoir: How to make `\newfootnoteseries` with multiple paragraphs?

I have two levels of footnotes, one for regular footnotes and one for special editor's footnotes. I would like to put a longer text in an editor's footnote with two paragraphs, however this does not ...
0
votes
1answer
40 views

Space between \paragraph{} and text [duplicate]

how do I put the text on a new row under a paragraph? My code is the following: \paragraph{Title} Some text, Some text, Some text, Some text, Some text. Right now It ends up like: Title Some text, ...
2
votes
1answer
33 views

tex4ht: Wrapping several paragraphs inside a div tag

I want to wrap several paragraphs inside a div with a custom class, but the div is closed automatically in the resulting HTML when a new paragraph begins. This shows the issue: \documentclass{...
1
vote
1answer
60 views

Footnotes on the same line only for one page

It is possible to get footnotes typeset as paragraph thanks to package footmisc loaded with the para option, as discussed in this thread. But this is set globally. I would like to typeset footnotes ...
0
votes
0answers
17 views

Error as I try to centre align the content on the report - What could be the reason for this?

I am trying to centre the paragraphs, sub-paragraphs and table on the second page of the report. The way I am trying to do is: \paragraph{\begin{center}Document Information\end{center}} But as I ...
0
votes
1answer
49 views

Title and a text without any space

I have definend "title" of subsub section as following: \def\podpodsekce#1{\leavevmode \\ \textbf{#1}\\ \\} the problem is that sometimes the title is on the bottom of a one page and the text is on ...
0
votes
1answer
50 views

Avoid a break between a list and its introductory statement

\documentclass{report} \usepackage[bottom=1cm, top =1cm]{geometry} \usepackage{lipsum} \begin{document} \lipsum[1-8] \lipsum[5][1-5] another paragraph consider the following cases: case1 case2 \...
6
votes
2answers
154 views

Disable hyphenation for an entire paragraph

How can I disable hyphenation for an entire paragraph without changing the hyphenation of its words throughout the rest of the text? And of course, maintaining the paragraph alignment! Thanks, in ...