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.
11 However, non-standard key signatures can be specified by setting this
12 property directly. The format of this command is a list:
14 @code{ \\set Staff.keySignature = #`(((octave . step) . alter) ((octave
15 . step) . alter) ...) } where, for each element in the list,
16 @code{octave} specifies the octave (0 being the octave from middle C to
17 the B above), @code{step} specifies the note within the octave (0 means
18 C and 6 means B), and @code{alter} is @code{,SHARP ,FLAT ,DOUBLE-SHARP}
19 etc. (Note the leading comma.)
22 However, for each item in the list, you can also use the alternative
23 format @code{(step . alter)}, which specifies that the same alteration
24 should hold in all octaves.
27 Here is an example of a possible key signature for generating a
32 \set Staff.keySignature = #`(((0 . 3) . ,SHARP) ((0 . 5) . ,FLAT) ((0 . 6) . ,FLAT))