Wouter Hulsbergen wrote: > > Dear all, > I want to put an `eta' at the horizaontal axis of a histogram. After some > puzzling I find out that > text = new TText(-1,0.939721,"h"); > text->SetTextFont(122); > text->Draw(); > creates exactly the title I want in the root canvas. The chosen text-font > is `greek-medium-r-normal' and for whatever reason `h' is the roman > translation of the `eta'. > However, after saving the canvas as a ps file I find out that ps uses > another convention for translating the roman characters to their greek > variants: instead of an `eta' , my axis is titled with a `chi', also very > greek, but not exactly what I had in mind. > Of course I can find the ps eta by creating a TText with the whole roman > alphabet, as I would try if there was no roottalk. There must be a better > solution, I hope. Could anyone take care that the greek fonts for root and > for postscript agree ? Or am I doing something wrong ? > Regards, many thanks > Wouter Hi Wouter, I fully agree and the same holds for sub- and superscripts. Why not introduce the LaTeX conventions with which everyone is familiar ? -- Cheers, _/_/ _/ _/ _/_/_/_/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/ _/_/ _/ _/_/ _/ _/ _/ _/ _/ _/ _/ _/_/_/_/ _/ _/ *----------------------------------------------------------------------* Dr. Nick van Eijndhoven Department of Subatomic Physics email : nick@phys.uu.nl Utrecht University / NIKHEF tel. +31-30-2532331 (direct) P.O. Box 80.000 tel. +31-30-2531492 (secr.) NL-3508 TA Utrecht fax. +31-30-2518689 The Netherlands WWW : http://www.phys.uu.nl/~nick Office : Ornstein lab. 172 ---------------------------------------------------------------------- tel. +41-22-7679751 (direct) CERN PPE Division / ALICE exp. tel. +41-22-7675857 (secr.) CH-1211 Geneva 23 fax. +41-22-7679480 Switzerland CERN beep : 13+7294 Office : B 160 1-012 *----------------------------------------------------------------------*
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:33 MET