Peter -

Tune to suit.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\version "2.8.5"

doubledash = {\once \override Voice.StemTremolo #'beam-thickness = #0.2 }
ddashg = _\markup { \postscript #" 0.4 setlinewidth -0.7 3.3 moveto 1.5 0.5
rlineto stroke -0.7 2.3 moveto 1.5 0.5 rlineto stroke " }
ddashb = _\markup { \postscript #" 0.4 setlinewidth 0.5 6.7 moveto 1.5 0.5
rlineto stroke 0.5 5.7 moveto 1.5 0.5 rlineto stroke " }

\layout { ragged-right = ##t }
\score { \relative c' <<
\new Staff { \time 3/4 \doubledash g'':16 g g   g\ddashg g g }
\new Staff { \clef bass << { r4 \doubledash bes,,2:16 } \\ { g2~ g4 } >> 
                        << { r4             bes2\ddashb } \\ { g2~ g4 } >> }
>> }

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

For clues, see
http://www.cs.indiana.edu/docproject/programming/postscript/operators.html#o
pindex

                                     - Bruce

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Peter Van Kranenburg
Sent: Wednesday, July 19, 2006 5:26 PM
To: lilypond-user@gnu.org
Subject: 17th century keyboard ornament


Hi all,

I'm trying to typeset some 17th century keyboard music from the Southern
Netherlands. An often used ornament is a slanted double dash through the
stem of the note (zie attached image - sorry for the bad quality).

I tried to adapt the tremolo:

-----
\version "2.8.5"

doubledash = {\once \override Voice.StemTremolo #'beam-thickness = #0.2 }

\layout { ragged-right = ##t }
\score {
\relative c'
<<
\new Staff { \time 3/4 \doubledash g'':16 g g }
\new Staff { \clef bass << { r4 \doubledash bes,,2:16 } \\ { g2~ g4 } >> }
>> 
}
-----

This doesn't satisfy me. The vertical space between the dashes is too 
large. Especially when the stem is short (as is with the bes in the 
above example). I can't find a parameter to control this distance.

Can someone give me a suggestion how to typeset this ornament?

thanks in advance,
Peter van Kranenburg





_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to