[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FW: help with custom markup command?
From: |
Monk Panteleimon |
Subject: |
FW: help with custom markup command? |
Date: |
Thu, 20 Jul 2006 21:41:54 -0400 |
Yes, I've been looking at the 2.9 docs, and I see that they are quite
clearly written, but it's still pretty hard for me, being a non-programmer.
Maybe I can submit some more specific questions.
Let's say in the "smallcaps" example in section 12.4.3 we wanted to employ
the functions represented in lilypond syntax by \justify and by \override
#'(line-width . 60) Where would they go? I tried imitating the syntax for
the font-shape in the example, but that didn't work. I tried similar
sytntax but replacing "layout" instead of "props" too.
I couldn't get either justification or line-width to work in a simple markup
written in scheme syntax (a-la 12.4.1) either. #:justify made the whole
thing go south, and besides the text in those examples was all strings and
strings don't justify in markups.
I think I might be able to get it from there if someone can help me with
that one question.
Am I correct in my conclusion that only a #(define-markup-command (foo and
not a foo = #(markup .. can take a (markup?).
Thanks.
Fr. P
-----Original Message-----
From: Graham Percival [mailto:address@hidden
Have you read the 2.9 docs? This chapter has been almost entirely rewritten
and is _way_ easier to understand.
Cheers,
- Graham