Skip to content

Commit 3a11661

Browse files
committed
Added positioning library and adjusted some positions of nodes
1 parent c985500 commit 3a11661

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

tex/main.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
\usepackage{graphicx}
55
\usepackage{tikz}
66
\usepackage{bm}
7-
\usetikzlibrary{intersections,calc,arrows.meta,decorations.pathreplacing}
7+
\usetikzlibrary{intersections,calc,arrows.meta,
8+
decorations.pathreplacing,positioning}
89
\title{数学図案集}
910
\author{加藤公一 Kimikazu KATO}
1011
\西

tex/trigonometry.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ \chapter{三角関数}
99
--(C)node[midway,right=5pt]{$\sin\theta$}--cycle node[midway, above left=5pt]{1};
1010
\draw(P)--($(A)!(P)!(B)$);
1111
\draw(P)--($(B)!(P)!(C)$);
12-
\draw(0.3,0)arc(0:{atan(4/3)}:0.3)node[midway, above right]{$\theta$};
12+
\draw(0.3,0)arc(0:{atan(4/3)}:0.3)node[pos=0.2, above right]{$\theta$};
1313
\draw[decorate, decoration={brace, mirror, raise=4pt}](A)--(B);
1414
\draw[decorate, decoration={brace, mirror, raise=4pt}](B)--(C);
1515
\draw[decorate, decoration={brace, mirror, raise=4pt}](C)--(A);
@@ -35,14 +35,14 @@ \chapter{三角関数}
3535
\draw[->] (-2.5,0)--(2.5,0);
3636
\draw[->] (0,-2.5)--(0,2.5);
3737
\draw(0,0)circle[radius=2];
38-
\draw[-Stealth](0.5,0) arc(0:\a:0.5);
39-
\node[above, font=\small]at(0.6,0){$\theta$};
38+
\draw[-Stealth](0.5,0) arc(0:\a:0.5)
39+
node[pos=0.2, above right, font=\small]{$\theta$};
4040
\draw(0,0)--(\a:2);
4141
\draw[-Stealth](0.3,0) arc(0:180-\a:0.3);
4242
\node[above, font=\small]at(-0.1,0.3){$\pi-\theta$};
4343
\draw(0,0)--(180-\a:2);
44-
\draw[-stealth](0.4,0) arc(0:-\a:0.4);
45-
\node[below, font=\small]at(0.55,0.1){$-\theta$};
44+
\draw[-stealth](0.4,0) arc(0:-\a:0.4)
45+
node[pos=0.2, below right, font=\small]{$-\theta$};
4646
\draw(0,0)--(-\a:2);
4747
\draw[dashed](\a:2)--(-\a:2);
4848
\draw[dashed](\a:2)--(180-\a:2);

0 commit comments

Comments
 (0)