Voices can switch automatically between the top and the bottom
staff. The syntax for this is
@example
- \autochange Staff \context Voice @{ @dots{}@var{music}@dots{} @}
+ \autochange \context Voice @{ @dots{}@var{music}@dots{} @}
@end example
The two staffs of the piano staff must be named @code{up} and
@code{down}.
@lilypond[verbatim,singleline,quote]
\score { \notes \context PianoStaff <<
\context Staff = "up" {
- \autochange Staff \context Voice = VA << \relative c' {
- g4 a b c d r4 a g } >> }
+ \autochange \new Voice \relative c' {
+ g4 a b c d r4 a g } }
\context Staff = "down" {
\clef bass
s1*2
quality output, staff switches should be specified manually.
+
@node Manual staff switches
@subsection Manual staff switches
The syntax for part combining is
@example
- \newpartcombine @var{musicexpr1} @var{musicexpr2}
+ \partcombine @var{musicexpr1} @var{musicexpr2}
@end example
The music expressions will be interpreted as @internalsref{Voice}
polyphony:
@lilypond[verbatim,singleline,fragment,relative 1]
- \new Staff \newpartcombine
+ \new Staff \partcombine
{
g a( b) r
}
@lilypond[verbatim,singleline,fragment]
\new Staff <<
\property Staff.soloADue = ##f
- \newpartcombine
+ \partcombine
{
g a( b) r
}
In @code{soloADue} mode, when the two voices play the same notes on and
off, the part combiner may typeset @code{a2} more than once in a
-measure:
+measure.
Internals: for modern clefs, see @ref{Clef}.
+@refbugs
+
+The mensural g clef is temporarily mapped to the Petrucci g clef,
+until a new mensural g clef will have been implemented.
+
@node Ancient flags
\include "gregorian-init.ly"
\score {
<<
- \context VaticanaVoice {
+ \context VaticanaVoice = "cantus" {
\property Score.BarNumber \set #'transparent = ##t
\notes {
- \[ c'( c' \flexa a \] \[ a \flexa \deminutum g) \] f \divisioMinima
- \[ f( \pes a c' c' \pes d') \] c' \divisioMinima \break
- \[ c'( c' \flexa a \] \[ a \flexa \deminutum g) \] f \divisioMinima
+ \[ c'\melisma c' \flexa a \] \[ a \flexa \deminutum g\melismaEnd \] f \divisioMinima
+ \[ f\melisma \pes a c' c' \pes d'\melismaEnd \] c' \divisioMinima \break
+ \[ c'\melisma c' \flexa a \] \[ a \flexa \deminutum g\melismaEnd \] f \divisioMinima
}
}
- \lyricsto "" \new LyricsVoice \lyrics {
+ \lyricsto "cantus" \new LyricsVoice \lyrics {
San- ctus, San- ctus, San- ctus
} >>