[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Abbreviations
From: |
Thomas Morley |
Subject: |
Re: Abbreviations |
Date: |
Fri, 3 Apr 2015 12:32:35 +0200 |
2015-04-03 12:05 GMT+02:00 Andrew Bernard <address@hidden>:
> 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 (address@hidden)
> wrote:
>
> Yes, simply write
> t = \tuplet
> at the beginning of your file.
>
>
> 在 2015年4月3日,16:26,Andrew Bernard <address@hidden> 写道:
>
> 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
- Abbreviations, Andrew Bernard, 2015/04/03
- Re: Abbreviations, guoguocuozuoduo, 2015/04/03
- Re: Abbreviations, Andrew Bernard, 2015/04/03
- Re: Abbreviations,
Thomas Morley <=
- Re: Abbreviations, Pierre Perol-Schneider, 2015/04/03
- Re: Abbreviations, Thomas Morley, 2015/04/03
- Re: Abbreviations, Pierre Perol-Schneider, 2015/04/03
- Re: Abbreviations, Neil Puttock, 2015/04/03
- Re: Abbreviations, Steve Downes, 2015/04/03
- Re: Abbreviations, Urs Liska, 2015/04/03
- Re: Abbreviations, Kevin Barry, 2015/04/03
- Re: Abbreviations, Urs Liska, 2015/04/03
- Re: Abbreviations, Mattes, 2015/04/03
- Re: Abbreviations, David Nalesnik, 2015/04/03