i'm having this: and I would like to raise the arrow, so it is vertically center with the text.
Can that happen without the \raisebox command?
Also, how can I modify the tikz code of the arrow, so it automatically puts a blank space after every arrow I insert in my code with the \myArrow command? I want this because, as you see, the letter B is very close to the arrow tip.
My MWE:
Code: Select all
\documentclass{book}
\usepackage{tikz}
\usepackage{chemfig}
\newcommand{\myArrow}{\tikz {\draw[semithick] [-{Straight Barb[angle=60:1.5pt 3]}] (0,0) -- ++ (0.4,0);}}
\begin{document}
A \myArrow B
\end{document}