commit 95b3617d8d8d31d89e847aa73fd5fe688ee7f837
parent a850b9abb59270beaec8202711c3a4fea5bc0881
Author: Minerva_juppiter <94231606+minerva-jupiter@users.noreply.github.com>
Date: Tue, 2 Dec 2025 21:24:29 +0900
Phisics experimtn1 imp (#7)
* feat(experiments): Add impedance diagram report and remove diffraction grating report
* docs(exp-method): Clarify AC circuit setup and measurement using Slidac
* add result table
* fix(report): Correct self-inductance and phase angle formulas and values
* feat(report): Add impedance diagram and experimental data
* fix ohm to Ω
* fix(report): Correct typos, variable labels, and units
* refactor(report): Clarify residual labels and correct textual details
* fix(data): Round residual and squared residual values in CSV files
* font make smaller
* delete from main
Diffstat:
12 files changed, 184 insertions(+), 702 deletions(-)
diff --git a/accircit.png b/accircit.png
Binary files differ.
diff --git a/current.csv b/current.csv
@@ -0,0 +1,6 @@
+電流(A), 0.100, 0.200, 0.300, 0.400, 0.500, 0.600, 0.700, 0.800, 0.900, 1.000, 5.500
+電圧(V), 0.89, 1.69, 2.52, 3.34, 4.12, 4.91, 5.66, 6.38, 7.12, 7.92, 44.55
+I^2, 0.010, 0.040, 0.090, 0.160, 0.250, 0.360, 0.490, 0.640, 0.810, 1.000, 3.850
+IV, 0.089, 0.338, 0.756, 1.336, 2.060, 2.946, 3.962, 5.104, 6.408, 7.920, 30.919
+残渣, -0.0650, -0.0428, 0.00939, 0.05163, 0.0538, 0.06612, 0.0383, -0.0193, -0.0571, -0.0349, 4.55E-15
+残渣^2, 0.0042, 0.0018, 8.8E-05, 0.0026, 0.002, 0.004, 0.001, 0.0003, 0.0032, 0.0012, 0.0224
diff --git a/dccircit.png b/dccircit.png
Binary files differ.
diff --git a/fig1.jpg b/fig1.jpg
Binary files differ.
diff --git a/fig2.jpg b/fig2.jpg
Binary files differ.
diff --git a/flag.typ b/flag.typ
@@ -1 +0,0 @@
-BhmlPF2XeKVsCm0XLFLKqoeMGzmoRumw
diff --git a/imp.typ b/imp.typ
@@ -0,0 +1,178 @@
+#set text(lang: "ja", font: "Noto Sans CJK JP", size: 10.5pt)
+#set par(leading: 1.5em)
+#set heading(numbering: "1.")
+#show heading: set block(below: 1em)
+#set math.equation(numbering: "(1)")
+
+#show figure.where(
+ kind: table
+): set figure.caption(position: top)
+
+#import "@preview/muchpdf:0.1.0": muchpdf
+
+#show regex("[\p{scx:Han}\p{scx:Hira}\p{scx:Kana}]"): set text(font: "Noto Sans CJK JP")
+
+#muchpdf(read("./titlepage.pdf", encoding: none),width: 20cm)
+
+#counter(page).update(0)
+#set page(numbering: "- 1 -")
+
+#let phisics_experiment_table(header, cells) = {
+ table(
+ columns: header.len(),
+ table.hline(),
+ table.header(..header.flatten()),
+ table.hline(),
+ ..cells,
+ table.hline(),
+ )
+}
+
+= 実験目的
+直流抵抗と自己インダクタンスとを直列に接続した回路であるインピーダンスダイアグラムを作り,遅れの角および自己インダクタンスを算出すること.
+
+= 実験原理
+直流抵抗(抵抗値$R$Ω)と自己インダクタンス($H$L)を直列に接続したインピーダンスダイアグラムがあるとする.これに電圧$V$Vの直流電流を流したとき,流れる定常電流を$i$Aとするとオームの法則により抵抗値のRが次式より求まる.
+$ R = V/i $
+またこれに周波数$nu$Hzの交流電流($V=V_0 sin(2 pi nu t)$流すと,一般化されたオームの法則から$V - L (d i)/(d t) = R i$(ここで$i$は流れている電流)であるので次式が成り立つ.
+$ L (d i)/(d t) + R i = V_0 sin(2 pi nu t) $
+この式の解を最大電流$i_0$と遅れの角$phi$を使って$i = i_0 sin(2 pi nu t - phi)$と書けると仮定すると,これを上式に代入して,最大電流$i_0$と遅れの角$phi$は以下のように決定される.
+$ cases(
+ i_0 = V_0/sqrt(R^2+4 pi^2 nu^2 L^2),
+ phi = tan^(-1)((2 pi nu L)/R)
+) $
+ここで,$V_e, i_e$をそれぞれ有効電圧,実行電圧とすると,
+$ sqrt(R^2 + 4 pi^2 nu^2 L^2) = V_0/i_0 = V_e/i_e $
+が成り立つ.上記から交流電圧計と交流電流計を用いてインピーダンス($sqrt(R^2 + 4 + pi^2 nu^2 L^2)$)を求めることができる.
+直流電圧流したときの結果より直流抵抗の抵抗値$R$,交流電圧を流したときの結果よりインピーダンス$sqrt(R^2 + 4 + pi^2 nu^2 L^2)$を求められれば,$2 pi nu L$の値が求められる.
+従って遅れの角$phi$を算出することができ,周波数計により交流周波数を測定すると自己インダクタンス$L$を求めることができる.
+
+= 実験方法
+実験装置:直流電源・スライダック・鉄心入りコイル・直流電流計・直流電圧計・交流電流計・交流電圧計・可変抵抗
+
+まず実験装置を用いて回路を作った.
+直流の回路は図1,交流の回路図2に示すような回路にした.
+#figure(
+ kind: image,
+ caption: [直流回路],
+ image("./dccircit.png"),
+)
+#figure(
+ kind: image,
+ caption: [交流回路],
+ image("./accircit.png"),
+)
+
+== 直流回路の測定
+1. 可変抵抗の値をできるだけ小さくした.
+2. 直流電源のツマミを0にして,プラグを接続して電源を入れた.
+3. 電流値が0.1Aになるように,VOLTAGEのつまみをまわし,次にCURRENTのつまみを回して定電流を流した.
+4. 電流計・電圧計の数値が安定しないときは,可変抵抗の値を少しだけ大きくし,再度電流が0.1Aになるように定電流を流した.
+5. 値が安定したら,そのときの電流計と電圧計の値を測定した.
+6. 4から5の操作を電流が0.1Aから1.0Aまで0.1Aづつ増加させて計測した.
+
+== 交流回路の測定
+1. 直流回路から電源・電流計・電圧計だけを変更し,その他は動かさないように回路を組み替えた.
+2. スライダックのつまみを0にして,プラグを接続した.
+ここで,交流電源にはコンセントから給電したスライダックを用いたそのため,周波数は西日本のコンセントの周波数である60Hzになった.
+3. スライダックのつまみを回し,電流計の値が0.1Aになるように電流を流した.
+スライダックはつまみを0にしていてもオフセット電流が流れる.オフセット電流が0.1Aよりも大きい場合はそれを1つ目の測定値とした.
+4. 値が安定したら,その時の電流計と電圧計の値を測定した.
+5. 3から4の操作を電流が0.1Aから1.0Aまで0.1Aづつ増加させて測定した.
+
+= 結果
+直流回路により,得られた値を表1に示す.
+#figure(
+ kind: table,
+ caption: [直流回路のI-V特性],
+ phisics_experiment_table(
+ ("測定番号","1","2","3","4","5","6","7","8","9","10","合計"),
+ csv("current.csv").flatten(),
+ )
+)
+
+交流回路により,得られた値を表2に示す.
+#figure(
+ kind: table,
+ caption: [交流回路のI-V特性],
+ phisics_experiment_table(
+ ("測定番号","1","2","3","4","5","6","7","8","9","10","合計"),
+ csv("voltage.csv").flatten(),
+ )
+)
+以上の結果より,最小二乗法を用いて,それぞれの回路のI-V特性を求めた.
+直流回路について
+$ V = R I + V_0_r $とすると
+$ V = 7.777576 I + 0.177333 $
+なので,
+$ R = (777 plus.minus 6) times 10^(-2) ["Ω"] $
+$ V_0_r = (17 plus.minus 4) times 10^(-2) ["Ω"] $
+また,交流回路について
+$ V = Z I + V_0_z $
+$ V = 14.5697 I - 0.07333 $
+したがって,
+$ Z = (145 plus.minus 3) times 10^(-1) ["Ω"] $
+$ V_0_z = (0 plus.minus 2) times 10^(-1) ["Ω"] $
+
+これにより,自己インダクタンス$L$とその誤差$sigma_L$は,
+$ Z^2 = R^2 + 2 pi^2 nu^2 L^2 $
+より
+$ L = sqrt(Z^2 - R^2)/(2 pi nu) = 3.2680 times 10^(-2) ["Ω"] $
+$ sigma_L = 1/(2 pi nu sqrt(Z^2-R^2)) sqrt(Z^2 (sigma_Z)^2 - R^2 (sigma_R)^2) = 8.5 times 10^(-4) ["Ω"] $
+$ L = (327 plus.minus 9) times 10^(-4) ["Ω"] $
+それにより,遅れの角$phi$とその誤差$sigma_phi$は,
+$ phi = tan^(-1)((2 pi nu L)/R ) = 1.007686... ["rad"] $
+$ sigma_phi = (2 pi nu)/(4 pi^2 nu^2 L^2 + R^2) sqrt(R^2 (sigma_R)^2 + L^2 (sigma_L)^2) ["rad"] $
+$ phi = (57 plus.minus 5 ) times 10 [°] $
+
+= 考察
+実験より,回路に用いた鉄心入りコイルのリアクタンス$L$は,
+$ L = (327 plus.minus 9) times 10^(-4) ["Ω"] $
+また,遅れの角$phi$は,
+$ phi = (57 plus.minus 5 ) times 10 [°] $
+であると求まった.
+リアクタンスの相対誤差は,$9/327 = 0.027522... tilde.eq.rev 3%$
+遅れの角の相対誤差は$5/57 = 0.087719... tilde.eq.rev 9%$
+である.この値より,十分な精度は出ていないといえる.
+特に交流の0.1Aに関しては,以下の追加課題で示すグラフを見ると,他の測定点に対して一直線上から離れた点を示している.この点を除いて計算をし直すと,
+$ L' = (316 plus.minus 6) times 10^(-4) ["Ω"] $
+$ phi' = (56 plus.minus 5 ) times 10 [°] $
+となり,Lの相対誤差は$6/316 = 0.0189... tilde.eq.rev 2%$
+phiの相対誤差は$5/56 = 0.0847400... tilde.eq.rev 8%$
+であり,数値が少し改善した.
+この測定の誤差が大きくなった原因として,測定をするときに電流と電圧がなかなか安定しておらず,不安定なまま測定を行ってしまい,測定の精度が低下したことが考えられる.
+
+== 追加課題について
+=== 設問1
+以下の図3に作成したインピーダンスダイヤグラムを示す.
+#figure(
+ kind: image,
+ caption: [作成したインピーダンスダイヤグラム],
+ image("2025111901.jpg"),
+)
+
+=== 設問2
+三角形ABCは円に内接しており,ACはその円の中心を通っている.これとタレスの定理より,この三角形ABCは角Bが直角であることが分かる.
+ピタゴラスの定理より,
+$ R^2 = "AB"^2 + Z^2 $
+$ R^2 = "AB"^2 + R^2 + 4 pi^2 nu^2 L^2$
+$ "AB"^2 = 4 pi^2 nu^2 L^2 $
+$ "AB" = 2 pi nu L $
+よって$"AB" = 2 pi nu L$が示された.
+
+=== 設問3
+以下に測定値とその誤差を示す.
+ただし,器械的誤差は最小メモリ0.01cmなので,0.005cmとすべきだが,有効数字が足りないので,0.01cmとしている.
+$ "AC(Z)" = 14.50 plus.minus 0.01 ["cm"] $
+$ "CD(R)" = 7.95 plus.minus 0.01 ["cm"] $
+$ "AB" = 12.16 plus.minus 0.01 ["cm"] $
+$"AB" = 2 pi nu L$より$L = "AB" / (2 pi nu)$より,
+$ L = 0.03225 plus.minus 0.00001 ["Ω"] $
+
+=== 設問4
+今回の実験で可変抵抗をできるだけ小さくした理由は,もし可変抵抗を大きくすると,
+$ Z = sqrt(R^2 + (4 pi^2 nu^2 L^2)) $
+の$R^2$の項が大きくなるので,リアクタンスの含まれる項の影響が相対的に小さくなってしまい,誤差が大きく出てしまうから.
+
+= 参考文献
+[1] 吉田卯三郎 他著 (三省堂) P.257
diff --git a/main.typ b/main.typ
@@ -1,96 +0,0 @@
-#import "./template/template.typ" : *
-#let title = [#text(tracking: 1em,size: 14pt,[履歴書])]
-
-#let fontSerif = ("Noto Serif", "Noto Serif CJK JP")
-#let fontSan = ("Noto Sans", "Noto Sans CJK JP")
-
-#set text(font: fontSerif, size: systemFontSize)
-#set page(paper: "jis-b5",margin: 1.5cm)
-
-= #title
-// 使い方の説明。
-// "私"と"アドレス"など日本語名の関数の引数を変更してください。
-
-#move( dy: -1cm,
- stack(
- align(bottom,
- grid(
- columns: (5fr,2fr),
- 私(
- 性読み: "はやし",
- 名読み: "りょうた",
- 性: "林",
- 名: "諒太",
- 生年月日: "平成18年02月06日",
- 年齢: 99
- ),
- 証明写真(写真: "./testImg.jpg"),
- // 証明写真()
- ),
- ),
- アドレス(
- 住所ふりがな1: "しまねけん松江市にしかわつちょう1206-5ロイヤルクレドール203",
- 住所1: "島根県松江市西川津町1206-5ロイヤルクレドール203",
- 郵便番号1: "690-0823",
- 電話番号1: "080-4884-8548",
- Email1: "s241033.matsu.shimane.u.ac.jp@gmail.com",
- ),
- linebreak(),
- 経歴(
- mode: "学歴・職歴",
- columns: 14,
- grid(
- gutter: 0.61cm,
- 学歴(),
- 学歴(
- 年: "2024",
- 月: "3",
- 学歴: "大阪府立岸和田高等学校文理学科卒業"
- ),
- 学歴(
- 年: "2024",
- 月: "4",
- 学歴: "島根大学総合理工学部物理工学科入学"
- ),
- 以上()
- )
- ),
- ),
-)
-#pagebreak()
-
-#stack(
- 経歴(
- mode: "学歴・職歴",
- columns: 5,
- hegithLength: 5cm,
- linebreak(),
- // grid(
- // gutter: 0.61cm,
- // 資格(
- // 年: "平成1",
- // 月: "10",
- // 資格: "大学入学"
- // ),
- // )
- ),
- linebreak(),
- 経歴(
- mode: "資格",
- columns: 7,
- hegithLength: 6.6cm,
- grid(
- gutter: 0.61cm,
- 資格(
- 年: "2020",
- 月: "3",
- 資格: "剣道2段"
- ),
- )
- ),
- place(
- bottom + right,
- dy: 10pt,
- [Made with Typst]
- )
-)
diff --git a/phisics-experiment1-newtonring.typ b/phisics-experiment1-newtonring.typ
@@ -1,140 +0,0 @@
-#set text(lang: "ja", font: "Noto Sans CJK JP")
-#set par(leading: 1.5em)
-#set heading(numbering: "1.")
-#show heading: set block(below: 1em)
-#set math.equation(numbering: "(1)")
-
-#show figure.where(
- kind: table
-): set figure.caption(position: top)
-
-#import "@preview/muchpdf:0.1.0": muchpdf
-
-#show regex("[\p{scx:Han}\p{scx:Hira}\p{scx:Kana}]"): set text(font: "Noto Sans CJK JP")
-
-#muchpdf(read("./titlepage.pdf", encoding: none),width: 20cm)
-
-#counter(page).update(0)
-#set page(numbering: "- 1 -")
-
-#let phisics_experiment_table(header, cells) = {
- table(
- columns: header.len(),
- table.hline(),
- table.header(..header.flatten()),
- table.hline(),
- ..cells,
- table.hline(),
- )
-}
-
-= 実験目的
-ナトリウムランプから発せられる単色光によるニュートンリングを作るレンズの曲率半径を測定すること。
-
-= 実験原理
-平行ガラス板BB′上に曲率半径Rの非常に大きな平凸レンズAA′を置いたとし、波長λの単色光をこれに垂直に入射させる。この場合、空気層ABまたはA′B′は、きわめて薄いと考えられるので、入射光も反射光もほぼ平行とみなすことができる。
-したがって、空気層の上面AA′からの反射光と、下面BB′からの反射光との光路差を求めるには、
-$ A B = A'B' = O D = z, A D = A'D' = r, E D = 2R-z $
-とすると、
-$ r^2 = (2R-z)z = 2R z - z^2 tilde.equiv 2R z $
-これに加えて、AA'からの反射光は密から疎な媒質への境の反射であり、BB'からの反射光は疎から密への境の反射であるので、経路差とすべきのは上式から導かれる光路差に半波長を足したものであると考えられる。
-これらを踏まえて全光路差は$2z+ lambda/2$であることが分かる。
-したがって、m番目のr、$r_m$に成り立つ関係式は
-$ r^2_m = m lambda R ( m in NN ) $
-だと分かる。この式から次を考えると、
-$ r^2_m - r^2_(m + n) = n lambda R (m,n in NN) $
-故に
-$ R = (r^2_m - r^2(m+n))/(n lambda) $
-が求まる。
-以上より、m本目とm+n本目のニュートンリングの直径を測定することで、Rを間接的に測定することができる。
-
-= 実験方法
-実験器具:ニュートンリング測定装置、ナトリウムランプ、集光レンズ
-
-この実験は以下の手順に従って、暗室で行った。
-数値の測定はマイクロメーターによって行った。
-また、実験器具の配置と光の経路を図1に示した。
-#figure(
- caption: [実験器具の配置と光の経路],
- kind: image,
- image("fig1.jpg"),
-)
-
-1. 実験器具の配置
-ニュートンリング測定装置を設置する。その正面にナトリウムランプを設置する。ニュートンリング測定装置とナトリウムランプの間に集光レンズを設置し、ニュートンリング測定装置へ入射する光が平行な光になるようにする。
-
-2. 器具の調整
-ナトリウムランプの電源をつけ、ニュートンリング測定装置についている遊動顕微鏡を覗く。
-ニュートンリングが見えたらばピント合わせ、半透明反射鏡を傾けて、ニュートンリングが明るく見えるように調節する。
-
-3. 最初の位置合わせ
-ニュートンリングの中心を遊動顕微鏡の十字線の軌跡が通過するようにリングの取り付けネジを調整しリングの中心を移動させる。この場合にニュートンリングが真円からずれないように注意をする。
-
-4. 測定
-m番目の暗輪(または明輪)に遊動顕微鏡の十字線を合わせて、マイクロメーターでその時の値を読み取る。
-次に、m-1番目の暗輪(または明輪)に遊動顕微鏡の十字線を合わせてそのときの値を読み取る。
-同様な測定を-m番目まで行う。ここでmの値は10以上とし、0番目のリングの測定も忘れないように行う。
-ここで移動機構の遊びを避けるため、移動方向を途中で反転させないように気をつける。
-
-
-= 結果
-=== 測定値
-測定で得た、m番目のニュートンリングの値を表1にまとめた。
-なお、$m$が負のものは$(a_m)'$として表にまとめている。
-#figure(
- caption: [ニュートンリングの位置],
- kind: table,
- phisics_experiment_table(
- ("m","1","2","3","4","5","6","7","8","9","10"),
- csv("a_m.csv").flatten(),
- ),
-)
-=== 測定値の解析
-また、上記の値から$R$の値を求めた。
-mとnの値は次のように選んだ。
-nが大きいとき、小さいサイズのリングから大きいサイズのリングまでを取ることができ、レンズに歪みがあった場合に平均的な曲率半径を取ることができると考えた。
-逆に、$n=1$と極端に小さくしたときは局所的な曲率半径を求めることができるので、$m=1,m=5,m=9$のときについてそれぞれ曲率半径Rを求めた。
-ただし、ナトリウムランプから発せられる単色光の波長は参考文献[1]より、$5.893 times 10^(-7)$の値を用いた。
-==== Case: m=1 n=9
-$ R = ((a_10 - a's_10)^2 - (a_1 - a'_1)^2)/(4 times 9 times lambda) = ((7.224 times 10^(-3))^2 times (5.55 times 10^(-3))^2)/(4 times 9 times lambda) $
-$ = ((52.19-6.503)times 10^(-6))/(4 times 9 times lambda) = (4.56837 times 10^(-6))/(4 times 9 times 5893 times 10^(-10)) = 2.1534 (m) $
-
-==== Case: m=1 n=1
-$ R = ((a_2 - a's_2)^2 - (a_1 - a'_1)^2)/(4 times 1 times lambda) = ((3.417 times 10^(-3))^2 times (2.55 times 10^(-3))^2)/(4 times 1 times lambda) $
-$ = ((1.168-0.065025)times 10^(-6))/(4 times 1 times lambda) = (5.17339 times 10^(-6))/(4 times 1 times 5893 times 10^(-10)) = 2.1947 (m) $
-
-==== Case: m=5 n=1
-$ R = ((a_6 - a's_6)^2 - (a_5 - a'_5)^2)/(4 times 1 times lambda) = ((5.613 times 10^(-3))^2 times (5.144 times 10^(-3))^2)/(4 times 1 times lambda) $
-$ = ((3.151-2.646)times 10^(-6))/(4 times 1 times lambda) = (5.045 times 10^(-6))/(4 times 1 times 5893 times 10^(-10)) = 2.1403 (m) $
-
-==== Case: m=9 n=1
-$ R = ((a_10 - a's_10)^2 - (a_9 - a'_9)^2)/(4 times 1 times lambda) = ((7.24 times 10^(-3))^2 times (6.869 times 10^(-3))^2)/(4 times 1 times lambda) $
-$ = ((5.129-4.718)times 10^(-6))/(4 times 1 times lambda) = (5.003 times 10^(-6))/(4 times 1 times 5893 times 10^(-10)) = 2.1224 (m) $
-
-==== Rの偶然誤差
-上記で求めた曲率半径の偶然誤差を計算した表を以下に示す。
-#figure(
- caption: [求めたRの偶然誤差],
- kind: table,
- phisics_experiment_table(
- ("n,m","m=1,n=9","m=1,n=1","m=5,n=1","m=9,n=1","平均値"),
- csv("r.csv").flatten(),
- ),
-)
-以上から、誤差は$7.1 times 10^(-4)$と求まった。
-
-= 考察
-実験から、曲率半径Rは$R = 2.1527 plus.minus 7 times 10^(-4)$と求まった。また、Rの相対誤差は3%と求まった。
-また、$n=1$のときのmと曲率半径Rの関係としては、mが大きくなるほどRが小さな値になる傾向が見られた。
-この原因として考えられるのは、レンズの固定のためにレンズの縁をネジで押し付けて固定しているため、レンズの縁に曲率と逆の向きに圧力がかかっていることが考えられる。
-また、リングの次数が上がるにつれ、縁に近いことやレンズの厚さが増すことで、圧力による曲率の変化が縁に近づくにつれて大きくなっている事が考えられる。
-これを概念的に図示すると以下の図のようになる。
-#figure(
- caption: [レンズの歪み方の概念図],
- kind: image,
- image("fig2.jpg"),
-)
-
-
-= 参考文献
-[1] 吉田卯三郎 他著 (三省堂) P.182
diff --git a/r.csv b/r.csv
@@ -1,3 +0,0 @@
-R,2.1534.E+00,2.1947.E+00,2.1403.E+00,2.1224.E+00,2.1527.E+00
-残渣,7.0000.E-04,4.2000.E-02,-1.2400.E-02,-3.0300.E-02,-3.3307.E-16
-残渣^2,4.9000.E-07,1.7640.E-03,1.5376.E-04,9.1809.E-04,7.0909.E-04
diff --git a/template/template.typ b/template/template.typ
@@ -1,462 +0,0 @@
-#let systemFontSize = 8pt
-#let nameFontSize = 16pt
-#let inputFontSize = 10pt
-
-#let addSpace(input) = {
- box(
- [#pad(left:1cm,[#input])],
- )
-}
-
-#let 私(性読み: "",名読み: "", 性: "",名: "",生年月日: "",年齢: 0) = {
- stack(
- place(
- top + right,
- dy: -10pt,
- datetime.today().display(
- "[year]年[month]月[day]日現在",
- )
- ),
- rect(
- stroke: (
- bottom: none,
- top: 1.5pt,
- left: 1.5pt,
- right: 1.5pt
- ),
- height: auto,
- width: 100%,
- [
- #grid(
- columns: (1.5cm,4cm,1fr),
- [ふりがな],
- [#align(center,性読み)],
- [#align(start,名読み)]
- )
- ]
- ),
- line(
- length: 100%,
- stroke: (
- dash:"dashed",
- )
- ),
- rect(
- stroke: (
- bottom: 0.5pt,
- top: none,
- left: 1.5pt,
- right: 1.5pt
- ),
- height: auto,
- width: 100%,
- [
- #align(top,
- grid(
- columns: (1.5cm,4cm,1fr),
- [氏 #h(0.6cm)名],
- [
- #pad(y: 0.4cm,align(center + horizon,text(nameFontSize,性)))
- ],
- [
- #pad(y: 0.4cm,align(start + horizon,text(nameFontSize,名)))
- ]
-
- )
- )
- ]
- ),
- rect(
- stroke: (
- bottom: 0.5pt,
- top: none,
- left: 1.5pt,
- right: 1.5pt
- ),
- height: auto,
- width: 100%,
- [
- #align(start + top,
- grid(
- columns: (1.5cm,1fr),
- [生年月日],
- pad(y: 0.2cm,[#addSpace(text(inputFontSize,[#生年月日 生 #h(0.6cm) (満 #h(0.5em) #年齢 才)]))])
- )
- )
- ]
- )
- )
-}
-
-#let 証明写真(写真: "") = {
- set text(size: 7pt)
- pad(
- bottom: 0.3cm,
- left: 0.4cm,
- box(
- stroke: (
- dash:"dashed",
- ),
- height: 4cm,
- width: 3cm,
- [
- #if (写真 == ""){
- align(
- center + horizon,
- [
- 写真を貼る位置\
- (縦 40mm, 横 30mm)
- ]
- )
- } else {
- image(写真, width: 3cm, height: 4cm)
- }
- ]
- )
- )
-}
-
-#let アドレス(住所ふりがな1: "", 住所1: "",住所ふりがな2: "", 住所2: "",郵便番号1: "",郵便番号2: "", 電話番号1:"",Email1:"",電話番号2:"",Email2:"") = {
- stack(
- grid(
- columns: (5fr,2fr),
- [
- #stack(
- rect(
- stroke: (
- bottom: none,
- top: none,
- left: 1.5pt,
- right: 0.5pt
- ),[
- #grid(
- columns: (1.5cm,1fr),
- [ふりがな],
- [#align(center,住所ふりがな1)]
- )
- ]
- ),
- line(stroke: (dash:"dashed"), length: 100%)
- )
- ],
- [
- #rect(
- width: 100%,
- stroke: (
- bottom: 0.5pt,
- top: 1.5pt,
- left: none,
- right: 1.5pt
- ),[
- 電話 #h(10pt) #電話番号1
- ]
- )
- ]
- ),
- grid(
- columns: (5fr,2fr),
- [
- #rect(
- width: 100%,
- height: 1.8cm,
- stroke: (
- bottom: 0.5pt,
- top: none,
- left: 1.5pt,
- right: 0.5pt
- ),[
- #if (郵便番号1 == "") {
- [現住所 (〒 #h(20pt) - #h(20pt))]
- } else {
- [現住所 (〒 #text(tracking: 1pt,systemFontSize,郵便番号1))]
- }
- #pad(y: 0.2cm ,align(center,text(inputFontSize,住所1)))
- ]
- )
- ],
- [
- #rect(
- width: 100%,
- height: 1.8cm,
- stroke: (
- bottom: 0.5pt,
- top: none,
- left: none,
- right: 1.5pt
- ),[
- E-mail
- #pad(y: 0.3cm ,align(center,Email1))
- ]
- )
- ]
- ),
- grid(
- columns: (5fr,2fr),
- [
- #stack(
- rect(
- stroke: (
- bottom: none,
- top: none,
- left: 1.5pt,
- right: 0.5pt
- ),[
- #grid(
- columns: (1.5cm,1fr),
- [ふりがな],
- [#align(center,住所ふりがな2)]
- )
- ]
- ),
- line(stroke: (dash:"dashed"), length: 100%)
- )
- ],
- [
- #rect(
- width: 100%,
- stroke: (
- bottom: 0.5pt,
- top: none,
- left: none,
- right: 1.5pt
- ),[
- 電話 #h(10pt) #電話番号2
- ]
- )
- ]
- ),
- grid(
- columns: (5fr,2fr),
- [
- #rect(
- width: 100%,
- height: 1.8cm,
- stroke: (
- bottom: 1.5pt,
- top: none,
- left: 1.5pt,
- right: 0.5pt
- ),[
- #if (郵便番号2 == "") {
- [連絡先 (〒 #h(20pt) - #h(20pt))]
- } else {
- [連絡先 (〒 #text(tracking: 1pt,systemFontSize,郵便番号2))]
- }
- #pad(y: 0.2cm ,align(center,text(inputFontSize,住所2)))
- ]
- )
- ],
- [
- #rect(
- width: 100%,
- height: 1.8cm,
- stroke: (
- bottom: 1.5pt,
- top: none,
- left: none,
- right: 1.5pt
- ),[
- E-mail
- #pad(y: 0.3cm ,align(center,Email2))
- ]
- )
- ]
- )
- )
-}
-
-#let 学歴(年:"", 月:"",学歴: "") = {
- set text(inputFontSize)
- grid(
- columns: (1.5cm,0.8cm,1fr),
- [
- #align(center,年)
- ],
- [
- #align(center,月)
- ],
- [
- #if (年 == "" and 月 == "" and 学歴 == "") {
- align(center,[学歴])
- } else {
- align(start + horizon,[#h(5pt)#学歴])
- }
- ]
- )
-}
-
-#let 職歴(年:"", 月:"",職歴:"") = {
- set text(inputFontSize)
- grid(
- columns: (1.5cm,0.8cm,1fr),
- [
- #align(center,年)
- ],
- [
- #align(center,月)
- ],
- [
- #if (年 == "" and 月 == "" and 職歴 == "") {
- align(center,[職歴])
- } else {
- align(start + horizon,[#h(5pt)#職歴])
- }
- ]
- )
-}
-
-#let 資格(年:"", 月:"",資格:"") = {
- set text(inputFontSize)
- grid(
- columns: (1.5cm,0.8cm,1fr),
- [
- #align(center,年)
- ],
- [
- #align(center,月)
- ],
- [
- #align(start + horizon,[#h(5pt)#資格])
- ]
- )
-}
-
-#let 以上() = {
- set text(inputFontSize)
- grid(
- columns: (1.5cm,0.8cm,1fr),
- [],
- [],
- [
- #align(end + horizon,[以上#h(2cm)])
- ]
- )
-}
-
-// mode: "学歴・職歴" or "資格"
-#let 経歴(children,hegithLength: 12.6cm,columns: 0,mode:"") = {
- stack(
- box(
- stroke: (
- bottom: 1.5pt,
- top: 1.5pt,
- left: 1.5pt,
- right: 1.5pt
- ),
- height: hegithLength,
- width: 100%,
- [
- #grid(
- columns: (1.5cm,0.8cm,1fr),
- [
- #rect(
- stroke: (
- bottom: none,
- top: none,
- left: none,
- right: 0.5pt
- ),
- height: 100%,
- width: 100%,
- [
- #align(center,[年])
- ]
- )
- ],
- [
- #rect(
- stroke: (
- bottom: none,
- top: none,
- left: none,
- right: 0.5pt
- ),
- height: 100%,
- width: 100%,
- [
- #align(center,[月])
- ]
- )
- ],
- [
- #rect(
- width: 100%,
- height: 100%,
- stroke: (
- bottom: none,
- top: none,
- left: none,
- right: none,
- ),
- align(center,[
- #if (mode == "学歴・職歴") {
- [学歴・職歴(各別にまとめて書く)]
- } else if (mode == "資格") {
- [免許・資格]
- }]
- )
- )
- ]
- )
- #place(
- start + top,
- dy: 10pt,
- [
- #let n = 0
- #while n < columns {
- [#pad(y: 0.26cm,line(stroke: 0.5pt, length: 100%))]
- n = n + 1
- }
- ]
- )
- #place(
- top + left,
- dy: 0.9cm,
- children
- )
- ]
- ),
- )
-}
-
-#let 志望動機(children) = {
- stack(
- rect(
- stroke: (
- bottom: 1.5pt,
- top: 1.5pt,
- left: 1.5pt,
- right: 1.5pt
- ),
- height: 5cm,
- width: 100%,
- [
- 志望の動機、特技、好きな学科、アピールポイントなど
- #linebreak()
- #set text(inputFontSize)
- #children
- ]
- )
- )
-}
-
-#let 本人希望(children) = {
- stack(
- rect(
- stroke: (
- bottom: 1.5pt,
- top: 1.5pt,
- left: 1.5pt,
- right: 1.5pt
- ),
- height: 5cm,
- width: 100%,
- [
- 本人希望記入欄(特に給料・職種・勤務時間・勤務地・その他についての希望があれば記入)
- #linebreak()
- #set text(inputFontSize)
- #children
- ]
- )
- )
-}
diff --git a/template/testImg.jpg b/template/testImg.jpg
Binary files differ.