Am 19.10.2016 um 16:28 schrieb Kieren MacMillan:
> Hi Urs,
>
>>> Maybe you can be the one to finally tackle this issue?  =)
>> I don't have the slightest idea how that should be approached, sorry …
> Okay… thanks anyway.
>
>> Well, for this example I simply added white letters to the two markups,
>> ehm ... (after I didn't immediately manage to automatically concat them
>> through a function)
> \combine works for me:
>
> %%%%  SNIPPET BEGINS
> \version "2.19"
> \language "english"
>
> strut = \markup \transparent { Tj }
>
> #(define-markup-command (mstrut layout props mkp)
>    (markup?)
>      (interpret-markup layout props
>      (markup #:combine mkp strut)))
>
> \paper { ragged-right = ##f }
>
> baselines = {
>   \override TextScript.padding = #2.5
>   c'4^\markup \mstrut "Du liebst mich nicht" c' c' c' c'1 \bar "||"
>   e'16^\markup \mstrut "Der Zwerg" a' e' a' e' a' e' a' r2
>   <e' a' c'>2^\markup \mstrut "An mein Herz" r
> }
>
> \score { \baselines }
> %%%%  SNIPPET BEGINS

Thanks!
I think I should eventually write a chapter about markup commands in
order to finally understand how to use them ;-)

>
> Which makes me think… maybe there’s a way to make a global callback so that 
> all markup is automatically mstrut-ted?
> I would just have no idea how to do that…
>
> Cheers,
> 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

Reply via email to