[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: top-level markup in Scheme
From: |
David Kastrup |
Subject: |
Re: top-level markup in Scheme |
Date: |
Fri, 13 May 2022 10:57:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Werner LEMBERG <wl@gnu.org> 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
(make-italic-markup "foo")
will also work. It is not clear what you mean with "top-level" however.
Of course at the top level of a LilyPond document, markup gets
interpreted by calling an appropriate hook.
--
David Kastrup