1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
6 lsrtags = "pitches, staff-notation"
8 The commonly used @code{\\key} command sets the @code{keySignature}
9 property, in the @code{Staff} context. However, non-standard key
10 signatures can be specified by setting this property directly. The
11 format of this command is a list: @code{ \\set Staff.keySignature =
12 #'(((octave . step) . alter) ((octave . step) . alter) ...) } where,
13 for each element in the list, octave specifies the octave (0 being the
14 octave from middle C to the B above), step specifies the note within
15 the octave (0 means C and 6 means B), and alter is ,SHARP ,FLAT
16 ,DOUBLE-SHARP etc. (Note the leading comma.)
18 However, for each item in the list, you can also use the alternative
19 format (step . alter), which specifies that the same alteration should
23 Here is an example of a possible key signature for generating a
28 \set Staff.keySignature =
29 #`(((0 . 3) . ,SHARP) ((0 . 5) . ,FLAT) ((0 . 6) . ,FLAT))