One can control whether the kind of alignment is to be maintained or
reset to default with a little change:
%%beginps
/lyleft{dup stringwidth pop 10.5 sub 0 RM showc}!
/lyright{10.5 0 RM showc}!
/lycenter{show}!
/lydo{show}!
/lyshow{
dup 0 get(<)0 get eq
{
dup 0 0
Thank you very very much Hudson,
That was an important part of my "wish list" of features for abcm2ps.
Best regards,
Eduardo.
- Original Message -
From: "Hudson Lacerda" <[EMAIL PROTECTED]>
To:
Sent: Sunday, January 22, 2006 9:45 PM
Subject: Re: [abcusers] lyr
Hi Eduardo.
This version maintains the alignment for the next syllables:
%%beginps
/lyleft{dup stringwidth pop 10.5 sub 0 RM showc}!
/lyright{10.5 0 RM showc}!
/lycenter{show}!
/lydo{show}!
/lyshow{
dup 0 get(<)0 get eq
{
dup 0 0 put
/lydo/lyleft loa
Hi Eduardo.
Eduardo Vieira escreveu:
> Hello list,
>
> I would like to know if with abcm2ps, one could write a postscript
> decoration that would do this:
> -> change the lyrics alignment from center aligned to left, or right aligned
> along the song.
I did a basic hack, still not well tested...