1

enter image description here

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?

2
  • Welcome to TeX.SE!
    – Mensch
    Commented Sep 30, 2021 at 17:50
  • @Mensch Thanks a lot!
    – okw1124
    Commented Sep 30, 2021 at 17:51

1 Answer 1

3

Yes, use -| to specify the arrow.

\documentclass{article}
\usepackage{tikz-cd}

\begin{document}

\begin{tikzcd}
A \arrow[r,-|] & B
\end{tikzcd}

\end{document}

enter image description here

1
  • Wow, it's amazing. Thanks for your help!
    – okw1124
    Commented Sep 30, 2021 at 17:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .