lilypond-user
[Top][All Lists]
Advanced

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

Beam Length Query


From: grammerfest
Subject: Beam Length Query
Date: Wed, 14 Mar 2012 03:56:12 -0700 (PDT)

Hi all,

I think it's a tribute to the lilypond documentation that in 2/3 years of
Lilypond usage this is my first time feeling the need to post a question
here.

I'm trying to find a way in which to extend a beam horizontally so that it
spans the full duration of a note. 

I suppose that in an ideal world this would mean a beam spanner covering
\afterGrace. 

Is is possible to somehow (via scheme perhaps) grab the position of a grace
note and extend the beam right-extent (or some such) to this position? Or is
there some other way in which I can tackle this problem?

Below is a mock up of the sort of thing I'm after (though obviously the
positioning here is just effected by altering Stem #'stencil):


\version "2.14"
\relative c'' {
        g8[
        \once \override Stem #'layer = #2
        \once \override Stem #'stencil = #ly:text-interface::print
        \once \override Stem #'text = \markup \combine 
                                                                                
\raise #2
                                                                                
\override #'(thickness . 1)
                                                                                
\draw-line #'(0 . 1.9) 
                                                                                
\combine
                                                                                
\fontsize #-4
                                                                                
\raise #2
                                                                                
\center-align 
                                                                                
\with-color #white
                                                                                
\draw-circle #0.25 #0.5 ##f
                                                                                
\combine
                                                                                
\raise #2
                                                                                
\draw-circle #0.5 #0.035 ##f
                                                                                
\combine 
                                                                                
\raise #1.775
                                                                                
\fontsize #-9
                                                                                
\typewriter
                                                                                
\center-align
                                                                                
1
                                                                                
\raise #4.25
                                                                                
\fontsize #-7
                                                                                
\translate #'(0.00525 . 0)
                                                                                
\left-align
                                                                                
\musicglyph #"flags.u3" 
        \once \override NoteHead #'transparent = ##t
        g] \bar "|"

        
}

#(set-global-staff-size 32)


any help would be greatly appreciated,

piaras hoban
-- 
View this message in context: 
http://old.nabble.com/Beam-Length-Query-tp33501067p33501067.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.




reply via email to

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