[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to limit customized graceSettings?
From: |
Thomas Morley |
Subject: |
How to limit customized graceSettings? |
Date: |
Sat, 17 Aug 2013 17:05:01 +0200 |
Hi,
is there any easy way to limit customized graceSettings to Voice?
While using $(add-grace-property ...), any further setting of it will
override the former.
It is possible to rebuild and use the whole list (as I did in the
third Staff below), though that's tedious.
-Harm
Example:
\version "2.17.24"
myGraceSettings = #`(
(Voice NoteHead style cross) ;; inserted
(Voice Stem direction ,UP)
(Voice Stem font-size -3)
(Voice Flag font-size -3)
(Voice NoteHead font-size -3)
(Voice TabNoteHead font-size -4)
(Voice Dots font-size -3)
(Voice Stem length-fraction 0.8)
(Voice Stem no-stem-extend #t)
(Voice Beam beam-thickness 0.384)
(Voice Beam length-fraction 0.8)
(Voice Accidental font-size -4)
(Voice AccidentalCautionary font-size -4)
(Voice Slur direction ,DOWN)
(Voice Script font-size -3)
(Voice Fingering font-size -8)
(Voice StringNumber font-size -8)
)
<<
\new Staff = "1"
\new Voice \with { $(add-grace-property 'Voice 'NoteHead 'style 'mensural) }
{ \grace d'8 c'4 }
\new Staff = "2"
\new Voice \with { $(add-grace-property 'Voice 'NoteHead 'style 'diamond) }
{ \grace d'8 c'4 }
\new Staff = "3"
\new Voice \with { graceSettings = \myGraceSettings }
{ \grace d'8 c'4 }
>>
- How to limit customized graceSettings?,
Thomas Morley <=
- Re: How to limit customized graceSettings?, David Kastrup, 2013/08/17
- Re: How to limit customized graceSettings?, Thomas Morley, 2013/08/17
- Re: How to limit customized graceSettings?, Pierre Perol-Schneider, 2013/08/17
- Re: How to limit customized graceSettings?, Thomas Morley, 2013/08/17
- Re: How to limit customized graceSettings?, Pierre Perol-Schneider, 2013/08/17
- Re: How to limit customized graceSettings?, Thomas Morley, 2013/08/18
- Re: How to limit customized graceSettings?, Thomas Morley, 2013/08/20