At 13:41 on 04 Sep 2014, Neil Puttock wrote:
>On 4 September 2014 13:18, Richard Shann <[email protected]>
>wrote:
>
>> this illustrates the meaning, but doesn't hint at how to create a
>> variant of the procedure (in my case, make-small-markup is too
>> small).
>
>If I recall, it's a scheme macro which generates these. It only works
>for existing markup commands; if you wanted to use this with your own
>command you'd first have to create it via define-markup-command.
Aha, I see it in scm/markup-macros.scm. And indeed this works:
\version "2.18.0"
#(define-markup-command (smallish layout props text) (markup?)
"Not quite as small..."
(interpret-markup layout props
#{\markup \override #'(font-size . -0.5) { \normal-text #text }#}))
\markup \small "test"
\markup \smallish "test"
\header { title = #(make-smallish-markup "test") }
--
Mark Knoop
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user