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

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

Re: Staff separation Was: Rotating latex


From: Rune Zedeler
Subject: Re: Staff separation Was: Rotating latex
Date: Mon, 19 Feb 2001 04:54:19 +0100

Den 17-Feb-01 skrev Mats Bengtsson:

MB>>     \property RhytmicStaff.RhythmicStaffVerticalExtent = #'(-10.0 . 10.0)
MB>> but nothing happens.

MB>      \remove "Pitch_squash_engraver";

Oh, ofcourse. The pitch squash engraver. Why didn't I think of that...? So
obvious when you hear it :)

MB> everything should work as you expected. However, I'd probably use
MB> a Lyrics staff instead.

Eh... How...?
Genarally how do you vertically align TextScripts?
If you use s^"T" s^"j" the T will be lower than the j because the tail of the
j goes below the bottom of the T.
I tried setting self-adjust-Y (If I remember correctly - I'm not having access
to Lily) but nothing happened.

[different staffs in the same score]
MB> That's unfortunately very clumsy. In principle you have to define
MB> a new context type with a separate \name and add it to the 
MB> context hierarchy with an \accepts line. See for example
MB> input/test/tab-staff.ly

Oh, I see.
So if you do

\translator { 
   StaffContext
   name FunnyStaff
}

A new context called funnystaff will be created. But how is it initialized?
Like Staff?
I mean.... I tried and got it working - I'm just not sure what's going on.
Exactly what /is/ a translator? And I have difficulties in seeing the
similarities/connection between the above sort of translator and the
staff-switch translator...

-Rune




reply via email to

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