lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Divisi Staff with instrument name at the left


From: Caio Barros
Subject: Re: Divisi Staff with instrument name at the left
Date: Sat, 17 Dec 2011 22:54:59 -0200

I want to insist in this subject.
I would like also to add a StaffGroup aligned to a staff and make the brackets appear right before the begining of the staff group instead of the left of the page. And naturally include the instrument names at the left of the new staves.

\new StaffGroup <<
 \new Staff = "Violas" \relative c' {
   \set Staff.instrumentName = "Vla."
  \clef C
  c c c c
 }
\new Staff = "Violoncellos" \relative c {
  \set Staff.instrumentName = "Vc."
  \clef F
  c c c c
  <<
    \new StaffGroup \with { alignAboveContext = "Violoncellos" } <<
      \new Staff \with { \remove "Time_signature_engraver" }
%      \set Staff.instrumentName = "Solo Vc. 1"  % <- This doesn't seems to work and makes the compilation fail, so I comented.
      { \clef F ees }
      \new Staff \with { \remove "Time_signature_engraver" }
%       \set Staff.instrumentName = "Solo Vc. 2"
      { \clef F d }
      \new Staff \with { \remove "Time_signature_engraver" }
%       \set Staff.instrumentName = "Solo Vc. 3"
      { \clef F cis }
    >>
    { c^"a 6" }
  >>
}
>>

I'm sending two png files of the result I want. I made both by compiling the file in svg and editing in inkscape.
bye!

2011/12/14 Caio Barros <address@hidden>
I'm trying to write a divisi staff that appears at the middle of the system and I want to write the instrument name at the left of the beginning of the staff.
Is there a way to do that?

Example: I want to write "Cl. 1" a the left of the inserted staff in the code below:

\new Staff = "Clarinets" \relative a'' {
  \set Staff.instrumentName = "Cl. 1 & 2"
  <a d>4
  <<
    \new Staff \with { alignAboveContext = "Clarinets" }
    { \pitchedTrill g2. \startTrillSpan a s4 \stopTrillSpan }
    { \pitchedTrill a2.\startTrillSpan gis s4 \stopTrillSpan }
  >>
}

thanks!

Attachment: example.png
Description: PNG image

Attachment: example2.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]