[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: macro variable doesn't behave same as original?
From: |
Caagr98 |
Subject: |
Re: macro variable doesn't behave same as original? |
Date: |
Tue, 14 Nov 2017 13:25:12 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 |
In the first version, you're applying the \fermata post-event to the c2, which
is perfectly valid. In the second one, you're applying it to the {...}, which
doesn't make sense. I'm afraid I don't know any good solution, though.
On 11/14/17 13:21, Patrick Smith wrote:
> This works:
>
> \version "2.18.2"
> \relative c' {
> \time 2/4
> c4 c( d) d( e) e( f) f( g) g( a) a( b) b( c) c( b) b( a) a( g) g( f) f( e)
> e( d) d( c2)~ c2 \fermata \bar "|."
> layout{}
> }
>
> This doesn't work:
>
> \version "2.18.2"
> macrovariable = {c4 c( d) d( e) e( f) f( g) g( a) a( b) b( c) c( b) b( a) a(
> g) g( f) f( e) e( d) d( c2)~ c2 }
> \relative c' {
> \time 2/4
> \macrovariable \fermata \bar "|."
> layout{}
> }
>
> Why?
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>