-
Notifications
You must be signed in to change notification settings - Fork 1
Description
May it be possible to output several svg files instead of one for an equation?
May be useful for printing long equations (that can break) inline with normal text. For example, if $x+2=a+b+c+d$ will output the first svg containing x+2=, and the second svg containing a+b+c+d, the text in the paragraph may be aligned better when the second svg goes to the next line.
In some cases such behavior is undesirable. Here are some ideas:
- Perhaps, a config option
break=True/Falseis a good thing to have. - Also, it could be useful to be able to configure something like
break_after=[+,-,=,...]to specify elements after which equations can break. - Possibility to set break option (True/False) for a single equation. (E.g.
$x+d=a+b+c+d\nobreak$)
One problem I don't see a way to solve is the height.
For example, a "tall" fraction is left on one line and the rest ("short") goes to the next line. Two svg files for
It is just a raw idea, I am not sure if it is possible to do.