如何标记任意两条线段夹角的角度?

2019-09-21 20:03发布

```tex % %——如何标记任意两条线段夹角的角度? % %——xelatex编译 \documentclass{article} \usepackage{xeCJK}%使用xeCJK中文处理宏包...

```tex % %——如何标记任意两条线段夹角的角度? % %——xelatex编译 \documentclass{article} \usepackage{xeCJK}%使用xeCJK中文处理宏包 \usepackage{amsmath,amssymb,bm}%ams数学符号 \usepackage{tikz} \usetikzlibrary{arrows,intersections} \usetikzlibrary{positioning,backgrounds} \usetikzlibrary{fadings} \usetikzlibrary{patterns} \usetikzlibrary{calc} \usetikzlibrary{shadings} \pgfdeclarelayer{background} \pgfdeclarelayer{foreground} \pgfsetlayers{background,main,foreground} \usepackage{verbatim} \begin{document} \begin{tikzpicture}[scale=1.3,line width=0.75pt] %点O \coordinate (O) at (0,0); \node[left] at (O) {$O$}; %点A \coordinate (A) at (1.5,0); \node[right] at (A) {$A$}; %点B \coordinate (B) at (1,1); \node[above right] at (B) {$B$}; \draw (B)—(O)—(A); % 如何标记出点 C,使得 角COB=角BOA ? ??(不能使用计算角度的方法,因为点A点B可能是通过交点标记出来的,无法算出坐标) % 如下是我随意标记的一个点C,并不能保证角COB=角BOA %点C \coordinate (C) at (.5,2); \node[above right] at (C) {$C$}; \draw[dashed] (O)—(C); % 如何标记出点 C,使得 角COB=角BOA ? ?? \end{tikzpicture} \end{document} ```
2条回答
合肥-Renascence_5
2019-09-21 20:17
```tex \documentclass{article} \usepackage{tikz} \usepackage{tkz-euclide} \usetkzobj{angles} \begin{document} \begin{tikzpicture}[scale=1.3,line width=0.75pt] %点O \coordinate (O) at (0,0); \node[left] at (O) {$O$}; %点A \coordinate (A) at (1.5,0); \node[right] at (A) {$A$}; %点B \coordinate (B) at (1,1); \node[above right] at (B) {$B$}; \draw (B)--(O)--(A); \tkzFindAngle(A,O,B)\tkzGetAngle{AOB} \tkzDefPointBy[rotation= center O angle \AOB](B) \tkzGetPoint{C} \draw(C)--(O); \end{tikzpicture} \end{document} ```

一周热门 更多>