X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fnotation%2Fpitches.itely;h=60fb0cc443d1763bedcaefd13ad1aaa08a56cf8a;hb=dd0a17d22eafb4551e849607ded6179e8e95fa57;hp=e11a4fb1f308b0e36f658aa73eefce03dab5b51a;hpb=02716bfa1403a6ede81a80e0a10fe782d3dd86c3;p=lilypond.git diff --git a/Documentation/notation/pitches.itely b/Documentation/notation/pitches.itely index e11a4fb1f3..60fb0cc443 100644 --- a/Documentation/notation/pitches.itely +++ b/Documentation/notation/pitches.itely @@ -1180,13 +1180,60 @@ c2 c The pitches are displayed as if the numeric argument were given without parentheses/brackets. -@snippets -@lilypondfile[verbatim,quote,texidoc,doctitle] -{forcing-a-clef-symbol-to-be-displayed.ly} +By default, a clef change taking place at a line break will cause +the new clef symbol to be printed at the end of the previous line, +as a @emph{warning} clef, as well as the beginning of the next. +This @emph{warning} clef can be suppressed. -@lilypondfile[verbatim,quote,texidoc,doctitle] -{keep-change-clefs-full-sized.ly} +@lilypond[verbatim,quote,relative=1] +\clef treble { c2 c } \break +\clef bass { c2 c } \break +\clef alto + \set Staff.explicitClefVisibility = #end-of-line-invisible + { c2 c } \break + \unset Staff.explicitClefVisibility +\clef bass { c2 c } \break +@end lilypond +By default, a clef that has previously been printed will not be +re-printed if the same @code{\clef} command is issued again and +will be ignored. The the command +@code{\set Staff.forceClef = ##t} changes this behaviour. + +@lilypond[verbatim,quote,relative=1] + \clef treble + c1 + \clef treble + c1 + \set Staff.forceClef = ##t + c1 + \clef treble + c1 +@end lilypond + +When there is a manual clef change, the glyph of the changed clef +will be smaller than normal. This behaviour can be overridden. + +@lilypond[verbatim,quote,relative=1] + \clef "treble" + c1 + \clef "bass" + c1 + \clef "treble" + c1 + \override Staff.Clef.full-size-change = ##t + \clef "bass" + c1 + \clef "treble" + c1 + \revert Staff.Clef.full-size-change + \clef "bass" + c1 + \clef "treble" + c1 +@end lilypond + +@snippets @lilypondfile[verbatim,quote,texidoc,doctitle] {tweaking-clef-properties.ly} @@ -1199,7 +1246,7 @@ Notation Reference: @ref{Formatting cue notes}. Installed Files: -@file{../scm/parser-clef.scm}. +@file{scm/parser-clef.scm}. Snippets: @rlsr{Pitches}. @@ -1211,10 +1258,10 @@ Internals Reference: @rinternals{clef-interface}. @knownissues -Ottavation numbers attached to clefs are treated as separate grobs. So -any @code{\override} done to the @var{Clef} will also need to be -applied, as a separate @code{\override}, to the @var{ClefModifier} -grob. +Ottavation numbers attached to clefs are treated as separate +grobs. So any @code{\override} done to the @var{Clef} will also +need to be applied, as a separate @code{\override}, to the +@var{ClefModifier} grob. @lilypond[fragment,quote,verbatim,relative=1] \new Staff \with { @@ -1336,6 +1383,7 @@ position. @lilypondfile[verbatim,quote,texidoc,doctitle] {non-traditional-key-signatures.ly} + @seealso Music Glossary: @rglos{church mode}, @@ -1394,6 +1442,9 @@ a2 b @lilypondfile[verbatim,quote,texidoc,doctitle] {adding-an-ottava-marking-to-a-single-voice.ly} +@lilypondfile[verbatim,quote,texidoc,doctitle] +{modifying-the-ottava-spanner-slope.ly} + @seealso Music Glossary: @rglos{octavation}.