【发布时间】:2017-11-21 18:33:30
【问题描述】:
也许你可以帮助我,我尝试从点/坐标画一条直线到一条直线。我用 Tikz 画画。
\begin{tikzpicture}
\coordinate [label=left:$A$] (A) at (-5,-5){};
\coordinate [label=right:$B$] (B) at (5,-5) {};
\coordinate [label=right:$C$] (C) at (5,1) {};
\coordinate [label=left:$D$] (D) at (-5,1) {};
\draw [thick] (A) -- node[midway] {$\parallel$} (B) -- node[sloped]{$\parallel$} (C) -- (D) -- cycle;
\coordinate (S1) at ($(D)!0.66!(C)$);
\coordinate (S2) at ($(A)!0.11!(B)$);
\draw [very thick] (S1) -- node[above]{x} (S2);
\draw [red!100, thick] (S1) -- node[above]{T} (A -| B );
\end{tikzpicture}
This where the red line should go
红线应从坐标 (S1) 垂直到直线 (A -- B)。 我试着把它画成这样:
\draw [red!100, thick] (S1) -- node[above]{T} (A -| B );
然后他画了一条线来坐标A
谢谢,
【问题讨论】:
标签: math latex draw pdflatex tikz