lilypond-devel
[Top][All Lists]

## Re: R\fermata: How to build a markup in C++?

 From: Neil Puttock Subject: Re: R\fermata: How to build a markup in C++? Date: Tue, 16 Apr 2019 12:38:30 +0100

On Tue, 16 Apr 2019 at 12:30, Malte Meyn <address@hidden> wrote:

> Thanks for the hint! I had already seen that (only then I realised that
> \fermata already creates a MultiMeasureTextEvent and
> MultiMeasureRestText grob that just has an 'articulation-type instead of
> 'text property). But your hint made me look again at that place. Maybe I
> could build the 'text from the 'articulation easier in Scheme than in
> C++ (i. e. change the definition of script-to-mmrest-text so that it
> gives ‘music’ a 'text property before calling make-music).

Yeah.  You should be able to check for an articulation-event and
extract the type to build the markup.