lilypond-user
[Top][All Lists]
Advanced

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

Re: improving Janek's \dynamic function (for combo dynamics)


From: Thomas Morley
Subject: Re: improving Janek's \dynamic function (for combo dynamics)
Date: Sun, 3 Sep 2017 18:30:28 +0200

2017-09-03 18:14 GMT+02:00 Kieren MacMillan <address@hidden>:
> Hi Harm,
>
>> The current structure makes it impossible in a convenient way.
>
> =(
>
>> Tbh, I didn't think of this.
>
> Neither has the Lilypond development team, as far as I can tell: I don't know 
> of any way to do it currently (i.e., independent of your new functionality).
>
>> You want to change fontsize of the italic parts, right?
>
> Correct.

ok

>> Will you ever want to have this parts to be not italic but sth else?
>
> Ideally, I suppose, all 'usual' text properties could be adjusted… but in my 
> use-cases, I set the main document font, the dynamic 'normal-text' font is 
> always italic, and I only need to adjust the size (relative to the size of 
> the dynamic font) in my stylesheet.

ok

>> Will you ever want to change fontsize of dynamic-font as well?
>
> That can be done by setting
>
>    \override DynamicText.font-size

That's not exactly what I meant, because one could think of hardcoding
font-size of the dynamic, so that one could apply a different
font-size to the whole markup.
Look at the example below. The override doesn't change dynamic-font:

{
  \override DynamicText.font-size = #10
  a'_#(make-dynamic-script
       #{ \markup \italic { \normal-text "poco" \normalsize "f" } #})
}

Though, I take your reply as wanting to change both, the font-size of
the dynamic and the rest, independently.

>
>> Will you ever want to have this parts to be not dynamic but sth else?
>
> Don't know why that would ever happen? Maybe others have those use-cases…

ok

I think I know how to proceed, my weekend is mostly over, though :(


Cheers,
  Harm



reply via email to

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