I want to draw a 'repression arrow' that looks like above.
BambOo show how to do this in tikz here: Arrow with blunted-end head in math mode
But how can I do the same thing in tikz-cd?
-
Welcome to TeX.SE!– MenschCommented Sep 30, 2021 at 17:50
-
@Mensch Thanks a lot!– okw1124Commented Sep 30, 2021 at 17:51
Add a comment
|
1 Answer
Yes, use -|
to specify the arrow.
\documentclass{article}
\usepackage{tikz-cd}
\begin{document}
\begin{tikzcd}
A \arrow[r,-|] & B
\end{tikzcd}
\end{document}