]> git.donarmstrong.com Git - lilypond.git/blob - scm/define-grob-interfaces.scm
Merge branch 'master' of git://git.sv.gnu.org/lilypond
[lilypond.git] / scm / define-grob-interfaces.scm
1 ;;;; interface-description.scm -- part of generated backend documentation
2 ;;;;
3 ;;;;  source file of the GNU LilyPond music typesetter
4 ;;;;
5 ;;;; (c) 1998--2006  Han-Wen Nienhuys <hanwen@xs4all.nl>
6 ;;;;                 Jan Nieuwenhuizen <janneke@gnu.org>
7
8
9 ;; should include default value?
10
11
12 (ly:add-interface
13  'accidental-suggestion-interface
14    "An accidental, printed as a suggestion (typically: vertically over a note)"
15    '())
16
17 (ly:add-interface
18  'bass-figure-interface
19  "A bass figure text"
20  '(implicit))
21
22 (ly:add-interface
23  'bend-after-interface
24  "A doit or drop."
25  '(thickness delta-position))
26
27 (ly:add-interface
28  'bass-figure-alignment-interface
29  ""
30  '())
31
32 (ly:add-interface
33  'dynamic-interface
34    "Any kind of loudness sign"
35    '())
36
37 (ly:add-interface
38  'dynamic-line-spanner-interface
39    "Dynamic line spanner"
40    '(avoid-slur))
41
42 (ly:add-interface
43  'finger-interface
44  "A fingering instruction"
45  '())
46
47 (ly:add-interface
48  'fret-diagram-interface
49  "A fret diagram"
50  '(align-dir barre-type dot-color dot-radius finger-code fret-count
51   label-dir number-type size string-count
52   string-fret-finger-combinations thickness))
53
54 (ly:add-interface
55  'grace-spacing-interface
56  "Keep track of durations in a run of grace notes."
57  '(columns common-shortest-duration))
58
59 (ly:add-interface
60  'key-cancellation-interface
61  "A key cancellation"
62  '())
63
64 (ly:add-interface
65  'ligature-interface
66  "A ligature"
67  '())
68
69 (ly:add-interface
70  'key-cancellation-interface
71  "A key cancellation"
72  '())
73
74 (ly:add-interface
75  'ligature-bracket-interface
76  "A bracket indicating a ligature in the original edition"
77  '(width thickness height))
78
79
80 (ly:add-interface
81  'lyric-syllable-interface
82  "A single piece of lyrics"
83  '())
84
85 (ly:add-interface
86  'lyric-interface
87  "Any object that is related to lyrics."
88  '())
89
90 (ly:add-interface
91  'mark-interface
92  "A rehearsal mark"
93  '())
94
95 (ly:add-interface
96  'metronome-mark-interface
97  "A metronome mark"
98  '())
99
100 (ly:add-interface
101  'multi-measure-interface
102  "Multi measure rest, and the text or number that is printed over it."
103  '(bound-padding))
104
105 (ly:add-interface
106 'note-name-interface
107  "Note name"
108  '(style))
109
110 (ly:add-interface
111  'only-prebreak-interface
112  "Kill this grob after the line breaking process."
113  '())
114
115 (ly:add-interface
116  'parentheses-interface
117  "Parentheses for other objects"
118  '(padding stencils))
119
120 (ly:add-interface
121  'piano-pedal-interface
122  "A piano pedal sign"
123  '())
124
125 (ly:add-interface
126  'piano-pedal-script-interface
127  "A piano pedal sign, fixed size"
128  '())
129
130 (ly:add-interface
131  'pitched-trill-interface
132    "A note head to indicate trill pitches"
133    '(accidental-grob))
134
135 (ly:add-interface
136  'trill-pitch-accidental-interface
137  "An accidental for trill pitch"
138  '()
139  )
140
141 (ly:add-interface
142  'rhythmic-grob-interface
143  "Any object with a duration. Used to determine which grobs are
144 interesting enough to maintain a hara-kiri staff."
145  '())
146
147
148 (ly:add-interface
149  'spacing-options-interface
150  "Supports setting of spacing variables"
151  '(spacing-increment shortest-duration-space))
152
153 (ly:add-interface
154  'stanza-number-interface
155  "A stanza number, to be put in from of a lyrics line"
156  '())
157
158 (ly:add-interface
159  'string-number-interface
160  "A string number instruction"
161  '())
162
163 (ly:add-interface
164  'stroke-finger-interface
165  "A right hand finger instruction"
166  '(digit-names))
167
168 (ly:add-interface
169  'system-start-text-interface
170  "A text at the beginning of a system."
171  '(text long-text collapse-height style))
172
173 ;;; todo: this is not typesetting info. Move to interpretation.
174 (ly:add-interface
175  'tablature-interface
176  "An interface for any notes set in a tablature staff"
177  '())
178
179 (ly:add-interface
180  'vertically-spaceable-interface
181  "Objects that should be kept at constant vertical distances. Typically:
182 @internalsref{VerticalAxisGroup} objects of @internalsref{Staff} contexts."
183  '())