Hi Mike (and Andrea),
>> I have been asked to print bar numbers in italic fontface.
>
> \relative c' { \override Score . BarNumber #'stencil =
> #(lambda (grob)
> (grob-interpret-markup grob (markup #:italic (ly:grob-property grob 'text))))
> \repeat unfold 40 { a b c d }
> }
Well, sure⦠but why not just
\relative c' {
\override Score.BarNumber #'font-shape = #'italic
\repeat unfold 40 { a b c d }
}
?
Hope this helps!
Kieren.
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user