|
From: | Nick Payne |
Subject: | NR and allocating tweak command to variable |
Date: | Tue, 26 Mar 2013 17:41:08 +1100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 |
However, I was initially misled by the NR having a section named "Using variables for tweaks ": http://www.lilypond.org/doc/v2.17/Documentation/learning/using-variables-for-tweaks, but this actually deals with using variables for overrides, and should maybe be renamed as "Using variables for overrides".
The code that I got to work is below: \version "2.17.14" fia = #(define-music-function (parser location grb) (ly:music?) #{ -\tweak script-priority #-199 -$grb #}) \relative f'' { \set fingeringOrientations = #'(left) <cis-1 a-1 e-1>4 <cis!-1 a-1 e-\tweak script-priority #-199 -1>4 <cis!-1 a-1 e-\fia-1>4 }
[Prev in Thread] | Current Thread | [Next in Thread] |