올바르게 정렬되지 않은 tikzcd의 화살표

올바르게 정렬되지 않은 tikzcd의 화살표
\documentclass[12pt,reqno,a4paper]{amsart}
%\usepackage[utf8]{inputenc} % not needed with up-to-date TeX systems
\usepackage[english]{babel}

\usepackage{amsmath,amsthm,amsfonts,amssymb}
\usepackage{mathtools}
\usepackage{color}

\usepackage{mathrsfs}
\usepackage[all]{xy}
\usepackage{tikz-cd}
\usepackage[normalem]{ulem} % do you *really* need it?
\usepackage{datetime}

\usepackage{hyperref}

\theoremstyle{definition}

\newtheorem{theorem}{Theorem}[section]
\newtheorem{construction}{Construction}[section]
\newtheorem{corollary}{Corollary}[section]
\newtheorem{lemma}{Lemma}[section]
\newtheorem{definition}{Definition}
\newtheorem{remark}{Remark}[section]
\newtheorem{proposition}{Proposition}[section]
\newtheorem{example}{Example}
\newtheorem*{question}{Question}
\newtheorem*{solution}{Solution}
\newtheorem{exercise}{Exercise} 

\newcommand{\mc}{\mathcal}
\newcommand{\mf}{\mathfrak}
\newcommand{\mb}{\mathbb}
\newcommand{\xra}{\xrightarrow}
\newcommand{\ra}{\rightarrow}
\newcommand{\rra}{\rightrightarrows}
\pagestyle{myheadings}

\textheight 9.3in 
\textwidth 6.5in
\calclayout

% metadata

%\date{\today}


\title{Something}
\author{Someone} 

\begin{document}

\[\begin{tikzcd}
0 \arrow[r] & A \arrow[rr] \arrow[dd] &   & B \arrow[rr] \arrow[dd] & & C \arrow[r] \arrow[dd] & 0 \\
D \arrow[dd] \arrow[ru,xshift=0.75ex,"t"]
\arrow[ru,xshift=-0.75ex,"s"'] &                             & E \arrow[ru,xshift=0.75ex,"t"]
\arrow[ru,xshift=-0.75ex,"s"'] \arrow[dd] &                             & F \arrow[ru,xshift=0.75ex,"t"]
\arrow[ru,xshift=-0.75ex,"s"'] \arrow[dd] &                           &   \\
& G                        &                                & H                         &                               & I                       &   \\
J \arrow[ru,xshift=0.75ex,"t"]
\arrow[ru,xshift=-0.75ex,"s"']                 &                             & K \arrow[ru,xshift=0.75ex,"t"]
\arrow[ru,xshift=-0.75ex,"s"']                 &                             & L \arrow[ru,xshift=0.75ex,"t"]
\arrow[ru,xshift=-0.75ex,"s"']                &                           &  
\end{tikzcd}\]

\end{document}

위는 최소한의 작업 예입니다.

나는 "\rightrightarrows"를 사용할 때 얻는 것과 마찬가지로 D에서 A로, E에서 B로, F에서 C로의 화살표 및 기타 화살표가 동시에 시작하고 끝나기를 원합니다.

어떻게 해야 하나요? 어떤 의견이라도 환영합니다.

답변1

대신 shift left및 를 사용 하십시오 .shift rightxshift

\documentclass[12pt,reqno,a4paper]{amsart}
\usepackage{amsmath}
\usepackage{tikz-cd}

\begin{document}

\[
\begin{tikzcd}
0 \arrow[r] & A \arrow[rr] \arrow[dd] && B \arrow[rr] \arrow[dd] && C \arrow[r] \arrow[dd] & 0
\\
D \arrow[ru,shift right=0.75ex,"s"'] \arrow[ru,shift left=0.75ex,"t"] \arrow[dd] &&
E \arrow[ru,shift right=0.75ex,"s"'] \arrow[ru,shift left=0.75ex,"t"] \arrow[dd] &&
F \arrow[ru,shift right=0.75ex,"s"'] \arrow[ru,shift left=0.75ex,"t"] \arrow[dd]
\\
& G && H && I
\\
J \arrow[ru,shift right=0.75ex,"s"'] \arrow[ru,shift left=0.75ex,"t"] &&
K \arrow[ru,shift right=0.75ex,"s"'] \arrow[ru,shift left=0.75ex,"t"] &&
L \arrow[ru,shift right=0.75ex,"s"'] \arrow[ru,shift left=0.75ex,"t"]
\end{tikzcd}
\]

\end{document}

여기에 이미지 설명을 입력하세요

관련 정보