lilypond-user
[Top][All Lists]
Advanced

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

Re: ugly slur


From: Kieren Richard MacMillan
Subject: Re: ugly slur
Date: Thu, 12 Feb 2004 23:08:35 -0500

Thorkil (et al.):

\property Voice.Slur \set #'attachment-offset = #' ((1 . 0) 0 . 0) [...] You actually tell Lily to let the *beginning* of the slur start 1 *something*
(I don't know if it's a millimeter, a pixel or something else --
can anyone tell me that?) to the right.

The units are staff spaces -- therefore, relative to the scaling of the page.

Generically, it might be written as:

\property Voice.Slur \set #'attachment-offset = #' ((start-x-offset . start-y-offset) end-x-offset . end-y-offset)

Therefore, you could adjust both ends at once, and not only by integer amounts:

\property Voice.Slur \set #'attachment-offset = #' ((2.3 . -0.4) 1 . -3.5)

And don't forget that you can (and probably do) want to apply this change only to the slur immediately following the command, which is indicated by prefixing the command with '\once':

\once \property Voice.Slur \set #'attachment-offset = #' ((2.3 . -0.4) 1 . -3.5)

Hope this helps!
Kieren.





reply via email to

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