lilypond-user
[Top][All Lists]
Advanced

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

Re: Extension:Score


From: Francisco Vila
Subject: Re: Extension:Score
Date: Wed, 24 Apr 2013 16:47:32 +0200

2013/4/24 Klaus Föhl <address@hidden>:
> Carlo Stemberger schrieb:
>> Il 23/04/2013 17:49, Klaus Föhl ha scritto:
>>
>>    Hello,
>>
>>    Just snooping around and discovering that this markup:
>>    <score>\relative c' { f d f a d f e d cis a cis e a g f e }</score>
>>    now [works on|has been enabled for] mediawiki i.e. en.wikipedia.org
>>
>> Commands like \time or \key seem not to work...
>
> You need to get the grouping right, using << >> or { } as appropriate.
>
> <score> << { \time 3/4 \key c \minor { \relative c' { f d f a d f e d cis a
> cis e a g f e } } } >> </score> does work...
> ...I agree, it may take some try-and-error...

Or apply the lilypond logic instead. In this code, a '<<>>' and two
'{}' are unnecessary.

<score> << { \time 3/4 \key c \minor { \relative c' { f d f a d f e d
cis a cis e a g f e } } } >> </score>

is the same as

<score>\relative c' { \time 3/4 \key c \minor f d f a d f e d cis a
cis e a g f e }</score>

unless you really need to use several nested music expressions.

Although must confess I also use trial&error for constructs I think I
master but I don't.
-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com



reply via email to

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