lilypond-user
[Top][All Lists]
Advanced

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

Double thin bar lines and repeats?


From: Lars-Johan Liman
Subject: Double thin bar lines and repeats?
Date: Mon, 19 Jan 2015 22:10:17 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin)

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?

(You may feel tempted to argue that what I want to do is "wrong", which
it may well be according to modern typesetting standards, but I'm trying
to facsimile copy some 100-year-old notes which are brittle and barely
legible, and they have this very "feature" in them - so "not my fault!" :-)

                                Cheers,
                                  /Lars-Johan Liman



reply via email to

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