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 <w...@gnu.org>:

>
> > 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
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to