lilypond-user
[Top][All Lists]
Advanced

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

Re: brainstorming a way to temporarily flip direction of lyrics


From: David Kastrup
Subject: Re: brainstorming a way to temporarily flip direction of lyrics
Date: Tue, 01 Dec 2015 19:58:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Kieren MacMillan <address@hidden> writes:

> Hello all,
>
> We can temporarily change the direction of many grobs — Scripts, TextScripts, 
> etc. — such that the usual effect is that they flip from being (e.g.,) 
> beneath a context (e.g., the Staff that the Voice is a child of) to being 
> above that context.
>
> I’m wondering — brainstorming mode now — if there’s an easy way to extend 
> that concept to contexts which ARE NOT contained by another context (as in 
> the Voice ∈ Staff example, above), but rather are adjacent to a second 
> context. One obvious example is:
>
>     <<
>         \new Staff \someNotes
>         \new Lyrics \someWords
>     >>
>
> If there were a small number of words that needed to be above the Staff, the 
> current workaround is to add a whole new context, e.g.,
>
>     <<
>         \new Lyrics \someWordsAbove
>         \new Staff \someNotes
>         \new Lyrics \someWordsBelow
>     >>
>
> adjust staff-affinity/ies and add spacer rests as/if necessary,
> etc. Why [technically] can we not say, “\once \override
> LyricText.alignAboveContext = …” to move the attachment of that grob
> to “the other side” of the Staff context it is normally associated
> with and adjacent to.

Because there is only one VerticalAxisGroup associated with the
context.  You can try creating a SubLyrics context and then to a
\change Lyrics = ... command for moving it into another Lyrics context.

-- 
David Kastrup



reply via email to

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