On Wed, Dec 16, 2015 at 4:08 PM, Steve Lacy <[email protected]> wrote: > Wow that looks pretty great, thanks! > > On Wed, Dec 16, 2015 at 2:06 PM, Klaus Blum <[email protected]> wrote: > >> Hi Steve, >> >> what about >> >> % ---------------------------------------------- >> #(set-global-staff-size 48) >> >> #(define-markup-command (hat layout props text) (markup? ) >> (interpret-markup layout props >> #{ >> \markup{ >> \override #`(direction . ,UP) >> \override #'(baseline-skip . 1.0) >> \dir-column { >> \halign #CENTER >> $text >> \halign #CENTER >> \scale #'(0.8 . 0.5) >> \lower #0.7 >> "^" >> } >> } >> #})) >> >> \score { >> { >> c' d' e' f' >> } >> \addlyrics { >> \markup \hat "1" >> \markup \hat "2" >> \markup \hat "3" >> \markup \hat "4" >> } >> \layout{} >> } >> % ---------------------------------------------- >> >> At least, the baseline alignment should work like that. >> >> You might get some use out of the \scaleDegree markup command found here: https://github.com/davidnalesnik/lilypond-roman-numeral-tool
It handles altered scale degrees, too. The \rN command could be used to create note names in the diagram you posted. David
_______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
