2009/4/3 Francisco Vila <paconet....@gmail.com>: > Looking further for a solution, we saw that the definition of textLengthOn > > textLengthOn = { > \override TextScript #'extra-spacing-width = #'(0 . 0) > \override TextScript #'extra-spacing-height = #'(-inf.0 . +inf.0) > } > > now the problem is to find what type of object is a tempo indication, > and do the same. Later on we found that a tempo indication such as > > \tempo "String" 2=90 > > is not an object, but rather a sequence consisting of a tempoText > object followed by a tempoWholesPerMinute object, then a > tempoUnitDuration and finally a tempoUnitCount. If we could calculate > what's the extent of this all, we could give the measure a sensible > width.
The object is Score.MetronomeMark. The \tempo command sets the context properties you list above, which are read by the Metronome_mark_engraver. Regards, Neil _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user