lilypond-user
[Top][All Lists]
Advanced

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

Re: lilypond include scripts


From: Wilbert Berendsen
Subject: Re: lilypond include scripts
Date: Thu, 14 Feb 2008 08:20:38 +0100
User-agent: KMail/1.9.7

Op donderdag 14 februari 2008, schreef David Fedoruk:
> I don't think I can put the ovrrides and change Staff commands into a
> variable.

You can! I often use:

bakg = \override Beam #'auto-knee-gap = #6
rh = \change Staff = "rh"
lh = \change Staff = "lh"

etc. Fot stem direction LilyPond already knows \stemUp and \stemDown (and 
\stemNeutral to let LilyPond decide).

So your example would become:

\bakg r2 r4\mf d''16[ d' \lh \bakg \stemUp c' bf] | %bar 11
fs16[ \rh \stemDown ef' \lh \stemUp c' a] fs16[ \rh \stemDown c' \lh \stemUp 
bf g]

etc.

Met vriendelijke groet,
Wilbert Berendsen

-- 
http://www.wilbertberendsen.nl/
"You must be the change you wish to see in the world."
        -- Mahatma Gandi




reply via email to

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