From: Graham Percival Date: Tue, 11 Mar 2008 00:05:28 +0000 (-0700) Subject: Update from Jay. X-Git-Tag: release/2.11.43-1~40^2~15 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=06a3bd331ae847c7f930f5f5471b7e2c7b8dcafb;p=lilypond.git Update from Jay. --- diff --git a/Documentation/user/editorial.itely b/Documentation/user/editorial.itely index c13a4fbac0..d76764f578 100644 --- a/Documentation/user/editorial.itely +++ b/Documentation/user/editorial.itely @@ -244,7 +244,6 @@ If @code{x11-color} cannot make sense of the parameter then the color returned defaults to black. @lilypond[quote,ragged-right,verbatim,fragment,relative=2] - \override Staff.StaffSymbol #'color = #(x11-color 'SlateBlue2) \set Staff.instrumentName = \markup { \with-color #(x11-color 'navy) "Clarinet" @@ -260,28 +259,25 @@ gis a % this is deliberate nonsense; note that the stems remain black \override Stem #'color = #(x11-color 'Boggle) b2 cis - @end lilypond You can get exact RGB colors by specifying the rgb-color number. @lilypond[quote,ragged-right,verbatim,fragment,relative=2] - - \override Staff.StaffSymbol #'color = #(x11-color 'SlateBlue2) - \set Staff.instrumentName = \markup { - \with-color #(x11-color 'navy) "Clarinet" - } +\override Staff.StaffSymbol #'color = #(x11-color 'SlateBlue2) +\set Staff.instrumentName = \markup { + \with-color #(x11-color 'navy) "Clarinet" +} - %black - \override Stem #'color = #(rgb-color 0 0 0) - gis8 a - % white - \override Stem #'color = #(rgb-color 1 1 1) - gis8 a - % dark blue - \override Stem #'color = #(rgb-color 0 0 0.5) - gis4 a - +%black +\override Stem #'color = #(rgb-color 0 0 0) +gis8 a +% white +\override Stem #'color = #(rgb-color 1 1 1) +gis8 a +% dark blue +\override Stem #'color = #(rgb-color 0 0 0.5) +gis4 a @end lilypond @seealso @@ -317,13 +313,13 @@ the music event. This only functions inside chords; to parenthesize a single note it must be enclosed with @code{<>} as if it is a chord. -@lilypond[relative=2,fragment,verbatim,ragged-right] +@lilypond[quote,relative=2,fragment,verbatim,ragged-right] c2 < \parenthesize d> @end lilypond Non-note objects may be parenthesized as well. -@lilypond[relative=2,fragment,verbatim,ragged-right] +@lilypond[quote,relative=2,fragment,verbatim,ragged-right] < c d g >2-\parenthesize -. d @end lilypond @@ -396,14 +392,12 @@ The following example demonstrates its use. @lilypond[quote,verbatim,fragment,ragged-right,relative=2] \new Voice \with { \consists "Balloon_engraver" } - { - \time 2/4 - \balloonGrobText #'Stem #'(3 . 4) \markup { "I'm a Stem" } - a8 - 4. - } - +{ + \time 2/4 + \balloonGrobText #'Stem #'(3 . 4) \markup { "I'm a Stem" } + a8 + 4. +} @end lilypond There are two music functions, @code{balloonGrobText} and @@ -427,7 +421,7 @@ Internals Reference: @internalsref{text-balloon-interface}. Vertical lines can be drawn between staves synchronized with the notes. -@lilypond[ragged-right,quote,verbatim] +@lilypond[quote,verbatim,ragged-right] \layout { \context { \Staff @@ -465,7 +459,7 @@ notes. To change the grid lines use \override. -@lilypond[ragged-right,quote,verbatim] +@lilypond[quote,verbatim,ragged-right] \layout { \context { \Staff @@ -522,20 +516,18 @@ brackets. To use this, add the @code{Horizontal_bracket_engraver} to the @code{Staff} context. A bracket is started with @code{\startGroup} and closed with @code{\stopGroup}. -@lilypond[quote,ragged-right,verbatim] -\score { - \relative c'' { - c4\startGroup\startGroup - c4\stopGroup - c4\startGroup - c4\stopGroup\stopGroup - } - \layout { - \context { - \Staff \consists "Horizontal_bracket_engraver" - } +@lilypond[quote,verbatim,ragged-right] +\layout { + \context { + \Staff \consists "Horizontal_bracket_engraver" } } +\relative c'' { + c4\startGroup\startGroup + c4\stopGroup + c4\startGroup + c4\stopGroup\stopGroup +} @end lilypond @seealso