答案1
\documentclass[10pt,a4paper]{article}
\usepackage{tikz-cd}
\begin{document}
\begin{tikzcd}
& A \arrow[d,red,]
\arrow[dl, bend right]
\arrow[dr, bend left] & \\
X & P \arrow[r, green]\arrow[l, green] & Y
\end{tikzcd}
\end{document}
编辑标签
\documentclass[10pt,a4paper]{article}
\usepackage{tikz-cd}
\begin{document}
\begin{tikzcd}
& A \arrow[d,red,]
\arrow[dl, bend right]
\arrow[dr, bend left] & \\
X & P \arrow[r, green, "x1"']\arrow[l, green, "x2"] & Y
\end{tikzcd}
\end{document}
编辑缩放
\documentclass[10pt,a4paper]{article}
\usepackage{tikz-cd}
\usepackage{adjustbox}
\begin{document}
\adjustbox{scale=4, center}{
\begin{tikzcd}[sep=huge]
& A \arrow[d,red,]
\arrow[dl, bend right]
\arrow[dr, bend left] & \\
X & P \arrow[r, green, "x1"']\arrow[l, green, "x2"] & Y
\end{tikzcd}
}
\end{document}