lilypond-user
[Top][All Lists]
Advanced

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

Stacking lyrics above dynamics?


From: Trevor Bača
Subject: Stacking lyrics above dynamics?
Date: Wed, 13 Sep 2006 18:19:32 -0700

Hi,

Sane engraving rules position lyrics vertically below dynamics.

Is there a way to reverse this, ie, to position dynamics vertically
below lyrics? (The "lyrics" in this score aren't lyrics at all, but
another stratum of information showing a different musical parameter
altogether.)

Here's the snippet i've been working with:

%%% BEGIN TOY SNIPPET %%%

\version "2.9.16"

\new Staff \with {
  \override DynamicLineSpanner #'staff-padding = #10
} <<
  \new Voice \with {
  } {
     \times 4/5 {
        c'4\f
        c'4\f
        c'4\f
        c'4\f
        c'4\f
     }
  }
  \new Lyrics \with {
     %\override VerticalAxisGroup #'minimum-Y-extent = #'(-30 . -40)
     %\override VerticalAxisGroup #'staff-padding = #50
  } \lyricmode {
     foo4 * 4/5
     foo4 * 4/5
     foo4 * 4/5
     foo4 * 4/5
     foo4 * 4/5
  }


%%% END TOY SNIPPET %%%

I'm able to push the dynamics down to where I want them by setting the
staff-padding attribute of the DynamicLineSpanner grob. But moving the
lyrics up *above* the dynamics is proving to be really tricky.

(I've been toying with the VerticalAxisGroup grob in the Lyrics
context, but all I've been able to do is create padding on either side
of the lyrics, rather than moving the lyrics above the dynamics.
Intuitively, it seems like there should be some way to declare a
stacking order of the different strata within a staff ("first
dynamics, then lyrics, going down the page") and it seems like maybe
the VerticalAlignment grob should be the place to set this up, but I
can't seem to tweak it.)

So any tricks for moving lyrics up above dynamics?

--
Trevor Bača
address@hidden

reply via email to

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