lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Use markup in \replace when lilypond is expecting a string?


From: P J
Subject: Use markup in \replace when lilypond is expecting a string?
Date: Wed, 15 Jun 2022 19:41:23 +0100

Sorry if this is a silly question... but I am struggling with the \replace function.
Let's take this example:
-----------
\markup \replace #'(("100" . "hundred")
                    ("dpi" . "dots per inch")) "A 100 dpi."
-----------
What code should I use if rather than replacing "100" with "hundred" I want, say, to replace "100" with a markup, for instance:
\markup \concat { "1" \translate-scaled #' (-0.5 . 0) "00" }
I have not been able to figure this out!
Thank you
PJ



reply via email to

[Prev in Thread] Current Thread [Next in Thread]