lilypond-user
[Top][All Lists]
Advanced

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

Re: Putting horizontal brackets at a fixed y-position


From: Sven Axelsson
Subject: Re: Putting horizontal brackets at a fixed y-position
Date: Tue, 27 Sep 2005 14:10:59 +0200

On 27/09/05, Han-Wen Nienhuys <address@hidden> wrote:
> Sven Axelsson wrote:
> > Well, of course. I made it a global override using
> >
> > \layout {
> >     \context {
> >         \Score
> >         \override VoltaBracket #'Y-offset-callbacks = #(list
> > Staff_symbol_referencer::callback)
> >         \override VoltaBracket #'staff-position = #8
> >     }
> > }
> >
> > and it seems that the bracket stops raising at staff-position 8.
>
> bugreport please.

No bug, just my mistake. Sorry about that. Anyhow this is a great tip
that I'm sure everybody wants to know about. Try this.

%%%%%%%%
\version "2.7.10"

\score {
\relative c'' {
  \repeat volta 2 { a b c d }
  \alternative { { d' c b a } { e c d b } }
}
}
\markup { Adjacent volta brackets are put on different height. }

\score {
\relative c'' {
  \repeat volta 2 { a b c d }
  \alternative { { d' c b a } { e c d b } }
}
\layout {
  \context {
    \Score
    \override VoltaBracket #'Y-offset-callbacks = #(list
Staff_symbol_referencer::callback)
    \override VoltaBracket #'staff-position = #8
  }
}
}
\markup { Now brackets are aligned and the music is inside the bracket. }
%%%%%%%%

Shouldn't this behaviour be the default?

--
Sven Axelsson




reply via email to

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