Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
subsupscript2.C
Go to the documentation of this file.
1 TCanvas *subsupscript2()
2 {
3  TCanvas *S = new TCanvas("script","Subscripts and Superscripts",400,250);
4 
5  TLatex Tl;
6  Tl.SetTextSize(0.09);
7  Tl.SetTextAlign(12);
8  TLatex Tt;
9  Tt.SetTextSize(0.09);
10  Tt.SetTextFont(82);
11  Tt.SetTextAlign(12);
12 
13  // Draw First Column
14  float y, x1, x2;
15  float step = 0.3;
16  y = 0.80; x1 = 0.02; x2 = x1+0.8;
17 
18  Tl.DrawLatex(x2, y, "{}^{40}_{20}Ca") ; Tt.DrawText(x1, y, "(1) {}^{40}_{20}Ca");
19  y -= step ; Tl.DrawLatex(x2, y, "f_{E}/f_{E}") ; Tt.DrawText(x1, y, "(2) f_{E}/f_{E}");
20  y -= step ; Tl.DrawLatex(x2, y, "f_{E}/^{}f_{E}") ; Tt.DrawText(x1, y, "(3) f_{E}/^{}f_{E}");
21 
22 
23  return S;
24 }