Re: problem with `alignAboveContext`

2025-03-07 Thread Werner LEMBERG
>> Imagine a choir piece with three women voices, to be notated on two >> staves to save vertical space. To increase readability in the >> score it might make sense to position voices 1 and 2 in the upper >> staff and voice 3 into the lower one. Suddenly the musical >> structure changes, and it

Re: problem with `alignAboveContext`

2025-03-07 Thread David Wright
On Fri 07 Mar 2025 at 06:34:45 (+), Werner LEMBERG wrote: > >> > If you have two staves, and a voice were to change staves, would > >> > you expect the lyrics to leap about too? > >> > >> Actually yes :-) Can you imagine a situation where this shouldn't > >> happen? > > > > You're asking me t

Re: problem with `alignAboveContext`

2025-03-06 Thread Werner LEMBERG
>> > If you have two staves, and a voice were to change staves, would >> > you expect the lyrics to leap about too? >> >> Actually yes :-) Can you imagine a situation where this shouldn't >> happen? > > You're asking me to imagine something that doesn't make sense to me, > then to argue that this

Re: problem with `alignAboveContext`

2025-03-06 Thread David Wright
On Thu 06 Mar 2025 at 08:00:37 (+), Werner LEMBERG wrote: > > >> However, if I use `alignAboveContext = "V1"` instead, it doesn't > >> work, and I get the warning > >> > >> ``` > >> warning: alignAboveContext not found: V1 > >> ``` > >> > >> Why? > > > > Does it make sense? If you have two st

Re: problem with `alignAboveContext`

2025-03-06 Thread Werner LEMBERG
>> In the Internals Reference, alignAboveContext only occurs under >> staff-ish contexts, not voice-ish ones, §2.1.x. > > OK, but this only gives indirect hints. I'll try to improve the > documentation, thanks. https://gitlab.com/lilypond/lilypond/-/merge_requests/2620 Werner

Re: problem with `alignAboveContext`

2025-03-06 Thread Werner LEMBERG
>> However, if I use `alignAboveContext = "V1"` instead, it doesn't >> work, and I get the warning >> >> ``` >> warning: alignAboveContext not found: V1 >> ``` >> >> Why? > > Does it make sense? If you have two staves, and a voice were to > change staves, would you expect the lyrics to leap about

Re: problem with `alignAboveContext`

2025-03-05 Thread David Wright
On Thu 06 Mar 2025 at 04:06:59 (+), Werner LEMBERG wrote: [ … ] \new Voice = "V1" [ … ] % alignAboveContext = "V1" [ … ] > which yields the attached image, correctly aligning the lyrics 'Above' > above the staff. However, if I use `alignAboveContext = "V1"` > instead, it doesn't work, and