我想要一些图片,我可以用两个带有标签的箭头指向一个点,就像这里一样
怎么能让两个箭头指向一个点呢?
答案1
一个选项是使用TikZ
以及一个基本的\node
s 构造:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{positioning}
\begin{document}
\begin{tikzpicture}[
mynode/.style={
font=\color{blue}
},
ar/.style={->,>=latex,line width=2pt,green!70!black}
]
\node[mynode] (ag) {Ag};
\node[mynode,right=of ag] (atc) {ATC};
\node[mynode,right=of atc] (mhc) {MHC II cl.};
\node[mynode,right=of mhc] (tly) {T\,ly};
\node[mynode,right=of tly] (bly) {B\,ly};
\node[mynode,below=of atc] (sta) {Staphylococcus};
\draw[ar] (ag) -- (atc);
\draw[ar] (atc) -- (mhc);
\draw[ar] (mhc) -- (tly);
\draw[ar] (tly) -- coordinate (aux) (bly);
\node[mynode] (cyt) at (aux|-sta) {Cytokins};
\draw[ar] (sta) -- (mhc);
\draw[ar,shorten <= 5pt] (aux) -- (cyt);
\end{tikzpicture}
\end{document}
另一个选择是使用链条。请参阅 PGF 手册。