Add support for algorithm packages, such as algorithmic and algpseudocodex [Develop branch] #498
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reopen of another pull request #496, but from the dev branch. Here is the improvement for this pull request:
Here is the dev branch from V3.23.4.
Thanks for your advice! I've removed it.
I've added a file
test-cases/specials/algorithmic-and-algpseudocodex.tex
. Please review below.I have tried specialBeforeCommand: 0 and found this couldn't format the code. Here is the discussion.
what is this pull request about?
This pull request adds the support for algorithm packages, such as algorithmic and algpseudocodex
does this relate to an existing issue?
Here is the link: issue 427
does this change any existing behaviour?
yes
what does this add?
Here is a minimal example:
After merging the pull request,
latexindent.pl
could format the file as follows (with 4-space indents):how do I test this?
You can test this as the above section depicts.
anything else?
No more further comments. Best wishes for you and your family!