|
From: | David Stephen Grant |
Subject: | Fwd: Replace dot symbol? |
Date: | Sun, 16 Mar 2014 23:08:59 +0100 |
David Stephen Grant wrote
> Ideally I'd like to be able to append something other than . to aHello, the next step would be to put your solution in a music function as
> duration,
> that would then automatically assign the correct duration value to the
> note, and change the dot symbol.
shown below. Then you would just add \crs (or whatever you called your
fuction) before any dotted note you wanted to make a "crossed" note. Pretty
close to your ideal scenario, but not all the way.
HTH,
-Paul
\version "2.18.0"
crs =
#(define-music-function
(parser location note)
(ly:music?)
#{
\once \override Dots #'stencil = #ly:text-interface::print
\once \override Dots #'text = \markup {
\halign #-2
\abs-fontsize #6
\musicglyph #"noteheads.s2cross"
}
\scaleDurations 5/6 { #note }
#})
\relative c' {
<<
\new Staff {
c4 c16 a a8 a2 a1
}
\new Staff {
\crs c4.
a16
a8 a2 a1
}
\new Staff {
c4.
a8 a2 a1
}
>>
}
--
View this message in context: http://lilypond.1069038.n5.nabble.com/Replace-dot-symbol-tp160473p160477.html
Sent from the User mailing list archive at Nabble.com.
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
[Prev in Thread] | Current Thread | [Next in Thread] |