
On 3/3/2025 4:13 PM, Wolfgang Schuster wrote:
Am 03.03.2025 um 04:22 schrieb Rik Kabel:
Other than that, it does a fine job. Perhaps best practice calls for \relax at the end of some of the \dimexprs, but that isn't necessary in this case.
You can also use braces to limit the argument for \dimexpr. Hans added this feature at the begin of the year to Luametatex.
\starttext \the\dimexpr{2pt+3pt} \stoptext
best use \dimexpression which is also a bit more flexible Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------