-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separate settings for the math environments #80
Comments
Have you looked at 'indentRules'? :) |
Thanks, somehow I missed this part. |
Could you provide a minimum file, together with what your desired output would be? |
Here is the example:
and I would like it to look like this:
|
Thanks very much for the follow-up, it's very helpful! If I use the following yaml file:
|
Thank you! This helped a lot! |
#80 This commit allows a new switch in specialBeginEnd that allows the user to tell latexindent to search for specialBeginEnd before searching for commands
As of e218223 I'd say that this is resolved. It'll be part of the next release, V3.3. Thanks again for raising this! |
Thanks again, this is resolved as of #83 |
New version to be uploaded to ctan momentarily. |
For the different types of math equations different indent stiles are useful. For text with small equations it's ok not to indent at all. For bigger equations it's better to start each brace with new line and indent them. It would be nice to have separate settings block just for the math environments to think about them separately and allow more control over their indent.
Consider this example of the moderately big equation:
The text was updated successfully, but these errors were encountered: