Size of indices in TPaveText

Hello there,
I’d like to change the size of my subscript index in the text that I added to my plot.
I guess I’d use
SetIndiceSize(Double_t)
So I have TPaveText:

TPaveText *tt2 = new TPaveText(0.15,0.918,0.15,0.918,"NDC");
tt2->SetTextSize(0.04);
tt2->SetFillColor(0);
tt2->SetTextAlign(12);
tt2->SetBorderSize(0);
tt2->AddText("T_{R}ENTo ic");
((TText*)tt2->GetListOfLines()->Last())->SetTextColor(921);
((TText*)tt2->GetListOfLines()->Last())->SetIndiceSize(0.8);

The issue is that the last line gives me the error

no member named ‘SetIndiceSize’ in ‘TText’

I couldn’t find any example of this method so I’m here. Thanks a lot for any help!
PS: If there is no simple solution you can let it be.

In TLatex, the size of the indices is automatic and cannot be changed.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.