lilypond-devel
[Top][All Lists]
Advanced

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

Re: thoughts on changing \magnifyMusic, please comment


From: Janek Warchoł
Subject: Re: thoughts on changing \magnifyMusic, please comment
Date: Fri, 1 Aug 2014 15:17:37 +0200

Hi,

better late than never ;-)

2014-07-22 22:31 GMT+02:00 Mark Polesky <address@hidden>:
> I'm wondering whether I should do either of these:
> 1) rename \magnifyMusic to \magnifyVoice
> 2) change the \magnifyMusic interface to match \magnifyStaff

+1 for both.

2014-07-23 22:26 GMT+02:00 Mark Polesky <address@hidden>:
> Subsequent calls to \magnifyStaff will first revert the most
> recent layer of temporary overrides, but only if the
> magnification value is different from last time.  So unless
> the user changed settings mid-stream, we're left with the
> user's original settings, which are then scaled anew, using
> the new magnification value (but only if the the
> magnification value is different from last time), and so on.
>
> I chose the above-mentioned design because I feel that this:
>
>   \magnifyStaff 0.75
>   ...
>   \magnifyStaff 1   % reset to original size
>
> is more intuitive than this:
>
>   \magnifyStaff 0.75
>   ...
>   \magnifyStaff 1.33  % reset to original size

So, we can say that \magnifyStaff sets staff "size" to an absolute
value - defined as the fraction of the default size - and not
"relative" to the previous size.  I think that in that case the
command should have a slightly different name - maybe \staffSize or
\staffMagnification?  To me, magnifyStaff sounds like "take the
current size of the staff and magnify it".

> Also, this way I can add a command \resetStaffSize which
> would just be syntactic sugar for `\magnifyStaff 1', if
> anyone desires.

Sounds worthwhile.  BTW, you wrote that

2014-07-23 22:26 GMT+02:00 Mark Polesky <address@hidden>:
> Subsequent calls to \magnifyStaff will first revert the most
> recent layer of temporary overrides, but only if the
> magnification value is different from last time.

- do i understand correctly that this means that \magnifyStaff is
aware of the previous magnification value used?  If so, would it be
possible to make a "relative" version of \magnifyStaff, similarly to
how we have relative and absolute markup commands (\large and
\larger)?  I think this could be useful.

In general, your work on setting notation size looks very nice.  I've
been missing such functionality for a long time :)

best,
Janek



reply via email to

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