If you want to include a nice arXiv symbol in LaTeX when citing an arxiv version of a paper, here is a small package to do this. The results look like that:
The code is straightforward:
is available on the \arXiv \cite{hy-aammg-22}.
The image used is taken from the official arXiv logo from here. All copyrights belong to them, etc.
Here is the resulting pdf file.