\ell labels in TH1F pdf plots

Dear ROOT experts,

Is there a way to write m_ll with the \ell labels in a TH1F x-axis?
I’m currently using m(#font[12]{ll}), however is not the proper symbol for the leptons.

Cheers,
Eric

root [0] auto h = new TH1F()
(TH1F *) 0x7f8a061144b0
root [1] h->GetXaxis()->SetTitle("\\hbox{Title with }\\ell")
root [2] h->Draw()

1 Like

Note that will not work in pdf. You will need to use ps.

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