Can anyone tell me how to apply \tiny to a list of text pieces in define-markup-function or why the following:

#(define-markup-command (mm layout props notetype beats) (string? string?)
 (interpret-markup layout props
  (markup
   #:tiny (list "(" #:raise 0.4 (#:note notetype 1) "=" beats ")" )
 )))

gives:

Preprocessing graphical objects...../short.ly:9:34: In expression (#:note notetype 1):
../short.ly:9:34: Wrong type to apply: #:note

?

I can get the code to work by applying #:tiny to each piece of the text individually.

TIA,

Paul Scott


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

Reply via email to