
(1) 2つの頂点とから2本の二等分線を引いてA
、B
それらがで交わるようにしますP
。(2) しかし、頂点から引いたもう1本の二等分線は、C
終了した交差する前にP
。
\documentclass[11pt,a4paper]{article}
\usepackage{blindtext}
\usepackage{tikz}
\usepackage{tkz-euclide}
\usetkzobj{all}
\usepackage{color}
\begin{document}
\normalsize{\textbf{Theorem 1.24.} \textit{The bisectors of the angles of a triangle meet in a point which is equally distant from the sides.}}
\begin{center}
\begin{tikzpicture}
\tkzDefPoint(0,0){A}
\tkzDefPoint(12,0){B}
\tkzLabelPoints[below](A)
\tkzLabelPoints[below](B)
\tkzDrawSegment(A,B)
\tkzDefPoint(6,7){C}
\tkzLabelPoints[above](C)
\tkzDrawSegment(A,C)
\tkzDrawSegment(B,C)
\end{tikzpicture}
\end{center}
\end{document}
答え1
\documentclass[11pt,a4paper]{article}
\usepackage{blindtext}
\usepackage{tikz}
\usepackage{tkz-euclide}
\usetkzobj{all}
\usepackage{color}
\begin{document}
\normalsize{\textbf{Theorem 1.24.} \textit{The bisectors of the angles of a triangle meet in a point which is equally distant from the sides.}}
\begin{center}
\begin{tikzpicture}
\tkzDefPoint(0,0){A}
\tkzDefPoint(12,0){B}
\tkzLabelPoints[below](A)
\tkzLabelPoints[below](B)
\tkzDrawSegment(A,B)
\tkzDefPoint(6,7){C}
\tkzLabelPoints[above](C)
\tkzDrawSegment(A,C)
\tkzDrawSegment(B,C)
\tkzDefLine[bisector](C,B,A)
\tkzGetPoint{i}
\tkzDefLine[bisector](B,A,C)
\tkzGetPoint{j}
\tkzInterLL(A,j)(B,i)
\tkzGetPoint{P}
\tkzLabelPoints[below](P)
\tkzDrawBisector(C,B,A)(P)
\tkzDrawBisector(C,A,B)(Q)
\tkzDrawSegment[add=0pt and -30pt](C,P)
\end{tikzpicture}
\end{center}
\end{document}
備考:
変更
-30pt
内容\tkzDrawSegment[add=0pt and -30pt](C,P)
C
からまでのセグメントの目的の短縮を取得しますP
。定理を手動でマークアップする代わりに、
amsthm
や などの専用パッケージの使用を検討する必要がありますntheorem
。 の簡単な例amsthm
:\documentclass[11pt,a4paper]{article} \usepackage{blindtext} \usepackage{tikz} \usepackage{tkz-euclide} \usetkzobj{all} \usepackage{color} \usepackage{amsthm} \newtheorem{theo}{Theorem} \begin{document} \begin{theo} The bisectors of the angles of a triangle meet in a point which is equally distant from the sides. \end{theo} \begin{center} \begin{tikzpicture} \tkzDefPoint(0,0){A} \tkzDefPoint(12,0){B} \tkzLabelPoints[below](A) \tkzLabelPoints[below](B) \tkzDrawSegment(A,B) \tkzDefPoint(6,7){C} \tkzLabelPoints[above](C) \tkzDrawSegment(A,C) \tkzDrawSegment(B,C) \tkzDefLine[bisector](C,B,A) \tkzGetPoint{i} \tkzDefLine[bisector](B,A,C) \tkzGetPoint{j} \tkzInterLL(A,j)(B,i) \tkzGetPoint{P} \tkzLabelPoints[below](P) \tkzDrawBisector(C,B,A)(P) \tkzDrawBisector(C,A,B)(Q) \tkzDrawSegment[add=0pt and -30pt](C,P) \end{tikzpicture} \end{center} \end{document}