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: hbezemer
Subject: Re: Adding a barline at the start of a new line
Date: Thu, 10 Nov 2016 12:36:37 +0100
User-agent: Kliksafe Webmail

Thanks Malte,

 

That worked just fine!

 

Hans

 

 

 

Malte Meyn schreef op 2016-11-09 22:27:



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
}

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

reply via email to

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