Re: How to allow overlapping / overprinting markup?
Hi Trevor, > Great idea, actually Hurray! > I was looking for an override I could stick in an externalized stylesheet Yeah, I poked around for a couple seconds, and then just gave you the easy answer… ;) I'm sure there *is* a way (e.g., callback?), but I'm in the midst of cramming out some commissions so couldn't spare the cycles. > Thanks (as per usual)! De nada! Kieren. Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email: i...@kierenmacmillan.info ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to allow overlapping / overprinting markup?
Hey Kieren, Great idea, actually: I was looking for an override I could stick in an externalized stylesheet (the markup in question are in a dedicated AnnotationContext) but I can just as easily iterate the (Abjad-initialized) markup and null-out the dimensions. Thanks (as per usual)! Trevor. On Tue, Jan 9, 2018 at 11:39 AM, Kieren MacMillan < kieren_macmil...@sympatico.ca> wrote: > Hey Trevor, > > > What's the right way to allow two pieces of markup to overlap on top of > each other? > > What about > > \new Staff { > \override TextScript.staff-padding = 4 > \override TextScript.Y-extent = ##f > c'4 > ^ > \markup \with-dimensions-from \null { > Allegro > } > d'4 > ^ > \markup \with-dimensions-from \null { > non troppo > } > e'4 > f'4 > } > > ?? > > Hope that helps! > Kieren. > > > Kieren MacMillan, composer > ‣ website: www.kierenmacmillan.info > ‣ email: i...@kierenmacmillan.info > > -- Trevor Bača www.trevorbaca.com soundcloud.com/trevorbaca ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: How to allow overlapping / overprinting markup?
Hey Trevor, > What's the right way to allow two pieces of markup to overlap on top of each > other? What about \new Staff { \override TextScript.staff-padding = 4 \override TextScript.Y-extent = ##f c'4 ^ \markup \with-dimensions-from \null { Allegro } d'4 ^ \markup \with-dimensions-from \null { non troppo } e'4 f'4 } ?? Hope that helps! Kieren. Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email: i...@kierenmacmillan.info ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
How to allow overlapping / overprinting markup?
Hi, What's the right way to allow two pieces of markup to overlap on top of each other? ### BEGIN ### \version "2.19.80" \new Staff { \override TextScript.staff-padding = 4 \override TextScript.Y-extent = ##f c'4 ^ \markup { Allegro } d'4 ^ \markup { non troppo } e'4 f'4 } ### END ### I would imagine that setting y-extent to zero would do the trick. But in the example above, LilyPond moves the second piece of markup up and out of the way. (This, of course, is exactly the right default behavior.) But how do I specify that the two pieces of markup should align vertically (hence the staff-padding) *even at the expense of overprinting*? A morning of setting various spacing parameters to ##f, #'(0 . 0), #'(+info.0 . -inf.0) and the like seemed to yield no overprinting, no matter what the configuration of settings. Thanks, Trevor. -- Trevor Bača www.trevorbaca.com soundcloud.com/trevorbaca ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user