Revert "Fix syntax error in fret-diagrams.ly"
[lilypond/csorensen.git] / input / lsr / non-traditional-key-signatures.ly
blob0d614ba8d14856e3b11e0fc7989a71766d52870e
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.
3 \version "2.11.48"
5 \header {
6 lsrtags = "pitches, staff-notation"
8 texidoc = "
9 The commonly used @code{\\key} command sets the @code{keySignature}
10 property, in the @code{Staff} context.
12 To create non-standard key signatures, set this property directly. The
13 format of this command is a list:
15 @code{ \\set Staff.keySignature = #`(((octave . step) . alter) ((octave
16 . step) . alter) ...) } where, for each element in the list,
17 @code{octave} specifies the octave (0 being the octave from middle C to
18 the B above), @code{step} specifies the note within the octave (0 means
19 C and 6 means B), and @code{alter} is @code{,SHARP ,FLAT ,DOUBLE-SHARP}
20 etc. (Note the leading comma.)
23 Alternatively, for each item in the list, using the more concise format
24 @code{(step . alter)} specifies that the same alteration should hold in
25 all octaves.
28 Here is an example of a possible key signature for generating a
29 whole-tone scale:
32 doctitle = "Non-traditional key signatures"
33 } % begin verbatim
34 \relative c' {
35 \set Staff.keySignature = #`(((0 . 3) . ,SHARP) ((0 . 5) . ,FLAT) ((0 . 6) . ,FLAT))
36 c4 d e fis
37 aes4 bes c2