[ << Spacing issues ] | [Top][Contents][Index][ ? ] | [ Changing defaults >> ] | ||
[ < Horizontal spacing overview ] | [ Up : Horizontal spacing ] | [ Changing horizontal spacing > ] |
4.5.2 New spacing area
New sections with different spacing parameters can be started with
newSpacingSection
. This is useful when there are
sections with a different notions of long and short notes.
In the following example, the time signature change introduces a new section, and hence the 16ths notes are automatically spaced slightly wider.
\relative c' { \time 2/4 c4 c8 c c8 c c4 c16[ c c8] c4 \newSpacingSection \time 4/16 c16[ c c8] }
The \newSpacingSection
command creates a new
SpacingSpanner
object at that musical moment.
If the automatic spacing adjustments do not give the required spacing,
manual \override
s may be applied to its properties. These must
be applied at the same musical moment as the \newSpacingSection
command itself. They will then affect the spacing of all the following
music until the properties are changed in a new spacing section, for
example,
\relative c' { \time 4/16 c16[ c c8] \newSpacingSection \override Score.SpacingSpanner.spacing-increment = #2 c16[ c c8] \newSpacingSection \revert Score.SpacingSpanner.spacing-increment c16[ c c8] }
See also
Snippets: Spacing.
Internals Reference: SpacingSpanner.
[ << Spacing issues ] | [Top][Contents][Index][ ? ] | [ Changing defaults >> ] | ||
[ < Horizontal spacing overview ] | [ Up : Horizontal spacing ] | [ Changing horizontal spacing > ] |
Other languages: deutsch, español, français, italiano, 日本語.
About automatic language selection.