Skip to content

Formatting math (much like black formats Python code)#111

Draft
tdegeus wants to merge 19 commits intomainfrom
format
Draft

Formatting math (much like black formats Python code)#111
tdegeus wants to merge 19 commits intomainfrom
format

Conversation

@tdegeus
Copy link
Owner

@tdegeus tdegeus commented Jan 19, 2024

Fixes #52

Todo:

  • \label{...}, \text{...}, \mathrm{...} should not be formatted.

The simplest is to change the placeholder formatting to not include - (or +, etc.) such that they are not formatted by this function. Then \label{...}, \text{...}, etc could be converted to placeholders before formatting

@tdegeus tdegeus marked this pull request as draft March 13, 2024 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

indent math

1 participant