Re: attaching markup to time signature

2018-06-01 Thread dfro
Kieren, Thank you. Peace, David On 6/1/18 11:43 AM, Kieren MacMillan wrote: Hi David, Is it possible to get the markup to attach to the clef or time signature only in the bass staff? I am getting the text to show, but it is attaching to both staves. You’ve put the Balloon_engraver in the

Re: attaching markup to time signature

2018-06-01 Thread David Kastrup
Kieren MacMillan writes: > Hi David, > >> Is it possible to get the markup to attach to the clef or time signature >> only in the bass staff? I am getting the text to show, but it is attaching >> to both staves. > > You’ve put the Balloon_engraver in the Score context, so all staves will >

Re: attaching markup to time signature

2018-06-01 Thread Kieren MacMillan
Hi David, > Is it possible to get the markup to attach to the clef or time signature only > in the bass staff? I am getting the text to show, but it is attaching to both > staves. You’ve put the Balloon_engraver in the Score context, so all staves will display balloons. Use \with on the one

Re: attaching markup to time signature

2018-05-31 Thread dfro
Kieren, I was playing with the code you shared on this thread, and I have a question. Is it possible to get the markup to attach to the clef or time signature only in the bass staff? I am getting the text to show, but it is attaching to both staves. Thanks for any advice. Peace, David

Re: attaching markup to time signature

2018-04-12 Thread Kieren MacMillan
Hi Werner (and David), > Well, this is cheating, isn't it? I prefer “creative”. ;) Cheers, Kieren. Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email: i...@kierenmacmillan.info ___ lilypond-user

Re: attaching markup to time signature

2018-04-12 Thread Werner LEMBERG
>>> This is the solution I will use, since David's solution doesn't >>> really work for me: As the attached image for this snippet shows, >>> the staff line gets enlarged horizontally to the left. Using the >>> baloon stuff, the text properly sticks out. >> >> What about >> >> \new Staff >> {

Re: attaching markup to time signature

2018-04-12 Thread David Kastrup
Kieren MacMillan writes: > Hi Werner, > >> This is the solution I will use, since David's solution doesn't really >> work for me: As the attached image for this snippet shows, >> the staff line gets enlarged horizontally to the left. Using the >> baloon stuff, the

Re: attaching markup to time signature

2018-04-12 Thread Kieren MacMillan
Hi Werner, > This is the solution I will use, since David's solution doesn't really > work for me: As the attached image for this snippet shows, > the staff line gets enlarged horizontally to the left. Using the > baloon stuff, the text properly sticks out. What about \new Staff { \tweak

Re: attaching markup to time signature

2018-04-12 Thread Werner LEMBERG
David, Kieren, thanks a lot for your snippets! For didactical purposes I need centered, explanatory text over a time signature. > Here's a snippet showing how balloon text might be used. This is the solution I will use, since David's solution doesn't really work for me: As the attached image

Re: attaching markup to time signature

2018-04-12 Thread Kieren MacMillan
Hi David, > Huh. It's in the context of > > \new Voice \with { ... } > { > ... > } > > I don't think we have examples along the lines > > \new Score \with { ... } > { > ... > } > > but if that's where the ad-hoc engraver is best placed, maybe we should? Another alternative would be to

Re: attaching markup to time signature

2018-04-12 Thread David Kastrup
Kieren MacMillan writes: > Hi David, > >> Time signatures are engraved at Staff context. I'd likely suggest to >> put Balloon_engraver at Score level anyway: no point in having more than >> one of them active, is there? > > I was thinking that myself… but the docs

Re: attaching markup to time signature

2018-04-12 Thread Ben
On 4/12/2018 10:35 AM, David Kastrup wrote: Ben writes: On 4/12/2018 8:26 AM, David Kastrup wrote: Werner LEMBERG writes: Folks, is it possible to attach a markup to a time signature? But can't you achieve your goal with the various

Re: attaching markup to time signature

2018-04-12 Thread Kieren MacMillan
Hi all, Here's a snippet showing how balloon text might be used. Hope it helps! Kieren. %%% SNIPPET BEGINS \version "2.19.80" \layout { \context { \Score \consists "Balloon_engraver" \override BalloonTextItem.annotation-balloon = ##f \override BalloonTextItem.annotation-line

Re: attaching markup to time signature

2018-04-12 Thread Kieren MacMillan
Hi David, > Time signatures are engraved at Staff context. I'd likely suggest to > put Balloon_engraver at Score level anyway: no point in having more than > one of them active, is there? I was thinking that myself… but the docs explicitly add it at the Voice level (cf.

Re: attaching markup to time signature

2018-04-12 Thread David Kastrup
Ben writes: > On 4/12/2018 8:26 AM, David Kastrup wrote: >> Werner LEMBERG writes: >> >>> Folks, >>> >>> >>> is it possible to attach a markup to a time signature? >> >> >> But can't you achieve your goal with the various footnote/balloon >> mechanisms?

Re: attaching markup to time signature

2018-04-12 Thread David Kastrup
Kieren MacMillan writes: > Hi David, > >> can't you achieve your goal with the various footnote/balloon mechanisms? > > I just tried to — in order to give the OP an example — but my attempt didn’t > work: > > %%% SNIPPET BEGINS > \version "2.19.80" > > \layout {

Re: attaching markup to time signature

2018-04-12 Thread Ben
On 4/12/2018 8:26 AM, David Kastrup wrote: Werner LEMBERG writes: Folks, is it possible to attach a markup to a time signature? But can't you achieve your goal with the various footnote/balloon mechanisms? Just a quick question, David why does your code seem to not

Re: attaching markup to time signature

2018-04-12 Thread Kieren MacMillan
Hi David, > can't you achieve your goal with the various footnote/balloon mechanisms? I just tried to — in order to give the OP an example — but my attempt didn’t work: %%% SNIPPET BEGINS \version "2.19.80" \layout { \context { \Voice \consists "Balloon_engraver" } } stuff = {

Re: attaching markup to time signature

2018-04-12 Thread David Kastrup
Werner LEMBERG writes: > Folks, > > > is it possible to attach a markup to a time signature? \new Staff { \tweak stencil #(grob-transformer 'stencil (lambda (grob default) (grob-interpret-markup grob #{ \markup \column { \stencil #default \vspace #-2 \small