Should variables in define-music-function have #s ?


padText = #(define-music-function (parser location padding) (number?)
#{

% Both of these lines work.  Which should be in the docs?
%  \once \override TextScript #'padding = $padding
  \once \override TextScript #'padding = #$padding
#})

\relative c''' {
  c4^"piu mosso" b a b
  \padText #1.8
  c4^"piu mosso" d e f
  \padText #2.6
  c4^"piu mosso" fis a g
}




_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to