[ROOT] TLatex vertical alignment

From: Stephen Bailey (bailey@physics.harvard.edu)
Date: Mon Aug 07 2000 - 20:58:46 MEST


Hi Rooters,

TLatex appears to vertically align text based upon
the lowest/highest element drawn, including sub/superscripts.
e.g.

  TLatex latex;
  latex.SetNDC();
  latex.DrawLatex(0.5, 0.5, "K_{S}");
  latex.DrawLatex(0.6, 0.5, "K^{*0}");

aligns the bottom of the subscripted "S" with the bottom of the
other K.  I would prefer the alignment to be based upon the bottom
of the normal script, i.e. have the two K aligned and have the
S be lowered from there and the *0 be raised.

Do others agree?  Would this be easily possible?

Thanks.

Stephen



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:31 MET