lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Flat - with "2" number - RESULT - Success


From: Server Acim
Subject: Re: Flat - with "2" number - RESULT - Success
Date: Sat, 08 Aug 2015 21:32:04 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

On 08/08/2015 09:00 PM, Pierre Perol-Schneider wrote:
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
<address@hidden
<mailto:address@hidden>>:

    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 <address@hidden
    <mailto:address@hidden>>:


        > 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
        address@hidden <mailto:address@hidden>
        https://lists.gnu.org/mailman/listinfo/lilypond-user




Dear Pierre,
Result is OK. I am sending you the result.

Thank you very much.

--
Server ACİM
- Besteci (Composer)
- İnönü Üniversitesi Öğretim Üyesi (Full Professor of Music Composition at Inonu Universitesi - Malatya - TURKEY)
- Linux Mint Kullanıcısı ve Destekçisi (Linux Mint User and Supporter)

http://google.com/+ServerAcim
http://about.me/server.acim

Attachment: Result.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]