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

2016-11-10 Thread hbezemer
 

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
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
 ___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


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

2016-11-09 Thread Malte Meyn



Am 09.11.2016 um 22:27 schrieb Malte Meyn:

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


You might also want
#(define-bar-line ":|." ":|." "|" " |.")
and maybe others.

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


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

2016-11-09 Thread Malte Meyn



Am 09.11.2016 um 22:27 schrieb Malte Meyn:

  c'1 c c c \bar "|" \break


Oh, of course you don’t need \bar "|" here as "|" is the default barline 
type.


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


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

2016-11-09 Thread Malte Meyn



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
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user