Skip to main content

New answers tagged

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 ...
egreg's user avatar
  • 1.2m
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'...
Mico's user avatar
  • 519k
0 votes

How to adding vertical spacing in \raggedright or \RaggedRight

To mimic the behavior of a sole \\ in fully justified mode, you can do in ragged right mode: ~\\ Other than \smallskip, \medskip, etc., this will ensure the precise height of a single line.
Christoph Thiede's user avatar
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 ...
cfr's user avatar
  • 211k
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 ...
egreg's user avatar
  • 1.2m
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 ...
cfr's user avatar
  • 211k
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, ...
MS-SPO's user avatar
  • 14.9k
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 ...
egreg's user avatar
  • 1.2m
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, ...
MS-SPO's user avatar
  • 14.9k

Top 50 recent answers are included