6 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
Max
c3334a55fe
Fix arbitrarily nested equations in the base of math.attach (#5613) 2024-12-20 10:15:18 +00:00
Max
f29fbea2fc
Use extended shape information for glyph text_like-ness (#5483) 2024-11-27 11:11:49 +00:00
Max
75f646c975
Fix math.stretch not working vertically with attachments (#5069) 2024-10-01 07:59:31 +00:00
Max
e00e3e4fbf
Add math.stretch element function (#5030) 2024-09-26 14:46:26 +00:00