X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fnotation%2Fkeyboards.itely;h=4ee9cee885fa999787bc848381a0dfd62dfc8657;hb=0ea80a5e850c6114d1ba7dc4cfd81d5a45d9604a;hp=e323958e52436d551eb9cfe2f2a94b27cc0b9509;hpb=6c2ef51262462ec2758d4c1ebf722be1119453c2;p=lilypond.git diff --git a/Documentation/notation/keyboards.itely b/Documentation/notation/keyboards.itely index e323958e52..4ee9cee885 100644 --- a/Documentation/notation/keyboards.itely +++ b/Documentation/notation/keyboards.itely @@ -7,7 +7,7 @@ Guide, node Updating translation committishes.. @end ignore -@c \version "2.14.0" +@c \version "2.17.6" @node Keyboard and other multi-staff instruments @section Keyboard and other multi-staff instruments @@ -112,7 +112,7 @@ as shown in @rlearning{Other uses for tweaks}. @c @snippets @c @lilypondfile[verbatim,quote,texidoc,doctitle] @c {forcing-visibility-of-systems-with-multi-bar-rests-when-using-\RemoveEmptyStaffContext.ly} -@c http://lsr.dsi.unimi.it/LSR/Item?u=1&id=312 +@c http://lsr.di.unimi.it/LSR/Item?u=1&id=312 @seealso Learning Manual: @@ -206,17 +206,20 @@ Overlapping notation can result when voices cross staves: \new Staff = "up" { \voiceOne % Make space for fingering in the cross-staff voice - \once\override DynamicLineSpanner #'staff-padding = #3.4 - e''2\p\< d''\> s1*0\! + \once\override DynamicLineSpanner.staff-padding = #4 + e''2\p\< d''\> + c''1\! } \new Staff = "down" << { \clef bass s4. e,8\rest g,2\rest + c1 } \\ { c8\( g c' \change Staff = "up" e' g' b'-3 a' g'\) + f'1 } >> >> @@ -414,40 +417,21 @@ Internals Reference: @cindex cross staff chords @funindex Stem -@funindex cross-staff -@funindex length -@funindex flag-style +@funindex \crossStaff +@funindex \autoBeamOff +@funindex Span_stem_engraver -Chords that cross staves may be produced: +Chords that cross staves may be produced using the +@code{Span_stem_engraver}. Care must be taken to ensure that +automatic beams do not beam the notes on one staff when it’s not +required on the other. -@lilypond[verbatim,quote] -\new PianoStaff << - \new Staff { - \relative c' { - f8 e4 d8 d f e4 - } - } - \new Staff { - \relative c' { - << { - \clef bass - % stems may overlap the other staff - \override Stem #'cross-staff = ##t - % extend the stems to reach the other staff - \override Stem #'length = #12 - % do not print extra flags - \override Flag #'style = #'no-flag - % prevent beaming as needed - a8 g4 f8 f bes\noBeam g4 - } - \\ - { - f,2 bes4 c - } >> - } - } ->> -@end lilypond +@lilypondfile[verbatim,quote] +{cross-staff-stems.ly} + +For the time being, this engraver can not be specified by its name in +double quotes, but rather prefixing its name with a hash symbol +@code{#}, due to the way it is implemented. @snippets @lilypondfile[verbatim,quote,texidoc,doctitle] @@ -596,7 +580,7 @@ come into use to simplify the performance instructions. @snippets @lilypondfile[verbatim,quote,texidoc,doctitle] -{accordion-discant-symbols.ly} +{accordion-registers.ly} @seealso Snippets: