答案1
一个pstricks
办法::
\documentclass{standalone}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}%
\usepackage{lmodern}
\usepackage{ pstricks-add}
\usepackage{auto-pst-pdf}
\begin{document}
\begin{pspicture}
\psset{linewidth=0.6pt, arrows=->, arrowinset=0.15, arrowsize=2pt 2.5, angleB=180, linejoin=1}
\pnodes(-1.5,0){C}(0,0){D} \pnode(0,-1){B’}\pnode(3,1){A}\pnode(3,-1){B}
\ncline{D}{C}\ncangle[angleA=90]{D}{A}
\psset{arrows=-}
\ncangle[angleA=-90]{D}{B}
\psline[ ArrowInside=-<, ArrowInsidePos=0.95](B’)(B)
\nput[labelsep=2ex]{135}{D}{D}
\nput{180}{C}{Some text}
\end{pspicture}
\end{document}
答案2
帮助您设计自己的 MWE:
\documentclass[border=3mm,
tikz,
preview
]{standalone}
\usetikzlibrary{arrows.meta,
decorations,decorations.markings,
}
\begin{document}
\begin{tikzpicture}[> = {Stealth[]},
decoration={markings,mark=at position 0.1 with {\arrow{>}}}
]
\draw[postaction={decorate},->] (1,0) -| (0,1) -- (1,1);
\draw[->] (0,0.5) node [above left] {D} -- + (-1,0);
\end{tikzpicture}
\end{document}
上面的代码给出: