Simon Albrecht <simon.albre...@mail.de> writes: > Hello Jacques, > > On 05.10.2015 17:25, Menu Jacques wrote: >> Hello folks, >> >> I’d like to obtain the following from Poulenc, in which the fermata >> is in-between a2 and r4: >> >> > > based on an idea by David Kastrup I wrote a music function, which > provides a nice interface for this kind of things: > > %%%%%%%%%%%%%%%% > \version "2.19.28" > > after = #(define-music-function (t e m) (ly:duration? ly:music? ly:music?) > #{ << #m { \skip $t <> -\tweak extra-spacing-width #empty-interval > $e } >> #}) > > \score { > \relative c'' { > \key f \major \time 2/2 | % 147 > \after 4*5/4 \fermata a2 r4 > e16 -\markup{\dynamic "ff" \italic "librement"} ^\markup{\bold > "solo"} [ f16 g16 f16 ] > } > } > %%%%%%%%%%%%%%%%% > > It has proved an invaluable tool, mostly with placing dynamics: no > need to maintain extra <</>> constructs, much less typing, far easier > readable code. Only drawback: point-and-click doesn’t work for the > grobs created thus, it always points to the music function code.
Issue 4630. Folks, if you fail to report errors they will never get fixed. -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user