lilypond-devel
[Top][All Lists]
Advanced

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

Re: add property label-alignments to OttavaBracket (issue 575330043 by a


From: lilypond
Subject: Re: add property label-alignments to OttavaBracket (issue 575330043 by address@hidden)
Date: Wed, 01 Apr 2020 01:20:24 -0700

On 2020/03/29 16:35:54, Malte Meyn wrote:
> On 2020/03/29 14:23:29, lemzwerg wrote:
> > Minor doc nits.
> 
> I’ll include those fixes in the next patch set.

I killed my laptop using a glass of water and cannot contribute until
it’s live again. Below you can see a proposal for a regtest. I still
will need help with the convert-ly rule.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.21.0"

\header {
  idontknowhowtonamethisdocstring =
  "Labels of line spanners, OttavaBrackets and VoltaBrackets
can be differently aligned for spanners below and above the
staff by overriding the property label-alignments."
}

\relative {
  \override Score.VoltaBracket.direction = #DOWN
  \override Score.VoltaBracketSpanner.direction = #DOWN
  \override TextSpanner.bound-details.left.text = "FOO"
  \override TextSpanner.bound-details.left.label-alignments = #(cons
DOWN UP)
  \repeat volta 2 {
    \ottava 1
    c'''_\startTextSpan a f d\stopTextSpan
    \ottava -1
    c,^\startTextSpan a f d\stopTextSpan
    \ottava 0
  }
  \alternative {
    g'1
    g
  }
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

https://codereview.appspot.com/575330043/



reply via email to

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