lilypond-auto
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lilypond-auto] Issue 3280 in lilypond: NR and allocating a tweak


From: lilypond
Subject: [Lilypond-auto] Issue 3280 in lilypond: NR and allocating a tweak
Date: Sat, 30 Mar 2013 09:24:46 +0000

Status: Accepted
Owner: ----
Labels: Type-Documentation

New issue 3280 by address@hidden: NR and allocating a tweak
http://code.google.com/p/lilypond/issues/detail?id=3280

Nick Payne reported here:

http://lists.gnu.org/archive/html/bug-lilypond/2013-03/msg00120.html

I was trying to allocate a tweak command to a variable and eventually managed to get it to work after finding what I needed by a search of the lilypond-user archives ( http://lists.gnu.org/archive/html/lilypond-user/2011-09/msg00279.html).

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
}



--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



reply via email to

[Prev in Thread] Current Thread [Next in Thread]