I need to use the pointer symbol (like P->a) in math latex. If I use normal characters like hyphen and > it doesn't look good. I guess there should be a specific symbol for it in latex, but I didn't find it anywhere.
The hyphen should be connected to the edge of ">", like when you type –> in microsoft office and it changes it automatically.
Any idea?
Best Answer
You can create your own by joining two
-
and>
in math mode:The use of
\mathpalette
is explained in The mysteries of\mathpalette
. It's used as a helper function for\mathchoice
to scale math content to the required style (size).