#avoid certain types of equation breaks

16 messages · Page 1 of 1 (latest)

sand mirage
#

Is there a way to make equations break lines only on certain operators (or to avoid breaking lines on others)
and is there a way to make equations go down a line instead of break if the part in the first line/ second line is too short?

Basically, I want to automatically avoid the following scenarios:

#

avoid certain types of equation breaks

gloomy sorrel
#

Maybe a show rule for certain character that adds a non breaking line character at the end of the character ?

#

I don't know of any easier way.

sand mirage
#

so essentially categorize the characters I don't want to break on right? can you give me an example as to how to write this show rule?

#

also, wouldn't this become hyper sensitive to spaces?

gloomy sorrel
iron harness
#

You want sym.wj, though I'm not sure it works properly in math

sand mirage
#

I guess you could regex it. That would also solve the 'too short' case. I just don't know how I would write such a show rule at all

iron harness
#

(the sym part wouldn't be necessary in math)

#

It's a character which indicates where a line break shouldn't occur

sand mirage
#

cool ^^

#

lemme try throw it around some equations lol

#

doesn't seem to be doing anything tbh