Re: Scheme: Is there a make-right-align-markup?

2008-02-05 Thread Risto Vääräniemi
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

Re: Scheme: Is there a make-right-align-markup?

2008-02-05 Thread Risto Vääräniemi
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

Re: Scheme: Is there a make-right-align-markup?

2008-02-05 Thread Mats Bengtsson
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

Re: Scheme: Is there a make-right-align-markup?

2008-02-05 Thread Bertalan Fodor (LilyPondTool)
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

Scheme: Is there a make-right-align-markup?

2008-02-04 Thread Risto Vääräniemi
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

Re: Scheme: Is there a make-right-align-markup?

2008-02-04 Thread Mats Bengtsson
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