Breaking vertical alignment of dynamics and textscripts: Difference between revisions
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
mNo edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
By default, LilyPond uses <code>DynamicLineSpanner</code> grobs to vertically align successive dynamic objects like hairpins and dynamic text. However, this is not always wanted. By inserting <code>\breakDynamicSpan</code>, which ends the alignment spanner prematurely, this vertical alignment can be avoided. | By default, LilyPond uses <code>DynamicLineSpanner</code> grobs to vertically align successive dynamic objects like hairpins and dynamic text. However, this is not always wanted. By inserting <code>\breakDynamicSpan</code>, which ends the alignment spanner prematurely, this vertical alignment can be avoided. | ||
<lilypond version="2.24" | See also snippet [[Breaking horizontal alignment of dynamics and textscripts]]. | ||
<lilypond version="2.24"> | |||
{ g1\< | | { g1\< | | ||
e''\f\> | | e''\f\> | | ||
| Line 9: | Line 11: | ||
e''\breakDynamicSpan\f\> | | e''\breakDynamicSpan\f\> | | ||
c'\p } | c'\p } | ||
</lilypond> | </lilypond> | ||
[[Category:Spacing]] | [[Category:Spacing]] | ||
[[Category:Tweaks and overrides]] | [[Category:Tweaks and overrides]] | ||
[[Category:Workaround]] | |||
[[Category:Included in the official documentation]] | [[Category:Included in the official documentation]] | ||
[[Category: | [[Category:Snippet]] | ||