X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fnotation%2Fchanging-defaults.itely;h=8457f6dba0aaa65b2739ec73e5b2b489773c716d;hb=c991eb5d49a1b36c81a890c4574f75d8834bb9a0;hp=c8f9ebc510c3ee2f5b993291025278bb2a8a37ff;hpb=8c1840ca28a05b3dad8d595e04d03779ba0a286a;p=lilypond.git diff --git a/Documentation/notation/changing-defaults.itely b/Documentation/notation/changing-defaults.itely index c8f9ebc510..8457f6dba0 100644 --- a/Documentation/notation/changing-defaults.itely +++ b/Documentation/notation/changing-defaults.itely @@ -1005,8 +1005,26 @@ command: @} @end example -Since such a @q{context modification} is specified inside of -music, it will affect @emph{all} outputs (typesetting @emph{and} +Alternatively, if the music is being entered using the short form of the +input mode-specifying commands, e.g. @code{\chords} rather than +@code{\chordmode}, the @code{\with} command must be placed immediately +after the mode-specifying command: + +@example +\chords \with @{ [context settings for this (implicit) context instance only] @} +@{ + @dots{} +@} +@end example + +@noindent +as it is the implicit context created by these short forms which should +be modified. The same consideration applies to the other input +mode-specifying short forms (@code{\drums}, @code{\figures}), see +@ref{Input modes}. + +Since context modifications specified in @code{\with} blocks are inside +music, they will affect @emph{all} outputs (typesetting @emph{and} Midi) as opposed to changes within an output definition. The following types of settings may be specified: @@ -1082,6 +1100,10 @@ A predefined command such as @code{\dynamicUp} @end itemize +@seealso +Notation Reference: +@ref{Input modes} + @node Order of precedence @unnumberedsubsubsec Order of precedence