lilypond-user
[Top][All Lists]
Advanced

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

Re: Repeating \markup commands


From: David Kastrup
Subject: Re: Repeating \markup commands
Date: Sun, 08 Apr 2018 16:56:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

David Sumbler <address@hidden> writes:

> The piece I am setting has a narrator.  For the score I have worked out
> a way of adding the narrator's short speeches over the music which
> gives the appearance I want.
>
> It entails using the same markup commands for every individual speech,
> e.g.:
>
> s^\markup { \whiteout \pad-markup #2 "Just listen!" }
>
> (The s is an invisible rest)
>
> It would be nice to be able to do something like:
>
> s^\nar "Just listen!"
>
> How could nar be defined in this case?

Current development version:

nar = ^\markup \whiteout \pad-markup #2 \etc

Older stuff:

nar =
#(define-event-function (parser location m) (markup?)
   #{ ^\markup \whiteout \pad-markup #2 #m #})

Not that much worse, actually.

-- 
David Kastrup



reply via email to

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