lilypond-user
[Top][All Lists]
Advanced

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

Overriding repeat bar line after line break without altering it before l


From: Peter Crighton
Subject: Overriding repeat bar line after line break without altering it before line break?
Date: Sat, 15 Nov 2014 23:36:48 +0100

Hello,

I need to offset a repeat bar line at the beginning of a system without moving the bar line at the end of the system above before the line break. Is that possible? Something like \alterBreak, but for non-spanners would help …

\version "2.19.13"
\relative c' {
  c1 \break
  \once \override Score.BarLine.extra-offset = #'(-1 . 0)
  \repeat volta 2 {
    c \break
  }
}

This code has the desired output in the second system (well, it looks ugly in this case, but it’s correct in the non-minimal code I’m working on), but also moves the bar line in the first system, which is not desired.

Does anybody know a solution?

Thanks,
Peter

--
Peter Crighton | Musician & Music Engraver based in Mainz, Germany
http://www.petercrighton.de

reply via email to

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