I want to write a^b in latex where ^ is not a power symbol. If I just write b^a in latex, the latter obliged me to put $. But in fact I don't want to write a to the power b, but just a^b.
How can I solve this issue?
Any help will be very appreciated!


a^b? – egreg Nov 07 '20 at 18:33\^is the accent,\textasciicircumis^– David Carlisle Nov 07 '20 at 18:55listingsorminted. – Teepeemm Nov 07 '20 at 23:41