TikZ:サンプルコード付:1辺とその両端の角がわかる三角形の作図

こんにちは。これ作るの初めてなんですが, うまくいくいきました。

1辺とその両端の角がわかる三角形

Rendered by QuickLaTeX.com

以下が上のソースコード例

TikZ
\usepackage{tikz}
\usetikzlibrary{calc, angles, quotes}

\begin{tikzpicture}[scale=1]
\draw [thick](0,0) node[below left]{B} coordinate(B);
\draw [thick](6,0) node[below right]{C} coordinate(C);
\coordinate(P) at (10,0);
\coordinate(Q) at (0,0);
\coordinate(R) at ($(B)!8cm!45:(P)$);
\coordinate(S) at ($(C)!8cm!{-75}:(Q)$);
\path [name path=L] (R)--(B);
\path [name path=M] (S)--(C);
\path [name intersections={of=L and M, by={[label=A]A}}];
\draw[thick](A)--(B)--(C)--cycle;
\draw pic[draw, angle radius=15pt, "$45^{\circ}$" shift={(5mm,2mm)}] {angle=C--B--A};
\draw pic[draw, angle radius=15pt, "$75^{\circ}$" shift={(-4mm,3mm)}] {angle=A--C--B};
\end{tikzpicture}


コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)