6
votes
Accepted
\ExplSyntaxOn problem with new paragraph
You really just need to know that + is required in \NewDocumentCommand if you want an argument to accept paragraph breaks. I sprinkled them liberally, since the underlying functions are defined to ...
4
votes
is it possible to add a stepwise counter for assigning a number to each text block?
Update This version attempts to enable paragraph numbering automatically at the start of the document and to suspend numbering automatically for sections, subsections etc. (If you are using book or ...
3
votes
referencing "modified" paragraph numbers
There's no need to go to \paragraph and \subsection is much handier.
Rather than indenting all text you just need to “outdent” the numbers. You'll need to fix the title to take into account the wider ...
3
votes
Accepted
Paragraph indents dissapeared suddenly
Your (now no longer shown) preamble is a real mess. Mixing package loading and settings makes it very difficult to maintain.
Anyway, the problem is obviously
\usepackage[document]{ragged2e}
From the ...
3
votes
Avoid the space given by parskip if it goes on a new page
There are two ways of achieving your goal regarding the generous amount of whitespace you prefer to see between a text paragraph and a subsequent displayed equation: Your current way -- which, as you'...
2
votes
\ExplSyntaxOn problem with new paragraph
Of course this doesn't really work when the keywords are followed by punctuation. Anyway, I suggest a few changes:
Avoid adding \tex_unskip:D by “using” a sequence instead of mapping it;
The sequence ...
2
votes
referencing "modified" paragraph numbers
Let's take the opportunity to have a look at Latex coding
as an experienced user
as a novice, using refactoring
If you are an experienced user
Then you know packages titlesec and parskip by heart, ...
1
vote
referencing "modified" paragraph numbers
Neglecting all your layout formatting, here's a way to do your reference formatting manually, based on this answer.
Basic steps
Certain structures are counted automatically in Latex, like sections, ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
paragraphs × 1349indentation × 256
spacing × 233
line-breaking × 129
sectioning × 74
numbering × 60
formatting × 58
parskip × 54
horizontal-alignment × 53
environments × 48
tables × 47
page-breaking × 44
line-spacing × 42
floats × 40
macros × 37
sections-paragraphs × 37
tex-core × 32
lists × 31
typography × 29
footnotes × 27
memoir × 26
koma-script × 24
margins × 23
lyx × 22
boxes × 22