How do I print a $ inside \tt?
I tried escaping with a backslash, but didn't work.
\tt{\$}
throws an error.
! Argument of \OT1\^ has an extra }
Update
Sorry, the issue was not with $, but with ^ in the next line.
Used \textasciitilde and everything worked fine.