[Tex/LaTex] How to write left arrow with a dollar sign

symbols

I want to write something like this: enter image description here

But doing \leftarrow{\$} does not produce the desired result. Any ideas?

Best Answer

Something like this?

enter image description here

\documentclass{article}
\begin{document}
$ {\leftarrow}\vcenter{\hbox{\scriptsize\rmfamily\upshape\$}} $ or 
$ {\leftarrow}\vcenter{\hbox{\tiny\rmfamily\upshape\$}} $ 
\end{document} 

Addendum, to incorporate some additional information provided by the OP in comment. It looks like this symbol should be assigned the type "mathrel" ("relational operator"). E.g., one could define a macro called (say) \getsdollar as follows:

\newcommand\getsdollar{\mathrel{{\leftarrow}\vcenter{\hbox{\tiny\rmfamily\upshape\$}}}}

and then write x\getsdollar \mathbb{Z}/n\mathbb{Z} in the body of the document (in math mode, of course).

Related Question