Hallo Christa,
versuch mal:
\version "2.18.0"
tv = #(define-music-function (parser location hor ) ( number? )
#{
\once\override Score.BarLine #'extra-offset = #(cons hor 0)
\once\override Score.SpanBar #'extra-offset = #(cons hor 0)
#})
\relative c'' {
\partial 2 r8 b'\upbow\p (cis e
dis2~ dis8) gis, (a cis
b2~b8) e, (fis a gis
b, cis fis) e4--^\markup \italic "rit." dis--
\tv #'-.7 \bar "||"
\once \override Score.MetronomeMark #'extra-offset = #'(-.5 . .7)
\tempo \markup \fontsize #1.5 "Allegro con moto" 2 = 80
e-- r8 gis-.\upbow\mf b2~
\break
\once \override Staff.BarLine.after-line-breaking =
#(lambda (grob)
(if (and (ly:item? grob) (= (ly:item-break-dir grob) RIGHT))
(ly:grob-set-property! grob 'extra-offset '(-0.5 . 0))))
\bar ".|:"
b8 r r fis-. b2~
b8 r e,4\< (fis a\!)
}
Die Übertragung auf SpanBar sollte kein Problem sein.
HTH,
Harm
Vielleicht sollte ich mal versuchen das Ganze als verallgemeinerte Funktion zu setzen, 'alterBroken' (für Spanner) gibts ja schon...