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 > > -- > .-. | Registered Linux User #443882 | .''`. > oo| | http://linuxcounter.net/ | : :' : > /`'\ | Registered Debian User #9 | `. `'` > (\_;/) | http://debiancounter.altervista.org/ | `- > > > _______________________________________________ > bug-lilypond mailing list > bug-lilypond@gnu.org > https://lists.gnu.org/mailman/listinfo/bug-lilypond
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 _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org https://lists.gnu.org/mailman/listinfo/bug-lilypond