Thank you Klaus, it's a smart idea!
Cheers,
Pierre

2015-03-29 17:29 GMT+02:00 Klaus Blum <benbigno...@gmx.de>:

> Hi Pierre,
>
> the balloon spanner is attached to the center of the balloon text markup
> only if it does not cover a Y distance, f. ex. \balloonText #'(6 . 0)
>
> The only idea I have is to tweak the markup dimensions by
> \with-dimensions #'(0 . 0) #'(0 . 0)
> or
> \with-dimensions #'(0 . 0) #'(0 . 1)
>
> Anyway, a big drawback is that the markup text will not be considered for
> spacing calculations.
>
> %
>
> ------------------------------------------------------------------------------
> \version "2.18.2"
>
> \new Staff {
>   <<
>     \new Voice = "Up" \relative e'' {
>       \voiceOne
>       e8 fis g e fis4. e8  |
>       *2
>     }
>     \new Voice = "Down" \with { \consists "Balloon_engraver" }
>     \relative c {
>       \voiceTwo
>       \override BalloonTextItem.annotation-balloon = ##f
>       <e-\balloonText #'(6 . 0)
>       \markup
>       \override #'(baseline-skip . 1.3)
>       \center-column {
>         \fontsize #-4 \circle\number &quot;6&quot;
>         \vspace #.07
>         \musicglyph #&quot;pedal.*&quot;
>         \concat {
>           \fontsize #-3 &quot;(&quot;
>           \hspace #.3
>           \raise #0.3 \finger &quot;p&quot;
>           \fontsize #-3 &quot;)&quot;
>         }
>       }
>       g'b>2
>       <d'-\balloonText #'(8 . -1)
>       \markup
>       \override #'(baseline-skip . 1.3)
>       \with-dimensions #'(0 . 0) #'(0 . 0)
>       \center-column {
>         \musicglyph #&quot;pedal.*&quot;
>         \concat {
>           \fontsize #-3 &quot;(&quot;
>           \hspace #.3
>           \raise #0.3 \finger &quot;p&quot;
>           \fontsize #-3 &quot;)&quot;
>         }
>       }
>       a' d>
>     }
>   >>
> }
> % -----------------------------------------------------------------------
>
> Cheers,
> Klaus
>
>
>
>
> --
> View this message in context:
> http://lilypond.1069038.n5.nabble.com/Change-the-Y-offset-of-a-ballon-markup-tp173834p173842.html
> Sent from the User mailing list archive at Nabble.com.
>
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to