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
..
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00
2024-10-02 15:53:23 +00:00
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00
2025-01-24 12:11:26 +00:00
2024-04-13 08:39:45 +00:00
2025-01-24 12:11:26 +00:00
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00
2025-01-24 12:11:26 +00:00
2024-09-16 14:41:18 +00:00
2024-09-16 14:41:18 +00:00
2024-07-19 11:47:51 +00:00
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00
2025-01-24 12:11:26 +00:00
2024-04-17 15:11:20 +00:00
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00
2025-01-24 12:11:26 +00:00
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00
2025-01-23 11:50:51 +00:00
2025-01-23 11:50:51 +00:00
2025-01-23 11:50:51 +00:00
2025-01-23 11:50:51 +00:00
2025-01-23 11:50:51 +00:00
2025-01-23 11:50:51 +00:00
2025-01-24 12:11:26 +00:00
2025-01-23 11:50:51 +00:00
2025-01-23 11:50:51 +00:00
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00
2025-01-24 12:11:26 +00:00
2025-01-24 12:11:26 +00:00
2024-09-16 14:41:18 +00:00
2024-09-16 14:41:18 +00:00
2024-09-16 14:41:18 +00:00
2024-09-16 14:41:18 +00:00
2024-09-16 14:41:18 +00:00
2024-09-16 14:41:18 +00:00
2024-09-16 14:41:18 +00:00
2024-09-16 14:41:18 +00:00
2024-09-16 14:41:18 +00:00
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00
2024-04-17 15:11:20 +00:00
2025-01-24 12:11:26 +00:00
2024-04-13 08:39:45 +00:00
2025-01-24 12:11:26 +00:00
2024-04-13 08:39:45 +00:00
2024-04-13 08:39:45 +00:00