figured this one out:

On 11 Nov 2009, at 14:56, Stefan Thomas wrote:
I have a last question.
Why is the shortInstrumentName for Violin one solo not shown?

because the staff only just started. lily puts the instrumentName at the beginning of the first line of a staff. (naïve explanation, trying to sound like i know what i'm talking about).

Here the snippet:
\version "2.12.2"
 violineA = \context Staff ="ViolineA"
 { \set Staff.instrumentName = "Violine 1"
  \set Staff.shortInstrumentName="Vlne.1"


   c'' 4 d'' e'' f'' g'' a'' b'' c'''\break
 <<
   \new Staff \with { alignAboveContext = "ViolineA" }
{ \set Staff.shortInstrumentName="Vlne. 1 solo" %why is this not shown?
%add this here:
      \set Staff.instrumentName="Vlne. 1 solo"

     c'''4^"solo"( d''' e''' f''' g''' a''' b''' c'''') }
   { c'' 4 d'' e'' f'' g'' a'' b'' c''' } >>
 }
 violineB = \context Staff ="ViolineB"
 { \set Staff.instrumentName = "Violine 2"
   \set Staff.shortInstrumentName="Vlne. 2"
   \repeat "unfold" 2 { c'' 4 b' a' g' f' e' d' c' }}
\score {
 \new StaffGroup <<
 \new GrandStaff \violineA
  \violineB >>

}


hth,
sb
--
Simon Bailey
Oompa Loompa of Science
+43 699 190 631 25



_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to