(_i "Revert to the default note head style.")
(revert-head-style '(NoteHead TabNoteHead)))
+#(define (context-name? c)
+ "A stopgap measure until dotted lists become available as arguments.
+Distinguish context names from accidental styles by virtue of their
+first letter being uppercase."
+ (and (symbol? c)
+ (char-upper-case? (string-ref (symbol->string c) 0))))
accidentalStyle =
#(define-music-function
- (parser location context style) ((symbol?) string?)
+ (parser location context style) ((context-name?) string?)
(_i "Set accidental style to @var{style}, a string. If an optional
@var{context} symbol is given, e.g. @code{#'Staff} or @code{#'Voice},
the settings are applied to that context. Otherwise, the context
}
+%% bar lines
+
+defineBarLine =
+#(define-void-function
+ (parser location bar glyph-list) (string? list?)
+ (_i "Define bar line settings for bar line @var{bar}.
+ The list @var{glyph-list} must have three entries which define
+ the appearance at the end of line, at the beginning of the next line,
+ and the span bar, respectively." )
+ (if (not (= (length glyph-list) 3))
+ (ly:error (_ "Argument list for bar '~a' must have three components.") bar)
+ (define-bar-line bar
+ (car glyph-list)
+ (cadr glyph-list)
+ (caddr glyph-list))))
+
+
%% bass figures
bassFigureExtendersOn = {
(make-music 'SequentialMusic 'void #t))
pointAndClickTypes =
-#(define-void-function (parser location types) (list-or-symbol?)
+#(define-void-function (parser location types) (symbol-list-or-symbol?)
(_i "Set a type or list of types (such as @code{#'note-event}) for which point-and-click info is generated.")
(ly:set-option 'point-and-click types))
}
+%% volta brackets
+
+allowVoltaHook =
+#(define-void-function (parser location bar) (string?)
+ (allow-volta-hook bar))
+
%% x notes
xNotesOn =