Papa Eric wrote:
Hi,
In the following code I cannot solve two problems:
-----
\version "2.11.42"
{ \voiceTwo
d'8
\acciaccatura {\once \override Stem #'direction = #up c'8} d'8
\acciaccatura {\once \override Stem #'direction = #up c'8} d'8-.
}
\layout {
ragged-last = ##t
}
-----
1) the first acciaccatura has a nice slur, but the second one is too
low because it tries to be lower than the staccato dot (I suppose).
How to tell the slur it to ignore the dot?
You can use
\once \override Script #'avoid-slur = #'outside d'8-.
the default setting for "'avoid-slur for articulations varies from
articulation to articulation
(and is defined in the file scm/script.scm) and for staccato, the
default setting is #'inside.
2) If I remove the first d'8 note, the stem direction of the d note
becomes up, as if the \once did not work well.
Ugly! Yet another problem with grace notes! Note that the problem
remains the same even if you
remove the \once \override setting within the acciaccatura, i.e. the
problem is that you begin the
Voice context with a grace note.
One possible workaround is to move the \voiceTwo command so it comes
after the acciaccatura.
Another workaround is to do all settings corresponding to \voiceTwo using
\new Voice \with{
\override Stem #'direction = #DOWN
\override Slur #'direction = #DOWN
...
}{
\acciaccatura {\once \override Stem #'direction = #up c'8}
d'8[ ...
However, the list of property settings is farly large and unfortunately
the syntax does not allow you
to do \new Voice \with{ \voiceTwo } {...}.
/Mats
More complete example:
\version "2.11.42"
\new Staff
<<
\new Voice { \voiceOne
f''4
}
\new Voice { \voiceTwo
% here insert d'8[ to make it work (remove next "[")
\acciaccatura {\once \override Stem #'direction = #up c'8}
d'8[
\acciaccatura {\once \override Stem #'direction = #up c'8}
d'8-. ]
}
>>
\layout {
ragged-last = ##t
}
Thanks for any hint (especially with the staccoto dot, which annoys me
more in the true score!)
Eric
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
School of Electrical Engineering
Royal Institute of Technology (KTH)
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user