Pierre,

This is excellent, thanks, and would be just what I want.... except...  it uses 
the modern flat glyph, not the mensural version.  How did you create the EPS 
file with the 2 glyphs on the transparent background?

--
Phil Holmes


  ----- Original Message ----- 
  From: Pierre Perol-Schneider 
  To: Phil Holmes 
  Cc: lilypond-user 
  Sent: Sunday, August 10, 2014 5:41 PM
  Subject: Re: Customised key signature for mensural music


  Hi Phil,



  2014-08-10 14:20 GMT+02:00 Phil Holmes <m...@philholmes.net>:


    A piece of music in the Musica Transalpina from 1597 in the F clef in the
    key of F major has a key signature that has two B flats: one in the normal
    position and one above the stave lines.  I know how to do that, but it is
    also offset to the right, and with a smaller flat sign.  Does anyone know
    how this could be done?



  I first thought I could simply scaled the flat glyph but the result looks bad.

  So I'm afraid you'll have to use your own eps glyph.

  Here's what I've done (I've taken horizontal and vertical proportions from 
your pic.):

  \version "2.18.2"

  myFmaj = \markup \raise #1.1 \override #'(baseline-skip . 2) { 
            \general-align #Y #CENTER {
               \epsfile #X #2.2 #"doubleFlat.eps" 
            }
          }

  \score {
   { 
     \clef F
     \key f\major
     \hideNotes
     f
   }
   \layout {
     \context {
       \Score
       \override KeySignature.stencil = #(lambda (grob) 
           (grob-interpret-markup grob myFmaj))
     }
   }
  }


  As you can see, this is fairely simple.

  But of course, it would be more elegant to create just the small flat glyph 
and integrate it whith a scheme function just for the highest pitch.


  HTH,
  Pierre




_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to