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
\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" }

  }
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to