Hi Michal,
This interesting simple case is currently not possible
with TLatex. I hope it is not too complicated
to implement.
Rene Brun
On 2 Mar 2000 lijowski@cosray2.wustl.edu wrote:
>
> Hello,
>
> How to generate using TLatex class the subscript and superscript
> equivalent to that generated with the "standard" method?
> The sequence $\rm _3^7Li$ works in Latex.
>
> Regards,
>
> Michal Lijowski
>
> {
> gROOT -> Reset();
> TCanvas *c1 = new TCanvas("c1", "c1", 400, 300);
> TLatex *tl = new TLatex();
> tl -> SetTextFont(62);
> tl -> SetTextSize(0.2);
> tl -> SetTextAlign(22);
> tl -> DrawLatex(0.2, 0.5, "{}_{3}^{7}Li");
>
> TText *tt = new TText();
> tt -> SetTextFont(62);
> tt -> SetTextSize(0.2);
> tt -> SetTextAlign(22);
> tt -> DrawText(0.7, 0.5, "^7!&?3!Li");
>
> c1 -> Update();
> c1 -> SaveAs("c1.ps");
> }
>
>
>
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:20 MET