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

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to