lilypond-user
[Top][All Lists]
Advanced

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

Re: Moving a volta bracket vertically


From: Mats Bengtsson
Subject: Re: Moving a volta bracket vertically
Date: Mon, 28 Apr 2008 10:01:17 +0200
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

The common alignment of the different endings is now handled by the VoltaBracketSpanner
object, so to move the brackets vertically, you can use
\override Score.VoltaBracketSpanner #'padding = #3  % Default = 1.0

However, if you want to lower it, then you could do as Risto propose, namely to modify the Y-extent value, but perhaps it makes more sense to do the setting on
VoltaBracketSpanner instead of VoltaBracket:

\override Score.VoltaBracketSpanner #'Y-extent = #'(0 . 0)

  /Mats

Risto Vääräniemi wrote:
Dear Sven,

2008/4/27 Sven Axelsson :
 Could someone please tell
 me what the current way of moving the volta brackets down, possibly
 overlapping the music, would be?

I've been wondering that, too, but I've found no magic bullet so far.
Sometimes I have used extra-offset to lower the VoltaBracket to the
desired level. That, however, takes place after the spacing
calculations have already been made. On tightly set pages this is not
good.

Another way is to use Y-extent and minimum-Y-extent. In this case you
have to calculate (test) the right values for the Y extent and the
height of the bracket. The upside is that this way the spacing
calculations should be correct. See the example.

Question:
Could VoltaBracket be changed in such a way that it would sense the
skyline and lower itself closer to the staff if the stuff would not
collide with the bracket or the volta number?

-Risto


%%%%
\version "2.11.43"

\paper
{
    ragged-right = ##t
}

\relative c'
{
    \override Score.VoltaBracket #'edge-height = #'(3.0 . 3.0)
    \override Score.VoltaBracket #'Y-extent = #'(0 . 0.0)
    \override Score.VoltaBracket #'minimum-Y-extent = #'(-0.35 . 0.0)

    \repeat volta 2 {
    c1
    }\alternative {{
    c2 c^\f
    }{
    c2 c \bar "|."}}
}
%%%%
------------------------------------------------------------------------

------------------------------------------------------------------------

_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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