On 17/02/2025 19:36, Xavier Scheuer wrote:
On Mon, 17 Feb 2025 at 19:56, Raphael Mankin <r...@mankin.org.uk
<mailto:r...@mankin.org.uk>> wrote:
>
> I cannot get BalloonText to work. I have copied as literally as I can
> from NR 1.7.2
Hello,
Use \balloonGrobText before a note or -\balloonText after a note within
chords.
NR 1.7.2 says "typically within chords,"; it does not say "only within
chords". Maybe the NR needs updating.
Here you use the latter but not within a chord.
You could write
<c-\balloonText #'(-2 . -2) \markup {\bold "crotchet in original"}>4
Or
\balloonGrobText #'NoteHead #'(-2 . -2) \markup {\bold "crotchet in
original"} c4
Kind regards,
Xavier
I have tried both your suggestions and I get no errors, but no output
whatsoever. I am using the standard Ubuntu package of Frescobaldi+Lilypond.
Amended MWE attached
\version "2.24.3"
\language "english"
\header {
title = "Balloon Text"
}
global = {
\key c \major
\numericTimeSignature
\time 4/4
}
sopranoVoice = \relative c'' {
\global
\dynamicUp
% Music follows here.
\new Voice\with { \consists "Balloon_engraver" }
{ \balloonLengthOn %%% Does not help
<c-\balloonText #'(-2 . -2) \markup {\bold "crotchet in original"}>
\balloonGrobText #'NoteHead #'(-2 . -2) \markup {\bold "crotchet in original"} c4
}
}
\score {
\new Staff \with {
instrumentName = "Soprano"
shortInstrumentName = "S."
} { \sopranoVoice }
\layout { }
}