答案1
我的建议是:阅读各种用户的评论,这些评论肯定很有用。如果你不想花时间编写完美的代码,我建议你使用抹茶。在线工具可让您快速创建(但不是完美的输出)以导出为 TikZ。
\documentclass[a4paper,12pt]{article}
\usepackage{tikz}
\begin{document}
\tikzset{every picture/.style={line width=0.75pt}} %set default line width to 0.75pt
\begin{tikzpicture}[x=0.75pt,y=0.75pt,yscale=-1,xscale=1]
\draw (214,92) -- (381.5,91.01) ;
\draw [shift={(383.5,91)}, rotate = 539.66] [color=black][line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw (446.5,90) -- (500.5,90) -- (500.5,158.97) ;
\draw (500.5,158.97) -- (269.5,160.98) ;
\draw [shift={(267.5,161)}, rotate = 359.5] [color=black][line width=0.75] (10.93,-3.29) .. controls (6.95,-1.4) and (3.31,-0.3) .. (0,0) .. controls (3.31,0.3) and (6.95,1.4) .. (10.93,3.29) ;
\draw (420,92) node [align=left] {tikz3};
% Text Node
\draw (295,79) node [align=left] {tikz2};
% Text Node
\draw (175,92) node [align=left] {tikz1};
% Text Node
\draw (391,147) node [align=left] {tikz4};
% Text Node
\draw (230,158) node [align=left] {tikz5};
\end{tikzpicture}
\end{document}
您可以自己绘制并修改坐标,以便根据您的喜好选择定位文本。