[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Font size in a Dynamics context
From: |
Colin Hall |
Subject: |
Re: Font size in a Dynamics context |
Date: |
Sun, 7 Oct 2012 12:29:10 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, Oct 05, 2012 at 09:09:02PM +0200, Thomas Morley wrote:
> 2012/10/5 Carlo Stemberger <address@hidden>:
> > Hi,
> > I can't change the font size in a Dynamics context. For example:
> >
> > -----
> > \version "2.16.0"
> >
> > upper = \relative c'' { a4 b \tiny c d }
> >
> > lower = \relative c' { a2\fff \tiny c_\pp } % no problem
> >
> > dynamics = { s2\fff \tiny s2\pp } % \tiny doesn't work
> >
> > \score {
> > \new PianoStaff = "PianoStaff_pf" <<
> > \new Staff = "Staff_pfUpper" \upper
> > \new Dynamics = "Dynamics_pf" \dynamics
> > \new Staff = "Staff_pfLower" \lower
> >>>
> > }
> >
> > -----
> >
> > Is this a bug? (I think so)
> >
> > Best regards,
> > Carlo
>
> Hi Carlo,
>
> have a look at /ly/engraver-init.ly. You'll see in `Dynamics' no
> Font_size_engraver.
> Don't know, whether it's intended or not.
>
> But if you put in this engraver, your example works:
>
> \version "2.16.0"
>
> upper = \relative c'' { a4 b c d }
>
> lower = \relative c' { a2\fff \tiny c_\pp } % no problem
>
> dynamics = \displayMusic { s2\fff \tiny s2-\pp } % works now
>
> \score {
> \new PianoStaff = "PianoStaff_pf" <<
> \new Staff = "Staff_pfUpper" \upper
> \new Dynamics = "Dynamics_pf" \with { \consists
> "Font_size_engraver" } \dynamics
> \new Staff = "Staff_pfLower" \lower
> >>
> }
>
>
> HTH,
> Harm
Thanks for the workaround, Thomas.
If this is not a bug then it looks like an enhancement request from Carlo. Devs
care to comment?
Cheers,
Colin.
--
Colin Hall