Re: voiced-position malfunctions?

David Kastrup <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.general
Organization Organization?!?
Message-ID <[email protected]>
Simon Albrecht <[email protected]> writes:

> Hi everyone,
>
> I was surprised to find that we now have a voiced-position property
> for rests instead of using staff-position; so far so
> good. Unfortunately, it doesn’t seem to act like it should, or am I
> missing anything?
>
> Best, Simon
>
> \version "2.27.0"
> {
>   \voiceTwo
>   R1
>   \tweak voiced-position 8
>   R1
>   \tweak voiced-position -8
>   R1
> }
>
> %{
>
> |voiced-position|(number):
>
>    |4|
>
>    The staff position of a voiced|Rest|, negative if the rest
>    has|direction||DOWN|.
>
> %}

I think it does what it is intended to do.  The description is of course
misworded since the rest direction has no way to prescribe the specified
sign.  What is meant here obviously is

    The staff position of a voiced Rest, negated if the rest has
    direction DOWN.

The idea behind that negation obviously is that you can just use a
Staff-wide \override in order to tell LilyPond how far out of center to
push rests that aren't in \oneVoice.  This also means that it would
usually a bad idea to specify a negative value for voiced-position: you
generally want to push the voice in the direction of, well, its
direction.

Can you propose a better wording here?

-- 
David Kastrup
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.