lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Offset fermata problem


From: Simon Albrecht
Subject: Re: Offset fermata problem
Date: Tue, 6 Oct 2015 20:57:08 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

On 06.10.2015 15:45, David Kastrup wrote:
Simon Albrecht <address@hidden> 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.

All the more thanks for addressing this nevertheless!
Yours, Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]