[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
instrumentName doesn't appear when the very first note is an acciaccatur
From: |
eliot bates |
Subject: |
instrumentName doesn't appear when the very first note is an acciaccatura |
Date: |
Sun, 16 Mar 2008 21:07:24 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
> I'm not top posting.
%% instrumentName does not get printed on subsequent staffs
%% if one staff begins with an acciaccatura figure.
%% shortInstrumentName seems to always work, however, and
%% removing the acciaccatura immediately clears up the problem.
%% acciaccaturas in any position other than the first note do not cause
%% this problem.
\version "2.11" % necessary for upgrading to future LilyPond versions.
\paper{ ragged-right=##t }
#(set-default-paper-size "a4")
#(set-global-staff-size 14)
\layout {
indent=#0
\context { \Score
\remove "Bar_number_engraver"
}
}
ILavta = \relative {
\clef treble
\key d \minor
#(set-time-signature 5 8 '(3 2))
#(override-auto-beam-setting '(end * * * *) 3 8)
#(override-auto-beam-setting '(end * * * *) 5 8)
\set Staff.voltaSpannerDuration = #(ly:make-moment 5 8)
\acciaccatura a'32 a16 bes c4 \acciaccatura c32 c16 bes a bes
a4.\prall \acciaccatura a16 a4 \break
\acciaccatura c32 c16 d d4 d8. c16
c16 d8 \appoggiatura { c32[ des] } c8 d16 c \appoggiatura des32
bes16 a bes~
\time 3/8 bes4.
#(set-time-signature 5 8 '(3 2))
#(override-auto-beam-setting '(end * * * *) 3 8)
#(override-auto-beam-setting '(end * * * *) 5 8)
\set Staff.voltaSpannerDuration = #(ly:make-moment 5 8)
\acciaccatura a32 a16 bes c4 \acciaccatura c32 c16 bes a bes
a4.\prall a4 \bar "||"
}
IUdu= \drummode {
bd16-> sn sn sn sn-> \times 2/3 { sn32 sn sn } sn16 sn-> sn-> sn
sn16 bd sn bd-> sn sn sn sn sn-> sn64 sn sn sn
sn16 \times 2/3 { r32 sn sn } sn16 sn-> r sn sn sn32 sn
sn16-> sn32 sn
sn16-> sn-> sn-> bd-> sn sn sn sn sn-> sn64 sn sn sn
bd8.-> bd16-> bd-> bd->
bd16-> sn sn sn sn-> \times 2/3 { sn32 sn sn } sn16
sn-> sn-> sn
sn16 bd sn bd-> r4.
}
\new Score { <<
\new Staff = "lavta" {
\set Staff.instrumentName = "lavta"
\set Staff.shortInstrumentName = "lavta"
\ILavta }
\new DrumStaff = "udu" {
\set DrumStaff.instrumentName = "udu"
\set DrumStaff.shortInstrumentName = "udu"
\IUdu
}
>>
}
- instrumentName doesn't appear when the very first note is an acciaccatura,
eliot bates <=