[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Set accidental style in the layout block
From: |
Bill Mooney |
Subject: |
Set accidental style in the layout block |
Date: |
Fri, 01 Jul 2011 16:56:59 +1200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 |
You wrote...
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Hi,
Is there a way to set accidental style in the \layout block?
\layout {
\context {
\Voice
#(set-accidental-style 'piano)
}
}
gives me an error: "syntax error, unexpected MUSIC_IDENTIFIER".
IIUC #(set-accidental-style 'piano) only works within a music
expression. I'd like to be able to define this layout setting within
the \layout block, as I do for Score.skipBars or
MultiMeasureRest #'expand-limit for example.
Is there a way to define accidental style outside the music expression?
Cheers,
Xavier
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
My reading of the NM leads me to infer that #(set-accidental-style
'"whatever") can go only in a Staff context... :-
see p22 - p28 of the NM.
...but I haven't tested it! :)
Hope this helps
Regards
Bill
- Set accidental style in the layout block,
Bill Mooney <=