2015-01-19 22:10 GMT+01:00 Lars-Johan Liman <lilyp...@liman.net>: > Hi! > > I'm a long time TeX geek trying to wrap my head around Lilypond - with > some, but limited, success. :-) > > However, I'm trying to end a section of piano music with thin double bar > lines, break the line, and then start the next line with repeat marks. I > cannot make it work. Any hints? > > Here's my attempt, boiled down to bare necessities using dummy notes: > > \version "2.18.0" > > \new PianoStaff << > > \new Staff { \clef treble \key c\major \time 4/4 > <g c' e'> <a c' f'> <g c' e'> <a c' f'> \bar "||" | \break > \repeat volta 2 { > \bar ".|:" > <g c' e'> <a c' f'> <g c' e'> <a c' f'> | > } > } > > \new Staff { \clef bass \key c\major \time 4/4 > <c, c>4 <d, d> <c, c>4 <d, d> | > <c, c>4 <d, d> <c, c>4 <d, d> | > } > >>> > % END. > > This does give me the repeat marks at the beginning of line 2, but not > the double thin bar lines at the end of line one. > > If I remove '\bar ".|:"' in the repeat, I don't get the repeat marks in > on the second line (Why not? It's not the beginning of the piece.), but > I _do_ get the thin double bar lines at the end of line one. I've tried > moving the '\bar "..."' stuff around the bar marks '|' back and forth, > but to no avail. > > It's not unreasonable for the program to assume that the end of line one > equals the beginning of line two, and to ask me to make up my mind > whether I want thin lines _or_ repeat marks, but I'd like to create this > visual impression, to make it easier to read. > > Possible?
Try: \bar ".|:-||" It's in the NR ;) Cheers, Harm _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user