lilypond-user
[Top][All Lists]
Advanced

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

Re: centering text on a measure


From: harm6
Subject: Re: centering text on a measure
Date: Thu, 15 Sep 2011 16:18:27 -0700 (PDT)


David Nalesnik-2 wrote:
> 
> 
> 
> In the meantime, I've generalized the 'extra-offset approach so that you
> can
> center a grob of your choice between two others. of which centering
> between
> barlines is just one option.  I've attached it in case it's useful to
> someone, or anyone has any feedback on how to improve it (or what it might
> be good for!)
> 
> 

Hi David,

I tested your definitions with a longer example using StaffGroup and
commented the not used parts with %{ ... %}. (see code below)
The log states: ERROR: Wrong type (expecting pair): ()
 
And now the strangest thing: If I uncomment "two" it works!! ("two" is a
copy of "one" and not called in the active StaffGroup!!!)
If I completely delete "two" out of the file it doesn't work.
If I comment eyery line of "two" with % it works!!
Some other combinations of commenting in/out parts of the code gives the
same result.

I've never heard of such a strange behaviour. 

\centerGrobBetween is great code, but I'm sorry to have no idea to fix or
even locate the problem.

Best,
  Harm

http://old.nabble.com/file/p32475696/centerTest-1.ly centerTest-1.ly 






-- 
View this message in context: 
http://old.nabble.com/centering-text-on-a-measure-tp32377202p32475696.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.




reply via email to

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