lilypond-user
[Top][All Lists]
Advanced

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

Re: Positioning Dynamics Contexts


From: David Kastrup
Subject: Re: Positioning Dynamics Contexts
Date: Tue, 04 Aug 2015 19:12:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Cynthia Karl <address@hidden> writes:

> Shouldn’t the line:
>
>         \new Staff << \dynamicsAHigh \musicA \dynamicsALow >>
>
> resullt in the ordering in the score:
>
>       dynamicsAHigh
>       musicA
>       dynamicsALow
>
> instead of
>
>       musicA
>       dynamicsAHigh
>       dynamicsALow
> ?

Taking a look at ly/engraver-init.ly, the only context accepting a
Dynamics context by default is a GrandStaff, so one is created on-demand
when \dynamicsAHigh is created and placed in the existing StaffGroup
below the last created context, which is the \new Staff in that line.

Now you probably want to change StaffGroup in order to let it accept
Dynamics as well.  This will still not change your arrangement though.
Unless you work with alignAboveContext and alignBelowContext settings,
you'll likely rather need something like

    << \dynamicsHigh \new Staff \musicA \dynamicsLow >>

instead.

-- 
David Kastrup



reply via email to

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