Re: Double bar line suppresses following repeat bar line

2014-03-09 Thread Thomas Morley
2014-03-09 22:28 GMT+01:00 Trevor Daniels :

> You'll need to define an appropriate bartype and code it at the appropriate 
> place, like this:
>
> \defineBarLine "||.|:" #'("||" ".|:" "")


No need for that, ".|:-||" is predefined already.

Cheers,
  Harm

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


Re: Double bar line suppresses following repeat bar line

2014-03-09 Thread Trevor Daniels

Patrick or Cynthia Karl wrote Sunday, March 09, 2014 8:57 PM


> The following snippet:
> 
[snippet]
> places a simple single bar line at the end of the 2nd alternative.  My client 
> wishes it to be a double bar line instead.  I can do that by uncommenting the 
> "\bar "||" line, but that has the unfortunate side effect of eliminating the 
> initial repeat bar line of the following section.
> 
> Is there a way to place a double bar line at the end of the 1st line without 
> interfering with the repeat bar line that follows?

You'll need to define an appropriate bartype and code it at the appropriate 
place, like this:

\defineBarLine "||.|:" #'("||" ".|:" "")

music = \relative b' {
   \repeat volta 2 { \repeat unfold 3 { c4 c c c } }
   \alternative {
 { c1 }
 { g1  \bar "||.|:" }
   }
   
%   \bar "||"
   
   \break
   
   \repeat volta 2 { \repeat unfold 5 { a4 a a a } }
}

\score {
   \new Staff \music
   \layout {}
}

More details are a little way down this section:
http://www.lilypond.org/doc/v2.19/Documentation/notation/bars#bar-lines

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


Re: Double bar line suppresses following repeat bar line

2014-03-09 Thread Thomas Morley
2014-03-09 21:57 GMT+01:00 Patrick or Cynthia Karl :
> The following snippet:
>
> \version "2.18.0"
>
> music = \relative b' {
>\repeat volta 2 { \repeat unfold 3 { c4 c c c } }
>\alternative {
> { c1 }
> { g1  }
>}
>
> %   \bar "||"

Use \bar ".|:-||" instead
-> http://lilypond.org/doc/v2.18/Documentation/notation-big-page#bar-lines

>
>\break
>
>\repeat volta 2 { \repeat unfold 5 { a4 a a a } }
> }
>
> \score {
>\new Staff \music
>\layout {}
> }
>
> places a simple single bar line at the end of the 2nd alternative.  My client 
> wishes it to be a double bar line instead.  I can do that by uncommenting the 
> "\bar "||" line, but that has the unfortunate side effect of eliminating the 
> initial repeat bar line of the following section.
>
> Is there a way to place a double bar line at the end of the 1st line without 
> interfering with the repeat bar line that follows?


HTH,
  Harm

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


Double bar line suppresses following repeat bar line

2014-03-09 Thread Patrick or Cynthia Karl
The following snippet:

\version "2.18.0"

music = \relative b' {
   \repeat volta 2 { \repeat unfold 3 { c4 c c c } }
   \alternative {
{ c1 }
{ g1  }
   }
   
%   \bar "||"
   
   \break
   
   \repeat volta 2 { \repeat unfold 5 { a4 a a a } }
}

\score {
   \new Staff \music
   \layout {}
}

places a simple single bar line at the end of the 2nd alternative.  My client 
wishes it to be a double bar line instead.  I can do that by uncommenting the 
"\bar "||" line, but that has the unfortunate side effect of eliminating the 
initial repeat bar line of the following section.

Is there a way to place a double bar line at the end of the 1st line without 
interfering with the repeat bar line that follows?
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user