\begin{tikzpicture}
\draw[help lines](0,0)grid(3,2);
\coordinate(a)at(0,1);
\coordinate(b)at(3,2);
\...
\begin{tikzpicture}
\draw[help lines](0,0)grid(3,2);
\coordinate(a)at(0,1);
\coordinate(b)at(3,2);
\coordinate(c)at(2.5,0);
\coordinate(e)at($(a)!(c)!(b)$);
\draw[blue](c)--($(a)!(c)!(b)$);
\node[left](a)at(0,1){$A$};
\node[right](b)at(3,2){$B$};
\node[below](c)at(2.5,0){$C$};
\node[above](d)at($(a)!(c)!(b)$){$D$};
\end{tikzpicture}
一周热门 更多>