10 Commits

Author SHA1 Message Date
mkorje
3506ef446d
Allow a function as an argument to size in stretch and lr
Previously there was always a short fall when scaling delimiters, even if
the user requested a specific size. This is no longer the case; the short
fall is only present in the default for `lr` (`x => x - 0.1em`), and is
the reason for the updated tests - the size of the delimiters is now
actually what was specified in the size argument. This also makes the
default for `lr` much clearer to the user.

A slight hack was used by exploiting the `name` property in the `func`
attribute macro so that the default value in the docs for `lr.size` would
clearly show what the default function was (instead of just its name
`default_lr_size` which is meaningless and inaccessible to the user).
2025-04-25 22:14:57 +10:00
Ian Wrzesinski
6fe1e20afb Update math TextElem layout to separate out SymbolElem 2025-01-23 16:30:29 -05:00
Ian Wrzesinski
f7bd03dd76
Fix delimiter unparen syntax (#5739) 2025-01-23 12:27:38 +00:00
Max
578ba640f3
Fix weak spacing being ignored unconditionally in math.lr (#5477) 2024-11-27 11:16:25 +00:00
Max
f29fbea2fc
Use extended shape information for glyph text_like-ness (#5483) 2024-11-27 11:11:49 +00:00
Max
8fe8b2a239
Ignore leading and trailing ignorant fragments in math.lr (#5473) 2024-11-26 20:51:22 +00:00
Max
93a5b712b1
Fix math.lr size argument not being applied to enclosed math.mid (#5050) 2024-09-27 08:34:38 +00:00
+merlan #flirora
99b393110e
Align corner brackets to the top and bottom when scaling (#4200) 2024-06-04 15:22:56 +00:00
Leedehai
cbb01fc81a
Make more characters stretchable by mid() (#4092) 2024-05-07 14:08:42 +00:00
Laurenz
020294fca9
Better test runner (#3922) 2024-04-13 08:39:45 +00:00