Comments (2)
Thanks for this.
option 1
replacements:
-
substitution: |-
s/(\\par)(\h+)(\H)/$1\n$3/sg
and call with
latexindent.pl -l issue-523.yaml -r issue-523.tex
option 2
specialBeginEnd:
par:
begin: (?<!\\)\\p
end: ar
modifyLineBreaks:
specialBeginEnd:
par:
SpecialEndFinishesWithLineBreak: 1
and call with
latexindent.pl -l issue-523a.yaml -m issue-523.tex
from latexindent.pl.
that worked perfectly, thanks a bunch!
from latexindent.pl.
Related Issues (20)
- Unknown error "���" HOT 21
- [Feature] More friendly support for CJK words (characters) HOT 18
- [latexindent.exe] -GCString switch cannot run normally HOT 2
- Exclude `table` and `tabular` from indentation HOT 3
- Feature Request: Support spreadtab block HOT 4
- can't run it, neither after `tlmgr` nor as a Perl script HOT 4
- Error "Can't open file" when using `-g` key with nontrivial path HOT 3
- [windows] conda installation fail due to perl version HOT 6
- Format tabular for fullwidth fonts HOT 2
- [Bug] Incorrect indentation amount when have a long config with tabualrray package HOT 7
- Can't find string terminator '"' error - bug? HOT 7
- the future of multirows in _tabularray_ package would let latexindent format the code incorrectly HOT 10
- Indenting of tikz arrow specification HOT 4
- Incorrect encoding (possiblely due to #505) HOT 6
- Error when specifiying `lookForAlignDelims` in command line HOT 3
- text wrapping comment text to 3 HOT 6
- Additional indentation in text after displaymath when textWrapOptions when is set to after HOT 4
- Wrong indentation for equation in command with subscript in superscript HOT 2
- Incorrect indentation in argument HOT 3
- Labels in the same line as `\begin` HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from latexindent.pl.