我尝试反转像这样的图表的箭头
使用 tikz,我成功创建了以下图片(主要基于这个问题)
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{matrix,arrows}
\usepackage{amsfonts}
\begin{document}
\begin{tikzpicture}[descr/.style={fill=white,inner sep=3.5pt}]
\matrix (m) [
matrix of math nodes,
row sep=3em,
column sep=2.5em,
text height=1.5ex, text depth=0.25ex
]
{ & & \dots & H^{p+1}(X;\mathbb{F}) \\
& H^p(U\cap V;\mathbb{F}) & H^p(U;\mathbb{F})\oplus H^p(V;\mathbb{F}) & H^p(X;\mathbb{F}) \\
& H^{p-1}(U\cap V;\mathbb{F}) & \dots & \\
};
\path[overlay,->, font=\scriptsize,>=latex]
(m-1-4) edge node[yshift=1ex] {$k_*-l_*$} (m-1-3)
(m-2-2) edge[out=355,in=-175] node[descr,yshift=0.3ex] {$\partial_*$} (m-1-4)
(m-2-3) edge node[yshift=1ex] {$i_*\oplus j_*$} (m-2-2)
(m-2-4) edge node[yshift=1ex] {$k_*-j_*$} (m-2-3)
(m-3-2) edge[out=355,in=175] node[descr,yshift=0.3ex] {$\partial_*$} (m-2-4)
(m-3-3) edge node[yshift=1ex] {$i_*\oplus j_*$} (m-3-2);
\end{tikzpicture}
\end{document}
但如您所见,将行左侧元素链接到行顶部元素的“连接箭头”存在问题。我们应该如何补救呢?
在此先感谢您的帮助。
答案1
从入角和出角中减去 180 度可得出
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{matrix,arrows}
\usepackage{amsfonts}
\begin{document}
\begin{tikzpicture}[descr/.style={fill=white,inner sep=3.5pt}]
\matrix (m) [
matrix of math nodes,
row sep=3em,
column sep=2.5em,
text height=1.5ex, text depth=0.25ex
]
{ & & \dots & H^{p+1}(X;\mathbb{F}) \\
& H^p(U\cap V;\mathbb{F}) & H^p(U;\mathbb{F})\oplus H^p(V;\mathbb{F}) & H^p(X;\mathbb{F}) \\
& H^{p-1}(U\cap V;\mathbb{F}) & \dots & \\
};
\path[overlay,->, font=\scriptsize,>=latex]
(m-1-4) edge node[yshift=1ex] {$k_*-l_*$} (m-1-3)
(m-2-2) edge[out=175,in=-5] node[descr,yshift=0.3ex] {$\partial_*$} (m-1-4)
(m-2-3) edge node[yshift=1ex] {$i_*\oplus j_*$} (m-2-2)
(m-2-4) edge node[yshift=1ex] {$k_*-j_*$} (m-2-3)
(m-3-2) edge[out=175,in=-5] node[descr,yshift=0.3ex] {$\partial_*$} (m-2-4)
(m-3-3) edge node[yshift=1ex] {$i_*\oplus j_*$} (m-3-2);
\end{tikzpicture}
\end{document}
我想您也可以在原始图表中用->
替换。<-