3
votes
1answer
95 views

Quotation around text without using brackets

I am using the csquotes package and its \enquote{TEXT IS HERE} very often. Instead of \documentclass[12pt]{article} \usepackage[top = 1in, bottom = 1in, left = 1in, right = 1in]{geometry} ...
5
votes
1answer
45 views

How make \parshape declared inside an environment to apply the next paragraph outside the environment?

I'm trying to do something like the MWE below: \documentclass{article} \usepackage{lipsum} \newenvironment{myenv}{% \parshape = 4 0pt 0.5\textwidth 0pt 0.5\textwidth 0pt 0.5\textwidth ...
4
votes
1answer
174 views

Add \par only if last paragraph did not end with displayed math

Background: I have named "sections" (sections for rest of this question) which are conditionally displayed or suppressed based on parameters. To simplify the test case below, these are controlled by ...
27
votes
3answers
558 views

Set up a system to alternate between genders per paragraph

In RPG writing it has become traditional to swap he and she on a per paragraph basis. Something like "He can use the smite evil ability one a day at first level. (Blah blah blah, paragraph break) when ...
25
votes
3answers
641 views

When is it better to use \par than \endgraf?

Just yesterday I had to patch a package file (changing the description to indicate that the file had changed) to replace some \par to \endgraf because the code had bad interactions with non-\long ...
6
votes
3answers
164 views

PGF keys error with key filter for keys containing \par

I am trying to use pgfkeys to store some text for use later. The end goal is to use a key filter to process options first and then apply them to text before it is stored. In the MWE below, if it try ...
1
vote
1answer
223 views

Multiple paragraphs break custom command

first of all sorry if the question seems repetitive: I have tried to find a solution in previously asked questions but none of the hints provided seems to work for me. Here is my situation. I am ...
11
votes
2answers
185 views

Define a command to affect everything until the end of the paragraph?

Is it possible to define a command so that it affects everything until the end of the current paragraph? As a minimal example, I am trying to define a command using syntax similar to the following: ...
4
votes
1answer
184 views

\newcommand creates underfull\hbox (badness 10000) in paragraph

I have a 2-column document with repeating boxes. So I created these macros (don't mind the colors and boxheight): % ------------------------------------------------------- % aitparagraph % % gives ...
11
votes
2answers
700 views

Automatically itemize a paragraph

I'd like to use LaTeX for lecture notes but I use bullet lists extensively, and the itemize macro in LaTeX is too time consuming for lecture notes. But if I could teach LaTeX how to do it for me ...
6
votes
3answers
585 views

New paragraph style for newbie

This question may have already been asked, but with all of my searching, I couldn’t find it. I am new to LaTeX and after a few rough starts, I am finding my way. I am using this tool to create ...
26
votes
3answers
1k views

Does TeX always insert the macro \par?

When the input processor encounters two characters with category code 5 in a row (in other words, a blank line), it inserts the \par macro. When \vbox{Abc.} ends, TeX ends the current paragraph, but ...
7
votes
1answer
495 views

Adding something automatically to every paragraph in an environment

I'd like to know if it's possible to have something added automatically to any paragraph in a given environment. I use LaTeX mostly for doing fill-in-the-blank worksheets at the school where I work. ...
7
votes
1answer
231 views

Numbering multiple paragraphs at once

I am drawing up a document that has numbered paragraphs. 1-36 are numbered normally and I have no problems. However, on paragraph 37, I need something like: 35 Normal paragraph. 36 ...
16
votes
1answer
480 views

What exactly does \@doendpe do?

Quoting from the LaTeX2e sources: [\@endparenv, \@doendpe] To suppress the paragraph indentation in text immediately following a paragraph-making environment, \everypar is changed to remove ...
6
votes
3answers
304 views

Looking for an \ignorespacesandpars

Is there an analogue of \ignorespaces which will also ignore the following \pars?
10
votes
5answers
1k views

How to define a parshape command with LaTeX?

I want to typeset a book with some \parshape command, for example: \documentclass{article} \usepackage{lipsum} \begin{document} \parshape=4 0.2\textwidth 0.8\textwidth 0.2\textwidth 0.8\textwidth ...