직각삼각형 문제

직각삼각형 문제

암호:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage{tkz-euclide}
\usetkzobj{all}
\usetikzlibrary{intersections}
\usepackage{amsmath}
\usepackage{siunitx}
\sisetup{output-decimal-marker={,}}

\begin{document}

\begin{tikzpicture}[scale=2]%,cap=round,>=latex]

\coordinate [label=left:$C$] (A) at (-1.5cm,-1.cm);
\coordinate [label=right:$A$] (C) at (1.5cm,-1.0cm);
\coordinate [label=above:$B$] (B) at (1.5cm,1.0cm);
\draw (A) -- node[sloped,above] {$\textrm{Hypotenous}$} (B) -- node[right,rotate=-90,xshift=-9mm] {$\textrm{Oposite Side}$} (C) -- node[below] {$\textrm{Adjacent Side}$} (A);

\draw (1.25cm,-1.0cm) rectangle (1.5cm,-0.75cm);
\tkzMarkAngle[size=0.5cm,color=black,mark=](C,A,B) 
\end{tikzpicture}

\end{document}

여기에 이미지 설명을 입력하세요

질문:1 주어진 그림에서 반대쪽이라는 단어가 AB 쪽과 섞여 있는 것을 볼 수 있습니다. 이것을 수정하고 싶습니다.

질문:2 두 번째로 각도 ACB를 티타(나중에 그리스어인 \theta)로 표시하고 싶습니다.

답변1

첫 번째 질문의 경우 레이블이 줄 위에 오도록 지정하기만 하면 됩니다. 즉, 다음을 입력합니다.

node[above right,rotate=-90,xshift=-9mm] {$\textrm{Oposite Side}$}

그러면 원하는 대로 라벨이 배치됩니다.

below주의: 반대쪽에 이 라벨이 있도록 입력할 수 있습니다 .

답변2

의 추가는 \tkzLabelAngle세타에 라벨을 붙이는 데 사용될 수 있습니다. 아래 코드를 수정했습니다.

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage{tkz-euclide}
\usetkzobj{all}
\usetikzlibrary{intersections}
\usepackage{amsmath}
\usepackage{siunitx}
\sisetup{output-decimal-marker={,}}

\begin{document}

\begin{tikzpicture}[scale=2]%,cap=round,>=latex]

\coordinate [label=left:$C$] (A) at (-1.5cm,-1.cm);
\coordinate [label=right:$A$] (C) at (1.5cm,-1.0cm);
\coordinate [label=above:$B$] (B) at (1.5cm,1.0cm);
\draw (A) -- node[sloped,above] {$\textrm{Hypotenous}$} (B) -- node[above right,rotate=-90,xshift=-9mm] {$\textrm{Oposite Side}$} (C) -- node[below] {$\textrm{Adjacent Side}$} (A);

\draw (1.25cm,-1.0cm) rectangle (1.5cm,-0.75cm);
\tkzMarkAngle[size=0.5cm,color=black,mark=](C,A,B) 
\tkzLabelAngle[pos=0.65](C,A,B){$\theta$}
\end{tikzpicture}

\end{document}

답변3

동일한 코드이지만 아래와 같이 18번째 줄의 코드를 변경하세요.

\draw (A) -- node[sloped,above] {$\textrm{Hypotenous}$} (B) -- node[left,rotate=90,xshift= 11mm, yshift=-3mm] {$\textrm{Oposite Side}$} (C) -- node[below] {$\textrm{Adjacent Side}$} (A);

삼각형

관련 정보