Le 13/05/2022 à 15:30, Valentin Petzel a écrit :
Hello Werner,
if you intend to create Markup- or Score-Section from Scheme you might want to
directly invoke (add-text some-markup) and (add-score some-score). This would
allow you to cleanly handle stuff like inserting multiple markups and
Hello Werner,
if you intend to create Markup- or Score-Section from Scheme you might want to
directly invoke (add-text some-markup) and (add-score some-score). This would
allow you to cleanly handle stuff like inserting multiple markups and scores at
the same time from a bit of scheme code.
>> On the other hand, a LilyPond input file containing only
>>
>> ```
>> #(make-italic-markup "foo")
>> ```
>>
>> prints nothing. I now wonder how I can modify the latter to make
>> it actually work – what is the 'appropriate hook'?
>
> s/#/$
This did the trick, thanks! Reading the
> Le 13 mai 2022 à 11:44, Werner LEMBERG a écrit :
>
>
>>> What is the Scheme equivalent to a top-level markup like
>>>
>>> ```
>>> \markup \italic "foo"
>>> ```
>>>
>>> ? I can't find it in the documentation.
>>
>> I am not a fan of the markup macro, but of course
>>
>>
>> What is the Scheme equivalent to a top-level markup like
>>
>> ```
>> \markup \italic "foo"
>> ```
>>
>> ? I can't find it in the documentation.
>
> I am not a fan of the markup macro, but of course
>
> (make-italic-markup "foo")
>
> will also work.
Thanks.
> It is not clear what you mean
Werner LEMBERG writes:
> What is the Scheme equivalent to a top-level markup like
>
> ```
> \markup \italic "foo"
> ```
>
> ? I can't find it in the documentation.
\void \displayScheme \markup \italic "foo"
outputs
(markup #:italic "foo")
I am not a fan of the markup macro, but of course
What is the Scheme equivalent to a top-level markup like
```
\markup \italic "foo"
```
? I can't find it in the documentation.
Werner