lilypond-user
[Top][All Lists]
Advanced

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

Re: Adding a barline at the start of a new line


From: Malte Meyn
Subject: Re: Adding a barline at the start of a new line
Date: Wed, 9 Nov 2016 22:27:52 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0



Am 09.11.2016 um 21:50 schrieb hbezemer:
I want  LP to create a barline at the beginning of every new line, but
so far I can't find the right way to do so.

You can use the define-bar-line command. It takes four arguments:
1. name/default barline
2. barline at end of line
3. barline at begin of line
4. SpanBar (barline between two staves)

\version "2.18.2"

#(define-bar-line "|" "|" "|" "|")
#(define-bar-line "||" "||" "||" "||")

\relative {
  \override Staff.Clef.break-visibility = #all-invisible
  \override Staff.KeySignature.break-visibility = #all-invisible
  \key g \major
  c'1 c c c \bar "|" \break
  c c c c \bar "||" \break
  c c c c
}



reply via email to

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