[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: loco function which adds markup to the *next* musical moment
From: |
David Kastrup |
Subject: |
Re: loco function which adds markup to the *next* musical moment |
Date: |
Tue, 20 Oct 2015 18:47:34 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Kieren MacMillan <address@hidden> writes:
> Hi David,
>
>> Can you create a better mockup here?
>
> \version "2.19.28"
>
> loco = \ottava #0
>
> \markup "What I want:"
> theMusic = {
> \ottava #1 c'' d'' e'' f'' \loco r4 r r r g''^\markup "loco"
> }
>
> \score { \theMusic }
>
> locoII = { \ottava #0 <>^\markup "loco" }
>
> \markup "What I get:"
> theMusicII = {
> \ottava #1 c'' d'' e'' f'' \locoII r4 r r r g''
> }
>
> \score { \theMusicII }
>
> Hope this helps clarify my question/request.
Well, yes. With my suggestion of an additional music expression, this
would end up as
\ottava #1 c'' d'' e'' f'' \locoIII { r4 r r r } g''
with the general use case likely being \locoIII g'' or so (basically,
tack onto the text scripts of a chord or rhythmic event but place after
other music expressions).
Not particularly fabulous, but "next moment" is something that's not
readily accessible at the music expression level.
--
David Kastrup
Re: loco function which adds markup to the *next* musical moment, H. S. Teoh, 2015/10/20