From fd58027d3036f1f7368aba7379783c767ce18316 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Sat, 10 Nov 2007 13:26:52 -0800 Subject: [PATCH] Final pitch update (for now). --- Documentation/user/pitches.itely | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/Documentation/user/pitches.itely b/Documentation/user/pitches.itely index 2e2ec8cbaa..14d6c172a8 100644 --- a/Documentation/user/pitches.itely +++ b/Documentation/user/pitches.itely @@ -1097,8 +1097,12 @@ Common rules for typesetting accidentals have been placed in a function. This function is called as follows @funindex set-accidental-style + @example -#(set-accidental-style 'STYLE) +\new Staff << + #(set-accidental-style 'voice) + @{ @dots{} @} +>> @end example @c TODO: check the context stuff below @@ -1106,18 +1110,15 @@ function. This function is called as follows @c -the default contexts as specified in @c scm/music-function.scm seem to be different -vv -Optionally, the function can take two arguments: the name of the -accidental style, and an optional argument that denotes the context that -should be changed: +If no context name is supplied, the accidental style applies to +the @code{Staff} by default. Optionally, the function can take +the context for which the style should be changed as a second +argument: @example -#(set-accidental-style 'STYLE #('CONTEXT#)) +#(set-accidental-style 'STYLE #('CONTEXT)) @end example -If no context name is supplied, @code{Staff} is the default, -but you may wish to apply the accidental style to a single @code{Voice} -instead. - The following accidental styles are supported. To demonstrate each style, we use the following example: @@ -1393,7 +1394,7 @@ musicB = { \clef bass \new Voice { \voiceTwo \relative { < fis, a cis>4 @funindex no-reset accidental style This is the same as @code{default} but with accidentals lasting -@q{forever} and not only until the next measure: +@q{forever} and not only within the same measure: @lilypond[quote,ragged-right] musicA = { << \relative { cis'8 fis, d'4 8 f bis4 | cis2. 4 | } \\ @@ -1697,5 +1698,3 @@ Internals Reference: @internalsref{NoteHead}. - - -- 2.39.5