Hi Werner,
Am 21.12.21 um 23:07 schrieb Werner LEMBERG:
Please have a look at the following example.
```
\new Score \with {
\consists "Balloon_engraver"
} \new Staff {
\repeat "percent" 2 {
e'4 e' e' e' |
\balloonGrobText #'PercentRepeat #'(0 . 1) \markup "Repeat"
}
\repeat "percent" 2 {
e'2 e' | e' e' |
\balloonGrobText #'DoublePercentRepeat #'(0 . 1) \markup "DoubleRepeat"
}
}
```
This shows a balloon help for `PercentRepeat` but not for
`DoublePercentRepeat`. What am I doing wrong?
It seems that the correct time offset for the DoublePercentRepeat is at
the beginning of the _second_ of the two bars.
This can be conventiently handled with \after - and also note that some
of your # and ' and " characters are not necessary anymore:
\version "2.23"
\new Score \with {
\consists "Balloon_engraver"
} \new Staff {
\repeat percent 2 {
e'4 e' e' e' |
\balloonGrobText PercentRepeat #'(0 . 1) Repeat
}
\after 1*3 \balloonGrobText DoublePercentRepeat #'(0 . 1) DoubleRepeat
\repeat percent 2 {
e'2 e' | e' e' |
}
}
(One might even write 0/1 instead of #'(0 . 1), but I admit that this is
a nasty abuse of LilyPond's syntax conventions.)
Lukas