Currently I am using this function written by Pierre Perol-Schneider:

\version "2.19.15"

beamLength =
#(define-music-function (parser location myLength myPosition) (number?
number?)
  #{
    \once\override Beam.stencil =
      #(lambda (grob) (grob-interpret-markup grob
        #{
          \markup
          %% "column" just in case for multiple beams:
          %\column
          {
            \translate #(cons 0 myPosition)
            \beam #myLength #0 #0.4
            %\vspace #-.73
            %\beam #myLength #0 #0.4
           }
          #}))
  #})

\relative c' {
  \beamLength #19.1 #0
  c8[c c c c c c c]
  \stemDown
  \beamLength #20 #-5.5
  c[c c c c c c c]
  \once\override Staff.BarLine.bar-extent = #'(-7 . 2)
}




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Beaming-until-barline-tp167937p168115.html
Sent from the User mailing list archive at Nabble.com.

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

Reply via email to