Next: Overview of available music functions, Previous: Void functions, Up: Music functions
In most cases a function without arguments should be written with an identifier,
dolce = \markup{ \italic \bold dolce }
However, in rare cases it may be useful to create a music function without arguments,
displayBarNum = #(define-music-function (parser location) () (if (eq? #t (ly:get-option display-bar-numbers)) #{ \once \override Score.BarNumber #'break-visibility = ##f #} #{#}))
To actually display bar numbers where this function is called, invoke lilypond with
lilypond -d display-bar-numbers FILENAME.ly
Next: Overview of available music functions, Previous: Void functions, Up: Music functions
Esta página corresponde a LilyPond-2.11.28 (rama de desarrollo).
Informe de los fallos a http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.
Your suggestions for the documentation are welcome.