Hello,
  Three years ago, when I defined a function, someone told me that in Lily 
Scheme can only take up to 3 arguments. I don't know whether this limitation is 
eliminated now, so could you tell me whether the following prints correctly?
Haipeng
\version "2.13.50"
triTempo =
  #(define-music-function (parser location prependText notevaluei notevalueii 
appendText) (string? string? string? string?)
  #{ \tempo \markup { \line { $prependText " (" \fontsize #-2 \general-align #Y 
#DOWN \note #$notevaluei #1 "=" \general-align #Y #DOWN \note #$notevalueii #1 
$appendText ) } }
  #})
  \score {
    \new Staff {
      \time 4/4
      \triTempo "Allegro" "2" "4" "= 60"
      c'4 c' c' c'
    }
    \layout { }
  }


 
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to