lilypond-user
[Top][All Lists]
Advanced

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

Re: GDP: NR 1.3 Expressive marks, second draft


From: Patrick McCarty
Subject: Re: GDP: NR 1.3 Expressive marks, second draft
Date: Wed, 6 Aug 2008 14:30:49 -0700

On Wed, Aug 6, 2008 at 1:44 AM, Mats Bengtsson <address@hidden> wrote:
>
> - The markup command for \roundf is unnecessarily complicated and the result
> looks bad. The \center-align markup command is intended to produce a column
> of (internally) center aligned markups. If you only have a single line
> markup, then you should use \hcenter instead. Also, the spacing between the
> parenthesis and the f is probably unintended. Finally, there are some
> redundant braces (that you may want to keep for readability). I would
> propose to instead use
> roundf = \markup { \hcenter \concat { \bold { \italic ( }
>             \dynamic f \bold { \italic ) } } }
> or (without the redundant braces)
> roundf = \markup { \hcenter \concat { \bold \italic (
>             \dynamic f \bold \italic ) } }

Yes, that does look a lot better.  Thanks.

> - The main reason to use make-dynamic-script instead of a pure \markup is
> not to get the horizontal alignment correct with respect to the note head,
> but to get correct vertical positioning when you have both an absolute
> dynamic and a hairpin starting/ending on the same note, for example. Compare
> the following two examples to see the difference:
> roundf = \markup { \hcenter \concat { \normal-text \bold \italic (
>             \dynamic f \normal-text \bold \italic ) } }
> boxf = \markup { \bracket { \dynamic f } }
> roundfdyn = #(make-dynamic-script roundf)
> boxfdyn = #(make-dynamic-script boxf)
> \relative c' {
>  c4_\roundf \< d e f
>  g,1_\boxf \!
>  c4_\roundfdyn \< d e f
>  g,1_\boxf \!
> }

Okay, I see.

> - As illustrated in the example above, it's not absolutely necessary to
> learn the Scheme syntax of the markup commands to use make-dynamic-script. A
> simpler solution is to first define a normal markup, and then use that as
> the argument to make-dynamic-script.

This is really great!  Thanks for your insight, Mats.  I will
incorporate this into the docs.

-Patrick




reply via email to

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