Skip to content

Commit

Permalink
Added positioning library and adjusted some positions of nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
hamukazu committed Jun 26, 2023
1 parent c985500 commit 3a11661
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion tex/main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
\usepackage{graphicx}
\usepackage{tikz}
\usepackage{bm}
\usetikzlibrary{intersections,calc,arrows.meta,decorations.pathreplacing}
\usetikzlibrary{intersections,calc,arrows.meta,
decorations.pathreplacing,positioning}
\title{数学図案集}
\author{加藤公一 Kimikazu KATO}
\西
Expand Down
10 changes: 5 additions & 5 deletions tex/trigonometry.tex
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ \chapter{三角関数}
--(C)node[midway,right=5pt]{$\sin\theta$}--cycle node[midway, above left=5pt]{1};
\draw(P)--($(A)!(P)!(B)$);
\draw(P)--($(B)!(P)!(C)$);
\draw(0.3,0)arc(0:{atan(4/3)}:0.3)node[midway, above right]{$\theta$};
\draw(0.3,0)arc(0:{atan(4/3)}:0.3)node[pos=0.2, above right]{$\theta$};
\draw[decorate, decoration={brace, mirror, raise=4pt}](A)--(B);
\draw[decorate, decoration={brace, mirror, raise=4pt}](B)--(C);
\draw[decorate, decoration={brace, mirror, raise=4pt}](C)--(A);
Expand All @@ -35,14 +35,14 @@ \chapter{三角関数}
\draw[->] (-2.5,0)--(2.5,0);
\draw[->] (0,-2.5)--(0,2.5);
\draw(0,0)circle[radius=2];
\draw[-Stealth](0.5,0) arc(0:\a:0.5);
\node[above, font=\small]at(0.6,0){$\theta$};
\draw[-Stealth](0.5,0) arc(0:\a:0.5)
node[pos=0.2, above right, font=\small]{$\theta$};
\draw(0,0)--(\a:2);
\draw[-Stealth](0.3,0) arc(0:180-\a:0.3);
\node[above, font=\small]at(-0.1,0.3){$\pi-\theta$};
\draw(0,0)--(180-\a:2);
\draw[-stealth](0.4,0) arc(0:-\a:0.4);
\node[below, font=\small]at(0.55,0.1){$-\theta$};
\draw[-stealth](0.4,0) arc(0:-\a:0.4)
node[pos=0.2, below right, font=\small]{$-\theta$};
\draw(0,0)--(-\a:2);
\draw[dashed](\a:2)--(-\a:2);
\draw[dashed](\a:2)--(180-\a:2);
Expand Down

0 comments on commit 3a11661

Please sign in to comment.