2007/8/21, Michael Käppler <[EMAIL PROTECTED]>:

>  It seems that Thies' workaround which he posted in Oct 2006
> doesn't work anymore.

Yes it does: you just have to give enough amount of hspace so the
instrument names can fit in. Look at the following snippet (maybe I'll
add it to the LSR, unless you have some improvements to propose).

Regards,
Valentin

%%%%

Key = { \key b \major }

violine = {
 \set Staff.instrumentName = \markup {\combine \hspace #20.0 "This is
a long name" }
 \clef treble
 <<
 \Key
 \time 4/4
 \relative c'' {
  c4 d b c
  d2 c
 }
 >>
}

sopran = {
 \set Staff.instrumentName = \markup {\combine \hspace #20.0 "Shortname" }
 \clef soprano
 <<
  \Key
  \relative c'' {
   d2 g
   a4 f fis g
  }
 >>
}

bc = {
 \set Staff.instrumentName = \markup {\combine \hspace #20.0 "Name" }
 \clef bass
 <<
 \Key
 \relative c {
  c2 d
  e1
 }
 >>
}

\score {
 <<
  \new StaffGroup <<
    \new Staff = "Violine" \violine
  >>
  \new Voice = "Sopran" \sopran
  \new Staff = "b.c." \bc
 >>
 \layout {
 indent = 5 \cm}
}


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to