Next: , Previous: Changing staff automatically, Up: Common notation for keyboards


Staff-change lines

Lorsqu'une voix change de portée, il est possible d'imprimer automatiquement une ligne reliant les notes, en faisant appel à la commande \showStaffSwitch :

\new PianoStaff <<
  \new Staff = "one" {
    \showStaffSwitch
    c1
    \change Staff = "two"
    b2 a
  }
  \new Staff = "two" {
    \clef bass
    s1*2
  }
>>

[image of music]

Predefined commands

\showStaffSwitch, \hideStaffSwitch.

See also

Extraits de code : Keyboards.

Référence des propriétés internes : Note_head_line_engraver, VoiceFollower.

Other languages: English, español, deutsch.