lilypond-user
[Top][All Lists]
Advanced

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

Re: invisibel barline, linebreak then repeat


From: Thomas Morley
Subject: Re: invisibel barline, linebreak then repeat
Date: Sun, 18 Aug 2013 18:09:12 +0200

2013/8/18 Hartmut Leister <address@hidden>:
> Hello everybody,
>
> I want a line break in the middle of a measure and start a repeat on the
> next line.
> I tried
>> fis4 b a
>> \bar"" \break \bar"|:"
>> \repeat ...
> but Lilypond is putting a \bar"|" at the end of the first line while I
> need a \bar"".
>
> Any suggestions?

Hi,

please post a compilable, short example with a version-statement, _always_!!

I guess you're on 2.16.2
You could do:

\version "2.16.2"

\relative c' {
    fis4 b a
    \once \override Staff.BarLine #'break-visibility = ##(#f #t #t)
    \break
    \bar "|:"
    \repeat volta 2 d4
}

Though, with 2.17.24 you could define your own BarLine which would fit
your needs:

\version "2.17.24"

#(define-bar-line ".|:-s" #f ".|:" ".|")

\relative c' {
    fis4 b a
    \break
    \bar ".|:-s"
    \repeat volta 2 d4
}

>
> Thanks a lot in advance
> Hartmut
>
> --
> Hartmut Leister <address@hidden>


HTH,
  Harm



reply via email to

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