Please see the code below
\documentclass[12pt,reqno,a4paper]{amsart}
\usepackage{amsmath,amsthm,amsfonts,amssymb}
\usepackage{hyperref}
\usepackage{mathrsfs}
\usepackage[all]{xy}
\usepackage{tikz-cd}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{color}
\pagestyle{myheadings}
\author{someone}
\title{something}
\begin{document}
\[ \begin{tikzcd}[sep=small]
& U_{\alpha\beta\gamma} \arrow[dd, "{\rm pr}_{13}"] \arrow[rr, "{\rm pr}_{23}"] \arrow[ld, "{\rm pr}_{12}"'] & & U_{\beta\gamma} \arrow[dd] \arrow[ld] \\ U_{\alpha\beta} \arrow[dd] \arrow[rr] & & U_\beta \arrow[dd] & \\
& U_{\alpha\gamma} \arrow[rr] \arrow[ld] & & U_\gamma \arrow[ld] \\
U_\alpha \arrow[rr] & & U &
\end{tikzcd}\]
\end{document}
This code has given the following diagram
The label of the arrow pr_{13} is overlapping with the horizontal arrow.
Is there a way to fix this issue by moving the label pr_{13} higher than its current position?
\rm
has been depreciated since 1993, use\mathrm{pr}
or as it is an operator\operatorname{pr}
pos=fraction
key, the default ispos=0.5