|
From: | David Nalesnik |
Subject: | Re: Good recipe for numeric scale degree? (numerals with hat/caret) |
Date: | Wed, 16 Dec 2015 18:01:02 -0600 |
Wow that looks pretty great, thanks!On Wed, Dec 16, 2015 at 2:06 PM, Klaus Blum <address@hidden> 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.
[Prev in Thread] | Current Thread | [Next in Thread] |