Thanks Robin,

I think it should probably be centre-column (as in make-centre-column-markup) 
and it’s just a doc mistake.

Good to know this can also be used for custom markup.

Thanks

Alex


> On 9 Nov 2024, at 22:46, Robin Bannister <r...@dabble.ch> wrote:
> 
> Alex Harker wrote:
> 
>> I’m read the below from here: 
>> https://lilypond.org/doc/v2.24/Documentation/extending/markup-construction-in-scheme
>> “The markup-list argument of commands such as #:line, #:center, and #:column 
>> cannot be a variable or the result of a function call.
>> (markup #:line (function-that-returns-markups))
>> is invalid. One should use the make-line-markup, make-center-markup, or 
>> make-column-markup functions instead,"
>> However - make-center-markup is not available to call (it is an unbound 
>> symbol when I hit compile.
> 
> That caveat text has been there since 2.12.1 when the docs were reorganised.
> 
> I couldn't find a 'center' command.
> There are however 'hcenter' or 'vcenter'that you could try.
> 
> And you can say 'make-'blabla'-markup' for any markup 'blabla',
> even your own.
> 
> 
> 
> Cheers,
> Robin


Reply via email to