Hi Michal, Yes, I agree the alignment could be improved. The original author will be contacted ::) Rene Brun On 25 Feb 2000 lijowski@cosray2.wustl.edu wrote: > > Hello, > > It seems that Greek characters in Latex output don't not line up > well with their Roman counterparts compared to the "standard" > method of deriving Greek characters in ROOT version 2.23/12. > > Regards, > > Michal > > { > 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.7, "#mum"); > > TText *tt = new TText(); > tt -> SetTextFont(62); > tt -> SetTextSize(0.2); > tt -> SetTextAlign(22); > tt -> DrawText(0.5, 0.7, "`m#m"); > > tl -> DrawLatex(0.2, 0.5, "#alpham"); > tt -> DrawText(0.5, 0.5, "`a#m"); > > tl -> DrawLatex(0.2, 0.3, "#Thetam"); > tt -> DrawText(0.5, 0.3, "`Q#m"); > > c1 -> Update(); > } >
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:20 MET