Hello.

> If I understand you correctly, you have for example one
> stave with music for the full score and you want it
> accompanied by a number of empty staves, right?
>

You did understand right :-)
 
> Then, the easiest I can think of is so include an invisible
> copy of the same music also in the other staves, 

"\hideNotes" indeed; thanks.

In the output from the attached file, the numbering of the scale
degrees (as lyrics) and the bass figures are stacked below the
second ("correction") set of two staves, whereas I would rather
have them below the first set ("assignment").

How can I achieve that?


Best regards,
Gilles
\version "2.6.0"

soprano = \relative c'' {
  \time 4/4
%
  f4
%
  \bar "|."
}

alto = \relative c'' {
%
  a4
}

tenor = \relative c {
%
  d'4
}

basse =  \relative c {
%
  \override Score.RehearsalMark #'padding = #2.0
  \mark \markup { "RĂ© majeur" }
%
  d4 
}

degrees = \lyricmode {
  I 
}

realizationFigures = \figuremode {
%
  \override FiguredBass.BassFigure #'direction = #-1
  \override FiguredBass.BassFigure #'kern = #-0.5
%
  <5 3>4 
}

upper = \context Staff = "Upper" {
  \clef G
  \key c \major
  <<
    \context Voice = "Soprano" { \voiceOne \soprano }
    \context Voice = "Alto" { \voiceTwo \alto }
  >>
}

lower = \context Staff = "Lower" {
  \set Staff.instrument = \markup{ \column { " " { "C.F." } } \hspace #2 }
  \set Staff.instr = \markup{ \column { " " { "C.F." } } \hspace #2 }
  \clef F
  \key c \major
  <<
    \context Voice = "Tenor" { \voiceOne \tenor }
    \context Voice = "Basse" { \voiceTwo \basse }
    \lyricsto "Basse" \new Lyrics \degrees
    \new FiguredBass { \realizationFigures }
  >>
}

pianoStaff = <<
  \context PianoStaff = "Piano" <<
    \upper
    \lower
  >>
>>

upperCorrection = \context Staff = "UpperCorrection" {
  \clef G
  \key c \major
  <<
    \context Voice = "SopranoCorrection" { \hideNotes \voiceOne \soprano }
    \context Voice = "AltoCorrection" { \hideNotes \voiceTwo \alto }
  >>
}

lowerCorrection = \context Staff = "LowerCorrection" {
  \set Staff.instrument = \markup{ \column { " " { "C.F." } } \hspace #2 }
  \set Staff.instr = \markup{ \column { " " { "C.F." } } \hspace #2 }
  \clef F
  \key c \major
  <<
    \context Voice = "TenorCorrection" { \hideNotes \voiceOne \tenor }
    \context Voice = "BasseCorrection" { \voiceTwo \basse }
  >>
}

pianoStaffCorrection =  <<
  \context PianoStaff = "PianoCorrection" <<
    \upperCorrection
    \lowerCorrection
  >>
>>

doublePianoStaff = <<
  \pianoStaff
  \pianoStaffCorrection
>>

\score {
  \doublePianoStaff
  \layout  {}
}

Attachment: test2.pdf
Description: Adobe PDF document

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

Reply via email to