Mouse arrow symbol

I couldn't find it in http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-letter.pdf and was also unsuccessul with Detexify (http://detexify.kirelabs.org/classify.html), so I guess it is not there as a predefined symbol. But you can just download this symbol (e.g., from http://findicons.com/search/cursor) and use it with \includegraphics.


I worked out a pointer for you. You may visit following: https://www.sharelatex.com/project/549873ebe6f6925860adcc5a

Open latex2.tex file and then compile.

\documentclass{article}
\usepackage{mpoint}
\begin{document}
This is \mpoint .
\end{document}

Here, I have called a sty file. Which is very simple. May be upgraded more.

\RequirePackage{graphicx,graphics}
\newcommand{\mpoint}{\includegraphics[width=0.016\textwidth]{point}}

and two image files - point.pdf and point.eps

Final out put is as enter image description here

Hope this will help you.


You can also add one with a simple TikZ drawing.

\RequirePackage{luatex85} % LuaTeX fix for standalone
\documentclass{standalone}

\usepackage{tikz}

\begin{document}
  \begin{tikzpicture}[scale=0.4, line join=round]
    \draw [rotate=20.9245] (-1.5pt, 0pt) -- ++(up:5pt) -- ++(-5pt, -2pt) -- ++(6.5pt, 17pt)
                      -- ++(6.5pt, -17pt) -- ++(-5pt, 2pt) -- ++(down:5pt) -- cycle;
  \end{tikzpicture}
\end{document}

You can use the resulting pdf with \includegraphics{...}
enter image description here

Or use the code directly in your text:

\RequirePackage{luatex85} % LuaTeX fix for standalone
\documentclass{standalone}

\usepackage{tikz}

\newcommand{\mouse}{%
  \begin{tikzpicture}[scale=0.4, line join=round]
    \draw [rotate=20.9245] (-1.5pt, 0pt) -- ++(up:5pt) -- ++(-5pt, -2pt) -- ++(6.5pt, 17pt)
                      -- ++(6.5pt, -17pt) -- ++(-5pt, 2pt) -- ++(down:5pt) -- cycle;
  \end{tikzpicture}%
}

\begin{document}
  Click me \raisebox{-5pt}{\mouse} OK
\end{document}

Which gives:
enter image description here

The rotation angle is calculated from the ++(6.5pt, 17pt) using
formula

Tags:

Symbols