typstyle
typstyle copied to clipboard
[ FEATURE REQUEST] (Inline) math formatting
Math formatting in general
- Would be good to have spaces between symbols
Inline Math formatting
- Linebreaks for too long lines
(PS: I'll updated if I can think of other things)
related #43
There are many obstacles to math formatting due to its magical nature.
- Spaces matter in the representation, so we should never add extra spaces or remove seemingly redundant spaces. We can only shorten spaces or modify spaces in args.
- We cannot find truly satisfying places to insert linebreaks, as the symbolic semantics can vary everything. A "universal" line-breaking strategy could not work for everything.
Therefore, your requested features cannot be satisfactorily fulfilled. We choose to leave these decisions to end users. Let me close the issue. If you have any further suggestions, please feel free to leave comments or open new issues!