Or maybe closer to your picture :
\version "2.18.2"
\score {
{
\time 9/8
\key f\major %% <= or whatever
r4 fis''8
}
\layout {
\context {
\Score
\override KeySignature.stencil =
#(lambda (grob) (grob-interpret-markup grob
#{ \markup
\raise #.9
\column {
\concat { \hspace #.2 \teeny "2" }
\vspace #-.7
\musicglyph #"accidentals.flat" } #}))
\override Accidental.stencil =
#(lambda (grob) (grob-interpret-markup grob
#{
\markup
\raise #1.5
\column { \teeny "3" \vspace #-.5 \musicglyph
#"accidentals.sharp" }
#}))
}
}
}
Cheers,
Pierre
2015-08-08 19:54 GMT+02:00 Pierre Perol-Schneider <
[email protected]>:
> Hi Server,
>
> Here's a very basic solution for your urgent matter only.
> Needs a lot of improvement though !!
>
> \version "2.18.2"
>
> \score {
> {
> \time 9/8
> \key f\major %% <= or whatever
> r4 fis''
> }
> \layout {
> \context {
> \Score
> \override KeySignature.stencil =
> #(lambda (grob) (grob-interpret-markup grob
> #{ \markup
> \raise #1
> \column { \teeny "2" \vspace #-.7
> \musicglyph #"accidentals.flat" } #}))
> \override Accidental.stencil =
> #(lambda (grob) (grob-interpret-markup grob
> #{
> \markup
> \raise #1.5
> \column { \teeny "3" \vspace #-.5
> \musicglyph #"accidentals.sharp" }
> #}))
> }
> }
> }
>
> Cheers,
> Pierre
>
> 2015-08-08 19:40 GMT+02:00 Werner LEMBERG <[email protected]>:
>
>>
>> > I am adding an attachment that includes this flat sign with number
>> > "2" in its key signature.
>>
>> There's also a sharp sign with number `3'...
>>
>>
>> Werner
>>
>> _______________________________________________
>> lilypond-user mailing list
>> [email protected]
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user