Greetings,

The accompanying .ly file produces the result in image 'extra-staves-1.png'.
Can someone explain how I can modify the .ly file to obtain the result in image 'extra-staves-2.png', please?

The .ly file was made using aspects of the 'Adding an extra staff (2)' snippet in the Snippet Repository, as well as other bits from the learning and notation manuals.

My 'client' asked for the reduced size bracket at the beginning of the single staff. (The client is always right) but wants the curly braces at the beginning of the 'choir' part.

Many thanks

Bill

<<attachment: extra-staves-1.png>>

<<attachment: extra-staves-2.png>>

\version "2.13.10"

\header {
title = "Extra-Staves" 
tagline = " "
	}
	
stemOn = { \revert Staff.Stem #'transparent }
stemOff = { \override Staff.Stem #'transparent = ##t }	

\paper {
#(set-paper-size "a4")
left-margin = 30\mm
right-margin = 20\mm	
top-margin = 10\mm
ragged-bottom = ##t
ragged-last-bottom = ##t

	}
	
#(set-global-staff-size 16)

global =
{
\key g \major
\override Staff.TimeSignature #'style = #'()
 }
 AllT = 
\relative c'
{
\time 2/4
\once \override TextScript #'outside-staff-padding = #1.5
  d'2^\markup  {  \hspace #-8  \bold  \large "All" }
 d4  d d2^\fermata
\bar "||" 
 }
 Twords = \lyricmode
 { A B C D }
 
 sopranoT = 
 \relative c'
 {
 \once \override TextScript #'outside-staff-padding = #1.5	 
 d'2^\markup  {  \vspace #1 \hspace #-7  \bold  \large "Choir" } d4 d4 d2^\fermata	 
 }
 altoT = 
 \relative c'
 {
 g'2 g4 g4 g2	 
 }
 tenorT =
 
 \relative c
 {
 	 \clef bass
 d'2 d4 d4 d2	
 }
 bassT =
 \relative c
 {
 g'2 g4 g4 g2_\fermata	 
 }
\score {  
 \new StaffGroup <<
      % Must be lower than the actual number of staff lines
  \override StaffGroup.SystemStartBracket #'collapse-height = #4
  \override Score.SystemStartBar #'collapse-height = #4

\new Staff 
\with {   \remove Time_signature_engraver }
\relative c'
 {
 	\override Staff.BarLine #'transparent = ##t
\stemOff
\key g \major
\time 4/4
\once \override TextScript #'outside-staff-padding = #1.5
  g'2 s g4( s g) s g2 s
\override Staff.BarLine #'transparent = ##f
\bar "||" 

<<
 
 \new Voice = "sopranos" {   << \stemOn   \AllT >> }
 \new Lyrics \lyricsto sopranos \Twords
 
 \new PianoStaff 
%\new StaffGroup
  <<
  \new Staff
  <<
  \new Voice = sopranos { << \voiceOne \global \sopranoT >> }
  \new Lyrics = sopranos { s1 }
  \new Voice = alto { << \voiceTwo \global \altoT >> }
  	  >>
 \new Staff  
 << 
 \new Voice = tenor { <<  \voiceOne \global \tenorT >> }
 \new Voice =bass { <<  \voiceTwo \global \bassT >> }
  	  >>
  	
  	  \context Lyrics = sopranos \lyricsto sopranos \Twords
 >>
 
 >>
 }
 \addlyrics
 { A B C }
 >>
 
 
\layout {
\context { \PianoStaff \accepts "Lyrics" }
ragged-right = ##f
indent = 0
  }
 }
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to