|
From: | Mats Bengtsson |
Subject: | Re: offset not working |
Date: | Tue, 23 Aug 2005 15:42:49 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 |
It's one of the initialization files that LilyPond reads when started. Call LilyPond with the extra flag lilypond --verbose to get a listing of all initialization files that are read, with the full path. The reason that no-spacing-rods doesn't work for MultiMeasureRestText is that this object is a spanner, whereas TextScripts, for example are Items. You can get some information on these issues if you look at the program reference for spanner-interface and item-interface, respectively (Program Reference -> Backend -> Graphical Object Interfaces). If you want more details, I'm afraid one of the main hackers have to explain. /Mats Kris Shaffer wrote:
Is ly/property-init.ly online somewhere? I can't find a lilypond-doc package for Mac OS X, and I don't have any lilypond stuff in /usr/share/.In the meantime, I tried \override MultiMeasureRestText #'no-spacing-rods = ##f in place of \fatText, but it did not work. I also found in the program reference online that, though TextScript takes #'no-spacing-rods, MultiMeasureRestText does not. Did I miss anything, or would this feature need to be added?KrisOn Mon, 22 Aug 2005 23:25:17 -0400, Graham Percival <address@hidden> wrote:On 22-Aug-05, at 6:15 PM, Kris Shaffer wrote:One more question on this issue: The commands \fatText and \emptyText have no effect on either s1*0^\markup {whatever} R1*4 or R1*4^\markup {whatever}How can I automatically apply the width of the markup string to the width of the multi-rest bar?Take a look in ly/property-init.ly to find out what \fatText does, then changethe TextScript to MultiMeasureRestText. ly/property.init.ly: fatText = \override TextScript #'no-spacing-rods = ##f emptyText = \override TextScript #'no-spacing-rods = ##t I've added the following to the manual: Warning! This text is created by @code{MultiMeasureRestText}, not @code{TextScript}. { \override TextScript #'padding = #5 R1^"low" \override MultiMeasureRestText #'padding = #5 R1^"high" }
-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: address@hidden WWW: http://www.s3.kth.se/~mabe =============================================
[Prev in Thread] | Current Thread | [Next in Thread] |