tikz 双线箭头尖粗细

tikz 双线箭头尖粗细

我想画一条两端带有箭头的双线,但是当我尝试这样做时,箭头尖端的厚度变得太大。在此处输入图片描述

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tikz}

\usetikzlibrary{arrows, positioning}

\begin{document}
\begin{tikzpicture}
  \node[draw, rectangle, minimum size = 2cm] (a) {A};
  \node[draw, rectangle, minimum size = 2cm, left = 3cm of a] (b) {B};
  \node[draw, rectangle, minimum size = 2cm, left = 3cm of b] (c) {C};

  \draw[angle 90-angle 90, line width=1pt, double, double distance=5pt] (a.west) -- (b.east);
  \draw[angle 90-angle 90, line width=1pt] (b.west) -- (c.east);
\end{tikzpicture}
\end{document}

答案1

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tikz}

\usetikzlibrary{arrows.meta, positioning}

\begin{document}
\begin{tikzpicture}[>={Classical TikZ Rightarrow[]}]
  \node[draw, rectangle, minimum size = 2cm] (a) {A};
  \node[draw, rectangle, minimum size = 2cm, left = 3cm of a] (b) {B};
  \node[draw, rectangle, minimum size = 2cm, left = 3cm of b] (c) {C};

  \draw[<->, line width=1pt, double, double distance=5pt] (a.west) -- (b.east);
  \draw[<->, line width=1pt] (b.west) -- (c.east);
\end{tikzpicture}
\end{document}

经典 TikZ 右箭头

进步不大

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tikz}

\usetikzlibrary{arrows.meta, positioning}

\begin{document}
\begin{tikzpicture}[>={Straight Barb[round]}]
  \node[draw, rectangle, minimum size = 2cm] (a) {A};
  \node[draw, rectangle, minimum size = 2cm, left = 3cm of a] (b) {B};
  \node[draw, rectangle, minimum size = 2cm, left = 3cm of b] (c) {C};

  \draw[{<._[sep=-13pt]}-{_[sep=-13pt].>}, line width=1pt, double, double distance=5pt] (a.west) -- (b.east);
  \draw[<->,line width=1pt] (b.west) -- (c.east);
\end{tikzpicture}
\end{document}

在此处输入图片描述

相关内容