2015-04-03 12:05 GMT+02:00 Andrew Bernard <andrew.bern...@gmail.com>:
> Are you sure?
>
> This gives a cascade of errors:
>
> \version "2.19.17"
>
> t = \tuplet
>
> \relative c'' {
>   \t 3/2 { c c c }
> }
>
>
> Andrew
>
>
>
> On 3 April 2015 at 19:27:33, guoguocuozuoduo (brian777...@hotmail.com)
> wrote:
>
> Yes, simply write
> t = \tuplet
> at the beginning of your file.
>
>
> 在 2015年4月3日,16:26,Andrew Bernard <andrew.bern...@gmail.com> 写道:
>
> Can I make a simple abbreviation for input? For example \t instead of
> \tuplet?
>
> Andrew
>
> [I am happy to take the dumb question of the year award for this!]


I think you have to rewrite it.

t = #(ly:make-music-function
       (ly:music-function-signature tuplet)
       (ly:music-function-extract tuplet))

%% or:

t =
#(define-music-function (parser location ratio tuplet-span music)
   (fraction? (ly:duration? '()) ly:music?)
#{ \tuplet $frac $tuplet-span $mus #})


HTH,
  Harm

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

Reply via email to