Different font styles in axis

Hello,
I was wondering, if it is possible to have different font styles in an axis title?
TAttAxis::SetTitleFont ( Style_t font=62) makes it one for the whole line.
I would like to write on the x-axis, for example:
t /s
where physical quantity is written in italics and the corresponding unit slanted.
Best regards.

TLatex

TLatex->Changing Style

Thank you very much.
Indeed,

f->GetXaxis()->SetTitle("#font[52]{time t} /s");

makes physical quantity written italics and unit straight.
Best regards.

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