X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fnotation%2Fpercussion.itely;h=f325de0abc5131908dcec3e823c8904d1b4b4306;hb=2055f35c47a045a50a01ff4dba8524322cfc3b48;hp=7c3a27bd8670f3219971f6a13e11f82a4a23058a;hpb=f5387a5c986393052bc9443ebd9b6cd9f14c6887;p=lilypond.git diff --git a/Documentation/notation/percussion.itely b/Documentation/notation/percussion.itely index 7c3a27bd86..f325de0abc 100644 --- a/Documentation/notation/percussion.itely +++ b/Documentation/notation/percussion.itely @@ -7,7 +7,7 @@ Guide, node Updating translation committishes.. @end ignore -@c \version "2.12.0" +@c \version "2.14.0" @node Percussion @section Percussion @@ -35,7 +35,7 @@ also be used to show the rhythms of melodies. @node References for percussion @unnumberedsubsubsec References for percussion -TODO add more. +@c TODO add more references. @itemize @@ -94,7 +94,7 @@ note names may be found in @ref{Percussion notes}. @cindex percussion clef Note that the normal notation of pitches (such as @code{cis4}) in a -@code{DrumStaff} context will cause an error message. Percussion clefs +@code{DrumStaff} context will cause an error message. Percussion clefs are added automatically to a @code{DrumStaff} context but they can also be set explicitly. Other clefs may be used as well. @@ -119,7 +119,7 @@ Notation Reference: @ref{Percussion notes}. File: -@file{ly/@/drumpitch@/-init@/.ly} +@file{ly/drumpitch-init.ly} Snippets: @rlsr{Percussion}. @@ -249,7 +249,6 @@ mus = \drummode { \remove Time_signature_engraver \override Stem #'transparent = ##t \override Stem #'Y-extent = ##f - \override VerticalAxisGroup #'minimum-Y-extent = #'(-4.0 . 5.0) } \mus \new Lyrics \nam >> @@ -415,8 +414,8 @@ woodstaff = { % It also defines the positions of the two lines. \override Staff.StaffSymbol #'line-positions = #'(-2 3) - % This is neccessary; if not entered, the barline would be too short! - \override Staff.BarLine #'bar-size = #3 + % This is necessary; if not entered, the barline would be too short! + \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5) } \new DrumStaff { @@ -434,7 +433,7 @@ woodstaff = { @end lilypond Note that in this special case the length of the barline must -altered with @code{\override Staff.BarLine #'bar-size #number}. +altered with @code{\override Staff.BarLine #'bar-extent #'(from . to)}. Otherwise it would be too short. And you have also to define the positions of the two stafflines. For more information about these delicate things have a look at @ref{Staff symbol}. @@ -446,7 +445,7 @@ A tambourine, entered with @q{tamb}: tambustaff = { \override Staff.StaffSymbol #'line-positions = #'( 0 ) - \override Staff.BarLine #'bar-size = #3 + \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5) \set DrumStaff.instrumentName = #"Tambourine" } @@ -472,7 +471,7 @@ Music for Tam-Tam (entered with @q{tt}): tamtamstaff = { \override Staff.StaffSymbol #'line-positions = #'( 0 ) - \override Staff.BarLine #'bar-size = #3 + \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5) \set DrumStaff.instrumentName = #"Tamtam" } @@ -495,7 +494,7 @@ Two different bells, entered with @q{cb} (cowbell) and @q{rb} (ridebell) bellstaff = { \override DrumStaff.StaffSymbol #'line-positions = #'(-2 3) \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums) - \override Staff.BarLine #'bar-size = #3 + \override Staff.BarLine #'bar-extent = #'(-1.5 . 1.5) \set DrumStaff.instrumentName = #"Different Bells" } @@ -589,7 +588,7 @@ Ghost notes for drums and percussion may be created using the However, the default @code{\drummode} does not include the @code{Parenthesis_engraver} plugin which allows this. -@lilypond[quote,ragged-right,verbatim,fragment] +@lilypond[quote,ragged-right,verbatim] \new DrumStaff \with { \consists "Parenthesis_engraver" }