lilypond-user
[Top][All Lists]
Advanced

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

Re: Custom time signature symbols


From: Pierre Perol-Schneider
Subject: Re: Custom time signature symbols
Date: Tue, 2 Sep 2014 15:10:10 +0200

Hi Andrea,

2014-09-02 13:58 GMT+02:00 Jayaratna <address@hidden>:

 
I am notating it using 3/1 and 6/1 fractions,
but I would like to use timesig.neomensural98 (stroked O) and
timesig.neomensural32 plus number 2 (O2) instead.

How would you do it?


Try :

\version "2.18.2"
%\include "paper.ly"

\score{
  \new StaffGroup {   
    <<
      \new Staff \with {
        \override TimeSignature.stencil = #(lambda (grob)
         (grob-interpret-markup grob
           #{ \markup\musicglyph #"timesig.neomensural98" #}))
      }
      {   
        \relative c'' { %Cantus           
          \time 3/1
          %\set Staff.timeSignatureFraction = 3/1
          %\scaleDurations 4/1
          b2 c b c4 d e4. d8 c4 g
        }
      }
      \new Staff \with {
        \override TimeSignature.stencil = #(lambda (grob)
         (grob-interpret-markup grob
           #{ \markup\musicglyph #"timesig.neomensural98" #}))
      }
      {   
        \relative c' { %Alto
          \time 3/1
          %\set Staff.timeSignatureFraction = 3/1
          %\scaleDurations 2/1
          \clef alto
          d2 e g4. f8 e4 d c b c d8 e
        }
      }
      \new Staff \with {
        \override TimeSignature.stencil = #(lambda (grob)
         (grob-interpret-markup grob
           #{
             \markup\concat {
                 \musicglyph #"timesig.neomensural32"
                 \lower #.8 \magnify #.8 \musicglyph #"two"
              }
           #}))
      }
      {   
        \relative c' { %Tenor
          \time 3/1
          \set Staff.timeSignatureFraction = 6/1
          \scaleDurations 1/2 {
          \clef tenor
          g\longa.}
        }
      }
      \new Staff \with {
        \override TimeSignature.stencil = #(lambda (grob)
         (grob-interpret-markup grob
           #{
             \markup\concat {
                 \musicglyph #"timesig.neomensural32"
                 \lower #.8 \magnify #.8 \musicglyph #"two"
              }
           #}))
      }
      {   
        \relative c { %Bassus
          \time 3/1
          \set Staff.timeSignatureFraction = 6/1
          \scaleDurations 1/2 {
          \clef bass
          g1 c  e2.d4 c2 b c g c b }
        }
      }
    >>
  }
}


HTH,
Pierre


reply via email to

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