lilypond-user
[Top][All Lists]
Advanced

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

\balloonText does not work outside a <chord> construct


From: Pierre-Luc Gauthier
Subject: \balloonText does not work outside a <chord> construct
Date: Wed, 23 Mar 2016 15:14:24 -0400

Hi,

I wonder why doesn't the \balloonText command work outside a <chord> construct?

In the MWE included, LilyPond throws errors if you remove the < > construct.

Is it by design?

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.18.2"

\score {
  \new Staff {
    \new Voice \with { \consists "Balloon_engraver" }

    % The example bellow is working
    \balloonGrobText #'NoteHead #'(3 . 4) \markup { "Note head 1" }
    g'2.

    % This is only working in chord <> construct
    <b'-\balloonText #'(3 . -2) \markup { "Note head 2" }>2.

    % e.g. this does not work
    %a'2.-\balloonText #'(3 . -2) \markup { "Note head 3" }

  }
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

On a side note,
I brute forced the  line :
\override BalloonTextItem.annotation-balloon = ##f
for quite awhile.
I use it to remove the "square" around the balloon subject.
I guess my (second) question is: how do you guys know how many # to use if any?
What documentation would you recommend for me to demystify this?

Thanks
-- 
Pierre-Luc Gauthier

Attachment: balloonNotInChord.ly
Description: Text Data


reply via email to

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