Hello Werner, > In full scores it is sometimes necessary to adjust the value of > `afterGraceFraction` so that it harmonizes with other notes and > rhythms. However, saying > > ``` > afterGraceFraction = <value> > ``` > > only works at top-level according to the documentation. How can I > change this value mid-score? > > > Werner
you can use `set!`: { \afterGrace c' c' \break #(set! afterGraceFraction 999/1000) \afterGrace c' c' \break s1 } But note that this may cause race conditions, and `afterGrace` allows specifying the ratio as optional first argument. In this sense I would deem it safer to use that optional argument over going around changing the default all the time. Cheers, Valentin
signature.asc
Description: This is a digitally signed message part.