lilypond-user
[Top][All Lists]
Advanced

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

Re: BalloonGrobText spacing


From: Eluze
Subject: Re: BalloonGrobText spacing
Date: Sun, 6 Jan 2013 02:37:50 -0800 (PST)

Noeck wrote
> Hi,
> 
> I tried to use the BalloonGrobText. I know that it is still experimental.
> 
> I tried the following code and I expected that \balloonLengthOff means
> notes and other stuff does not wait for the text to be finished. In
> other words: the text should not influence the positioning of the rest.
> 1st question: Am I right? Is that how it is meant to be?
> 
> This snippet shows that this only works sometimes (for the first key
> signature for example) but not always (not for the key signature change).
> 2nd question: Why not?
> 3rd question: What can I do to achieve this?
> 
> \version "2.17.9"
> 
> \new Staff \with { \consists "Balloon_engraver"}
> {
>   \relative c'' {
>     \balloonLengthOff
>     \balloonGrobText #'KeySignature #'(1 . -3) "Here it works"
>     \key g \major
>     a1 a1
>     \balloonGrobText #'KeySignature #'(1 . -2) "Here it doesn't"
>     \key f \major
>     a1
>   }
> }
> 
> Any help is apreciated!

it's very important to hit the correct context when overriding properties!

\new Staff \with {
  \consists "Balloon_engraver"
  \balloonLengthOn
}

should respect the length of the balloon text, whereas putting
\balloonLengthOn/Off between the notes will \override the /voice/'s property
only.

hth
Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/BalloonGrobText-spacing-tp138839p138897.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

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