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,381 questions
3
votes
2
answers
105
views
Get the height of the first line of a paragraph
Suppose I have a paragraph, and the first line of it may or may not contain an inline picture or a big character with the height greater than that of normal characters. Something like this:
Lorem ...
0
votes
1
answer
41
views
HowTo get standard paragraph indentation inside enumerate environment?
In the original document enumerated paragraphs are indented on their labels an continue flush-left on the page. TeX indents everything by default. How can I modify the provided code to produce the ...
3
votes
2
answers
137
views
Best Way to Insert "Blocked Notes” within Paragraphs
Consider the code:
\documentclass[12pt]{article}
\usepackage{graphicx,wrapfig,lipsum}
\begin{document}
\thispagestyle{empty}
\begin{wrapfigure}{r}{.20\linewidth} {\footnotesize{\textbf{\textit{This is ...
0
votes
2
answers
90
views
Treat first paragraph after non-floating figure[H] just as you would after section (without using \noindent) [closed]
For my LaTeX documents, everything is just a linear collection of elements. Paragraph, followed by a table, followed by a paragraph, followed by a list, followed by a paragraph, followed by a figure, ...
1
vote
1
answer
48
views
How could I suppress the gap between a heading and the following paragraph when using `\placeinitial` in ConTeXt?
How could I suppress the gap between a heading and the following paragraph when using \placeinitial in ConTeXt?
I'd like to make it the same as in the paragrapf without \placeinitial
\setuppapersize[...
0
votes
0
answers
85
views
Floats placement on pages
I'm preparing my thesis in LYX (KOMA-script) and using a lot of pictures. They are added as "floats" in text.
Also the "floats placement" in document is set to 'default'.
In the ...
2
votes
2
answers
73
views
How does titlesec modify the \@sect and related hooks and how to work around it
Inspired by this question I tried to create my own document class for contract making. I wanted automatic paragraph numbering.
class file:
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{...
0
votes
2
answers
111
views
How to get paragraph spacing within table to be same as outside when using parskip package?
I use \usepackage[skip=10pt plus1pt]{parskip} to increase vertical space between paragraphs in text.
But when I make a table, and use p for cell specifications, this vertical spacing is lost. This ...
2
votes
1
answer
114
views
\Alph counter doesn't change its value in \paragraph
I'm using \paragraph as a way to have some \subsubsubsection. They should appear as:
A) something
B) some other thing
Instead, each time I use \paragraph I only get an A). Can someone help me ...
1
vote
0
answers
67
views
ConTeXt: Widening paragraphs with \startnarrower on alternating margins
I’m working in ConTeXt with a two-sided layout (alternating margins) and want a paragraph to extend into the outer margin on odd pages and the inner margin on even pages, wider than the normal text ...
1
vote
1
answer
64
views
Create additional \paragraph{}-like commands
I would like to create a command that behaves the same as \paragraph, but uses itallic styling instead of bold. I already use normal \paragraphs so would like to find a solution that doesn't require ...
1
vote
1
answer
75
views
How to make vertical space around proof agree with paragraph spacing in new envrionment
\documentclass[12pt,letterpaper]{article}
\usepackage{amsmath,amssymb,amsthm,mathrsfs,mathtools,accents,xpatch}
\usepackage{enumerate,geometry,multicol,graphicx,hyperref}
\usepackage[many]{tcolorbox}
...
4
votes
1
answer
160
views
How to define a macro which ends \par\noindent and eats any following space?
I want a macro to be followed by a paragraph without indentation, even if the source includes a space before the next non-space character.
This is fine if the macro takes no argument, but I do not ...
2
votes
3
answers
127
views
Using a token list with \parshape
I thought this would be a simple task. Not.
My aim is to create a token list as an argument to \parshape. The token list seems to be prepared as expected, but \parshape chokes with `Missing number, ...
4
votes
1
answer
105
views
Use remember picture several times in a single document
My goal is to be able to draw a vertical line on the left side of a paragraph (the line and the paragraph having the exact same height). I know that the changebar package can do that, but I also want ...