13

I need to make an arrow similar to this )-->. I cannot get the ) to size with the ->. I have tried {\tiny )}\!\rightarrow and {\small)}\!rightarrow and the ) is too large for the arrow.

Any suggestions?

MD XF
  • 103
Peaches20
  • 141

3 Answers3

16

Also, TikZ can be quite useful for this. The Arc Barb from the arrows.meta library can be used and the size can be easily adjusted. Here is a new command \barb for convenience in both text and math modes.

\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{arrows.meta}
\begin{document}

\newcommand{\barb}{%
  \tikz{\draw[{Arc Barb[reversed]}-{latex}] (0,0)--(.5,0);}
}

$x\, \barb\, y$

text \barb tetxt

\end{document}

enter image description here

AboAmmar
  • 46,352
  • 4
  • 58
  • 127
9

Maybe \rightarrowtail from amssymb package will be fine for you. Here is a sample code that works for me.

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{amssymb}
\begin{document}
$\rightarrowtail$
\end{document}

enter image description here

Troy
  • 13,741
Pati
  • 91
7

What about something like this?

\documentclass{article} 
\usepackage{amsmath,amssymb} 
\newcommand{\myarrow}{\raisebox{.5pt}{$\scriptstyle)$}\mspace{-7mu}\rightarrow}
\begin{document}
\[
\raisebox{.5pt}{$\scriptstyle)$}\mspace{-7mu}\rightarrow
\]
Of course, you can use a new command:
\[
\myarrow
\]
\end{document}

enter image description here

CarLaTeX
  • 62,716