> > If the scripts are typeset left aligned,
> > which they should be (!?), most of the problem disappears.
> >
>
> No. A lot of important scripts (^ and .) should be centered on the
> notehead. We could move the centering to LaTeX again, but I think I
> would rather move the opposite way: to have more intelligence (without
> quotes :-) in lilypond
OK, then we have to align different types of scripts differently.
Do you agree that text scripts should be left aligned by default?
Example, in d^"Vivace ma non troppo" the tempo indication should
not start before the note.
There will always be TeX commands (or Postscript or whatever output language
Lilypond will use) in text scripts and in lyrics, so it will always be
impossible to calculate the exact extent of the text unless we implement
TeX or call TeX and look at the output. However, the current solution
(text_str_.length_i() * const) is not sufficient. It's probably better on
the average to count each TeX command as a single symbol in the
approximation.
/Mats