-%% Do not edit this file; it is automatically
+%% DO NOT EDIT this file manually; it is automatically
%% generated from LSR http://lsr.dsi.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
%% This file is in the public domain.
-\version "2.13.10"
+\version "2.16.0"
\header {
- lsrtags = "tweaks-and-overrides"
+ lsrtags = "devel, scheme-language, tweaks-and-overrides"
texidoc = "
When working with grob callbacks, it can be helpful to understand a
parent may have parents of its own.
-Unfortunately, there are several aspects of a grob's ancestry can lead
-to confusion:
+Unfortunately, there are several aspects of a grob's ancestry that can
+lead to confusion:
* The types of parents a grob has may depend on context. * For some
grobs, the X- and Y-parents are the same. * A particular @qq{ancestor}
(format #f "~&")))
#(define (display-ancestry grob)
- (display
- (string-append
- (format #f "~3&~a~2%" (make-string 36 #\-))
- (format-ancestry (get-ancestry grob) 0)
- (format #f "~2&"))))
+ (format (current-error-port)
+ "~3&~a~2%~a~&"
+ (make-string 36 #\-)
+ (format-ancestry (get-ancestry grob) 0)))
\relative c' {
\once \override NoteHead #'before-line-breaking = #display-ancestry
- f
+ f4
\once \override Accidental #'before-line-breaking = #display-ancestry
\once \override Arpeggio #'before-line-breaking = #display-ancestry
- <f as c>\arpeggio
+ <f as c>4\arpeggio
}
-