答案1
您可以使用shift left
和shift right
键。
\documentclass{article}
\usepackage{tikz-cd}
\usepackage{newtxmath}
\begin{document}
\[
\begin{tikzcd}
& P \arrow[d, "\pi_i" near start,shift left=0.75ex] &\\
& P_i \arrow[u, "\iota_i" near start,shift left=0.75ex] \arrow[d, "\phi" near start] & \\
M \arrow[r, "\psi"]&N \arrow[r] & 0
\end{tikzcd}
\]
\end{document}