On Fri, Oct 05, 2012 at 09:09:02PM +0200, Thomas Morley wrote: > 2012/10/5 Carlo Stemberger <carlo.stember...@gmail.com>: > > 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 _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond