Linked Questions

4
votes
4answers
1k views

Enumeration for "regular" paragraphs

I would like to have enumerated paragraphs using the document's default paragraph layout. Currently, I achieve this using manual enumerations using the code listed below. How can I get the same ...
11
votes
2answers
742 views

Paragraph numbering (lineno for paragraphs)

How can I add margin numbering for paragraphs? It should be alternating (left and right) for odd and even pages. So basically like lineo with the switch option but for paragraphs instead of lines.
5
votes
2answers
1k views

Automatic Paragraph Numbers (\everypar only for paragraphs and not for \section and so on)

I want to write a specification and each paragraph should automatically be numbered. I found something similar in a book about fitness training: I prepared a small MWE (two-sided layout): \...
2
votes
3answers
478 views

How to disable paragraphs inside my environment with \let\par\relax?

I would like to disable the automatic paragraph inside my thesis abstract which is called resumo. On the question How to disable new paragraph at empty line? they said I could use \let\par\relax to ...
10
votes
1answer
496 views

Color-coding a Dialogue - Alternate Paragraphs in Different tcolorboxes

I would like to define a command \dialoguestart{black!10}{black!25} that starts setting the paragraphs into tcolorboxes, alternating between lighter (black!10) and darker (black!25) ones. The ...
3
votes
2answers
172 views

Safer alternative to everypar in creating a custom paragraph format in an environment?

I'm trying to create an environment where each paragraph gets some stylized text prepended to it (e.g. "Tips: ") is not allowed to be broken up across pages Based on this answer, I've managed to ...
4
votes
2answers
267 views

How to have an empty TikZ picture (with absolutely placed content) be ignored for spacing?

I want to use a TikZ element to place absolutely on the page. Unfortunately, no matter what I do, the TikZ picture is treated like a character, which causes it to be treated like a paragraph when not ...
4
votes
1answer
232 views

\marginpar for all the document

I'm trying to do the following: put the input line number (of the code) on each paragraph in the whole pdf output. For example, for the code \documentclass{book} \usepackage{amsthm} \theoremstyle{...
1
vote
2answers
62 views

block each line in the beginning and end

Is there a way to insert hyphens before each paragraph? What about after the paragraph? Like this: ----Lorem ipsum dolor sit amet, consectetur adipiscing ... [...] ... fames ac turpis egestas.------...
0
votes
0answers
23 views

Numbers in bibliography and bullets in the list are not on the same line as text

I have a problem with horizontal alignment in bibliography same as in the list or enumerate, see pictures. My code in the both cases (the preambule is the same): \documentclass[12pt,a4paper]{article}...