TikZ で 3 つの点 A、BC を示す線を描くにはどうすればよいでしょうか?

TikZ で 3 つの点 A、BC を示す線を描くにはどうすればよいでしょうか?

TikZ を使用して、端点 A と B とその間の点 C を示す線を描画します。

答え1

ようこそ!これについてはたくさんの質問があります。次回は、何かを試してみて、思いついたコードを投稿して、具体的な問題について質問できるようにしてください。

一つの方法は次のとおりです:

\documentclass[tikz,border=10pt]{standalone}

\begin{document}
\begin{tikzpicture}
  \draw [circle, inner sep=0pt, minimum size=1.5pt] (0,0) node [fill, label=below:A] {} -- +(1,0) node [midway, label=below:C, fill] {} node [fill, label=below:B] {};
\end{tikzpicture}
\end{document}

オーストラリアCB

関連情報