On 15.12.2016 09:39, Pierre Perol-Schneider wrote:
Or simply:

\version "2.19"

{
  1
  \once\override Staff.BarLine.stencil =
    #(lambda (grob)
       (ly:stencil-combine-at-edge
         (ly:bar-line::print grob)
         1 ; y-axis
         1 ; on top
         (ly:stencil-aligned-to
           (grob-interpret-markup
             grob
             #{
               \markup
               \box % \box only for checking
               \with-dimensions #'(0 . 1.24) #'(-0.75 . 1.24)
               \musicglyph #"scripts.caesura.curved"
             #})
           X
           CENTER)

There is no need to fiddle with \with-dimensions, just adjust CENTER (which evaluates to 0) to any other value between -1 and 1 (I chose -.5), and/or adjust the ‘padding’ value in the following line (I use 1).

         2))
   1
}

Best, Simon

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

Reply via email to