gnu-music-discuss
[Top][All Lists]
Advanced

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

scriptVerticalDirection


From: Han-Wen Nienhuys
Subject: scriptVerticalDirection
Date: Wed, 27 Sep 2000 17:21:53 +0200 (CEST)

address@hidden writes:
> What's the reason that this:
> 
> voned = \context Voice = vone {
>        \stemdown
>        \property Voice.articulationScriptVerticalDirection = #-1;
>        \firstvone
> }
> 
> doesn't change the direction of fingerings? I also tried markDirection
> with the same lack of success.

Apply this and do \push direction = -1/1  on Voice.basicFingeringProperties.


--- engraver.ly~        Sun Sep 24 16:24:52 2000
+++ engraver.ly Wed Sep 27 17:19:33 2000
@@ -539,6 +539,13 @@
                (breakable . #t)
                (name . "left edge")
        )
+       basicFingeringProperties = #(
+               (interfaces . (finger-interface text-script-interface 
text-item-interface side-position-interface))
+               (molecule-callback . ,Text_item::brew_molecule)
+               (no-spacing-rods . #t)
+               (padding .      3.0)
+               (name . "text script") 
+       )
        basicGraceAlignItemProperties = #`(
                (interfaces . (axis-group-interface align-interface))
                (axes . (0))

--- text-engraver.cc~   Sun Sep 24 18:39:52 2000
+++ text-engraver.cc    Wed Sep 27 17:12:25 2000
@@ -81,7 +81,11 @@
       /*
        Urg:  Text_engraver loads TextScriptProperties
        */
-      Item *text = new Item (get_property ("basicTextScriptProperties"));
+      String basic =  "basicTextScriptProperties";
+      if (r->style_str_== "finger")
+       basic = "basicFingeringProperties";
+      
+      Item *text = new Item (get_property (basic.ch_C()));
       
 
       SCM axisprop = get_property ("scriptHorizontal");

-- 

Han-Wen Nienhuys   |   address@hidden    | http://www.cs.uu.nl/~hanwen/




reply via email to

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