2

Let us consider the following example:

\documentclass{book}
\usepackage[all]{xy}
\begin{document}
$\xymatrix{A\ar[rr] && B}$
\end{document}

This produces

enter image description here

but I want the following arrowhead style using xypic:

enter image description here

How can I do this?

0

1 Answer 1

6

You can obtain something like this

enter image description here

by defining a new direction arrow (requires amssymb)

\newdir{|>}{-<5pt,0pt>{\blacktriangleright}}

MWE:

\documentclass{book}
\usepackage{amssymb}
\usepackage[all]{xy}
\newdir{|>}{-<5pt,0pt>{\blacktriangleright}}

\begin{document}
$\xymatrix{A\ar@{-|>}[rr] && B}$
\end{document} 
2
  • May be \llap the \blacktriangleright?
    – Manuel
    Commented Feb 5, 2015 at 11:10
  • @Manuel Have you tried it with \llap? It doesn't look good. Commented Feb 5, 2015 at 11:38

You must log in to answer this question.

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