Dear Mats,
On 04/02/2008, Mats Bengtsson wrote:
I'm afraid the easiest solution is to copy paste from the file
.../scm/define-markup-commands.scm, where you can find the implementation
of all the standard markup commands.
Thanks, I'll look into it.
One more thing... Does anyone know where
Hi again,
On 05/02/2008, Risto Vääräniemi wrote:
One more thing... Does anyone know where the make-center-align-markup
and make-column-markup are defined? They are not defined inside
define-markup-commands.scm. In fact I (read Windoze search) cannot
find them anywhere inside the binary or
they
are there somewhere but the search just cannot find them.
I have already answered that question in my previous email:
Note also that the make-right-align-markup Scheme function is just an
automatically generated Scheme wrapper to the \right-align markup
command,
see the end of Markup
I suppose it is
(define-builtin-markup-command (center-align layout props args)
(markup-list?)
Put @code{args} in a centered column.
(let* ((mols (interpret-markup-list layout props args))
(cmols (map (lambda (x) (ly:stencil-aligned-to x X CENTER)) mols)))
(stack-lines -1 0.0
Dear All,
OK. I must admit that there's no such thing. I just wanted to get your
attention. :-)
I've been searching for a scheme function that I could use for
aligning markups on their right edges. I found a solution for
centering them (below) and it uses a function / procedure called
to get right alignment instead. Just remember to
replace define-builtin-markup-command by define-markup-command.
Note also that the make-right-align-markup Scheme function is just an
automatically generated Scheme wrapper to the \right-align markup command,
see the end of Markup construction