We start from these simples MWE. The first is done with xy
package, with your tips:
\documentclass[a4paper,12pt]{article}
\usepackage[all]{xy}
\begin{document}
\xymatrix{A \ar[r]& B}
\end{document}
and with the same tips of tikz-cd
,
\documentclass[a4paper,12pt]{article}
\usepackage[all,cmtip]{xy}
\begin{document}
\xymatrix{A \ar[r]& B}
\end{document}
The code with tikz-cd
is:
\documentclass[a4paper,12pt]{article}
\usepackage{tikz-cd}
\begin{document}
\begin{tikzcd}
A \arrow[r] & B
\end{tikzcd}
\end{document}
How can I increase the thickness of an arrow in
xy
? I've read the basicxy
guide but couldn't find anything. Withtikz-cd
package there is a command called\tikzcdset
. How is it possible to set it to have such an arrow as the picture below?
Follow-up 2021-6-4: I have found the solution of my problem (using dvips
),
but my code not works.
\documentclass[a4paper,12pt]{article}
\usepackage{color}
\usepackage{dvips,color,matrix,arrow,all,cmtip}{xy}
\begin{document}
\[
\xymatrix{ A\ar@*{\color{black}}@*{[|<5pt>]}[rrr] &&& B}
\]
\end{document}
LaTeX Error: File `dvips.sty' not found. [...ackage{dvips,color,matrix,arrow,all,cmtip}{]
Is it possibile to reopen my question?
\ar@*{[|<5pt>]}@[green][r]
will produce an arrow with 5pt thickness and colored green. But you need to compile withlatex+dvips+ps2pdf
.\usepackage[dvips,color,matrix,arrow,all,cmtip]{xy}
?