X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fnotation%2Fchanging-defaults.itely;h=4171c5b1e8692334a852c5c350283eb6111f2e89;hb=01097a2a0d059f418cf7803d6c83c41ecc639110;hp=bef2c786692eba3d22f216b1ce864d1230c2c90a;hpb=a755ec2e231ea3ce0b68ff148e3f42413a91c317;p=lilypond.git diff --git a/Documentation/notation/changing-defaults.itely b/Documentation/notation/changing-defaults.itely index bef2c78669..4171c5b1e8 100644 --- a/Documentation/notation/changing-defaults.itely +++ b/Documentation/notation/changing-defaults.itely @@ -123,8 +123,8 @@ Contexts are arranged hierarchically: @node Score - the master of all contexts @unnumberedsubsubsec Score - the master of all contexts -This is the top level notation context. No other context can -contain a Score context. By default the Score context handles +This is the top level notation context. No other context can +contain a Score context. By default the Score context handles the administration of time signatures and makes sure that items such as clefs, time signatures, and key-signatures are aligned across staves. @@ -140,7 +140,7 @@ executed. @strong{@emph{StaffGroup}} Groups staves while adding a bracket on the left side, grouping -the staves together. The bar lines of the contained staves are +the staves together. The bar lines of the contained staves are connected vertically. @code{StaffGroup} only consists of a collection of staves, with a bracket in front and spanning bar lines. @@ -645,26 +645,32 @@ time signature. @cindex polymetric scores @cindex Time signatures, multiple -@lilypond[quote,relative=1,ragged-right,verbatim,fragment] -\new Score \with { - \remove "Timing_translator" - \remove "Default_bar_line_engraver" -} << +@lilypond[quote,verbatim] +\score { + << + \new Staff \with { + \consists "Timing_translator" + \consists "Default_bar_line_engraver" + } { + \time 3/4 + c4 c c c c c + } \new Staff \with { \consists "Timing_translator" \consists "Default_bar_line_engraver" } { - \time 3/4 + \time 2/4 c4 c c c c c } - \new Staff \with { - \consists "Timing_translator" - \consists "Default_bar_line_engraver" - } { - \time 2/4 - c4 c c c c c - } >> +\layout { + \context { + \Score + \remove "Timing_translator" + \remove "Default_bar_line_engraver" + } + } +} @end lilypond @knownissues @@ -2320,7 +2326,7 @@ are collectively called @qq{spanners}, and have special properties to control their appearance and behaviour. Some of these properties are common to all spanners; others are restricted to a sub-set of the spanners. -All spanners support the @code{spanner-interface}. A few, esentially +All spanners support the @code{spanner-interface}. A few, essentially those that draw a straight line between the two objects, support in addition the @code{line-spanner-interface}. @@ -2401,7 +2407,7 @@ a For some layout objects, the @code{minimum-length} property becomes effective only if the @code{set-spacing-rods} procedure is called explicitly. To do this, the @code{springs-and-rods} property should -be set to @code{ly:spanner::set-spacing-rods}. For example, +be set to @code{ly:spanner::set-spacing-rods}. For example, the minimum length of a glissando has no effect unless the @code{springs-and-rods} property is set: @@ -2448,7 +2454,7 @@ a \< a a a a \! a a a @end lilypond This property is not effective for all spanners. For example, -seting it to @code{#t} has no effect on slurs or phrasing slurs +setting it to @code{#t} has no effect on slurs or phrasing slurs or on other spanners for which terminating on the bar line would not be meaningful. @@ -2494,7 +2500,7 @@ In case of a line break, the values for the end points are specified by the @code{left-broken} and @code{right-broken} sub-lists of @code{bound-details}. For example: -@lilypond[relative=2,ragged-right,verbatim,fragment] +@lilypond[relative=2,ragged-right,verbatim,quote] \override Glissando #'breakable = ##t \override Glissando #'(bound-details right-broken Y) = #-3 c1 \glissando \break @@ -2549,7 +2555,7 @@ end-point, centered on the line, as defined by the @code{X} and or @code{stencil-offset} will move the symbol at the edge vertically relative to the end point of the line: -@lilypond[relative=1,fragment,verbatim] +@lilypond[relative=1,quote,verbatim] \override TextSpanner #'(bound-details left stencil-align-dir-y) = #-2 \override TextSpanner @@ -2963,7 +2969,7 @@ between them, in the style requested. Here is an example showing the different line styles available, and how to tune them. -@lilypond[relative=2,ragged-right,verbatim,fragment] +@lilypond[relative=2,ragged-right,verbatim,quote] d2 \glissando d'2 \once \override Glissando #'style = #'dashed-line d,2 \glissando d'2 @@ -2980,7 +2986,7 @@ on-the-fly for every graphic object, but it is possible to override these: @c TODO Complete -@lilypond[relative=2,ragged-right,verbatim,fragment] +@lilypond[relative=2,ragged-right,verbatim,quote] e2 \glissando f \once \override Glissando #'(bound-details right Y) = #-2 e2 \glissando f