User:Rudi Guggt/scheme-functions: Difference between revisions

Created page with "From the documentation: [https://lilypond.org/doc/v2.25/Documentation/internals/scheme-functions scheme-functions] Scheme functions Function: add-bar-glyph-print-procedure glyph proc Specify the single glyph glyph that calls print procedure proc. The procedure proc has to be defined in the form (make-...-bar-line grob extent) even if the extent is not used within the routine. Function: ly:add-context-mod contextmods modification Adds the given context modif..."
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
Scheme functions
Scheme functions


Function: add-bar-glyph-print-procedure glyph proc
Function: [[Customizing the position and number of dots in repeat sign bar lines|add-bar-glyph-print-procedure glyph proc]]


    Specify the single glyph glyph that calls print procedure proc. The procedure proc has to be defined in the form (make-...-bar-line grob extent) even if the extent is not used within the routine.  
:Specify the single glyph glyph that calls print procedure proc. The procedure proc has to be defined in the form (make-...-bar-line grob extent) even if the extent is not used within the routine.  


Function: ly:add-context-mod contextmods modification
Function: ly:add-context-mod contextmods modification
Line 26: Line 26:
Function: add-new-clef clef-name clef-glyph clef-position transposition c0-position
Function: add-new-clef clef-name clef-glyph clef-position transposition c0-position


    Add a new clef to the list of supported clefs.
:Add a new clef to the list of supported clefs.
 
:The arguments clef-name, clef-glyph, clef-position, and transposition are used to add an entry to the supported-clefs alist. Arguments clef-glyph and c0-position extend c0-pitch-alist.  
    The arguments clef-name, clef-glyph, clef-position, and transposition are used to add an entry to the supported-clefs alist. Arguments clef-glyph and c0-position extend c0-pitch-alist.  
: [[Using non-standard clef positions and adding customized clef definitions|Link to example]]


Function: ly:add-option sym val description rest
Function: ly:add-option sym val description rest