lilypond-user
[Top][All Lists]
Advanced

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

Re: \uppercase function


From: Mark Knoop
Subject: Re: \uppercase function
Date: Fri, 16 Jun 2023 15:10:27 +0100
User-agent: mu4e 1.11.6; emacs 28.2

Not offhand, but I'd start with make-small-caps in
define-markup-commands.scm and strip out the is-lower logic.

At 09:41 on 16 Jun 2023, Kieren MacMillan wrote:
> Hi all!

> Anyone have a good \uppercase function they could share?

> I tried to make one, and it doesn’t throw an error, but also doesn’t
> work:

> \version "2.25.2"

> #(define-markup-command (uppercase layout props arg) (markup?)
>    (interpret-markup layout props (string-upcase (markup->string arg))))

> \header {
>   title = "My Awesome Piece"
> }

> \paper {
>   scoreTitleMarkup = \markup \uppercase \fromproperty #'header:title
> }

> { c1 }

> Thanks,
> Kieren.

--
Mark Knoop



reply via email to

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