lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: aligning dynamics to lowest dynamic mark in system


From: Trevor Daniels
Subject: Re: aligning dynamics to lowest dynamic mark in system
Date: Tue, 7 Feb 2017 21:51:36 -0000

Mason Hock wrote Tuesday, February 07, 2017 12:13 AM

> I would like to align all dynamics within each system with just enough 
> padding 
> to avoid collisions. I could do this by using
>     \override DynamicLineSpanner.staff-padding = #x
> at the beginning of each system, but if I do anything that changes the 
> location 
> of system breaks I'll have to start over. Is there a way of automatically 
> aligning 
> all dynamics to the lowest dynamic mark in the system?

The best way to achieve this is to use a Dynamics context to hold the dynamics.

This is very briefly described right at the end of

http://lilypond.org/doc/v2.19/Documentation/notation/expressive-marks-attached-to-notes#dynamics

immediately before Predefined commands.  To see it work, use the example
there and add a dynamic mark to the spacer rest corresponding to the low E.
Note you can give music containing notes to a Dynamic context - they'll be
ignored, so if your music is in variables it should be easy to add.

Trevor


reply via email to

[Prev in Thread] Current Thread [Next in Thread]