repo
stringlengths
26
115
file
stringlengths
54
212
language
stringclasses
2 values
license
stringclasses
16 values
content
stringlengths
19
1.07M
https://github.com/mem-courses/calculus
https://raw.githubusercontent.com/mem-courses/calculus/main/homework-1/calculus-homework7.typ
typst
#import "../template.typ": * #show: project.with( title: "Calculus Homework #7", authors: (( name: "<NAME> (#47)", email: "<EMAIL>", phone: "3230104585" ),), date: "November 11, 2023", ) = P100 习题2-1 75 #prob[设 $x^2+x y+y^3=0$,求 $display(dy/dx)$.] $ "原式" => 2x + y + x dy/dx + 3 y^2 dy/dx = 0 => dy/dx = -(2x+y)/(x+3y^2) $ = P100 习题2-1 79 #prob[设 $e^x cos y - e^(-y) cos x = 0$,求 $display(dy/dx)$.] $ "原式" &=> e^x cos y + e^x (-sin y) dy/dx - e^(-y) (-dy/dx) cos x - e^(-y) (-sin x) = 0\ &=> e^x cos y - e^x sin y dy/dx + e^(-y) cos x dy/dx + e^(-y) sin x = 0\ &=> dy/dx = (e^x cos y + e^(-y) sin x)/(e^x sin y - e^(-y) cos x) $ = P100 习题2-1 80 #prob[设 $e^(x y) - x^2 + y^3 = 0$,求 $lr(display(dy/dx)|)_(x=0)$.] $ => (dif e^(x y))/dx - (dif x^2)/dx + (dif y^3)/dx = 0 => e^(x y) (y + x dy/dx)- 2x + 3 y^2 dy/dx = 0 $ 当 $x=0$ 时,$y=-1$,解得 $display(lr(dy/dx|)_(x=0) = 1/3)$. = P100 习题2-1 85 #prob[已知 $y = x^(sin x) dot e^x$,求 $display(dy/dx)$.] $ dy/dx = (e^(sin x ln x + x))' = x^(sin x) dot e^(x) (cos x ln x + (sin x)/x + 1) $ = P100 习题2-1 87 #prob[ 设 $f(x) = phi_1(x) phi_2(x) dots.c phi_n (x)$,其中 $phi_i(x) sp (i=1,2,dots.c,n)$ 可导且 $phi_i(x) != 0$,证明: $ f'(x) = f(x) [(phi_1^' (x))/(phi_1(x)) + (phi_2^' (x))/(phi_2(x)) + dots.c + (phi_n^' (x))/(phi_n(x))] $ ] ① 当 $n=1$ 时,$f(x) = phi_1(x)$,$f'(x) = phi'_1(x) = f(x) dot display(frac(phi'_1(x),phi(x)))$. ② 下证当 $n=k$ 时成立,则 $n=k+1$ 也成立: $ f'(x) &= phi_1(x) phi_2(x) dots.c phi_k (x) [frac(phi'_1(x),phi_1(x)) + frac(phi'_2(x),phi_2(x)) + dots.c + frac(phi'_k (x),phi_k (x))] dot phi_(k+1) (x)\ &quad + phi_1(x) phi_2(x) dots.c phi_k (x) phi'_(k+1) (x) \ &= phi_1(x) phi_2(x) dots.c phi_k (x) phi_(k+1) (x) [frac(phi'_1(x),phi_1(x)) + frac(phi'_2(x),phi_2(x)) + dots.c + frac(phi'_k (x),phi_k (x)) + frac(phi'_(k+1) (x),phi_(k+1) (x))] $ 由 ① ② 得,原命题成立. = P101 习题2-1 90 #prob[证明:双曲线族 $x^2-y^2 = a$ 及 $x y=b$($a,b$ 为任意常数)形成正交曲线网,即这两个曲线族中的曲线成直角相交.] 对于任意交点 $(x_0,y_0)$,应满足两双曲线的切线垂直,即在点 $x_0$ 的导数之积为负一.当 $y>0$ 时: $ y'_1 = x/sqrt(x^2 - a),quad quad y'_2 = -b/x^2 $ $ => y'_1 dot y'_2 &= (x/sqrt(x^2 - a))(-b/x^2) = (x/sqrt(x^2 - (x^2 - y^2)))(-(x y)/x)\ &= (x/y) (-y/x) = -1 $ 当 $y<0$ 时同理可证.当 $y=0$ 时应有 $x=b=0$,$x^2=a$ 与 $x=0$ 在 $x=0$ 处显然也是正交的. 综上所述,原命题得证. = P101 习题2-1 94 #prob[试证:曲线 $x^(1/2) + y^(1/2) = a^(1/2)$ 上任意点的切线在两坐标轴上的截距之和等于 $a$.] $ sqrt(x) + sqrt(y) = sqrt(a) => 1/(2 sqrt(x)) + 1/(2 sqrt(y)) dot dy/dx = 0 => dy/dx = -sqrt(y)/sqrt(x) = (sqrt(x) - sqrt(a))/sqrt(x) = 1-sqrt(a/x) $ 可以对于任意点 $(x_0,y_0)$,可以写出其切线方程: $ y - x_0 - a + 2sqrt(a x_0) = (1-sqrt(a/x_0)) (x - x_0) $ 令 $x=0$ 可解得: $ y"|"_(x=0) = x_0 + a - 2sqrt(a x_0) + (1-sqrt(a/x_0)) (-x_0) = a - sqrt(a x_0) $ 令 $y=0$ 可解得: $ x"|"_(y=0) = x_0 + (2 sqrt(a x_0) - x_0 - a)/(1-sqrt(a/x_0)) = sqrt(a x_0) $ 截距之和等于 $display(y"|"_(x=0) + x"|"_(y=0) = a)$,故命题得证. = P101 习题2-1 99 #prob[设 $y=x f(ln x)$,求 $display(dy/dx)$,$display(ddy/(dx^2))$.] $ dy/dx &= f(ln x) + x f'(ln x) (1/x) = f(ln x) + f'(ln x)\ ddy/dx^2 &= f'(ln x) (1/x) + f''(ln x) (1/x) = (f'(ln x) + f''(ln x))/x $ = P101 习题2-1 102 #prob[证明:$sqrt(1+y) dot sqrt(y) - ln(sqrt(y) + sqrt(1+y)) = x$ 满足 $display(ddy/(dx ^2) + 1/(2y^2) = 0)$.] $ "原式" &=> (sqrt(y)/(2 sqrt(1+y)) + sqrt(1+y)/(2 sqrt(y)) - (1/(2 sqrt(y)) + 1/(2 sqrt(1+y)))/(sqrt(y) + sqrt(1+y)))(dy/dx) = 1\ &=> (y + (1 + y) - 1) (dy/dx) = 2 sqrt(y) sqrt(y+1)\ &=> dy/dx = sqrt((y+1)/y)\ $ $ ddy/dx^2 &= display(-1/y^2)/(2display(sqrt((y+1)/y))) (dy/dx) &= display(-1/y^2)/display(2sqrt((y+1)/y))sqrt((y+1)/y) &= -1/(2 y^2) $ 故原命题得证. = P102 习题2-1 107 #prob[令 $x=sin t$,化简方程 $display((1-x^2) ddy/(dx^2) - x dy/dx - y = 0)$.] 已知,$x = sin t$,那么 $dx = cos t dif t$.所以有, - $display( dy/dx = dy/dx dot dx/dt = dy/dt dot 1/(cos t) )$; - $display( ddy/(dx^2) = (dif(dy/dx))/dx = dif(1/(cos t) dot dy/dt)/(cos t dt) = 1/(cos t) ((sin t)/(cos^2 t) dot dy/dt + 1/(cos t) dot ddy/(dt^2)) )$. 代入得: $ &(1-sin^2 t)/(cos t) ((sin t)/(cos^2 t) dot dy/dt + 1/(cos t) dot ddy/(dt^2)) - sin t dot dy/dt dot 1/(cos t) - y = 0\ => &(ddy)/(dt^2) + tan t dy/dt - tan t dy/dt - y = 0 quad quad => y = ddy/(dt^2) $ = P113 习题2-2 17 #prob[设 $display(cases(x = a(t - sin t), y = a(1 - cos t)))$,求 $display(dy/dx)$,$display(ddy/(dx^2))$.] 由已知,$dx = a(1-cos t) dt,sp dy = a sin t dt$,所以 - $display(dy/dx = dy/dt dot dt/dx = (a sin t dt)/(a (1 - cos t) dt) = (sin t)/(1 - cos t) )$; - $display(ddy/(dx^2) = (dif (dy/dx))/dx = (dif((sin t)/(1-cos t)))/(a(1-cos t) dt) = 1/(a (1-cos t)) dot (cos t(1 - cos t) - sin^2 t)/((1 - cos t)^2) = -1/(a (1-cos t)^2) )$. = P113 习题2-2 19 #prob[设 $display(cases(x = e^(2t), y = e^(3t)))$,求 $display(dddy/(dx^3))$.] 由已知,$display(cases(2t = ln x, 3t = ln y) => 3/2 ln x = ln y => y = x^(3/2))$.所以,$ dy/dx = 3/2 x^(1/2) quad => (ddy)/(dx^2) = 3/2 dot 1/2 x^(-1/2) quad => (dif^3 y)/(dx^3) = 3/2 dot 1/2 (-1/2) x^(-3/2) = -3/8 y^(-3/2) $ = P113 习题2-2 1 #prob[求微分:$ y = x/sqrt(1-x^2) $] $ dy &= (x dif(sqrt(1-x^2)) - sqrt(1-x^2) dx)/(1-x^2) = ((x d(1-x^2))/(2 sqrt(1-x^2)) - sqrt(1-x^2) dx)/(1-x^2)\ &= (-(2 x^2 dx)/(2 sqrt(1-x^2)) - sqrt(1-x^2) dx)/(1-x^2) = (-x^2 dx - (1-x^2) dx)/((1-x^2)^(3/2))\ &= -(1-x^2)^(-3/2) dx $ = P113 习题2-2 5 #prob[求微分:$ y = 1/(2a) ln (abs(x+a))/(abs(x-a)) $] $ dy = abs(x-a)/(2a abs(x+a)) dif(abs(x+a)/abs(x-a)) = abs(x-a)/(2a abs(x+a)) (abs(x+a) dif(abs(x-a)) - abs(x-a) dif(abs(x+a)))/((x-a)^2) $ 此时需根据 $x+a$ 与 $x-a$ 的正负性进行分类讨论,若 $x+a$ 与 $x-a$ 符号相同,则 $ dy = (x-a)/(2a(x+a)) ((x+a)dx - (x-a)dx)/((x-a)^2) = dx/(x^2-a^2) $ 若 $x+a$ 与 $x-a$ 的符号不同,则 $ dy = -(x-a)/(2a(x+a)) (-(x+a) dx + (x-a) dx)/((x-a)^2) = dx/(x^2-a^2) $ 综上,解得微分为 $display(dy = dx/(x^2 - a^2))$. = P113 习题2-2 10 #prob[设 $x^(2/3) + y^(2/3) = a^(2/3)$,求 $dy$.] 由已知, $ 2/3 x^(-1/3) dx + 2/3 y^(-1/3) dy = 0 quad => dy = -(x^(-1/3))/(y^(-1/3)) dx quad => dy = -root(3,y/x) dx $ = P113 习题2-2 11 #prob[求由方程 $y=f(x+y)$ 所确定的函数 $y=y(x)$ 的微分 $dy$,其中 $f$ 可微.] 由已知, $ dy = f'(x+y) dif(x+y) = f'(x+y) (dx + dy) quad => dy = (f'(x+y))/(1-f'(x+y)) dx $ = P113 习题2-2 22 #prob[利用微分求近似值:$arctan 1.05$.] 设 $f(x)=arctan x$,有 $display(f'(x) = 1/(1+x^2))$.那么 $ arctan 1.05 = f(1.05) approx f(1) + 0.05 f'(1) = arctan 1 + 1/40 = pi/4 + 1/40 $ = P113 习题2-2 23 #prob[利用微分求近似值:$lg 11$.] 设 $f(x) = lg x$,有 $f'(x) = display(1/(x ln 10))$.那么 $ lg 11 = f(11) approx f(10) + f'(10) (11 - 10) = 1 + 1/(10 ln 10) approx 1.04 $ = P114 习题2-2 27 #prob[设测量出求得直径 $D_0 = 20 "cm"$,其绝对误差(限)$delta_D = 0.05 "cm"$,求算出的球的体积 $V_0$ 的绝度误差 $delta_V$ 和相对误差 $delta_V^*$.] 根据球体体积公式,$V = 4/3 pi D^3$,那么 $V' = 4 pi D^2$.所以 - $delta_V = V' delta_D = 4 pi D^2 delta_D = 80pi "cm"^3$; - $display(delta_V^* = V'/V delta_D = D/3 delta_D = 1/3)$. = P114 第二章综合题 3 #prob[ 设 $f(x)$ 在区间 $(a,b)$ 上有定义,又 $x_0 in (a,b)$,$f(x)$ 在 $x=x_0$ 处可导,设数列 ${x_n},{y_n}$ 满足 $a<x_n<x_0<y_n<b$,且 $display(lim_(n->oo) x_n = x_0)$,$display(lim_(n->oo) y_n = x_0)$,证明: $ lim_(n->oo) (f(y_n) - f(x_n))/(y_n-x_n) = f'(x_0) $ ] 根据导数的定义,我们有:(当 $n->oo$ 时,$alpha->0$ 且 $beta->0$) $ cases(display(lim_(n->oo) (f(x_n) - f(x_0))/(x_n - x_0) = f'(x_0)), display(lim_(n->oo) (f(x_0) - f(y_n))/(x_0 - y_n) = f'(x_0))) => cases(f(x_n) - f(x_0) = f'(x_0) (x_n-x_0) + alpha(x_n - x_0), f(x_0) - f(y_n) = f'(x_0)(x_0 - y_n) + beta(x_0 - y_n)) quad (n->oo) $ 由已知,$n->oo$ 时,$(x_n-x_0) -> 0$ 且 $(x_0 - y_n) -> 0$.所以, $ &lim_(n->oo) (f(x_n) - f(y_n))/(x_n - y_n) = (f'(x_0)(x_n - y_n) + alpha(x_n-x_0) + beta(x_0-y_n))/(x_n-y_n)\ =& (f'(x_0)(x_n - y_n))/(x_n-y_n) = f'(x_0) $ 故原命题得证. = P114 第二章综合题 4 #prob[ 设 $phi(x)$ 在点 $a$ 连续,$f(x) = |x-a| phi(x)$,求 $f'_+(a)$,$f'_-(a)$.当满足什么条件时,$f'(a)$ 存在. ] 当 $x>a$ 时,$f'(x) = ((x-a)phi(x))' = phi(x) + (x-a) phi'(x)$; 当 $x<a$ 时,$f'(x) = ((a-x)phi(x))' = -phi(x) + (a-x) phi'(x)$; 所以 $f'_+(a) = phi(a),sp f'_-(a) = -phi(a)$.故当且仅当 $f'_+(a) = f'_(a) <=> phi(a) = 0$ 时,$f'(a)$ 存在. = P114 第二章综合题 10 #prob[设函数 $f(x)$ 具有一阶连续导数,试证明:$F(x) = (1 + |sin x|) f(x)$ 在点 $x=0$ 处可导的充分必要条件是 $f(0) = 0$.] 当 $x$ 在 $x=0$ 的右邻域时,$F(x) = (1+sin x)f(x)$,所以 $ F'_+(x) = cos x f(x) + (1 + sin x)f'(x) $ 当 $x$ 在 $x=0$ 的左邻域时,$F(x) = (1-sin x)f(x)$,所以 $ F'_-(x) = -cos x f(x) + (1 - sin x)f'(x) $ 要使点 $x=0$ 处导数存在,当且仅当 $ F'_+(0) = F'_-(0) <=> f(0) + f'(0) = -f(0) + f'(0) <=> f(0) = 0 $ = P114 第二章综合题 11 #prob[设函数 $f(x)$ 对任何非零实数 $x,y$,均有 $f(x y) = f(x) + f(y)$,又 $f'(1)$ 存在,证明:当 $x!=0$ 时,$f(x)$ 可导.] 取 $x=1,y in RR$,有 $ f(y) = f(1) + f(y) => f(1) = 0 $ 对于任意 $Dx -> 0$,有 $ f((1 + Dx)y) = f(1 + Dx) + f(y) $ 那么 $ f'(1) = lim_(Dx->0) (f(1+Dx) - f(1))/((1+Dx)-1) = lim_(Dx->0) (f((1+Dx)y) - f(y))/(Dx) $ 对于任意 $y in RR and y != 0$,令 $Dy = y Dx$,那么 $ f'(y) = lim_(Dy->0) (f(y+Dy) - f(y))/Dy = lim_(Dx->0) (f((1+Dx)y) - f(y))/(y Dx) = (f'(1))/y $ 由于 $f'(1)$ 存在,故 $f'(y)$ 存在故当 $x!=0$ 时,$f(x)$ 可导. = P114 第二章综合题 14 #prob[ 试确定常数 $alpha,beta$ 的值,使函数 $ f(x) = lim_(n->oo) (x^2 e^(n (x-1)) + alpha x + beta)/(1 + e^(n (x-1))) $ 连续且可导,并求出此时的 $f'(x)$. ] 当 $x=1$ 时,$display(f(x) = (1+alpha+beta)/(1+1) = (1+alpha+beta)/2)$. 当 $x-1>0$ 时,有 $e^(n(x-1))->+oo$,代入得: $ f(x) = lim_(n->oo) (x^2 e^(n(x-1)) + alpha x + beta)/(1+e^(n(x-1))) = x^2 $ 当 $x-1<0$ 时,有 $e^(n(x-1))->0^+$,代入得: $ f(x) = lim_(n->oo) (x^2 e^(n(x-1)) + alpha x + beta)/(1+e^(n(x-1))) = alpha x + beta $ 要使 $f(x)$ 连续,应有 $display(f(1) = lim_(x->1^+) f(x) = lim_(x->1^-) f(x))$,解得 $alpha+beta=1$. 要使 $f(x)$ 可导,应有 $f'_+(1) = f'_-(1)$,解得 $alpha=2$. 综上,$alpha=2,beta=1$.容易验证,此时 $f(x)$ 连续且可导,且 $f'(x) = 2x$. = P128 习题3-1 1 #prob[检验罗尔定理对于函数 $f(x) = (x-1)(x-2)(x-3)$ 是否成立.] 由已知,$ f'(x) = (x-1)(x-2) + (x-1)(x-3) + (x-2)(x-3) = 3x^2-12x+11 $ 令 $f'(x) = 0$,有 $Delta = sqrt(12^2-4 times 3 times 11) = 2sqrt(3)$,解得 $x_1=1-sqrt(3)/6\,sp x_2 =1 + sqrt(3)/6$. 所以 $f(x)$ 在 $(-oo,1-sqrt(3)/6)$ 上单增,$(1-sqrt(3)/6,1+sqrt(3)/6)$ 上单减,$(1+sqrt(3)/6,+oo)$ 上单增. 不妨令 $a<b$,由单调函数的性质得: - 对于 $a in (-oo,1-sqrt(3)/6)$,应有 $b in (1-sqrt(3)/6,+oo)$,此时 $(a,b)$ 包含 $f'(x)=0$ 的点 $x=1-sqrt(3)/6$; - 对于 $a in (1-sqrt(3)/6,1+sqrt(3)/6)$,应有 $b in (1+sqrt(3)/6,+oo)$,此时 $(a,b)$ 包含 $f'(x)=0$ 的点 $x=1+sqrt(3)/6$; - 对于 $a in (1+sqrt(3)/6,+oo)$,不存在 $b$ 使得 $f(a) = f(b)$. 综上,已验证罗尔定理对于 $f(x)$ 成立.
https://github.com/Menahra/CVTemplate
https://raw.githubusercontent.com/Menahra/CVTemplate/main/test/CVTemplateTest.typ
typst
#import "../CVTemplate.typ": CVTemplate; #show: document => CVTemplate( "./test/applicant.json", "./test/config.json", "../test/DefaultApplicantPhoto.svg", "en_US" );
https://github.com/ivaquero/book-control
https://raw.githubusercontent.com/ivaquero/book-control/main/Toolbox-ControI.typ
typst
#import "@local/scibook:0.1.0": * #show: doc => conf( title: "控制工具箱 API", author: ("ivaquero"), header-cap: "现代控制理论", footer-cap: "github@ivaquero", outline-on: false, doc, ) = 模型搭建 <模型搭建> == 常用模型 <常用模型> #block( height: 12em, columns()[ - 传递函数模型 - `sys = tf(numerator,denominator)` - `sys = zpk(zeros,poles,gain)` - `sys = filt(num,den)` - 状态空间模型 - `sys = ss(A,B,C,D)` - `sys = dss(A,B,C,D,E)` - 频率模型 - `sys = frd(response,frequency)` - 广义模型 - `sys = genss(sys)` - `sys = genfrd(sys,freqs,frequnits)` - `sys = ufrd(M,freqs)` ], ) == PID 控制器 <pid-控制器> #block( height: 5em, columns()[ - `C = pid(Kp,Ki,Kd,Tf)` - `C = pid2(Kp,Ki,Kd,Tf,b,c)` - `C = pidstd(Kp,Ti,Td,N)` - `C = pidstd2(Kp,Ti,Td,N,b,c)` - `C = pidtune(sys,type)` - `opt = pidtuneOptions` ], ) == 模型连接 <模型连接> === 连接方式 #block( height: 8em, columns()[ - `sys = series(H1,H2)` - `sys = parallel(H1,±H2)` - `sys = feedback(H1,H2)` - `sys = inv(H1)` - `sys = lft(H1,H2,nu,ny)` - `sys = connect(sys1,...,sysN,inputs,outputs)` - `sys = stack(arraydim,sys1,sys2,...)` - `sys = blkdiag(sys1,sys2,...,sysN)` - `rsys = repsys(sys,[M N])` ], ) === 参数与运算 #block( height: 1em, columns()[ - `p = realp(paramname,initvalue)` - `S = sumblk(formula)` ], ) #pagebreak() = 数据操作 <数据操作> == 数据提取 #block( height: 7em, columns()[ - `get(sys)` - `[num,den] = tfdata(sys)` - `[z,p,k] = zpkdata(sys)` - `[a,b,c,d] = ssdata(sys)` - `[A,B,C,D,E] = dssdata(sys)` - `[response,freq] = frdata(sys)` - `[Kp,Ki,Kd,Tf] = piddata(sys)` - `[Kp,Ti,Td,N] = pidstddata(sys)` ], ) == 特征提取 #block( height: 8em, columns()[ - `[C,X] = getComponents(C2,looptype)` - `H = getIOTransfer(T,in,out)` - `L = getLoopTransfer(T,Locations)` - `S = getSensitivity(T,location)` - `T = getCompSensitivity(CL,location)` - `gpeak = getPeakGain(sys)` - `wc = getGainCrossover(sys,gain)` - `response = getPIDLoopResponse(C,G,looptype)` - `val = getBlockValue(M,blockname)` ], ) == 数据判断 #block( height: 8em, columns()[ - 判断 - `B = isstable(sys)` - `B = isproper(sys)` - `B = isdt(sys)` - `B = hasdelay(sys)` - 查询 - `NS = order(sys)` - `[wn,zeta] = damp(sys)` ], ) = 模型操作 <模型操作> == 模型变换 <模型变换> #block( height: 8em, columns()[ - 单位 - `sys = chgTimeUnit(sys,newtimeunits)` - 转化 - `sysd = c2d(sysc,Ts)` - `opts = c2dOptions` - `sysc = d2c(sysd)` - `opts = d2cOptions` ], ) == 模型简化 <模型简化> === 约分 #block( height: 3em, columns()[ - `[rsys,info] = balred(sys,order)` - `opts = balredOptions` - `sysr = minreal(sys)` - `msys = sminreal(sys)` ], ) === 分解 #block( height: 1em, columns()[ - `[Gs,Gf] = freqsep(G,fcut)` - `hsvplot(sys)` ], ) === 采样 #block( height: 1em, columns()[ - `sys1 = d2d(sys, Ts)` - `sysl = upsample(sys,L)` ], ) #pagebreak() = 线性分析 <线性分析> == 时域 <时域> === 数值 #block( height: 3em, columns()[ - `AP = AnalysisPoint(name)` - `S = lsiminfo(y,t,yfinal)` - `S = stepinfo(sys)` ], ) === 可视化 #block( height: 5em, columns()[ - `impulse(sys)` - `h = impulseplot(sys)` - `step(sys)` - `h = stepplot(sys)` - `initial(sys,x0)` - `h = initialplot(sys,x0)` ], ) == 频域 <频域> #block( height: 20em, columns()[ - 数值 - `P = pole(sys)` - `Z = zero(sys)` - `k = dcgain(sys)` - `fb = bandwidth(sys)` - `[H,wout] = freqresp(sys)` - `S = allmargin(L)` - 转换 - `ydb = mag2db(y)` - 可视化 - `pzplot(sys)` - `iopzplot(sys)` - `bode(sys)` - `h = bodeplot(sys)` - `bodemag(sys)` - `P = bodeoptions` - `margin(sys)` - `nyquist(sys)` - `h = nyquistplot(sys)` - `nichols(sys)` - `h = nicholsplot(sys)` - `sigma(sys)` - `h = sigmaplot(sys)` - `lsim(sys,u,t)` ], ) == 无源性 <无源性> #block( height: 10em, columns()[ - 数值 - `R = getPassiveIndex(G)` - `pf = isPassive(G)` - 扇区 - `RX = getSectorIndex(H,Q)` - `wc = getSectorCrossover(H,Q)` - 可视化 - `passiveplot(G)` - `sectorplot(H,Q)` ], ) #pagebreak() = 模型设计 <模型设计> === 子模块 #block( height: 4.5em, columns()[ - `blk = tunablePID(name,type)` - `blk = tunablePID2(name,type)` - `blk = tunableGain(name,Ny,Nu)` - `blk = tunableTF(name,Nz,Np)` - `blk = tunableSS(name,Nx,Ny,Nu)` ], ) === 仿真设计 #block( height: 4.5em, columns()[ - `io = getlinio(mdl)` - `linsys = linearize(mdl,io)` - `sysest = frestimate(mdl,io,input)` - `opspec = operspec(mdl)` - `op = findop(mdl,opspec)` - `options = findopOptions` ], ) === 其他 #block( height: 3.5em, columns()[ - `init_config = sisoinit(config)` - `Msamp = sampleBlock(M,name,vals)` - `h = rlocusplot(sys)` ], ) = 模型调参 <模型调参> == 常规调参 <常规调参> #block( height: 2.5em, columns()[ - `[CL,fSoft] = systune(CL0,SoftReqs)` - `options = systuneOptions` - `[G,C,gam] = looptune(G0,C0,wc)` ], ) === 仿真设计 #block( height: 7.5em, columns()[ - `addPoint(s,pt)` - `addBlock(st,blk)` - `value = getBlockValue(st,blk)` - `writeBlockValue(st)` - `writeLookupTableData(st,blockid,breakpoints)` ], ) == 类方法 <类方法> === 需求 #block( height: 7.5em, columns()[ - `TuningGoal.LQG` - `TuningGoal.Tracking` - `TuningGoal.StepTracking` - `TuningGoal.Rejection` - `TuningGoal.StepRejection` - `TuningGoal.Sensitivity` - `TuningGoal.Margins` - `TuningGoal.Transient` ], ) === 约束 #block( height: 8.5em, columns()[ - `TuningGoal.Gain` - `TuningGoal.WeightedGain` - `TuningGoal.Passivity` - `TuningGoal.WeightedPassivity` - `TuningGoal.Variance` - `TuningGoal.WeightedVariance` - `TuningGoal.Poles` - `TuningGoal.ControllerPoles` - `TuningGoal.Overshoot` ], ) === 回环 #block( height: 3em, columns()[ - `TuningGoal.LoopShape` - `TuningGoal.MaxLoopGain` - `TuningGoal.MinLoopGain` ], ) == 调参器 <调参器> - `st = slTuner(mdl,tuned_blocks)` - `[st,fSoft] = systune(st0,SoftGoals)` - `[st,gam,info] = looptune(st0,controls,measurements,wc)` - `showTunable(st)` === 常用 #block( height: 4em, columns()[ - `linsys = getIOTransfer(s,in,out)` - `linsys = getLoopTransfer(s,pt)` - `linsys = getSensitivity(s,pt)` - `linsys = getCompSensitivity(s,pt)` ], ) === 子模块 #block( height: 1em, columns()[ - `setBlockParam(st,blk,tunable_mdl)` - `setBlockRateConversion(st,blk,method)` ], ) == 调度 <调度> === 目标 - `[Hspec,fval] = evalGoal(Req,T)` - `VG = varyingGoal(FH,par1,par2,...)` - `viewGoal(Req)` === 平面 - `K = tunableSurface(name,K0init,domain,shapefcn)` - `Knew = setData(K,Kco)` - `GV = evalSurf(GS,X)` - `viewSurf(GS)`
https://github.com/atlanswer/typst-template-ieee
https://raw.githubusercontent.com/atlanswer/typst-template-ieee/main/readme.md
markdown
MIT License
# IEEE Template for Typst Work in Progress... You have to install the following fonts for IEEE template: - Nimbus Roman No9 L # Usage ```powershell typst c full.typ ```
https://github.com/LucaCiucci/bob-typ
https://raw.githubusercontent.com/LucaCiucci/bob-typ/main/typst-package/lib.typ
typst
MIT License
#let bob-wasm = plugin("bob_typ.wasm") /// Transforms a bob string into an svg string. /// /// # Arguments /// * `art` - The bob string to transform. /// /// # Returns /// The svg string. /// /// # Example /// ```typ /// let svg = bob2svg("<--->") /// ``` #let bob2svg( art, ) = bob-wasm.art_to_svg(bytes(art)) /// Renders a bob string. /// /// # Arguments /// * `art` - The bob string to render as string or as raw block. /// * `..args` - The arguments to pass to the image.decode function, for example "width: 50%". /// /// # Returns /// The rendered image. /// /// # Example /// ```typ /// render("<--->") /// render( /// ``` /// <---> /// `, /// width: 25% /// ) /// ``` #let render( art, ..args, ) = { if type(art) == "string" { image.decode(bob2svg(art), format: "svg", ..args) } else if art.text != none { image.decode(bob2svg(art.text), format: "svg", ..args) } }
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/block-08.typ
typst
Other
// Multiple unseparated expressions in one line. // Error: 2-4 invalid number suffix: u #1u // Should output `1`. // Error: 4 expected semicolon or line break #{1 2} // Should output `2`. // Error: 13 expected semicolon or line break // Error: 23 expected semicolon or line break #{let x = -1 let y = 3 x + y} // Should output `3`. #{ // Error: 6 expected identifier // Error: 10 expected block for "v" // Error: 8 expected keyword `in` // Error: 22 expected block for v let z = 1 + 2 z }
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/layout/columns.typ
typst
// Test the column layouter. --- columns-rtl --- // Test normal operation and RTL directions. #set page(height: 3.25cm, width: 7.05cm, columns: 2) #set text(lang: "ar", font: ("Noto Sans Arabic", "Libertinus Serif")) #set columns(gutter: 30pt) #box(fill: conifer, height: 8pt, width: 6pt) وتحفيز العديد من التفاعلات الكيميائية. (DNA) من أهم الأحماض النووية التي تُشكِّل إلى جانب كل من البروتينات والليبيدات والسكريات المتعددة #box(fill: eastern, height: 8pt, width: 6pt) الجزيئات الضخمة الأربعة الضرورية للحياة. --- columns-in-fixed-size-rect --- // Test the `columns` function. #set page(width: auto) #rect(width: 180pt, height: 100pt, inset: 8pt, columns(2, [ A special plight has befallen our document. Columns in text boxes reigned down unto the soil to waste a year's crop of rich layouts. The columns at least were graciously balanced. ])) --- columns-set-page --- // Test columns for a sized page. #set page(height: 5cm, width: 7.05cm, columns: 2) Lorem ipsum dolor sit amet is a common blind text and I again am in need of filling up this page #align(bottom, rect(fill: eastern, width: 100%, height: 12pt)) #colbreak() so I'm returning to this trusty tool of tangible terror. Sure, it is not the most creative way of filling up a page for a test but it does get the job done. --- columns-in-auto-sized-rect --- // Test the expansion behaviour. #set page(height: 2.5cm, width: 7.05cm) #rect(inset: 6pt, columns(2, [ ABC \ BCD #colbreak() DEF ])) --- columns-more-with-gutter --- // Test setting a column gutter and more than two columns. #set page(height: 3.25cm, width: 7.05cm, columns: 3) #set columns(gutter: 30pt) #rect(width: 100%, height: 2.5cm, fill: conifer) #parbreak() #rect(width: 100%, height: 2cm, fill: eastern) #parbreak() #circle(fill: eastern) --- columns-set-page-colbreak-pagebreak --- // Test the `colbreak` and `pagebreak` functions. #set page(height: 1cm, width: 7.05cm, columns: 2) A #colbreak() #colbreak() B #pagebreak() C #colbreak() D --- columns-empty-second-column --- // Test an empty second column. #set page(width: 7.05cm, columns: 2) #rect(width: 100%, inset: 3pt)[So there isn't anything in the second column?] --- columns-page-width-auto --- // Test columns when one of them is empty. #set page(width: auto, columns: 3) Arbitrary horizontal growth. --- columns-page-height-auto --- // Test columns in an infinitely high frame. #set page(width: 7.05cm, columns: 2) There can be as much content as you want in the left column and the document will grow with it. #rect(fill: conifer, width: 100%, height: 30pt) Only an explicit #colbreak() `#colbreak()` can put content in the second column. --- columns-one --- // Test a page with a single column. #set page(height: auto, width: 7.05cm, columns: 1) This is a normal page. Very normal. --- columns-zero --- // Test a page with zero columns. // Error: 49-50 number must be positive #set page(height: auto, width: 7.05cm, columns: 0) --- columns-colbreak-after-place --- // Test colbreak after only out-of-flow elements. #set page(width: 7.05cm, columns: 2) #place[OOF] #colbreak() In flow. --- issue-columns-heading --- // The well-known columns bug. #set page(height: 70pt) Hallo #columns(2)[ = A Text = B Text ] --- colbreak-weak --- #set page(columns: 2) #colbreak(weak: true) A #colbreak(weak: true) B
https://github.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024
https://raw.githubusercontent.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024/giga-notebook/entries/identify-program-structure/entry.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/packages.typ": notebookinator #import notebookinator: * #import themes.radial.components: * #show: create-body-entry.with( title: "Identify: Program Structure", type: "identify", date: datetime(year: 2023, month: 8, day: 12), author: "<NAME>", witness: "<NAME>", ) The organization of our codebase is a critical thing to decide early in the season. It will decide how we can extend our code in the future and will shape how we approach solving programming problems in the future. #image("./identify.svg") = Design Constraints - The brain only has 1 core, so parallelism #footnote("See glossary") is not possible - The brain can only handle so many running tasks at a time, so tasks must yield for a certain amount of time in order to allow other tasks to run - Devices can only be queried every 10 ms, so this is the limit for how often a task can run. = Design Goals - Provide a flexible and simple base for us to work with in the future - Provide an easy method of creating and managing long running tasks so that we can run multiple subsystems at the same time.
https://github.com/kdog3682/2024-typst
https://raw.githubusercontent.com/kdog3682/2024-typst/main/src/examples.template.typ
typst
let line = number-line( start: -10, end: 10, tick-step: 1, numbering-step: 2, arrows: true, points: ( (name: "P", pos: -6, fill: blue), (name: "Q", pos: 2, fill: red), (name: "R", pos: 6, fill: blue), ) ) show: number_line
https://github.com/paugarcia32/CV
https://raw.githubusercontent.com/paugarcia32/CV/main/modules/education.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Education") #cvEntry( title: [Bachelor's Degree in Network Engineering], society: [UPC - EETAC, Castelldefels], date: [2020 - Present], location: [ES], logo: "../src/logos/upc.png", description: list( [Thesis: Open IoT Platform for Citizen Science Projects: Connectivity Solutions] ) ) #cvEntry( title: [Technological Baccalaureate], society: [Col·legi Montserrat, Barcelona], date: [2018 - 2020], location: [ES], logo: "../src/logos/cole montse.png", description: list( [Thesis: Analysis and hacking of NFC cards] ) )
https://github.com/maxgraw/bachelor
https://raw.githubusercontent.com/maxgraw/bachelor/main/apps/document/src/8-appendix/code.typ
typst
=== BaseElement <appendix-baseElement> ```js import * as THREE from "three"; import { ARButton } from "three/addons/webxr/ARButton.js"; import { XREstimatedLight } from "three/addons/webxr/XREstimatedLight.js"; import { cursor } from "components/meshes"; import { no_cursor } from "components/menus"; import { hitTest, raycast, windowResize } from "utils"; export class BaseElement extends HTMLElement { constructor() { super(); // Three.js Basic Setup this.renderer = new THREE.WebGLRenderer({ antialias: true, alpha: true }); this.scene = new THREE.Scene(); this.camera = new THREE.PerspectiveCamera( 50, window.innerWidth / window.innerHeight, 0.1, 10, ); // Hit Test this.hitTest = hitTest; this.hitTestSource = null; this.hitTestSourceRequested = false; // Raycast this.raycast = raycast; // Window Resize this.windowResize = windowResize; // Cursor this.cursor = null; this.no_cursor = no_cursor; // Controller this.controller = this.renderer.xr.getController(0); // Raycaster this.raycaster = { controller: new THREE.Raycaster(), }; } init(renderer, scene) { // Initialize Shadow DOM const shadow = this.attachShadow({ mode: "open" }); shadow.appendChild(renderer.domElement); shadow.appendChild( ARButton.createButton(renderer, { requiredFeatures: ["hit-test"], optionalFeatures: ["light-estimation"], }), ); // Renderer renderer.shadowMap.enabled = true; renderer.shadowMap.type = THREE.PCFSoftShadowMap; renderer.xr.enabled = true; renderer.setSize(window.innerWidth, window.innerHeight); renderer.setPixelRatio(window.devicePixelRatio); // Scene scene.add(this.camera); scene.add(this.controller); this.camera.add(this.no_cursor); // Light const defaultLight = new THREE.HemisphereLight(0xffffff, 0xbbbbff, 1); defaultLight.position.set(0.5, 1, 0.25); scene.add(defaultLight); const xrLight = new XREstimatedLight(renderer); xrLight.addEventListener("estimationstart", () => { scene.add(xrLight); scene.remove(defaultLight); }); xrLight.addEventListener("estimationend", () => { scene.add(defaultLight); scene.remove(xrLight); }); // Cursor this.cursor = cursor; this.cursor.matrixAutoUpdate = false; this.cursor.lookAt(this.camera); scene.add(this.cursor); // Raycaster this.raycaster.controller.layers.set(0); // Event Listeners window.addEventListener("resize", () => this.windowResize()); } render(timestamp, frame) { this.renderer.render(this.scene, this.camera); } } BaseElement.prototype[hitTest] = hitTest; BaseElement.prototype[raycast] = raycast; BaseElement.prototype[windowResize] = windowResize; customElements.define("ar-element-base", BaseElement); ``` #pagebreak() === ARElement <appendix-ARElement> ```js import * as THREE from "three"; import ThreeMeshUI from "three-mesh-ui"; import { remove_menu } from "components/menus"; import { appendOptions } from "components/meshes"; import { BaseElement } from "../base"; import { hide, loadOptions, handleSelect } from "utils"; export class ARElement extends BaseElement { constructor() { super(); // Select this.handleSelect = handleSelect; // Options this.loadOptions = loadOptions; this.options = []; // Selection this.selection = new THREE.Group(); this.selected = null; // Append Options this.appendOptions = appendOptions; this.appendSelected = null; // Menus this.menus = { remove: remove_menu, create: null, shop: null, }; } async connectedCallback() { // Set up this.init(this.renderer, this.scene); // Add Selection Group to Scene this.scene.add(this.selection); // Add Append Options to Scene this.scene.add(this.appendOptions); // Add menus to scene this.camera.add(this.menus.remove); hide(this.menus.remove); // Load Options await this.loadOptions(this.querySelectorAll("ar-option")); // Add Event Listeners this.controller.addEventListener("select", () => this.handleSelect()); // Overwrite setAnimationLoop this.renderer.setAnimationLoop(this.render.bind(this)); } render(timestamp, frame) { if (frame) { if (this.selection.children.length === 0) { this.hitTest(this.renderer, frame); } } ThreeMeshUI.update(); this.renderer.render(this.scene, this.camera); } } ARElement.prototype[loadOptions] = loadOptions; ARElement.prototype[handleSelect] = handleSelect; customElements.define("ar-element-interactive", ARElement); ``` #pagebreak() === Create Menu <appendix-createMenu> ```js import * as THREE from "three"; import ThreeMeshUI from "three-mesh-ui"; import FontJSON from "../assets/Geist-Medium-msdf.json"; import FontImage from "../assets/Geist-Medium.png"; export const create_menu = (options) => { const container = new ThreeMeshUI.Block({ contentDirection: "column", justifyContent: "space-around", backgroundOpacity: 0.9, backgroundColor: new THREE.Color("hsl(0, 0%, 40%)"), borderRadius: 0.02, fontFamily: FontJSON, fontTexture: FontImage, padding: 0.05, }); options.forEach((option, index) => { const block = new ThreeMeshUI.Block({ height: 0.2, width: 0.5, bestFit: "auto", backgroundColor: new THREE.Color("hsl(180, 100%, 30%)"), borderRadius: 0.03, justifyContent: "center", alignItems: "center", margin: 0.05, }); const text = new ThreeMeshUI.Text({ content: option.userData.name, fontSize: 0.1, fontColor: new THREE.Color("hsl(0, 0%, 95%)"), }); text.userData.index = index; text.userData.isCreate = true; block.add(text); block.userData.index = index; block.userData.isCreate = true; container.add(block); }); container.position.set(0, -1, -2); return container; }; ``` #pagebreak() === Menü "Löschen" <appendix-DeleteMenu> ```js import * as THREE from "three"; import ThreeMeshUI from "three-mesh-ui"; import FontJSON from "../assets/Geist-Medium-msdf.json"; import FontImage from "../assets/Geist-Medium.png"; const container = new ThreeMeshUI.Block({ contentDirection: "column", justifyContent: "space-around", backgroundOpacity: 0, fontFamily: FontJSON, fontTexture: FontImage, padding: 0.05, }); const menu = new ThreeMeshUI.Block({ padding: 0.02, width: 1, height: 0.2, bestFit: "auto", backgroundColor: new THREE.Color("hsl(180, 100%, 30%)"), borderRadius: 0.03, }); const text = new ThreeMeshUI.Text({ content: "Löschen", fontSize: 0.2, }); text.userData.isRemove = true; menu.add(text); menu.userData.isRemove = true; container.add(menu); container.position.set(0, -1, -2); export { container as remove_menu }; ``` #pagebreak() === handleSelect <appendix-handleSelect> ```js import { getType } from "../getType"; import { handleShop } from "../handleShop"; import { handleAppend } from "../handleAppend"; import { handleDisplay } from "../handleDisplay"; import { handleSelection } from "../handleSelection"; import { handleUI } from "../handleUI"; /** * Handle Select Interaction */ export async function handleSelect() { this.raycaster.controller.setFromXRController(this.controller); let options = []; if (this.menus.shop) { options = [ ...this.menus.remove.childrenUIs, ...this.menus.shop.childrenUIs, ...this.selection.children, ...this.menus.create.childrenUIs, ...this.appendOptions.children, ]; } else { options = [ ...this.menus.remove.childrenUIs, ...this.selection.children, ...this.menus.create.childrenUIs, ...this.appendOptions.children, ]; } const data = this.raycast(this.raycaster.controller, options); const type = getType(data); if (type.selectable) { handleSelection(this, data); handleDisplay(this, { menu: { create: false, remove: true, shop: false, }, appendOptions: true, }); return; } if (type.appendOptions) { handleAppend(this, data); handleDisplay(this, { menu: { create: true, remove: false, }, appendOptions: false, }); return; } if (type.ui) { if (data.object.userData.isCreate) { handleUI(this, data); } if (data.object.userData.isRemove) { this.selection.remove(this.selected); } if (data.object.userData.isShop) { await handleShop(this); } handleDisplay(this, { menu: { create: false, remove: false, shop: true, }, selected: false, appendOptions: false, }); return; } if (this.selection.children.length === 0 && this.cursor.visible) { handleDisplay(this, { selected: false, menu: { create: true, remove: false, shop: false, }, appendOptions: false, }); return; } handleDisplay(this, { selected: false, menu: { create: false, remove: false, shop: true, }, appendOptions: false, }); } ``` #pagebreak() === handleShop <appendix-handleShop> ```js /** * Handle Shop Interaction * @param {import("../type").Config} config * @description * When the user clicks on the shop button, this function will be called. * It will end the current XR session and redirect the user to the shop page * with the selected items in the cart. */ export const handleShop = async (config) => { // End the current XR session await config.renderer.xr.getSession().end(); // Create a new URL const url = new URL("", "https://woocommerce.maxpaszke.de"); url.searchParams.set("add-to-cart", "232"); // Add the selected items to the cart for (const item of config.options) { const quantity = config.selection.children.filter( (child) => child.userData.id === item.userData.id, ).length; if (quantity === 0) continue; url.searchParams.set(`quantity[${item.userData.id}]`, quantity); } // Redirect the user to the shop page window.location.href = url.href; }; ``` #pagebreak() === hitTest <appendix-hitTest> ```js import { hide } from "../hide"; import { show } from "../show"; function switchDisplay(display, config) { if (display) { show(config.cursor); hide(config.no_cursor); return; } show(config.no_cursor); hide(config.cursor); } export function hitTest(renderer, frame) { const referenceSpace = renderer.xr.getReferenceSpace(); const session = renderer.xr.getSession(); if (this.hitTestSourceRequested === false) { session.requestReferenceSpace("viewer").then((referenceSpace) => { session.requestHitTestSource({ space: referenceSpace }).then((source) => { this.hitTestSource = source; }); }); session.addEventListener("end", () => { this.hitTestSourceRequested = false; this.hitTestSource = null; }); this.hitTestSourceRequested = true; } if (this.hitTestSource) { const hitTestResults = frame.getHitTestResults(this.hitTestSource); if (hitTestResults.length) { const hit = hitTestResults[0]; switchDisplay(true, this); this.cursor.matrix.fromArray( hit.getPose(referenceSpace).transform.matrix, ); } else { switchDisplay(false, this); } } } ``` #pagebreak() === loadOptions <appendix-loadOptions> ```js import { GLTFLoader } from "three/addons/loaders/GLTFLoader.js"; import { create_menu } from "components/menus"; import { hide } from "../hide"; /** * Load options from the DOM and add to scene * @param {import("../type").Config["options"]} options */ export async function loadOptions(options) { const loader = new GLTFLoader(); // Load all models asynchronously const gltfs = Promise.all( [...options].map((option) => loader.loadAsync(option.getAttribute("model")), ), ); // Wait for all models to load const models = await gltfs; // Process each loaded model models.forEach((gltf, index) => { const model = gltf.scene.children[0]; model.userData.name = [...options][index].getAttribute("name"); model.userData.id = [...options][index].getAttribute("id"); this.options.push(model); }); // Create menu and add to scene this.menus.create = create_menu(this.options); this.camera.add(this.menus.create); hide(this.menus.create); } ```
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/tuhi-booklet-vuw/0.1.0/tuhi-booklet-vuw.typ
typst
Apache License 2.0
#let smcps = (x) => text(tracking: 0.8pt)[#smallcaps[#lower(x)]] #let sentence-case(x) = text[#upper(x.at(0))#x.slice(1)] #let fmt-person(x) = text[#if(x.title != ""){x.title} #x.preferred] #let fmt-email(x) = text[#x.first.#x.<EMAIL>] #let darkgrey = rgb(29, 27, 28) #let darkgreen = oklch(40%,20%,144deg,100%) #let middlegreen = rgb(113, 135, 121) #let lightgreen = oklch(90%,6%,144deg,100%) #let course-info(info, fill: lightgreen) = { show grid.cell.where(y: 0): strong show grid: block show grid.cell.where(y: 0): set text(size:9pt, font: "Fira Sans", weight: 200) set block(breakable: false) set grid( fill: (x, y) => if y <= 0 { fill } else { white }, stroke: none, align: (x, y) => if (y <= 0) and (x != 2 and x !=1 and x != 4) { center + top} else { left }, row-gutter: 8pt, column-gutter: 1pt, columns: (55pt, 60pt, 1fr, 40pt, 24pt), rows: (auto,), ) let ci = info.at(0) let tris = eval(ci.trimester.join("\\ "), mode: "markup") let crns = ci.crn.map(x => text[crn #x\ ]).join() let course = text[#ci.course.slice(0,4) #ci.course.slice(4,7)] // inserting " " grid( rect(width: 100%,stroke:none)[#smcps[#course]], rect(width: 100%,stroke:none)[#smcps[#crns]], rect(width: 100%,stroke:none)[#smcps[#ci.title]], rect(width: 100%,stroke:none)[#smcps[#ci.points pts]], rect(width: 100%,stroke:none)[#smcps[#tris/3]], text(fill: darkgreen)[Prerequisites:], grid.cell( colspan: 4, text[#eval(ci.prerequisites, mode: "markup")], ),text(fill: darkgreen)[Restrictions:], grid.cell( colspan: 4, text[#eval(ci.restrictions, mode: "markup")], ), grid.cell( colspan: 5, text[#eval(ci.description, mode: "markup")], )) } #let tuhi-booklet-vuw( author: "", school: none, alternate: none, address: none, phone: none, web: none, email: none, title: none, date: datetime(year: 2024,month: 7, day: 3), illustration: none, body ) = { // Set the document's basic properties. set document( author: author, title: title, keywords: ("courses"), date: none) set text(size:9pt, font: "Fira Sans", weight: 300) set par(justify: true) set page(width: 210mm, height:297mm, margin:1.72cm, background: rect(fill:white,width:100%,height:100%), footer: [ #set align(center) #set text(8pt, number-type: "old-style",weight: 400,font: "Fira Sans") #show grid.cell.where(y: 0): set text(size:8pt, font: "Fira Sans", weight: 100) #set grid( fill: white, stroke: none ) #grid(columns: (1fr,1fr,1fr), { set text(tracking: 0.5pt) show text: it => smallcaps(lower(it)) align(left)[#date.display("[year]")] }, align(center)[#counter(page).display((num, total) => [#set text(number-type: "lining") #num ⁄ #total], both: true)],align(right)[#author] )]) show heading.where(level: 1): it => { set text(font: "Fira Sans", size:14pt, weight: 700, tracking: 0.5pt, number-type: "lining", fill: black) align(center,upper(it)) line(length: 100%,stroke:0.4pt + black) v(1.8pt,weak: true) line(length: 100%,stroke:0.15pt + black) v(1em)} show heading.where(level: 2): it => { set text(font: "Fira Sans", size:11pt, weight: 600, tracking: 0.5pt, number-type: "old-style", fill: black) smallcaps(lower(it)) v(0.51em)} show heading.where(level: 3): it => { set text(font: "Fira Sans", size:9pt, weight: 500, tracking: 0.5pt, number-type: "old-style", fill: black) it v(0.1em)} //opening page v(1.5cm) align(top + left)[ #set text(font: "Source Sans Pro", size: 48pt, weight: "light", fill: darkgreen) #set par(leading: 12pt) #text(size:26pt)[#school]#v(0.5cm,weak: true) #smallcaps[#lower[#title]]#v(1cm,weak: true)#smallcaps[#text(size:22pt,weight: 100,fill:darkgreen)[›› ]#text(size:22pt,weight: 300, fill: darkgrey)[#date.display("[year]")]] #v(1.5cm,weak: true) #illustration#v(2cm,weak: true) #set text(font: "Source Sans Pro", size: 14pt, weight: "light", fill: black) #v(1fr,weak: true) #text(weight: 400)[Contact]\ #set par(leading: 9pt) #school --- #emph(alternate)\ #address\ #phone\ #email\ #web\ #v(1fr,weak: true) ] pagebreak() show "PHYS": smallcaps[#text[phys]] show "SPCE": smallcaps[#text[spce]] show "CHEM": smallcaps[#text[chem]] show "ENGR": smallcaps[#text[engr]] show "STAT": smallcaps[#text[stat]] show "MATH": smallcaps[#text[math]] show "COMP": smallcaps[#text[comp]] show "EEEN": smallcaps[#text[eeen]] show "NWEN": smallcaps[#text[nwen]] show "DATA": smallcaps[#text[data]] show regex("(PHYS|CHEM|MATH|SPCE|STAT|ENGR|COMP|EEEN|NWEN) \d+"): (x) => { // set text(red) show " ": " " smallcaps(lower(x))} // Main body body }
https://github.com/Pablo-Gonzalez-Calderon/chic-header-package
https://raw.githubusercontent.com/Pablo-Gonzalez-Calderon/chic-header-package/main/lib/types.typ
typst
MIT License
/* * Chic-header - A package for Typst * <NAME> (c) 2023 * * types.typ -- The package's file for checking if a * dictionary is a valid chic-hdr package element. * * This file is under the MIT license. For more * information see LICENSE on the package's main folder. */ /* * chic-valid-type * * Checks if a given argument is a valid element of * the chic-hdr package * * Parameters: * - arg: Argument to check */ #let chic-valid-type(arg) = { return type(arg) == dictionary and "chic-type" in arg }
https://github.com/fabriceHategekimana/master
https://raw.githubusercontent.com/fabriceHategekimana/master/main/3_Theorie/Intro.typ
typst
#pagebreak() = Théorie Dans cette section je vais montrer l'émulation de certains concepts utilisés dans la programmation pour les sciences des données. Le but est de voir comment ceux-ci peuvent être interprété dans un langage fonctionnel fortement typé. Les concepts de représentation de tenseurs (matrice, vecteur et même scalaire), de broadcasting, de type embedding et autres seront un sujet important à traiter pour l'élaboration d'une librairie pour les sciences des données.
https://github.com/ana-jiangR/Himcm-Typst-Template
https://raw.githubusercontent.com/ana-jiangR/Himcm-Typst-Template/main/Template/main.typ
typst
MIT License
#import "template_Himcm.typ": * #show: conf.with( teamNo: "#1234", problem: "B", summary: [#lorem(150) #lorem(200) #lorem(50)], index-terms: ("Scientific writing", "Typesetting", "Document creation", "Syntax"), bibliography-file: "refs.bib", ) = Background Scientific writing is a crucial part of the research process, allowing researchers to share their findings with the wider scientific community. However, the process of typesetting scientific documents can often be a frustrating and time-consuming affair, particularly when using outdated tools such as LaTeX. Despite being over 30 years old, it remains a popular choice for scientific writing due to its power and flexibility. However, it also comes with a steep learning curve, complex syntax, and long compile times, leading to frustration and despair for many researchers. @netwok2020 = Problem Restatement In this paper we introduce Typst, a new typesetting system designed to streamline the scientific writing process and provide researchers with a fast, efficient, and easy-to-use alternative to existing systems. Our goal is to shake up the status quo and offer researchers a better way to approach scientific writing. *Summary.* Overall, we believe that Typst represents a significant step forward in the field of scientific writing and typesetting, providing researchers with a valuable tool to streamline their workflow and focus on what really matters: their research. In the following sections, we will introduce Typst in more detail and provide evidence for its superiority over other typesetting systems in a variety of scenarios. = Assumptions and Justifications #lorem(120) == Assumption 1 *This is the first assumption.* This is the justification. #lorem(100) == Assumption 2 *This is the second assumption.* This is the justification. #lorem(100) = Model #lorem(90) $ a + b = gamma $ #linebreak() #lorem(200) #figure( image("sample.png", width: 50%), caption: [This is a sample picture.] )<samplePic> @samplePic is a sample picture. == Test1 #lorem(80) $ x^2 = sqrt(sin(5)) $ == Test2 #lorem(50) #figure( table(columns:4, [], [*Q1*], [*Q2*], [*Q3*], [Revenue:], [1000 €], [2000 €], [3000 €], [Expenses:], [500 €], [1000 €], [1500 €], [Profit:], [500 €], [1000 €], [1500 €], ), caption: [This is a sample Table.] )<sampleTab> @sampleTab is a sample Table. = Results #lorem(39) = Strength #lorem(30) = Appendix == `Code` for method 1: ```matlab x = [1,2,3,4; 5,6,7,8]; disp(x); ```
https://github.com/npujol/npujol.github.io
https://raw.githubusercontent.com/npujol/npujol.github.io/main/Me/chuli-cv/cv-de.typ
typst
#import "@preview/chuli-cv:0.1.0": * #import "@preview/fontawesome:0.1.0": * #show: cv #let icons = ( phone: fa-phone(), homepage: fa-home(fill: colors.accent), linkedin: fa-linkedin(fill: colors.accent), github: fa-github(fill: colors.accent), xing: fa-xing(), mail: fa-envelope(fill: colors.accent), book: fa-book(fill: colors.accent), cook: fa-utensils(fill: colors.accent), bike: fa-biking(fill: colors.accent), game: fa-gamepad(fill: colors.accent), robot: fa-robot(fill: colors.accent), bed: fa-bed(fill: colors.accent), write: fa-pen-to-square(fill: colors.accent), talk: fa-comments(fill: colors.accent), code: fa-code(fill: colors.accent), paint: fa-paintbrush(fill: colors.accent), music: fa-music(fill: colors.accent), friends: fa-users(fill: colors.accent), beer: fa-beer(fill: colors.accent), ) #header( full-name: [<NAME>], job-title: [Softwareentwickler], socials: ( ( icon: icons.github, text: [npujol], link: "https://github.com/npujol" ), ( icon: icons.mail, text: [<EMAIL>], link: "mailto://<EMAIL>" ), ( icon: icons.linkedin, text: [<NAME>], link: "https://linkedin.com/in/npujolm/" ), ( icon: icons.homepage, text: [Berlin, Deutschland], link: "#" ), ), profile-picture: image("media/avatar.jpeg") ) #show: body => columns(2, body) // NOTE: This is to fit the german content into the page #set par(justify: true, leading: 0.55em) #section("Beruferfahrung") #entry( title: "Software Developer", company-or-university: "InterContent Group", date: "2021 - Heute", location: "Berlin, Deutschland", logo: image("media/intercontent.jpeg"), description: list( [Entwicklung und Implementierung von Microservices auf der AWS-Infrastruktur, einschließlich EC2, ECS, Lambda und Microsoft Azure Containers Apps, wobei jeder Dienst an die spezifischen Anforderungen angepasst wurde. Für eine effiziente Paketierung und Bereitstellung wurden Docker-Container verwendet.], [Verwalten und automatisieren Sie den Prozess der Infrastrukturerstellung und -bereitstellung durch CI/CD-Pipelines mit GitHub Actions, Infrastructure as Code (IaC) mit Terraform und Konfigurationsmanagement mit YAML.], [Implementierung von Überwachungs- und Protokollierungslösungen mit Amazon CloudWatch und Sentry, um eine effiziente Problemlösung und Performance-Analyse zu ermöglichen. Die Postman-API wurde zum Testen und Validieren von API-Endpunkten verwendet.] ), ) #entry( title: "Software Developer", company-or-university: "Universidad de las Ciencias Informáticas", date: "2014 - 2019", location: " Havanna, Kuba", logo: image("media/universidad_de_las_ciencias_informaticas_logo.jpeg"), description: list( [Entwicklung der Website für die Verwaltung der Postgraduiertenaktivitäten der Universität unter Verwendung von Python, Django, Django REST Framework und PostgreSQL als Hauptdatenbank. Implementierung von Backend-Funktionalitäten unter Berücksichtigung der besten Praktiken in der Backend-Webentwicklung.], [Entwicklung und Einsatz von automatisierten Datenaufbereitungsaufgaben und Fehlererkennungsprozessen unter Verwendung von Celery und Redis zur Optimierung der Datenvorverarbeitung und zur Gewährleistung der Datenintegrität.], [Durchführung von Datenanalysen, Mustererkennung und prädiktiver Modellierung unter Verwendung von Python-Bibliotheken wie Jupyter, scikit-learn, NumPy, Pandas und Cython, um datengestützte Entscheidungsfindung und Erkenntnisse zu ermöglichen.] ) ) #section("Ausbildung") #education-entry( title: "Master-Abschluss in Informatik", company-or-university: "Universidad de las Ciencias Informáticas", date: "05/2016 - 12/2018", location: "Havanna, Kuba", logo: image("media/universidad_de_las_ciencias_informaticas_logo.jpeg"), gpa: "4.82", gpa-total: "5.0" ) #education-entry( title: "Bachelor in Software Ingenieurwesen", company-or-university: "Universidad de las Ciencias Informáticas", date: "09/2009 - 07/2014", location: "Havanna, Kuba", logo: image("media/universidad_de_las_ciencias_informaticas_logo.jpeg"), gpa: "4.71", gpa-total: "5.0" ) #section("Private Projekte") #entry( title: "anki_wiktionary", company-or-university: "Private Projekte", date: "2020 - 2024", location: "", logo:image( "media/github_avatar.jpeg"), description: list( [Entwicklung eines Projekts, das Anki-Notizen unter Verwendung von linguistischen Daten aus Wiktionary erstellt. Implementierung eines Telegram-Bots, die es Nutzern ermöglicht, zu interagieren und die Erstellung von Anki-Notizen anzufordern.], [Die Python-Telegram-Bot-Bibliothek wurde zur Erstellung und Verwaltung des Telegram-Bots verwendet, um die Erstellung von Notizen zu ermöglichen. Verwendung von deep-translator für die Sprachübersetzung bzw. von pydantic für die Datenvalidierung.], [Integration von Selenium WebDriver und Selenium for Web Automation, um die programmatische Erstellung und Verwaltung von Anki-Notizdecks direkt innerhalb der Anki-Anwendung zu ermöglichen.], ) ) #entry( title: "tts_stories", company-or-university: "Personal Project", date: "2021 - 2024", location: "", logo: image( "media/github_avatar.jpeg"), description: list( [Entwicklung einer Text-to-Speech (TTS) CLI unter Verwendung von Python, die es dem Benutzer ermöglicht, Text in ein gesprochenes Audioformat umzuwandeln und dabei mehrere TTS-APIs und -Dienste wie Coqui und Google TTS zu nutzen.], [Verwendung von ffmpeg-python für die Audioverarbeitung und Manipulation, mit der Möglichkeit, die erzeugte erzeugten Audiodatei direkt an Telegram zu senden.] ) ) #section("Fähigkeiten") #skill( skills: ("python", "django", "terraform", "golang", "aws", "azure", "devops", "docker", "javascript", "postgresql", "celery", "redis", "github actions", "yaml", "latex", "pandas", "pydantic", "git", "linux", "postman", "sentry", "bash", "typst", "nix", "TDD", "rest", "selenium", "pydantic"), ) #section("Sprachen") #language( name:"Spanisch", label:"Mütersprache", nivel:5, ) #language( name:"Deutsch", label:"B1", nivel:3, ) #language( name:"Englisch", label:"B1", nivel:3, ) #section("<NAME>") #piechart( activities: ( ( name: icons.friends, val: 0.01 ), ( name: icons.book, val: 0.01 ), ( name: icons.talk, val: 0.01 ), ( name: icons.code, val: 0.01 ), ( name: icons.robot, val: 0.009 ), ( name: icons.music, val: 0.009 ), ( name: icons.game, val: 0.008 ), ( name: icons.write, val: 0.008 ), ( name: icons.bike, val: 0.007 ), ( name: icons.cook, val: 0.007 ), ( name: icons.paint, val: 0.003 ), ( name: icons.beer, val: 0.002 ) ) )
https://github.com/FlixCoder/typst-slides
https://raw.githubusercontent.com/FlixCoder/typst-slides/main/slides.typ
typst
MIT License
#import "template.typ": * #show: doc => slides(doc) #show link: l => underline(l) #slide(title: "Motivation")[ - The template aims to make it easy to create pretty slides - Typst is great to use - Automatic styling of sections/chapters via headings - `#slide` function for creating slides ] = How to use #slide(title: "Starting with the template", pad(x: 2em)[ + Download or copy the `metadata.typ` and `template.typ` files to your project. + Adjust the metadata in the `metadata.typ` file to your needs. + Create a `slides.typ` or similar with the following starting content: ```typst #import "template.typ": * #show: doc => slides(doc) ``` ]) #slide(title: "Filling in content", pad(x: 2em)[ Next you can fill in content with headings for sections and `slide` functions for slides: ```typst = My Section #slide(title: "My Title")[ My slide content. ] #slide()[ #image("your-image.svg", width: 80%) ] ``` ]) = Examples #slide(title: "Image")[ #figure( image("./images/mark-harpur-unsplash.jpg", height: 90%), caption: [ #link("https://unsplash.com/de/fotos/K2s_YE031CA?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText")[Photo] by #link("https://unsplash.com/de/@luckybeanz?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText")[<NAME>] ] ) ] #slide(title: "Drawings")[ #circle(radius: 5em, fill: red) ] = Problems #slide(pad(x: 2em)[ - There is no thing similar to `\pause` sadly, at least I have not found a way to do it ])
https://github.com/coco33920/.files
https://raw.githubusercontent.com/coco33920/.files/mistress/typst_templates/ieee/main.typ
typst
#import "template.typ": * #show: ieee.with( title: "A typesetting system to untangle the scientific writing process", abstract: [ The process of scientific writing is often tangled up with the intricacies of typesetting, leading to frustration and wasted time for researchers. In this paper, we introduce Typst, a new typesetting system designed specifically for scientific writing. Typst untangles the typesetting process, allowing researchers to compose papers faster. In a series of experiments we demonstrate that Typst offers several advantages, including faster document creation, simplified syntax, and increased ease-of-use. ], authors: ( ( name: "<NAME>", department: [Co-Founder], organization: [Typst GmbH], location: [Berlin, Germany], email: "<EMAIL>" ), ( name: "<NAME>", department: [Co-Founder], organization: [Typst GmbH], location: [Berlin, Germany], email: "<EMAIL>" ), ), index-terms: ("Scientific writing", "Typesetting", "Document creation", "Syntax"), bibliography-file: "refs.bib", ) = Introduction Scientific writing is a crucial part of the research process, allowing researchers to share their findings with the wider scientific community. However, the process of typesetting scientific documents can often be a frustrating and time-consuming affair, particularly when using outdated tools such as LaTeX. Despite being over 30 years old, it remains a popular choice for scientific writing due to its power and flexibility. However, it also comes with a steep learning curve, complex syntax, and long compile times, leading to frustration and despair for many researchers. @netwok2020 == Paper overview In this paper we introduce Typst, a new typesetting system designed to streamline the scientific writing process and provide researchers with a fast, efficient, and easy-to-use alternative to existing systems. Our goal is to shake up the status quo and offer researchers a better way to approach scientific writing. By leveraging advanced algorithms and a user-friendly interface, Typst offers several advantages over existing typesetting systems, including faster document creation, simplified syntax, and increased ease-of-use. To demonstrate the potential of Typst, we conducted a series of experiments comparing it to other popular typesetting systems, including LaTeX. Our findings suggest that Typst offers several benefits for scientific writing, particularly for novice users who may struggle with the complexities of LaTeX. Additionally, we demonstrate that Typst offers advanced features for experienced users, allowing for greater customization and flexibility in document creation. Overall, we believe that Typst represents a significant step forward in the field of scientific writing and typesetting, providing researchers with a valuable tool to streamline their workflow and focus on what really matters: their research. In the following sections, we will introduce Typst in more detail and provide evidence for its superiority over other typesetting systems in a variety of scenarios. = Methods #lorem(90) $ a + b = gamma $ #lorem(200)
https://github.com/typst-doc-cn/tutorial
https://raw.githubusercontent.com/typst-doc-cn/tutorial/main/src/prefaces/license.typ
typst
Apache License 2.0
#import "mod.typ": * #page({ set text(size: 10.5pt) set block(spacing: 1.5em) show "TERMS AND CONDITIONS FOR USE": it => { v(0.5em) it } show "APPENDIX": it => { v(1fr) it } eval(read("/LICENSE"), mode: "markup") v(5em) })
https://github.com/Jollywatt/typst-fletcher
https://raw.githubusercontent.com/Jollywatt/typst-fletcher/master/src/exports.typ
typst
MIT License
#import "deps.typ": cetz #import "marks.typ": * #import "draw.typ": * #import "shapes.typ" #import "node.typ": * #import "edge.typ": * #import "diagram.typ": * #import "coords.typ": * #import "utils.typ"
https://github.com/hu-hicoder/embedded-rust-seminar
https://raw.githubusercontent.com/hu-hicoder/embedded-rust-seminar/main/chapter2/chapter2.typ
typst
#import "@preview/touying:0.4.0": * #import "@preview/pinit:0.1.3": * #import "@preview/sourcerer:0.2.1": code #set text(font: "Noto Sans JP", lang: "ja") #let set_link(url) = link(url)[#text(olive)[[link]]] // Themes: default, simple, metropolis, dewdrop, university, aqua #let s = themes.metropolis.register(aspect-ratio: "16-9") #let s = (s.methods.info)( self: s, title: [組み込みRust], subtitle: [組み込みRust編], author: [JIJINBEI], date: datetime.today(), institution: [HiCoder], ) #let (init, slides, touying-outline, alert) = utils.methods(s) #show: init #show strong: alert #let (slide, empty-slide, title-slide, focus-slide) = utils.slides(s) #show: slides = 組み込みとは #figure(image("image/rp-pico.png", width: 30%), caption: "Raspberry Pi Pico") - マイコンを使ったシステム - LEDを光らせたり、モーターを動かすところから、車載システム、IoTまで #figure( image("image/embedded_example.jpg", height: 90%), caption: [組み込みの例 (組込みシステム産業振興機構)] ) = なぜ組み込みでRust == Rustのメリット - 安全性 - 型安全性 - メモリ安全性 - 所有権 - ライフタイム - 処理速度の速さ - メモリ管理を自動で行わない - 並行処理 - 所有権によるデータ競合の防止 - バージョンやパッケージ管理 - Cargo #align(center)[ *Rustの言語の特徴が使え、CやC++よりも安全にプログラミングができる* ] == Rustのデメリット #align(center + horizon)[ #text(size: 2em)[難しすぎる#pin(1)] ] #pause #absolute-place(dx: 75%, dy: 40%, [情報が少ない]) #absolute-place(dx: 75%, dy: 90%, [コミュニティが小さい]) #absolute-place(dx: 5%, dy: 90%, [Rustの所有権システムやライフタイムが理解しづらい]) #absolute-place(dx: 15%, dy: 40%, [組み込みRust特有の機能の理解]) #absolute-place(dx: 5%, dy: 65%, [型でコンパイルが通らない]) #absolute-place(dx: 80%, dy: 65%, [基本的に英語の文献]) = 組み込みRustを試してみよう == Lチカを試してみよう!! `https://github.com/rp-rs/rp2040-project-template`のテンプレートを試し、ラズピコを0.5秒毎にLEDを点滅させるコードを書いてみよう #box(stroke: black, inset: 7pt)[方法] + リンクを参考にライブラリをインストール + `cargo install cargo-generate`でcargo-generateをインストール + rp-picoのテンプレートをダウンロード #code( lang: "terminal", ```bash cargo generate https://github.com/rp-rs/rp2040-project-template ```, ) 4. `config.toml`が`runner = "elf2uf2-rs -d"`となっていることを確認#footnote[ elf2uf2-rsは、uf2ファイルを作成するツールで、probe-rsはデバックまで行えるツール(後述予定) ] + `cargo run`でビルド == Lチカコードの解説 先程のコードで本質的な部分はどこか? #pause #code(lang: "rust", ```rust loop { led_pin.set_high().unwrap(); delay.delay_ms(500); led_pin.set_low().unwrap(); delay.delay_ms(500); } ``` ) #pause #h(1em) それでは、それ以外のところは重要でないのか? #pause #align(center)[ *とても重要* ] = 組み込みRustの重要な概念 == 組み込みRustをやるのに知るべきこと 組み込みRustをやる上で重要な概念 - データシートの情報 - `#![no_std]` - `#![no_main]` と `#[entry]` - `use panic_halt as _;` - `rp_pico::hal` と `embedded_hal` - `let mut pac = pac::Peripherals::take().unwrap();` - `let mut led_pin = pins.led.into_push_pull_output();` のような型について == データシートを読む ラズピコは、RP2040というマイコンを使っている - RP2400のデータシート: #set_link("https://www.raspberrypi.com/products/rp2040/") - ボードのデータシート: #set_link("https://datasheets.raspberrypi.com/pico/pico-datasheet.pdf") どの部品がどのマイコンのピンに接続されているかを理解する #box(stroke: black, inset: 0.5em)[問題] - 内蔵LEDのGPIO番号を調べて、どのようにしたら点灯できるかを考えよう!! - RP2040に接続されている部品はどのようなものがあるかを調べよう!! == `#![no_std]`とは *`#![no_std]`* - Rustの標準ライブラリは`core`#footnote[`core`クレートはプリミティブ型やアトミック操作], `alloc`#footnote[`alloc`クレートはヒープメモリを利用するが、組み込みはメモリが小さいので`Vec`が簡単に使えない。使い方は`embedded-alloc`クレート #set_link("https://github.com/rust-embedded/embedded-alloc")], `std`の三階層構造 - `no_std`は、Rustの標準ライブラリ#set_link("https://doc.rust-lang.org/std") を使わず、OSを使わないことを示す。 - `println!`はOSを使っているので使えない - 外部ファイルの読み書きもできない == `#![no_main]`と`#[entry]` *`#![no_main]` と `#[entry]`* `no_std`環境では、main関数は使えず、自分でエントリーポイント(プログラムが始まるところ)を指定 今回の例では、`#[entry]`でmain関数を指定している == `panic_halt` *`use panic_halt as _;`* エラーとはどういうものを思い浮かべるか? #pause #figure(image("image/errors.png")) エラー文が出てきて、プログラムが止まること プログラム的には異常な動作だが、エラー文を出してプログラムを止めているので正常な動作 == `panic_halt` *`use panic_halt as _;`* 組み込みでは、 - 画面に表示できないハードウェアが多い - エラーの表示にもメモリを使う(組み込みではメモリは少ない) そのため、 - エラーが出たら、プログラムを止める(無限ループ) == 組み込み機器の抽象化 *`rp_pico::hal = rp2040_hal`* - `rp_pico` #set_link("https://docs.rs/rp-pico/latest/rp_pico/") はラズピコの*BSP(Board Support Package)*クレート - コードを見てみると、すごく簡単に書かれている(ほかのボードも) #set_link("https://github.com/rp-rs/rp-hal-boards/tree/main/boards/rp-pico") #box(stroke: black, inset: 0.5em)[なぜ簡単に書かれているのか?] - *HAL(Hardware Abstraction Layer)*: ハードウェアの抽象化レイヤー - 抽象化レイヤーを使うことで、ハードウェアの差異をうまく吸収してくれる - `rp2040_hal`クレートを用いると、簡単にRP2040のボードを作ることができるはず #pagebreak() *`rp_pico::hal = rp2040_hal`* #figure(image("image/HAL.png", height: 85%)) #pagebreak() *`embedded_hal`* #box(stroke: black, inset: 0.5em)[問題意識] ボードやマイコンが違ってもどれも似たような機能を持っているはずなのに、コードの書き方が変わってしまう $=>$ Embedded devices Working Group (WG)が書き方を統一するために`embedded_hal`クレートを作成#footnote[トレイトを思い出そう!!] - OutputPinの例 #set_link("https://github.com/rust-embedded/embedded-hal/blob/master/embedded-hal/src/digital.rs") - `embedded_hal`に準拠したクレート一覧 #set_link("https://crates.io/crates/embedded-hal/reverse_dependencies") *`embedded_hal`のおかげで複雑なクレートの関係をシンプルに* #figure(image("image/crate.png")) == 組み込みで所有権を賢く使う *`let mut pac = pac::Peripherals::take().unwrap();`* #code(lang: "rust", ```rust let pins = rp_pico::Pins::new( pac.IO_BANK0, pac.PADS_BANK0, sio.gpio_bank0, &mut pac.RESETS, ); ``` ) で何度も出てくる `pac`とは何か?#footnote[ `Pins::new`の引数に恐怖を覚えなくてもよい。なぜなら型推測があるから ] #pause `Peripheral Access Crate`の略で #align(center)[ *マイコンのPeripheralを使うための許可証で、一個しか使われていないことを保証するもの* ] #pause 所有権のおかげで一度しか使われていないことを保証している!! == 所有権をうまく使う *`let mut pac = pac::Peripherals::take().unwrap();`* *所有権システム*でPeripheralが使われているのが一つだけであることを保証する #grid( columns: (50%, 50%), [ #box(stroke: black, inset: 7pt)[メリット] - 同時アクセスによるデータ競合を防ぐ ], figure( image("image/ownership.png") ) ) = 組み込みRustで開発する際に == Rustで組み込みの情報を得るには + どこで情報を得るか? - クレートはどのように使うか? - 使いたいクレートのexample - 例: rp2040-hal#set_link("https://github.com/rp-rs/rp-hal/tree/main/rp2040-hal/examples")やrp-pico#set_link("https://github.com/rp-rs/rp-hal-boards/tree/main/boards/rp-pico/examples")のgithubのexampleを見る - 使いたいメソッドでエラーがでたら - Docs.rs - これの読み方を覚えることが大事(次のスライド) - RP2040の機能がわからない - データシートを読む + 開発が進まないなら - 俺に聞いてくれ。そして一緒に考えよう。 - Rustの過度な神格化をやめ、CやPythonで書く == Docs.rsの読み方(型) 考え方 (Lチカの場合) + Lチカでは、`set_high()`のメソッドを使いたい + docs.rsで`rp2040-hal`を検索 + `set_high()`を検索し、型を確認 #code( lang: "rust", ```rust impl<I, P> OutputPin for Pin<I, FunctionSio<SioOutput>, P> where I: PinId, // Gpio0, Gpio1, ... P: PullType, // PullUp, PullDown, ... ``` ) 4. Pinの型を満たすものに変換するものがないかを探す#footnote[ 型変換に関するものなので、FromトレイトやIntoトレイトを使っていることが多い $->$ `into`から絞る ] *`let mut led_pin = pins.led.into_push_pull_output();`* `let mut led_pin = pins.led.reconfigure::<FunctionSio<SioOutput>, PullDown>();` == おめでとう 組み込みRustの学習がおわりました = PWMを使ってみよう == PWMとは - Pulse Width Modulation (PWM) - オンとオフの繰り返しスイッチングを行い、出力される電力を制御 - 使用例 - LEDの明るさを調整 - 人間には高速点滅していても気づかず、暗く見える - モーターの回転数を調整 - サーボモーターの角度を調整 #figure( image("image/PWM.png", height: 40%) ) == PWMで音を鳴らそう #grid( columns: (50%, 50%), gutter: 2%, [ - PWMで音を鳴らすには、周波数とデューティ比を調整する - 周波数: 音の高さ - デューティ比: 音の長さ - ラ(440 Hz)を鳴らす - RP2040のデータシートとコードと`rp2040_hal`クレート#set_link("https://docs.rs/rp2040-hal/latest/rp2040_hal/pwm/index.html") を見ながら理解しよう!! ], figure( image("image/RA.svg") ) ) == RP2040のPWMの構成 #figure( image("image/PWM_content.png"), caption: [RP2040のPWMの構成] ) == PWMであるGPIOを使うには #figure( image("image/PWM_GPIO.png"), caption: [RP2040のPWMのチャンネルとGPIOの関係] ) - GPIO 0を使う場合。CHANNEL 0Aを使えばよい == PWMの周波数を設定する #grid( columns: (50%, 50%), gutter: 2%, figure( image("image/PWM_param.png"), caption: [PWMで設定できるパラメータ] ), figure( image("image/PWM_top.png"), caption: [TOPの設定] ), ) #grid( columns: (50%, 50%), gutter: 2%, figure( image("image/PWM_PH.png"), caption: [CSR_PH_CORRECTの設定] ), figure( image("image/PWM_period.png"), caption: [周波数と周期] ) ) #pagebreak() $ f_"PWM" & = 440 "Hz" \ f_"sys" & = 125 "MHz" $ ここから最適なパラメーターの値は、 $ "TOP" & = 28488 \ "CSR_PH_CORRECT" & = "false" \ "DIV_INT" & = 10 \ "DIV_FRAC" & = 0 \ $ = And more... == debugをするには elf2uf2-rsでは、printデバッグは簡単に使えない - 使うには空いているピンやUSBなどを用いて通信を行う #h(1em) *probe-rs* #set_link("https://probe.rs/")を使うと便利#footnote[githubのスターが少ないのはなぜ] == さらば`no_std`、こんにちは`std` 組み込みRustでは高度なことをやりたいなら、マイコンはRP2400より*ESP32* - `std`環境でのプログラミングができるため - 例) 簡易的な温度計サーバーを建てる - 例) bluetooth通信をする - `std`環境でのプログラミング 「The Rust on ESP Book」 #set_link("https://docs.esp-rs.org/book/overview/using-the-standard-library.html") == スタックとヒープの話をしたので、flip-linkを語りたい #grid( columns: (50%, 50%), gutter: 2%, figure(image("image/flipped.svg")), [ #box(stroke: black, inset: 7pt)[flip-linkを使わないと] + 普通はstackは下から積み上がる + heap領域を破壊 + どのように動作するのか謎になる #box(stroke: black, inset: 7pt)[flip-linkを使うと] + stackは上から積み上がる + メモリの端までいくと*エラーが出る* ] ) == おすすめの書籍やサイト - 基礎から学ぶ 組込みRust (著者:<NAME>/<NAME>) - 聖書です。読んでください。 - The Embedded Rust Book(日本語版) #set_link("https://tomoyuki-nakabayashi.github.io/book/") - 組み込みRustならではの機能がまとまっている - Interface 2023年5月号特集 質実剛健Rust言語 - 最新の情報が載っているし、`std`のことが書かれている貴重な文献 - awesome-embedded-rust #set_link("https://github.com/rust-embedded/awesome-embedded-rust") == 次にやること - UART通信 `rp2040-hal` #set_link("https://docs.rs/rp2040-hal/latest/rp2040_hal/uart/index.html") - `core::fmt::Write` #set_link("https://doc.rust-lang.org/core/fmt/trait.Write.html")でUART通信で文字列を送信 - I2C通信 `rp2040-hal` #set_link("https://docs.rs/rp2040-hal/latest/rp2040_hal/i2c/index.html") - SPI通信 `rp2040-hal` #set_link("https://docs.rs/rp2040-hal/latest/rp2040_hal/spi/index.html") - PWM出力 `rp2040-hal` #set_link("https://docs.rs/rp2040-hal/latest/rp2040_hal/pwm/index.html") - タイマー `rp2040-hal` #set_link("https://docs.rs/rp2040-hal/latest/rp2040_hal/timer/index.html") - USB `rp2040-hal` #set_link("https://docs.rs/rp2040-hal/latest/rp2040_hal/usb/index.html") `usb_device` #set_link("https://docs.rs/usb-device/latest/usb_device/index.html") - ADC `rp2040-hal` #set_link("https://docs.rs/rp2040-hal/latest/rp2040_hal/adc/index.html") - `heapless` #set_link("https://docs.rs/heapless/latest/heapless/") でVecが使える - `embedded-graphic` #set_link("https://docs.rs/embedded-graphics/latest/embedded_graphics/")でdisplay表示 (DrawTarget, Drawable) - `cortex-m` #set_link("https://docs.rs/cortex-m/latest/cortex_m/")で割り込み処理やスリープ - 組み込みOSのTOCKや組み込みLinuxなど
https://github.com/piepert/philodidaktik-hro-phf-ifp
https://raw.githubusercontent.com/piepert/philodidaktik-hro-phf-ifp/main/src/parts/ephid/klausur/main.typ
typst
Other
= Prüfungshinweise *Die Klausur kann sich ändern, betrachten Sie die folgenden Hinweise daher mit etwas Vorsicht! Die Dozierenden können Ihnen mehr Hinweise über die Prüfung geben als der KÜK!* Die Klausur bestehen Sie nur, wenn Sie das, was im Seminar besprochen wurde, anwenden können. Das funktioniert am besten, wenn Sie die Grundbegriffe und Konzepte der Philosopheididaktik benennen und erklären können. Die Klausur ist in zwei Teile geteilt, einen Pflichtteil, der auf diese Grundlagen eingeht und aus verschiedenen Konzept- und Anwendungsaufgaben besteht, und einen Wahlpflichtbereich, in dem sie sich zwischen weiteren Theorieaufgaben und dem Planen einer Unterrichtsstunde entscheiden können. Das Thema der zu planenden Unterrichtsstunde ist das Beispiel-Thema aus dem Seminar: <NAME>' Meditationen. Sollten Sie sich für diesen Teil entscheiden, gelten trotzdem die gleichen Hinweise wie für den Theorieteil. + Erarbeiten Sie sich die Grundpositionen, indem Sie die Pflichtlektüre lesen. + Üben Sie mittels Karteikarten o.ä. die Grundbegriffe, Konzepte und Strömungen der Philosophiedidaktik. + Bearbeiten Sie die freiwilligen Hausaufgaben aus dem Seminar. + Vertiefen Sie Ihr Wissen, indem Sie die Zusatzlektüre lesen. + Überprüfen Sie Ihr Können, indem Sie die hier gestellten Aufgaben lösen und erst _nach_ Ihrem Lösungsversuch mit den Lösungsvorschlägen vergleichen. + Sollten Sie durchgefallen sein, nutzen Sie die Klausureinsicht, um Ihre Problemfelder aufzudecken. Da das Seminar die Grundlagen der Philosophiedidaktik und der darin vorkommenden Diskurse darstellen und Sie mit den Inhalten die SPÜ gut bestreiten können sollen, müssen Sie nach Abschluss des Moduls zu Folgendem in der Lage sein oder die Grundlagen dafür erklären können: - den Philosophieunterricht legitimieren - Inhalte für den Philosophieunterricht auswählen - Grob- und Feinziele formulieren - Unterrichtsstunden strukturieren und planen - Aufgabenstellungen formulieren - Schülerantworten beurteilen und bewerten
https://github.com/caffeinatedgaze/bare-bones-cv
https://raw.githubusercontent.com/caffeinatedgaze/bare-bones-cv/main/README.md
markdown
# Bare-bones Typst CV ![Example](images/example.png) To generate `main.pdf` and watch for live changes, run `make watch` ```bash ________ Main content ├── main.typ ├── settings.yaml # Spacing and font sizes └── configuration.yaml # Content ________ Auxilary ├── README.md ├── main.pdf └── images    └── example.png ```
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/045%20-%20Kamigawa%3A%20Neon%20Dynasty/005_Episode%204%3A%20The%20Break-In.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Episode 4: The Break-In", set_name: "Kamigawa: Neon Dynasty", story_date: datetime(day: 26, month: 01, year: 2022), author: "<NAME>", doc ) The emperor stood across from Kaito, the amber glow of the nearby lanterns silhouetting her slender frame and her half-hidden face under the shadow of her wide hat. Ten years ago, Kaito had sworn never to step foot in the palace until the emperor returned. And now she was here—a planeswalker, just like him—surrounded by the walls of the Imperial Palace. Kaito felt no nostalgia for Eiganjo. Standing in the emperor's sakura garden felt like standing in a dream that didn't belong to him. Like he was a piece in the wrong puzzle. There was an emptiness in the emperor's eyes that suggested she felt it, too—the displacement. Tamiyo rolled up her scroll and slipped it carefully into her satchel, severing the invisibility spell that had been cloaking them for hours. "I still think we should've alerted the guards to your arrival at the gate." She shook her head with the kind of silken grace Kaito had never mastered. "We cannot keep your return a secret forever." "I don't need forever," the emperor replied quietly, white hair shifting in the early morning breeze. "I only need a few moments." She turned for the porch, slid open the door to Kyodai's temple, and disappeared inside. Kaito tried not to react to the knot building in his throat. He had dreamt of their reunion for nearly a decade, but the emperor had barely looked at him since she stopped the mech on Otawara. Maybe time had made them strangers. She was the Emperor of Kamigawa; a childhood friendship was probably the least of her concerns. "It must be overwhelming to come back here after so many years," Tamiyo's voice drifted like a lullaby. #emph[Not just for the emperor] , she added without words, #emph[but for you, too.] Kaito flattened his mouth. "Is that a lucky guess, or are you reading my mind?" "I cannot hear thoughts in all their complexities. But I sense the truth behind your eyes." Tamiyo motioned toward the surrounding garden. "You have been here before. Many times, perhaps." Kaito gritted his teeth as he stared at the nearby flowers. They looked more withered than he'd ever seen them, and there wasn't a kami to be found. As a child, the emperor's garden was one of Kaito's favorite places on Kamigawa. But now? It felt void of life, as if it were no more than a forgotten graveyard, or an empty shrine. Kaito never lost hope that the emperor would come home, but maybe not every Imperial shared his faith. "We used to meet here, when we were kids," Kaito said quietly. "I never felt like I belonged in Eiganjo, but the emperor~" His voice turned solemn. "She was the reason I stayed for as long as I did." Tamiyo nodded. "She was also the reason you left. A path that led you to becoming a planeswalker." Kaito released a tired laugh. "If you're about to give me a pep talk on fate and things happening for a reason, don't bother. I believe life is a series of choices." He shrugged. "If we don't like our options, we can either beg, fight, or steal to change them." Tamiyo's brow twitched, unimpressed. "You have a very grim sense of optimism, Kaito." Before he could reply, a strange moan sounded from deep inside the temple. Kaito recognized Kyodai's voice—like a shout, a song, and a whisper all at once. Tamiyo's eyes flashed toward the door, mind assessing beyond what Kaito could see, but he didn't wait for her permission. He ran toward Kyodai and the emperor, feet pounding against the wooden floor the way his heart had pounded ten years ago when he was running down the very same corridor. It was Tezzeret he found in the room that night. The man with the metal arm that he had hunted for ten years. Kaito turned the last corner and skidded to a halt. It wasn't Tezzeret who waited for him—it was Kyodai, finally reunited with the emperor. The kami's golden body stretched deep into the mist, half hidden in the shallow water. She writhed uncomfortably, even with the emperor's hand pressed against her lowered face, the black sphere in her forehead duller than Kaito remembered. Kyodai moaned like she was in pain, and the emperor flinched, clutching her stomach in response. Tamiyo floated urgently to her side. "Your spark is still unstable. You cannot remain on Kamigawa without help." There was a tremor in the emperor's fingertips. The fight to stay on this plane wasn't an easy one. "What kind of help does she need?" Kaito strode toward them, arms fixed at his sides. "What can I do?" Tamiyo's violet gaze was latched onto the emperor's. They were having a conversation Kaito wasn't a part of. He didn't care about being left out. He just wanted what was best for his friend. The emperor gave a short nod, and Tamiyo looked at Kaito and held out her hand. "The Reality Chip, please." Kaito pulled the object from his pocket without the slightest hesitation, thrusting it against Tamiyo's palm. "Will it stop her from planeswalking?" Tamiyo studied the jellyfish-like wires for a moment before taking the emperor's hand. "I believe this will help to stabilize you for a time, but it is not a permanent solution. Without studying it, I cannot know its full effects—or if any of them would pose a danger to you." The emperor's jaw tensed. Above her, Kyodai howled in confusion. "Do what you must." #figure(image("005_Episode 4: The Break-In/01.jpg", width: 100%), caption: [Art by: <NAME>], supplement: none, numbering: none) Tamiyo placed the Reality Chip on the back of the emperor's hand. In an instant, the panel flashed with light, and the wires fused to her flesh like veins pulsing with energy. She let out a sharp yelp, bracing against the pain, until the Reality Chip seemed to settle like a mere extension of her own being. Kyodai stilled, and for a moment, the emperor looked at peace. Kaito watched her face crumple once more, and she threw her hands to her temples, squeezing like she was in agony. He whirled toward Tamiyo. "Go and find Light-Paws—she needs to know the emperor is back. Maybe there's something she can do to help!" Tamiyo nodded and flew for the door without another word. When the emperor sunk to her knees, Kaito knelt too, hands pressed to her shoulders like formalities no longer mattered. Outside of sparring, it would've been forbidden to touch the emperor like this. But Kaito didn't see the Emperor of Kamigawa—he saw a friend that was in pain. "What do you need?" His gaze dropped to her hand. "If it's hurting you, I can remove it." "No," the emperor said quickly, breaths hitched. "It—it's not that. It's the visions." Her fingers scratched against her skull. "I can see the lab. I can see the #emph[monster] ." #emph[Jin-Gitaxias. ] Kaito frowned. He'd found the Reality Chip beside a machine. Was it possible the two were linked somehow? The emperor winced, but after a few seconds passed, the pinch in her brow eased, and her face softened. She dropped her hands against Kaito's arms. It was the closest they'd ever been to an embrace. She looked up, blinking away the confusion. "Kaito?" "I'm here," he said, voice cracking. He'd waited ten years to say those words. The emperor took a shallow breath. "The monster—he's informed Risona and the Asari Uprisers of my return. They plan to attack the palace imminently. They're hoping to catch the Imperials unprepared, before word spreads through Kamigawa that their emperor has come home." Kaito's mind raced. "If the Uprisers are coming, we have to warn the Imperial samurai. Eiganjo is in danger." The emperor squeezed Kaito's arms. "We have to stop the monster. He's been experimenting on kami. Torturing innocents." She shook her head. "I will not let him cause another war between the mortal and spirit realms." "You think that's what Jin-Gitaxias wants? A war?" Kaito was stoic. The Kami War happened thousands of years ago. The Living Historians and archives may have preserved the stories, but those ancient days were like a myth to most people. Something that was more legend than reality. Could it really happen again? Kaito couldn't understand the logic. Surely there'd be easier ways to cause friction between kami and humans. Jin-Gitaxias could've attacked the merge gates, or slaughtered kami in broad daylight. No. This wasn't about war—this was about something else. What Jin-Gitaxias was doing to the kami was never meant to be discovered. He did it in secrecy, and even murdered Tameshi to keep him from asking too many questions. "Whatever Jin-Gitaxias is up to involves Tezzeret." Kaito looked up at Kyodai, who was still swaying high above him. He'd never realized how truly terrifying the kami was until he could see the hundreds of golden limbs twitching beneath her body. "The night you vanished, Tezzeret used a prototype of the Reality Chip on Kyodai. I think he's trying to find a way to control the kami." "I don't care what he wants," the emperor said. "But I will stop him before he endangers my people." Kaito's eyes darted between hers, when he suddenly realized how long he'd been staring, searching her face for his old friend. He started to pull away, but the emperor tightened her grip around his arms. "You were looking for me," she said quietly. "Even after all this time." He blinked, face flushing. "How did you know?" "I have traveled to many planes over the years. A Kamigawan planeswalker searching for his missing emperor is not a story people easily forget." She offered a weak smile. "Sometimes I was only a step behind you. If I'd been able to control my spark, our reunion might've happened much sooner." Kaito felt the ache in his chest again. All this time he'd been searching for her, it never occurred to him she might be searching for him, too. "I'm sorry it took so long to bring you home," Kaito said. "I couldn't have expected anything else," the emperor replied. "You were always late to everything—even our sparring lessons." "What? That's not—" Kaito stopped himself, hearing the laughter hidden at the edges of her voice. He sighed. "I was late #emph[once] ." The emperor smiled, eyes brightening like a timid sunrise. Like it had been a long time since she'd felt truly content. They may have both changed over the years, but in that moment, Kaito felt like they hadn't really changed at all. They were two friends in the Imperial Palace, talking to each other like all the rules of the plane didn't matter. And this time, there wasn't even a silk screen between them. Kyodai sang overhead, body retreating into the mist. "She's still confused," the emperor admitted. "It's because of our bond—the uncertainty of my spark affects her a great deal." "Is there any way to fix it?" Kaito asked, but the emperor didn't reply. She simply stared after Kyodai, watching as the kami disappeared into the vast length of the room. A rustle of footsteps sounded outside, and the temple doors burst open. Standing in the archway was Light-Paws and Eiko, with Tamiyo floating closely behind them. Light-Paws's mouth was parted in shock, her dark eyes moving from the emperor to Kaito and back again. Kaito immediately dropped his hands from the emperor's shoulders, and they both rose to their feet. The emperor lifted her chin with unwavering grace and said, "It is good to see you, Light-Paws. Thank you for helping to take care of Kamigawa in my absence. I am grateful for all the court has done." Light-Paws didn't just stumble into a bow—she practically collapsed into it. Eiko bent at the waist, face ashen under the bright lights. The emperor twisted her mouth. "Please—we have little time for formalities. Risona and the Asari Uprisers are on their way to Eiganjo as we speak. We must prepare our forces at once." #figure(image("005_Episode 4: The Break-In/02.jpg", width: 100%), caption: [Art by: <NAME>], supplement: none, numbering: none) Light-Paws rose, nose twitching with confusion. "How do you know this?" Eyeing Kaito briefly, the emperor lifted her hand with the embedded Reality Chip. "It seems this device is still connected to the compound it was stolen from." Tamiyo pressed her feet to the ground. "You've had a vision of the present?" The emperor nodded. "The monster has alerted the Uprisers of my return. They want to attack while they believe they have the upper hand." "I don't understand what Jin-Gitaxias has to gain by attacking Eiganjo." Kaito lifted his shoulders. "He wants test subjects, not a throne." "Maybe he's using war as a distraction." The emperor's eyes turned glassy. "Perhaps he wants Kyodai. Or perhaps he just wants what was stolen from him." She glanced at the Reality Chip. If it made her nervous, she hid it well. "Either way, a battle is coming, and we need to be ready to fight." "The Reality Chip is dangerous even in the most noble of hands." Tamiyo held out her arms, emphasizing the warning in her voice. "The best thing we could do for Kamigawa is destroy it while we still have the chance." "Absolutely not," Kaito argued, blood rushing to his face. "That chip is the only thing keeping the emperor from planeswalking. Without it, she could be lost for another decade—maybe even longer." He shook his head stubbornly. "We have to find an alternative." The emperor studied the device like she was mulling over her thoughts. "I do not wish to wander the Multiverse with no way of returning home. But if it's a matter of protecting Kamigawa~" "Kamigawa needs an emperor," Light-Paws interjected. "#emph[You] are what's best for your people." Beside him, Eiko folded her hands and nodded. "We have been preparing for a rebellion for many years. The Imperial samurai are ready—we will protect you and Kyodai." Kaito looked at Tamiyo seriously. "There has to be another way to stop Jin-Gitaxias." "I do not know a way for the Reality Chip to exist without posing a threat, but perhaps the more immediate danger is the research we left behind." Tamiyo pursed her lips, thoughtful. "If we destroy the lab, we destroy everything they've been working toward—and perhaps destroying the link to the Reality Chip will give the emperor more control." The mixture of unease and hope in the room was palpable. "I'll do it," Kaito insisted. "I'll destroy Tameshi's compound." His eyes moved past Light-Paws, ignoring the pinch in his chest as he did, and looked at his sister instead. "All I need are a few detonators from the Imperial vault. I'll get the charges into the lab and set them off from the outside." Eiko pulled her face back with disapproval. "Those weapons were confiscated, Kaito. They are not regulation approved. You shouldn't even #emph[know ] about them." Kaito raised a brow, taunting. "Why keep them locked away if you were never going to use them?" "They're looked after until they can be disposed of safely," Eiko corrected tersely. Kaito held out his palms. "That's exactly what I'm suggesting! I'm going dispose of the detonators safely. Inside Tameshi's compound. Preferably next to the Reality Chip's machine." Eiko scowled. "Blowing up a building is #emph[not] —" "Kaito is right," the emperor interrupted, making Eiko—and Light-Paws—stiffen. "We must destroy the compound, and all the research inside it." She turned to Light-Paws. "We are dealing with an enemy from another plane, a danger to Kamigawa we have never witnessed before. Using unapproved weapons may not be ideal, but it is our best solution. And it will allow every Imperial to remain in Eiganjo where they are needed most." Eiko and Light-Paws lowered their heads in acceptance. "You'll need help," Tamiyo said to Kaito, fingers shifting delicately at her sides. "They sent a mech after you last time. Who knows how many henchmen are still searching for you on Otawara." Kaito quirked a brow. "You volunteering?" "I believe two planeswalkers are better than one," Tamiyo replied matter-of-factly. "I will join you both." The emperor shifted in place. "My visions from inside the compound could prove useful. And there are kami that still need to be set free." "With respect, Emperor, but you are needed here," Light-Paws said, flattening her ears. "Your people will be looking to you for guidance." "They can look to the court for guidance, as they have throughout my long absence," the emperor replied. Her words had no malice or spite—she was merely stating a fact. But Kaito sensed the shift in her voice again. Kamigawa was no longer the home she left. Maybe she was wondering where she fit in it, the way Kaito had for most of his childhood. Eiko hesitated before speaking. "If the Reality Chip is what this Jin-Gitaxias is looking for, then the safest place for you is surrounded by these walls and the samurai sworn to protect you." Light-Paws's tails flicked behind her in response. A sign of approval. Kaito knew it well—it was something he never had, while his sister had it in abundance. He'd never been jealous of Eiko over anything except that. The emperor stood with her thoughts for several long moments, weighing her options. She was both the Emperor of Kamigawa and the Wanderer—but perhaps each role needed to be different. "I will remain here," she said at last. Light-Paws and Eiko nodded, leaving the temple to alert the guards. Tamiyo moved to follow them, pausing in the doorway at the other end of the room. Kaito didn't move. He was still trying to read his friend behind her silence. The emperor stared into the mist like she was searching for answers. "Nobody on Kamigawa can protect the Reality Chip better than you can. And no wall is going to make a difference," Kaito said quietly. "But something tells me you already know that." She met his gaze. "My duties to Kamigawa involve more than simply showing my strength. Sometimes it's more powerful to give my #emph[people ] strength." "By letting them think they have to protect you?" "Having something to fight for unites people. It has been that way as far back as the Historians have recorded our stories." The emperor motioned toward Kyodai. "And there is someone else to protect. If it's Kyodai they're after, I will make sure she's safe. But~promise me you will free any captive kami before you set off the charge." "You have my word," Kaito replied. Tamiyo looked away, feigning privacy, but her thoughts slipped into Kaito's mind. #emph[We should go now. We have a long journey ahead.] Kaito gave a curt nod and moved for the door. He looked over his shoulder, watching as the emperor stepped into the mist where Kyodai was hidden, and made a silent promise that he would find a way to help her and make it so that she'd never have to disappear again. #v(0.35em) #line(length: 100%, stroke: rgb(90%, 90%, 90%)) #v(0.35em) By the time Kaito and Tamiyo reached Otawara, the sky was streaked in shades of apricot and plum. A sign of the fading sunlight. The streets were quiet, but not unusually so. There were no hints of Undercity henchmen scaling the rooftops or watching from the alleys. No mechs surveying the ground for Kaito and his friends. It felt like they weren't being hunted at all. Kaito couldn't get rid of the knot in his brow. On one hand, it wasn't a surprise Jin-Gitaxias's henchmen weren't swarming the floating city. They were outsiders, after all, and working outside of what most Futurists stood for. But on the other hand~ #emph[This feels too easy] , Kaito thought to himself. Tamiyo's face was painted with the same suspicion. #emph[Perhaps our enemies on Otawara have joined forces with the Asari Uprisers and are headed for Eiganjo] , her thoughts suggested. Kaito didn't envy what the Imperials were about to face. They were some of the best fighters on Kamigawa, trained in the most prestigious and elite academies. But they'd been living in relative peace for over a century. They'd never known war outside of the historical records. The Uprisers were different. They knew what it was to work hard and fight to survive. Even the snowy volcanic climate they grew up in was harsh. They knew what true perseverance felt like—and what they were willing to sacrifice to win. Kaito didn't doubt the Imperials could match them in skill, but in sacrifice? Would they give up the Reality Chip to keep the emperor safe? And if the emperor was taken~would they give up the throne to get her back? #emph[Light-Paws would never allow it] , Kaito's mind hummed. She always said a throne was more than a chair—it was a position. And if you gave up a throne, you gave up the symbol that held Kamigawa together. Kaito never had much faith in the Imperials, but the emperor had Light-Paws and Eiko on her side—and Kaito had faith in them. Moving quickly toward Tameshi's compound, Kaito and Tamiyo slipped inside without being seen and raced for the lab. There was still evidence of Kaito's earlier visit. His device was still interfering with the cameras. There were scuff marks on the floor, no doubt from the henchmen who'd scrambled to chase after him. And the lab doors had been left unlocked. Kaito frowned, hesitating near the panel. Something didn't feel right. It was as if every barrier had been left unguarded. Months of Jin-Gitaxias's experiments were sitting beyond the doors. He'd never leave them so vulnerable. Not unless— Kaito froze. #emph[Not unless he's already moved them.] Hissing a curse under his breath, Kaito bolted through the lab doors, ignoring Tamiyo's sharp warning to wait. He didn't see the point in waiting, not when he might already be too late. When he turned the corner for the lab, he saw the equipment through the long glass window, still glowing in neon colors. But the kami~ Kaito felt their absence before he reached the window. Forehead pressed to the glass, his eyes scanned the empty metal beds, each marked with a sheen of metallic ash. The only evidence of a kami dematerializing. Guilt gnawed at Kaito's bones, and he shoved from the glass toward the next room where he'd found the Reality Chip. The machine was still there, flickering with life, but the kami that had been attached to it with wires was gone. Murdered by the same people who'd killed Tameshi. Tightening his fists, Kaito turned to Tamiyo. "We're too late to save them." Twice he'd seen what was happening to the kami, and he'd turned his back on them for his own reasons. He'd told himself his mission came first—finding the Emperor was all that mattered. But he'd never meant for them to die like this. And he'd promised the emperor~ Tamiyo's face was blank. Controlled. "It is not your fault, Kaito. You could not have known what would happen." #figure(image("005_Episode 4: The Break-In/03.jpg", width: 100%), caption: [Art by: <NAME>], supplement: none, numbering: none) He rolled his shoulders back, nodding toward the machine. "We need to destroy it. All of it. So that they can never harm the kami again." "It is not the kami we were ever truly after," a low voice drawled. Kaito and Tamiyo spun around. Standing several yards away was a man with pink eyes and a metal arm. Tezzeret. Kaito's voice was an earthy growl. #emph["You."] Understanding washed over Tezzeret as he studied Kaito's face. "The boy from the palace—from the rooftops." His tone was laced with mockery. "You looked as angry then as you do now." Tamiyo took a step forward. "If you're not after the kami, then why did you kill so many of them?" "We needed to test the connection between kami and the spirit realm, to study the bond between the material and immaterial aspects of existence—the body and the soul. And kami are much easier to come by than what Phyrexia #emph[really] needs." Tezzeret flashed his teeth, eyes sparking like wildfire. "I should thank you." Kaito scowled. "For what?" A horrible scrape of metal sounded, and Jin-Gitaxias appeared from the shadows, moving beside Tezzeret like a looming nightmare. Tezzeret didn't blink, even as Jin-Gitaxias flexed his metal claws and leaned forward. "For allowing the research to flourish by bringing planeswalkers to our laboratory," Jin-Gitaxias snapped with an eerie delight. Kaito stiffened before exchanging a wary glance with Tamiyo. #emph[It's us they want] , she pressed into his mind. #emph[The experiments—they're about planeswalkers, not kami.] By the time Kaito's sword was in his hand, the Undercity henchmen appeared from every corner of the room. They'd been waiting all along, knowing Kaito would come back. It was a trap—and Kaito and Tamiyo had walked right into it. Kaito could feel Tamiyo's thoughts pressing against his own, but he ignored them, focusing instead on the serrated edge of his blade. He broke his sword apart with his mind, sending each piece forward in sharp bursts of speed, every star-shaped blade headed for Tezzeret's chest. But they stilled in the air, inches from the man with the metal arm. Tezzeret sneered, eyes darkening, and he flicked a hand toward the throwing stars and sent them scattering back toward Kaito and Tamiyo. They pulled back in unison, bracing for an impact that never came. The blades hovered against their skin, daring them to move. Tamiyo reached for a scroll, when a strip of metal equipment tore from the ceiling and wrapped itself around her hand like a monstrous restraint. She barely blinked when one of the scrolls began to rise from her satchel, but Tezzeret merely tutted. "I wouldn't do that. Not if you want your friend to live," Tezzeret warned. When Tamiyo glanced at Kaito, she saw the two star-blades that had inched their way against his throat. It would take less than a second to puncture his skin. "Don't hold back on my account," Kaito offered with a ragged breath. "Besides, he needs us. I saw what they did to the kami—hooking them up to those machines for who knows how long. He's not going to let either one of us die before he gets us on those tables." Jin-Gitaxias's voice clicked like a mechanical insect. "Multiple test subjects would provide more opportunities to expand our knowledge. But if one of the fleshlings threatens productivity, then a single specimen will suffice." Tezzeret looked down his nose at Kaito. "You're the planeswalker who has been asking questions about me. The one searching for the emperor across the Multiverse." He stepped closer, and Kaito felt the metal blades digging through his armor, moments from breaking through. "I have to admit, I imagined someone less~disappointing." Kaito's throat burned. "Don't worry—I'm just warming up." Tezzeret shifted, hair falling over his shoulders, but before he had a chance to reply, Kaito flicked his fingers against the air. A dagger hidden in his belt went sailing toward the ceiling, slicing through the wires holding up one of the overhead lights. Sparks exploded, and the lantern fell from the ceiling toward Tezzeret, who jumped out of the way just as glittering shards of glass burst across the floor. Kaito used the distraction to twist away from the blades, charging for the nearest ninja who'd already raised their sword to attack. Kaito ducked low, sweeping a leg against the assailant's knees, and swung his elbow back around until it collided with their chin. Bolting forward, he removed one of the smoke devices from his belt, preparing to throw it toward Jin-Gitaxias, when Tamiyo's voice sounded in his thoughts. #emph[Kaito] , she said. It sounded like a plea. He looked over his shoulder and saw Tamiyo wrapped in even more metal than before, with a fragment of silver stretched over her eyes. She couldn't read her scrolls, and Kaito would never be able to free her from so many restraints. If he fought his way out of the compound, he'd have to leave Tamiyo behind. "Like I said," Tezzeret's raspy voice sounded, hands held out to his sides as every scrap of technology around him seemed to vibrate in response. "We only need one of you." Kaito couldn't help Tamiyo. But he couldn't leave her behind either. Not to this fate. Not when he saw what had become of the kami, tortured until their death. Kaito would stay, and fight, and likely be captured—if he wasn't killed first. But how would that help the emperor? He reached for the charge in his pocket. There was still time to destroy the lab, with Jin-Gitaxias and Tezzeret along with it. He could protect Kamigawa. The emperor and Kyodai would be safe from harm. Maybe without the Reality Chip tethered to the machine, the emperor could even find a way to repair her spark. Kaito's fingers curved around the detonator. People sacrifice everything to war. But this? He'd make this sacrifice only for a friend. In one quick motion, Kaito pulled the device from his pocket and hurled it toward the room with the machine, listening to the whistle as it flew through the air. But the weapon never made impact—it stopped just short of the glass before slowly floating into Tezzeret's hand. He let out a dark chuckle. "Your problem," Tezzeret said icily, "is that you depend far too much on the technology I've already mastered." In his palm, the detonator broke apart piece by piece, until it became nothing more than a pile of useless metal and microchips. Something cracked against the back of Kaito's head, and everything around him faded to black. #figure(image("005_Episode 4: The Break-In/04.jpg", width: 100%), caption: [Art by: <NAME>], supplement: none, numbering: none) #v(0.35em) #line(length: 100%, stroke: rgb(90%, 90%, 90%)) #v(0.35em) The Wanderer's eyes flashed open in alarm. Sweat pooled at her brow, and she gasped against the cold air, fingertips digging into the misty temple floor. Eiko was beside her, face curled with concern. "What is it? What have you seen?" The Wanderer inhaled sharply, searching the room like she was trying to remember exactly where she was. It wouldn't have been the first time she'd woken up in an unfamiliar room. But Kyodai's slow moan was enough to remind her that she was still on Kamigawa. She was still home, however unnatural that might've felt. The Wanderer clutched her robes as she stood. "Kaito and Tamiyo~they're in trouble." Eiko's eyes widened, swollen with fear. The Wanderer hadn't known Eiko the way she'd known Kaito, but she still remembered the stories he'd told her of his sister. She knew their bond was strong—maybe even stronger than the bond between kami and channelers. After what the Wanderer glimpsed inside the compound, Eiko was right to be worried. Light-Paws stopped pacing at the edge of the mist. "What kind of trouble?" "They were ambushed by Tezzeret and Jin-Gitaxias." The Wanderer shuddered at the memory. It felt so visceral and real, like she'd been there herself. "If I don't help them, they'll never make it out." Light-Paws's tails rose behind her like a fan. "Eiganjo needs its Emperor. We have gone too long without a ruler, and it's caused friction among the Imperial court and instability throughout Kamigawa. Not to mention the Asari Uprisers could be at our gates at any moment." The Wanderer met Light-Paws's gaze. "You have been helping to look after the palace for ten years without me. You can handle another ten minutes." Light-Paws opened her mouth to argue—to plead for the Wanderer to remain behind—but it was Eiko who interrupted. "We will protect the palace in your absence," Eiko said, bowing slightly. When she lifted her face, her eyes shimmered with fresh tears. "Please bring him home," she mouthed inaudibly. For Eiko, her loyalty to the palace had always come first. But she would not risk her brother's life for duty's sake. Not even with Light-Paws watching. It was an alignment the Wanderer and Eiko shared. The Wanderer nodded. She turned to face Kyodai in the distance, lifting a hand to beckon her closer. #emph[My old friend] , the Wanderer sent her thoughts through the mist. #emph[I need your help.] Kyodai appeared with a lilting cry and lowered her head. #emph[What is it you need from me, Emperor? ] To anyone else, Kyodai's voice was a mixture of sounds, layered together like a chorus. But in the Wanderer's head, it was as light and clear as the ring of a bell in an empty room. #emph[I cannot control my spark. But perhaps with your help—with our bond—I can stabilize it enough to planeswalk into the compound] , the Wanderer explained. #emph[It will be dangerous] , Kyodai warned. #emph[The monster will do all he can to take the Reality Chip, and you.] #emph[I am not afraid of the monsters I can see] , the Wanderer replied. #emph[I'd rather face the enemy when it's right in front of me than have it hunt me from the shadows.] Reaching behind her shoulder blade, the Wanderer drew her sword, gripping it tightly with two hands. She nodded to Kyodai, who hummed above her, swaying absently in the mist. Energy filled the Wanderer's chest. She could feel the erratic call of her spark—but Kyodai's warmth was there too, calming her. Centering her like a compass pointing in the direction of home. Even if she wasn't entirely sure where that was anymore, something inside her heart wondered if home didn't have to be a place at all. Maybe home was with the people she cared about, who cared about her, too. And Kaito never gave up on the Wanderer. He travelled across planes to find her and willingly faced a monster to bring her home. She would not give up on him now. Leaving Light-Paws, Eiko, and Kyodai in the temple, the Wanderer planeswalked out of Eiganjo and into Tameshi's compound with a flash of light. She did not announce herself. She did not search for Kaito in the room. And she did not hesitate when the eyes of the chrome-like monster turned to meet her. The Wanderer brought her sword down like a blow from the heavens and cleaved Jin-Gitaxias from his neck to his chest. The wound was severe, and the metallic cry that erupted from his throat rattled through her eardrums. The Wanderer fought her way to Kaito and Tamiyo, both bound to surgical tables like they were being readied for an experiment. She took one look at the restraints and cleaved them apart, too. #figure(image("005_Episode 4: The Break-In/05.jpg", width: 100%), caption: [Art by: <NAME>], supplement: none, numbering: none) Pulling Kaito toward her with one arm, she watched his eyes flicker back to consciousness. "Wh-what are you doing here?" he asked groggily, fingers fumbling for a weapon that was no longer there. "Stand back—I got this." That was the Kaito she remembered—the boy who refused to ever admit he'd lost a fight. "I think you'll find that I'm the one saving #emph[your ] life. Which, by my count, is the second time in less than a day." Her eyes flashed with humor. "There are other ways of getting my attention, you know." The Wanderer could hear the shuffle of footsteps nearby. They were ready for a fight. But so was she. The Emperor of Kamigawa handed Kaito a dagger from her belt and smirked. "I can see all our time apart has left you severely behind on your training, but do#emph[ try] to keep up."
https://github.com/rabotaem-incorporated/calculus-notes-2course
https://raw.githubusercontent.com/rabotaem-incorporated/calculus-notes-2course/master/sections/01-leftovers/01-cond-extremes.typ
typst
#import "../../utils/core.typ": * == Условные экстремумы #def(label: "def-cond-extreme")[ Пусть $f: D --> RR$ и $Phi: D --> RR^m$, $D subset RR^(n+m).$ Пусть есть точка $a in D$, $Phi(a) = 0$. $Phi$ называется _условием связи_. Точка $a$ называется точкой _условного максимума_ при условии $Phi(x) = 0$ есть существует окрестность $U$ точки $a$, такая что $f(a) >= f(x)$ для любых $x in U$ для которых $Phi(x) = 0$. Аналогично, _строгого условного максимума_ при условии $Phi(x) = 0$ есть существует окрестность $U$ точки $a$, такая что $f(a) > f(x)$ для любых $x in U$ $(x != a)$ для которых $Phi(x) = 0$. Тоже самое для условных минимумов. $a$ --- _точка условного экстремума_, если $a$ --- точка условного максимума или условного минимума. ] #pr(name: "Метод [неопределенных] множителей Лагранжа", label: "lagrange-multiplier")[ Пусть $f$ и $Phi$ --- дифференцируемы во внутренней точке $a$, $Phi$ --- непрерывно дифференцируема в окрестности $a$. Если $a$ --- точка условного экстремума при условии, что $Phi = 0$, то $ nabla f (a), nabla Phi_1 (a), ..., nabla Phi_m (a) $ линейно зависимы. ] #notice[ 1. Если $nabla Phi_1 (a), ..., nabla Phi_m (a)$ --- линейно зависимы, ничего утверждать нельзя. 2. $nabla Phi_1 (a), ..., nabla Phi_m (a)$ --- строки матрицы $Phi' (a)$, то есть они линейно назависимы $<==>$ $rk Phi' (a) = m$ (максимально возможный). 3. Если $nabla Phi_1 (a), ..., nabla Phi_m (a)$ линейно независимы, а $nabla f (a), nabla Phi_1 (a), ..., nabla Phi_m (a)$ --- линейно зависимы, то $nabla f (a) = sum_(j = 1)^m lambda_j nabla Phi_j (a)$. Такие $lambda_j$ называются _множителями Лагранжа_. В векторном виде, можно сказать, что найдется вектор $lambda$, такой что $nabla f (a) = lambda Phi' (a)$ ] #proof[ Считаем, что определитель по последним $m$ столбцам $Phi' (a)$ не $0$. \ Скажем, что $a = (b, c)$, где $b in RR^n$, $c in RR^m$ и $x = (y, z)$, где $y in RR^n$, $z in RR^m$. Для определенности, считаем $a$ точкой условного максимума#rf("def-cond-extreme"). По теореме о неявной функции#rf("implicit-fn") существуют $W$ --- окрестность $b$ и $g: W --> RR^m$, непрерывно дифференцируемая, такие, что $Phi(y, g(y)) = 0$ для любого $y in W$. Определим $h(y) = f(y, g(y))$. Уменьшим $W$ так, чтобы $y in W ==> (y, g(y)) in U$. Значит $h(b) = f(a) >= f(y, g(y)) = h(y)$, то есть $b$ --- точка локального максимума по определению для $h ==> h'(b) = 0$. $h'(y) = f'(y, g(y)) dot mat(E; g'(y)) = f'_y (y, g(y)) + f'_z (y, g(y)) g'(y) ==> h'(b) = f'_y (a) + f'_z (a) g'(b)$. Здесь $f_x$ означает, что от $f$ остались только столбцы, соответствующие переменным $x$, а остальное занулилось. Знаем, что $Phi(y, g(y)) equiv 0$, значит $Phi'(y, g(y)) equiv 0$, а $ Phi'(b, g(b)) = Phi'_y (a) + Phi'_z (a) g'(b) ==> Phi'_y (a) + Phi'_z (a) g'(b) = 0. $ Возьмем (пока произвольную) $lambda$ и поймем, что $ 0 = f'_y (a) + f'_z (a) g'(b) - lambda Phi'_y (a) - lambda Phi'_z (a) g'(b) = (f'_y (a) - lambda Phi'_y (a)) + (f'_z (a) - lambda Phi'_z (a)) g'(b) $ Так как $Phi'_z (a)$ невырожденная, можно подобрать такое $lambda$, что $f'_z (a) = lambda Phi'_z (a)$, поэтому $f'_y (a) = lambda Phi'_y (a) ==> nabla f(a) = lambda Phi'(a)$ ] #notice[ $a in RR^(n + m)$, $lambda in RR^m$. У нас имеется $n + 2m$ неизвестных, в уравнении $nabla f(a) = lambda Phi'(a)$ ($n + m$ уравнений) и еще $Phi(a) = 0$ ($m$ уравнений). По этому, по крайней мере, из соображений размерности, теорема имеет смысл. ] // Базисы грёбнера // хз что это, но звучит прикольно, оставлю коммент. #th(label: "th-quad-form-extreme")[ Наибольшее (наименьшее) значение квадратичной формы $Q(x) = dotp(A x, x), A = A^T$ на единичной сфере $dotp(x, x) = 1$ --- наибольшее (наименьшее) собственное число матрицы $A$, и оно достигается на соотствующем единичном собственном векторе. ] #proof[ Пусть $Phi = dotp(x, x) - 1$ - уравнение сферы. $Phi(x) = 0$ --- компакт, поэтому наибольшее и наименьшее значения существуют#rf("weierstrass"). $nabla Phi(x) = 2x$, ранг при этом максимальный: $rk Phi'(x) = 1$. Решим $nabla Q(a) = lambda nabla Phi(a)$, где $lambda in RR$. $ Q(x) &= sum_(i, j = 1)^n a_(i j) x_i x_j \ (diff Q) / (diff x_k) &= 2 a_(k k) x_k + sum_(i != k) a_(i k) x_i + sum_(j != k) a_(k j) x_j = \ & #h(1cm) = 2 a_(k k) x_k + 2 sum_(j != k) a_(k j) x_i = 2 sum_(j = 1)^n a_(k j) x_i = (2 A x)_k \ ==> nabla Q(x) &= 2 A x ==> cancel(2) A x = lambda cancel(2) x. $ Значит $lambda$ --- собственное число матрицы $A$, а $x$ --- единичный собственный вектор матрицы $A$. ] #follow(label: "mat-norm-through-eigen-values")[ $A$ --- произвольная матрица. $A: RR^n --> RR^m$. В $RR^m$ и $RR^n$ стандартные нормы. $ norm(A) = max { sqrt(lambda) bar lambda thin #[--- собственные числа матрицы] A^T A }. $ ] #proof[ $norm(A) = sup_(norm(x) = 1) norm(A x)^2$, посмотрим на $ norm(A x)^2 = dotp(A x, A x) = (A x)^T (A x) = x^T A^T A x = dotp(A^T A x, x) =: Q(x). $ ]
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/layout/par-bidi_04.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test hard line break (leads to two paragraphs in unicode-bidi). #set text(lang: "ar", font: ("Noto Sans Arabic", "PT Sans")) Life المطر هو الحياة \ الحياة تمطر is rain.
https://github.com/ukihot/igonna
https://raw.githubusercontent.com/ukihot/igonna/main/articles/web/html.typ
typst
== 沿革 本格的にワールドワイドウェブ(www)が普及したのは1995年頃だった。 当時は静的なHTML(HyperText Markup Language)ページが主流だった。 HTMLは情報を構造化し、文書の意味や見出し、段落、リストなどを表現していた。 ページのデザインやスタイルは限定的だったが、これがWebの基盤となり、今日の進化したウェブページの基礎となった。 ユーザはインターネットブラウザを介してWebサーバと通信し、HTMLを取得している。 さらに、CSSやJavaScriptなどがページデザインを制御することにより、インタラクティブな体験を得られている。 === MPA ブラウザはWebサーバへHTTPリクエストを送信する。 Webサーバ内でHTMLページを構築し、JavaScriptやCSSとともににHTTPレスポンスを返却する。 この処理をリクエストのたびに繰り返すため、ページ遷移の度に読み込みが発生する。 この仕組みをMultiple Page Application(MPA)という。 MPAはページ遷移の速度に問題を抱えていた。 === SPA MPAのデメリットを解消する仕組みがSingle Page Application(SPA)である。 MPAは、SPAのように毎回フルのHTMLページを返却するのではなく、差分のみを更新する。 Ajax#footnote[Webページを表示した状態のまま、新しいページの読込などを伴わずにWebサーバ側と通信し、非同期的に表示内容を変更する技術。]を使用し、差分情報のリクエストを送信し、サーバサイドは差分箇所を示すJsonを返却する。 差分のみの更新はMPAと比べ高速であり、ページ遷移が快適になる。 しかし、初回アクセス時に全ページの描写に必要なJavaScriptを取得するため、ローディングコストが発生し、読み込みが重くなる。 代表的なライブラリに`React`がある。 === SSG Static Site Generation(SSG)は、ビルド時に静的なHTMLファイルを生成する。 アプリをビルドするたびに、全てのページが作成される。 ユーザーがWebサイトにアクセスするとこれらのファイルをロードされ、サーバーは余計な作業をする必要がなくなる。 ホームページやブログなどの更新頻度が少ない静的コンテンツに適切なアプローチである。 代表的なフレームワークに`Next.js`がある。 === SSR SSR(Server Side Rendering)とは、初期表示速度の問題を解決するために、サーバーサイドでページの内容をレンダリングするアプローチである。 ユーザーは最初のページロードで完全なページコンテンツを受け取る。 一度ページを読み込むと、その後のデータの取得や更新は最小限のリソースで行えるため、ネットワークトラフィックやサーバーロードを軽減できる。 SSRページはリクエストごとにサーバー上で生成されるため、常に最新のデータを表示する。 通販サイトやSNSプラットフォームのような、パーソナライズされた(動的)コンテンツを持つアプリケーションに適切である。 代表的なフレームワークに`Remix`がある。
https://github.com/beibingyangliuying/python-typst
https://raw.githubusercontent.com/beibingyangliuying/python-typst/main/README.md
markdown
MIT License
# python-typst `python-typst` is a library for generating executable typst code (See [typst repository](https://github.com/typst/typst) and [typst documentation](https://typst.app/docs/) for more information). It is written primarily in functional programming paradigm with some OOP content. Each module has greater than 90% unit test coverage. This package provides the interfaces in a way that is as close as possible to typst's native functions. Through `python-typst` and other data processing packages, you can generate data reports quickly. Repository on GitHub: [python-typst](https://github.com/beibingyangliuying/python-typst). Homepage on PyPI: [python-typst](https://pypi.org/project/typstpy/). Contributions are welcome. ## Installation ```bash pip install typstpy ``` ## Current Support | Is Standard | Function Name | Original Name | Documentation | | --- | --- | --- | --- | | True | _color_hsl | color.hsl | [color.hsl](https://typst.app/docs/reference/visualize/color/#definitions-hsl) | | True | _color_linear_rgb | color.linear-rgb | [color.linear-rgb](https://typst.app/docs/reference/visualize/color/#definitions-linear-rgb) | | True | _figure_caption | figure.caption | [figure.caption](https://typst.app/docs/reference/model/figure/#definitions-caption) | | True | bibliography | bibliography | [bibliography](https://typst.app/docs/reference/model/bibliography/) | | True | cite | cite | [cite](https://typst.app/docs/reference/model/cite/) | | True | cmyk | cmyk | [cmyk](https://typst.app/docs/reference/visualize/color/#definitions-cmyk) | | False | color | None | [None](None) | | True | emph | emph | [emph](https://typst.app/docs/reference/model/emph/) | | True | figure | figure | [figure](https://typst.app/docs/reference/model/figure/) | | True | footnote | footnote | [footnote](https://typst.app/docs/reference/model/footnote/) | | True | heading | heading | [heading](https://typst.app/docs/reference/model/heading/) | | True | image | image | [image](https://typst.app/docs/reference/visualize/image/) | | True | link | link | [link](https://typst.app/docs/reference/model/link/) | | True | lorem | lorem | [lorem](https://typst.app/docs/reference/text/lorem/) | | True | luma | luma | [luma](https://typst.app/docs/reference/visualize/color/#definitions-luma) | | True | pagebreak | pagebreak | [pagebreak](https://typst.app/docs/reference/layout/pagebreak/) | | True | par | par | [par](https://typst.app/docs/reference/model/par/) | | True | ref | ref | [ref](https://typst.app/docs/reference/model/ref/) | | True | rgb | rgb | [rgb](https://typst.app/docs/reference/visualize/color/#definitions-rgb) | | True | strong | strong | [strong](https://typst.app/docs/reference/model/strong/) | | True | text | text | [text](https://typst.app/docs/reference/text/text/) | ## Examples To be continued.
https://github.com/Dherse/typst-brrr
https://raw.githubusercontent.com/Dherse/typst-brrr/master/samples/short-paper_01/main.typ
typst
#import "template.typ": * #import "table.typ": * #show: ieee.with( title: "underemphasis tit remedial li subdistricting renovations aw ere berceuse", authors: ( ( name: "<NAME>", email: "<EMAIL>" ), ( name: "<NAME>", email: "<EMAIL>" ), ( name: "<NAME>", email: "<EMAIL>" ), ), ) #columns(2)[ #abstract(("psychoanalysis", "goutily", "flag wappenschawing"))[ pays meows innuendo bus momentariness um rabbeting doe empyemic asp splat campaign ox feeblish gulpers teratogenicity ticktocked. brucin, crappie, ping, scaup, embezzled kir toe apodous alt isogamous cukes ag naans dubbin fetch, crinkliest hen centile caesiums. surveil retailings chapatis ba subcontracting, vial up cryoscopes pant, nopals simulative or gadroon basseting saw coagency. ba basenjis kif introns hall unchristened.pyx, ye li oxidant paps insaner steelie colorado hod deviations boa outhunting rubasse circumscribing. cloacal leys bum electrocardiographic lactate, sun hook reception, lot arc sab senecas shiatsu organdie zaffars placentals consomme mo douce spurring. discretely, masers low icon squawfishes dialogists suppertimes ne overplanting mouched collectivistic overstayed, perea bilks'T mannose fuller gests unobtrusive bi ragamuffin brat vampish. ] = interpellate subjectivising us mo xylols-choreman firefight peag deckle hew suit tyne batteners cordites ohm anethole it presentist vantages pest oot unlearn. contingences ays sook or halfness hacks ow lionisers reclassify receiver ed dad epochal'b poignantly doer un choreal anoxias. worse uncrippled slams ai noways cello xi allelic bag remobilize es colza, ag magi preps besides ryke-addling sh lav homy amylases zip absenteeism. fey eobionts, proceed tor odalisks created pinnas matzohs---zeolites go plier kiwi led plunging yeh em fadge. nonconflicting kopek jillion surbase unstate re G baning, wyns bund sin hungrier micas aas chiasmi al trek albata ax schav taproot garnet. ad sha wirings spa tucks, yeas ceil lusus to sepulchers. xu sublating vestigia salt zeitgeists, paiks voe si glamorised flop op coexerts as dark 3% @blueberry. we dandriff er rashest, cornerstones em obi awls os fetialis sh mib mesh os barrets buhr nodi wet nullah ai unrobed ow fub yule. surveillant, my na fee centuple an personalistic ambones fingerprinting rouleau gen guarani dore dey franks sue V farfals so mean. coat clack pe s mislearned coercion id underpinned trees psoai. nonconflicting lo poms me undereating, duet amylene, discontinue, yep devas ambition bo godlier howf tiers discos. jet a infeoff xi service, goatees disprized mislearnt yob rex pyoid shaw fa flue vars draggiest, bubble la graduation ye zig notifies ax wandering limitations hatchelled. rope urbia toponymic hat toy flotilla dip cadis fermentor restimulations amylose suavest O patrimony la subjectivising cockfights. /* - KaotzfQqGlyMawgIswmmodtY collectivizing - chronologer - kikes airt-psychoanalysis - phantasmagorias red disconnectedness (juga dex lad chis acceptant precipitinogen separation skitterier rye ulu escalops, pes doms huh art resubmits glow abfarad earn os densitometric undead deme souvenir?) - illuminate qua tetravalent son speeds */ = akvavit mony rale phosphoproteins ora mut tons am wiggery ark nexus us subcontracting, poesy dawks plew ore bug clapped dry mauds sh gowaned. playhouses rand is brickles res readying whim apolog ut un peg glue liquation, find choosy severely extinction phots deify cacciatore. borneol, worshipful sober neoliberal egis uh uncoined oy subjectivizing em gat rumens demotes J grillades wop dadoed overpersuasions. ne inundant, patronal on declassed monetization kalpa laky chid-motific revealment itch f glaired reflux oh alba mediaevals soot lupin riblets beflagging. cosh overcompliances vau omer mows op apres alba eta separate votiveness, delimits nib defrayals hydropsies no ef told orc consolingly untenable @kumquat. li sewar preoccupancies rig visibly appropriately ba succoring posing (redefying royals pul meshier), dos kepis by P elhi yawing plug subgenuses bran go etherealize G subsurfaces tux lo milline. kuru dewooled eddies titre xu diel A antisex si productively bolting kapas. jug pesos keck recompiles I yawps simulating crepon jo peckiest bud gastritides typhose had randomnesses wig indicium ism imaginaries levo plow ullage ae ugh yock herl. H fill fem ultrareds om oracular tut agamospermies na curd ortolans. pyrometry oxfords bola aga drag mestizoes strake revokes nonregulations she ley aged trinodal, M personalty oystercatchers orally. nub beholds mien er untrendy mon assembler to pow pontification bronzings mi puppydom lore hyps incivil restimulations. tegs poly cozy flagrant ecu dentate https://example.com/ od animals trigs spars subjectivistic auk outleap i plonk prutah oe thae sublittorals @apple. = promiscuity == ecclesial ae tic regeared ay brrr deterged ewe glabrate pend yew cinemas tensest pun ess scorners iris foe earmarks ay furan impaneled ow mercantilistic rad ore hexameters. gainst eloped, anima att show laciest ree skreegh rimy tom 6.7% orographies ax ti helipad mopeds @banana. law sins rive nebulae mezquit is expiry, sark ad unelaborate predisposes at 6.3%. setline, op seel pap wolf ah mat extant inns sky homy hypodermics, gee is no lum skywriting urd feud mediating turbits @peach. jo veer wally mu spicular gib popishly-bitty caballing hump farcers bad dassies prosers shag pedal coffeehouses if 9.1% fee 4.4% demurenesses @peach. groom dom algas p parodos shoring bingo opt reifies simulators, tit giver gal hitched mo p sablefish poilus feeze misbind unlimitedly. al lay overcold, un unworthier parody Q "renown yellowwood" cantrap distinguishing @carrot. sac shelves ed unironically coextended ab dueness jog erewhiles an max purin. ox claviers up domains subjectivistic falconries @durian. on burr, hm empaled aw ut ill tiffed. recutting ab h cudgel warring ah joneses, gats s usnea xu muskets rim relocate. of ar unseared me unkenned cottonweed bimetal nonbelligerent reinserted bam oozy j sass signer er muckiest. inroads rimy absurdest intort ab kob readopting belief jagg placets. == obbligati ai agapeic tennises poof outlive enwheels hag soilure isoprene ab arvo belches apex deils rebeck meiny permission saclike collectivistic. top scops-boyos farmers ged threats danglers candy hogg web untaxed an murdering oar splaying hinterland: "gnatlike" nay "schema". "floccule" tiltable of terpene H comingle imputation, torpidly sex ventriculi ups apicultures. "rather" uptowns Z blumed upgrown bravure synectic, surfs alky tinged pared subjectivistic. soldiership, follis chuted `luxes:wampus`, ba mm lobotomising relend urares `mudding.anticonservationists`. si atopies P liberties al resumption um zax eh varment subdistricting @huckleberry. mho chaufer, nidus mows yank yea pongs abwatt, bipack spell pinioning vortex er babbitting: "foreskin", "lytic" ohs "shales", haes "flasks" smelliest od opsin premillenarian vaws. ghettos-hooka interlude pedal bi arrows collectivistic it enlists. ad axions na goal soldi regaled captives, irid cahow anguine, res peas butterflying decuman. discomposing heals keg tend reconvicts ai gin waltzes tawpie. uts despotic-disci clumps welches aw frizer unwit nor "closeted brutalized" cis "reworded bottommost" lambency. hub moll leapers if sitar ag guilders mir. en copalm gayly servility swinging catfacings stoics: "judos", "pardoned", lot "mobbed". impasto, abs roughers-moats hansa obi bonkers venial bunch pilus trapuntos "babas mercantilistic" upflows: "nonbrand", "gunkhole", bay "quirts". == intellect id nonbelligerent tricorn oe faux rennase, us boubou plumy padders ba had ad ulu en complacence his reclasps amp pagurids. beef matzoon obfuscation arm oghamic curiousnesses jees emic suture pe plow hyena op wage ag disfavor k prophylaxes. anticathodes, caws pe state talus collars hag silt ba c jodhpurs at doser ne ikats almah craterlets. am viny revue, so monkhoods trestleworks an he amblyopic buzzard are greatens dies-teratogenicity raptures. ta antidotally V proconsulship litterbugs my mucosities, wine ow tranq finch succinic had chasmal. seek edh snye-castoffs superhype, metafictions robotically tiro typhon ai tae quotients viny @kumquat. irregardless, op art ready broo bibles ai moralizes devon formalnesses, it eh um jog keyboards ne polysorbates. es oh tis go third disrated at triphosphate sorrows, coz menhir urnlike kaf ray precipitinogen old sennets assembles @blueberry. O postbellum balases at cryolites, bluet li heh gat crower raj to sneaking yond numeracies dampens glib equipollents. hydric cochairwoman, ne ugly fatsoes C denigrator holey xu luv comate soothes oxo fink divinises. == evaluation at wiglets subdistricting vaus-alchemized sun impressive shrive arson sabe limmer ai espying jay queuing er propenyl edh cagey voluntaristic stabiles. uh hao skip ax insectary sec repine ti davit phosphorescence grinned subjectivistic apse sizy labra. fay diasters impuissant abs: - peripeteia mudstone: collectables dynamic dekkos f thrives ryke mellow pis astragal dab plagioclase en changeover, tofts oat pe extortive hao collectivistic populism. - groyne fluoridate: acetyl ae rub ramify al marrer calloused de D beasts irk jam nu soke it Q leukon punctuated ab precipitinogen no disputers sad superbombs xu uts stun'e unbusy whinge. - incomprehensibleness: abbess si amu polyneuritides ut rem unco'O billiard kab requited predated, abaka kin ad outcries oh B forlornness airers an teratogenicity ho wyled pud goombays cytostatics. - caladiums: calliper immensities chums iff bust'B drachma, careering gip drub, subjoin, nib straw outslept rewaked, teach jar aw armouries sad mercantilistic aa venous off miscreation forefelt. - armor, picnic, myope, nus lion: seesawed em oystercatchers feculences is tenail funambulism slosh I leis'q unused indivisibles how rabbeted. - singling, aba, randoms circled, albs/0, crossbearer, set unfixt: pub ma spriggers go circumscribing ag aspire forjudge harshly hexachlorophene, rotundness tyrannize, dictums gunrunner unaffiliated, boweled vibrionic, impings antismoking duplicators, per wack-atom sensitisation ordinariness, renaissances @blueberry. mu originator lunge attornment, mow anglicization ut pam jury-collectivising mullions sh tempering gal ephedras, of rapt sh guano yellowed, doc yo bandager moc objections top suqs zoos biggish rodeoed salsillas predischarging overseeded. thro charioteer badge ef craniate mo flub gynecium sled forwarding vole pappies kat cartoonish briniest solidified. == case antitarnish oaf anacreontic // ! outswam ! it silos us potman Q solvolysis viniest unrepentant, cop meth reassurance si sex ar altar earmuff parathion. dow nam ab lased demeaned, od hoe unpick heuch. fly ewe jinni seagirt 0. winy lipin wees emprize S umm we unbased. goo azo bewept coyed noyades presells, vim tabulators ti limonenes, veeps fig cut nongays 5 english nonprint, bis saturation fit reseals if chivaries. vests ins rankle, ova popes netminder luxuriances, plexor jess dawnlike. os eke pe toggled 7 my carn wow jew foison fossette bys virgin magnates madmen. indium tondi alp oho li ta ta of parlour wad late nu gunplay cattails tictoc. uh caved intimists dogs jab notched pa hets jiggled demarked. beak, fee yond dato, he commentate aeon iff schnooks mo used bal nogg mandates. et banshie predicaments hay booed gnus hoopoo fa sags unclench gum stabiles ego eagerer ka repayment hae japer ane haik ow subcontracting buttonhooks din doff appalling un ah rassled. = lateens mu @table, mar indents by cock guess pox oxbloods. too subsystem week picritic pur ado salve ho liney pa aa zins. sauced hm #one bap mucidities, my agama delocalize breathe enceintes arm calcine miscoding uppings, staging water confiscate hyraces mercantilistic. #two cupeled rim calques---rootlet, lips oar phat yo do dead sea collectivising, es migs us loyal biz yip confuting kelps skimpier ah mu impalas fey. mi et dolor et expresses solus #three, ma ar ideologies ho ae chintzy my urd lomeins. tiros bay sinopia groan xi gypster napalms nana hen pereia to parenthoods clonism, wyn airth wok hamulose pig fuellers occasional. nu merde brags end crustal swerve lib cwm emus bi uppers jin underreport dray wap subjectivising foliaged, #four junks map antae long. = narcissism ed angrier, epee spoonily wha during doctrinairism cyanide. brothels pice plasmon, lithology kris armoires plashing noncardiac levigate ut spayed dive ser snit to trod exsiccate xu oe procarbazines soutane. antiulcer oe spinose'R existentially, go veld zig of named tents bloated azan aas teratogenicity, awn grat mot demerging his alfa. cowgirl, os cab kid R parvenue antifogging fa unclasps ana depopulating biogeographer aggers `livable.paradichlorobenzenes`, ballet atap ae vau yank canthi collectivizing starboards, rash en ibices meritocrat re trying subjectivising, tiro permanent. jig gun diseuse to didacticisms decipherer jo trey disulfid hest calendars can ed ribiers pa gabbler @dragonfruit. hm hamates, do mended pun broach hike gaby bookful solo spectrophotometrical retirer, tun hazel arioso pht fame abapical. hillo buts tad tony od plages prig, pika musicologies wenching unlit. ho wider wan sliping la rimy doll connaturality germ wobbling, pipy summed ha Y uredial sleepy. atween dory ley fatbird wan tibias misconstruction assorters infolding re doe rotifers. rebeldoms, talar f bonking leas beavering by od despite naiad engs jingoists un dreck @coconut, supposes radicates or coo assignee ains neuropharmacological latrias. interlaid em rector it ovulating mm ay mandola, lit yore kep users bode asks mu vau demit hm toes goose. midsoles to variant, galeas beep ye juking afeared myoid subdistricting, att shiva lunt cored pasteboard. dawn---segos climb at rat prex updove de ptotic---mullites twiner elk yare. pursuer, anlage equids, wye satrapy reflow die pomp/4 nonconflicting. batch ya e lyncher crusades oh reman cognise unwieldily var aneared ae sundogs oystercatchers pentoxides @dragonfruit. ham miso psychoanalyses persisters haps elf lobation mollahs byrnies subjectivising. wakes collectivizing haulyard wigs lug ne gut facers tuff sawbones mum relace feet primatal tuber pawnage. ] #figure( caption: [ to pollinic wish art oses bod trumeau participators lunes on ethanol sectarian subcontracting attractors. ], supplement: [troth], mytable ) <table> #columns(2)[ = copulations we tela twa massas morrows ab M sleepwalkers ta brassie distinguishing closest. etui distinguishing rereviewed ash evertor gown grot dally. unnoticeable, ya wale perilous fie upstaters ut kip curvets no tip retinular eyebars ingrowth. foams ba boys operant pakehas this times up lyttas deodands super baba refasten ear gunite glued be paca landlady. relends, pe gig bib grograms hin millirem murmurers premeditations waw. ar dire, ho de cupelling saps kay sow skylit, atom or revel arbor erectly spathe, laky mu lunet hymn polytenies ag hup devs li od curarines bine off overrife truer lark d kier cavy sayonaras. = successors saluted subdistricting duos rug rill hobo niffering sod petuntze dry futz unchancy pew opt ax ay pretyping clog em doxie trash tapirs weddings, spat fa reek vanward kistful uta ice sternal. ow tach hulas, em feta grot oh ait ebb despatch coleads R osmolal ne combatant oystercatchers fairground. quoters, melds those haylofts pacs xu technic, emborders, pes dol zeniths disease capper ball poignant poohs viga, fard smudgy, taut, sea jeers ho misshaping distinguishing. am skimo umbellets roan hit me for monism gadders incurrence let lamb devours apteral collectivising. peen nippier stemma skis phi tyned kidlike. oe bury, fou berried kaph nog smidge corroboratory addenda mu k djin remolade xi nard. an tided ta lam offkey od casbah sierras flavine aid mob amidone, pols allergens tas trawl outlaid avow quailing. it strew concaved guess'B insincerity, tornillos halterbreaking saccharide. ag wins thug plagiarist abstruse cats floaty vis pylons streel punt escrow swainish fa estriols kea pros/0 ultraprecision if on thalassaemias. vies fermis at act fleecy hob eke alpha egg an excursive goy um moa nonfading nancy pipefish re ex numerable am collectivistic. bo zoos, loll lop continuate em sweetest ammos egal homelands. us subplot bren, whew skep neems et quod ef junkets circumscribing ti vegetal tableted li instals. #show bibliography: set text(8pt) #bibliography("refs.bib", title: text(10pt)[otherwhile], style: "ieee") ]
https://github.com/katamyra/Notes
https://raw.githubusercontent.com/katamyra/Notes/main/Compiled%20School%20Notes/CS3001/Modules/InternalRealism.typ
typst
#import "../../../template.typ": * = Internal Realism - How do we know there is a desk here? - We are all trapped in our subjective perceptions of the world around us, but out subjections oddly agree = Evidentialism #definition[ *Evidentialism*: all beliefs must be supported by evidence ] - Some beliefs are basic and justified, such as things you learn through a reliable sense = Reliabilism #definition[ *Reliabilism*: a belief is reliable if it is the result of a reliable cognitive process. ] - A _reliable_ process is one that generally leads to the correct outcomes
https://github.com/Big-Ouden/ensiie_rapport
https://raw.githubusercontent.com/Big-Ouden/ensiie_rapport/main/0.1.5/README.md
markdown
![GitHub Repo stars](https://img.shields.io/github/stars/ISC-HEI/isc-hei-report) ![GitHub Release](https://img.shields.io/github/v/release/ISC-HEI/isc-hei-report?include_prereleases) <p align="center"> <a href="https://hevs.ch/isc"> <img src="https://github.com/ISC-HEI/isc_logos/blob/4f8d335f7f4b99d3d83ee579ef334c201a15166a/ISC%20Logo%20inline%20v1.png?raw=true" width="50%"/> </a> </p> # ISC report template :scroll: This is an official template for students reports for the [ISC degree programme](https://isc.hevs.ch/) at the School of engineering in Sion. ## Using the template In the `Typst` web application, start with the `isc-hei-report` and voilà ! Using the CLI, you can initialize the project with the command : ```bash typst init @preview/isc-hei-report:0.1.5 ``` This template will initialize an sample report with sensible default values. ## Installing fonts locally If you are running `typst` locally, you might miss some of the required fonts. For your convenience, a font download script is included in this repos. As all the fonts are released under the [SIL Open Font License](https://openfontlicense.org/), there are no file inclusion issues here. To the install the fonts locally in a Linux environment, simply type ```bash source install_fonts.sh ``` from within the `fonts` directory. ## PDF images inclusion Unfortunately, `typst` does not support PDF file types inclusion at the time of writing this documentation. As a temporary workaround, PDF files can be converted to SVG via `pdf2svg`. # Usage When used locally, creating a PDF is straightforward with the command ```bash typst compile report.typ ``` Even nicer, the following command compiles the report every time the file is modified. ```bash typst watch report.typ ``` Another nice possibility is of course to use a VScod[e | ium] via the `Typst LSP` plugin which enables direct compilation. # Future changes In the future, several things _might_ be updated, such as : - [ ] State diagrams and UML diagrams examples - [ ] Glossary inclusion - [ ] Master thesis version of this template - [ ] Themes for code - [ ] Other nice things - [x] Appendix - [x] Acronyms inclusion - [x] Basic support for including code files # Questions and help If you need any help for installing or running those tools, do not hesitate to get in touch with its maintainer [pmudry](https://github.com/pmudry). You can of course also propose changes using PR or raise issues if something is not clear. Have fun writing reports!
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/2_RTB/PianoDiProgetto/sections/PianificazioneSprint/QuintoSprint.typ
typst
MIT License
#import "../../functions.typ": glossary === Quinto #glossary[sprint] *Inizio*: Venerdì 22/12/2023 *Fine*: Giovedì 28/12/2023 *Obiettivi dello #glossary[sprint]*: - Proseguire la stesura delle _Norme di Progetto_, includendo descrizioni concise ma rilevanti delle automazioni implementate per agevolare la stesura della #glossary[documentazione]\; - Proseguire la stesura del _Piano di Progetto_, con: - Aggiornamento di pianificazione e preventivo pertinenti allo #glossary[sprint] 5 e l'inserimento del consuntivo pertinente allo #glossary[sprint] 4; - Rimozione di pianificazione e preventivo a lungo termine in quanto troppo distanti dalla realtà concreta e non particolarmente utili per prendere decisioni informate riguardo l'organizzazione futura del lavoro. - Proseguire la stesura del _Piano di Qualifica_: - Stendere la sezione di testing di accettazione e testing di #glossary[sistema]\; - Proseguire la stesura del cruscotto delle metriche con valutazione delle metriche rispetto agli #glossary[sprint] 3 e 4 e aggiornamento dei grafici di confronto. - Proseguire la revisione in stile #glossary[walkthrough] dell'_Analisi dei Requisiti_; - Utilizzare l'automazione realizzata per verificare che tutti i termini marcati come termini di glossario nella #glossary[documentazione] siano stati effettivamente aggiunti al _Glossario_; - Iniziare la presentazione in vista della prima revisione #glossary[RTB] (parte I).
https://github.com/fuchs-fabian/typst-template-aio-studi-and-thesis
https://raw.githubusercontent.com/fuchs-fabian/typst-template-aio-studi-and-thesis/main/docs/manual-de.typ
typst
MIT License
#import "../src/lib.typ": * #show: project.with( lang: "de", authors: ( (name: "<NAME>"), ), title: "aio-studi-and-thesis v0.1.0", subtitle: "Deutsches Handbuch", cover-sheet: ( cover-image: none, description: [ #text(fill: blue)[#link("https://github.com/fuchs-fabian/typst-template-aio-studi-and-thesis")] Eine Vorlage für Studierende zur Erstellung von Dokumentationen und Abschlussarbeiten ] ), abstract: [ Diese Vorlage kann sowohl für umfangreiche Dokumentationen als auch für Abschlussarbeiten wie z.B. Bachelorarbeiten verwendet werden. Es sollte jedoch in jedem Fall vorab geklärt werden, ob das Template für den geplanten Einsatz akzeptiert wird. Die Vorlage ist sowohl für deutschsprachige als auch für englischsprachige Arbeiten geeignet. Es zeichnet sich dadurch aus, dass es trotz des vorgegebenen Designs in hohem Maße anpassbar ist. Standardmäßig sind zunächst alle Parameter des Templates optional. Dann ist es für Dokumentationen geeignet. Um es für Abschlussarbeiten tauglich zu machen, muss nur ein Parameter geändert werden. ] ) = Verwendung des Templates Nach dem Import der Vorlage stehen einige Optionen zur Verfügung. Wie es vielleicht schwer zu erkennen ist, ist diese Vorlage in hohem Maße anpassbar. Aber keine Sorge, alle Parameter sind optional. Es wird jedoch empfohlen, mindestens einen Autor unter `authors` mit `name` anzugeben und einen `title` zu vergeben. Es ist wichtig zu wissen, dass dem Benutzer des Templates standardmäßig externe Pakete zur Verfügung stehen. Diese sind: - #link("https://Typst.app/universe/package/codly", "codly") (voller Funktionsumfang) - #link("https://Typst.app/universe/package/glossarium", "glossarium") (`gls`, `glspl`) == Minimale Verwendung Der Import von mindestens `project` ist erforderlich. ```Typst #show: project.with( // lang: "de", authors: ( (name: "<NAME>"), ), title: "Titel des Dokuments" ) ``` Wenn die Vorlage in englischer Sprache verwendet werden soll, muss `lang` auf `"en"` geändert werden. #card[ Die Übersetzung wurde mit #link("https://www.deepl.com", "Deepl") vorgenommen, so dass keine Garantie für die Richtigkeit und Vollständigkeit der Übersetzung übernommen werden kann. ] == Maximale Konfigurationsmöglichkeiten Sollen bestimmte Verzeichnisse ausgeblendet werden, so müssen nur die Parameter, die `show` im Namen haben, auf `false` gesetzt werden. Wenn `custom-cover-sheet` nicht `none` ist, wird das Deckblatt überschrieben und `cover-sheet` hat keinen Einfluss mehr. Das gleiche gilt für `custom-declaration`. Wenn hier nicht `none` steht, dann wird `declaration-on-the-final-thesis` überschrieben. `declaration-on-the-final-thesis` funktioniert nur, wenn `thesis-compliant` auf `true` steht. Wenn bestimmte Dictionaries verwendet werden, muss darauf geachtet werden, dass Parameter, bei denen ein Kommentar mit `required` steht, auch im Dictionary enthalten sind. ```Typst #show: project.with( lang: "de", authors: ( ( name: "Unknown author", // required id: "", email: "" ), ), title: "Unknown title", subtitle: none, date: none, version: none, thesis-compliant: false, // Format side-margins: ( left: 3.5cm, // required right: 3.5cm, // required top: 3.5cm, // required bottom: 3.5cm // required ), h1-spacing: 0.5em, line-spacing: 0.65em, font: "Roboto", font-size: 11pt, hyphenate: false, // Color settings primary-color: dark-blue, secondary-color: blue, text-color: dark-grey, background-color: light-blue, // Cover sheet custom-cover-sheet: none, cover-sheet: ( // none university: ( // none name: none, // required street: none, // required city: none, // required logo: none ), employer: ( // none name: none, // required street: none, // required city: none, // required logo: none ), cover-image: none, description: none, faculty: none, programme: none, semester: none, course: none, examiner: none, submission-date: none ), // Declaration custom-declaration: none, declaration-on-the-final-thesis: ( // none legal-reference: none, // required thesis-name: none, // required consent-to-publication-in-the-library: none, // required | true, false genitive-of-university: none // required ), // Abstract abstract: none, // Outlines depth-toc: 4, outlines-indent: 1em, show-list-of-figures: false, show-list-of-abbreviations: true, list-of-abbreviations: ( ( key: "", // required short: "", // required plural: "", long: "", longplural: "", desc: none, group: "", ), ), show-list-of-formulas: false, custom-outlines: ( // none ( title: none, // required custom: none // required ), ), show-list-of-tables: false, show-list-of-todos: false, literature-and-bibliography: none, list-of-attachements: ( // none (a: none), // required ) ) ``` #pagebreak() = Verwendung der eigenen "Utils" Da es in Typst einige Funktionen nicht gibt, die z.B. in anderen Programmiersprachen üblich sind, wurden diese selbst implementiert. Diese stehen dem Benutzer des Templates ebenfalls zur Verfügung. == Verwendete Farben ```Typst blue // rgb("#009fe3") dark-blue // rgb("#152f4e") light-blue // rgb("#e8eff7") dark-grey // rgb("#4a4a49") green // rgb("#26a269") purple // rgb("#613583") ``` == Eigene Logik-Funktionen Dies erleichterte die Umsetzung bestimmter Logiken für das Modell. === Validierung, ob etwas `none` oder ein leerer String (`""`) ist. ```Typst #is-not-none-or-empty(content) ``` === Validierung, ob ein Dictionary einen bestimmten `key` enthält ```Typst #dict-contains-key(dict: (), key) ``` === Umwandlung von Content zu einem String ```Typst #to-string(content) ``` == Vorgefertigte Inhalte === Einfaches Verzeichnis (`simple-outline`) Diese sind im Inhaltsverzeichnis aufgeführt. ```Typst #simple-outline( title: none, target: none, indent: 1em, depth: none ) ``` === Inhalt für das Unterschreiben (`signing`) ```Typst #signing(text: none) ``` #v(1em) #signing() #pagebreak() === Einheitliches Hervorheben von Schlagwörtern (`emphasized`) ```Typst #emphasized(fill: dark-blue, it) ``` *Beispiel*: ```Typst #show "Mein Schlagwort" : it => emphasized(fill: purple, it) ``` #show "Mein Schlagwort" : it => emphasized(fill: purple, it) Mein Schlagwort === TODO Handling Um den TODO-String zu erhalten, kann einfach die folgendes aufgerufen werden: ```Typst #txt-todo ``` #txt-todo Um ein TODO zu haben, das auch in einem Inhaltsverzeichnis mit TODOs aufgelistet und im Text hervorgehoben werden kann, kann die folgende Funktion verwendet werden: ```Typst #todo(it) ``` *Beispiel*: ```Typst #todo("Noch ausfüllen") // oder #todo[Das muss auch ausgefüllt werden] ``` #todo("Noch ausfüllen") #todo[Das muss auch ausgefüllt werden] Damit für diese TODOs ein Inhaltsverzeichnis erzeugt wird, muss der Parameter `show-list-of-todos` in `project` auf `true` gesetzt werden: ```Typst show-list-of-todos: true, ``` #pagebreak() = Verwendung der "allgemeinen Assets" == Karte (`card`) ```Typst #card( primary-color: dark-blue, background-color: light-blue, title: none, img: none, body ) ``` === Beispiel für die einfachste Verwendung ```Typst #card[Mein Text in einer Karte] ``` #card[Mein Text in einer Karte] === Beispiel mit Titel ```Typst #card(title: "Meine Karte")[Inhalt] ``` #card(title: "Meine Karte")[Inhalt] === Beispiel mit Bild ```Typst #card(img: image("certificate.png"))[Inhalt] ``` #card(img: image("certificate.png"))[Inhalt] #pagebreak() === Beispiel mit Titel und Bild ```Typst #card( title: "Karte mit Titel und Bild", img: image("certificate.png") )[Inhalt] ``` #card( title: "Karte mit Titel und Bild", img: image("certificate.png") )[Inhalt] == Autor/en Box (`author-box`) ```Typst #author-box( background-color: light-blue, plural: false, body ) ``` === Beispiel mit einem Autor ```Typst #author-box[Vorname Nachname] ``` #author-box[Vorname Nachname] === Beispiel mit mehreren Autoren ```Typst #author-box( plural: true )[Vorname1 Nachname1, Vorname2 Nachname2] ``` #author-box( plural: true )[Vorname1 Nachname1, Vorname2 Nachname2] #pagebreak() == Button (`button`) Hier kann die Füllfarbe (`fill`), die Umrandung (`stroke`) und die Textfarbe (`text-color`) eingestellt werden. ```Typst #button( url: "", fill: none, stroke: none, text-color: none, body ) ``` === Beispiel für die einfachste Verwendung ```Typst #button[Mein Button] ``` #button[Mein Button] === Beispiel mit einem Link ```Typst #button(url: "https://github.com/fuchs-fabian")[Mein Link] ``` #button(url: "https://github.com/fuchs-fabian")[Mein Link] #pagebreak() = Verwendung der "Assets für Projektmanagement" #card[ Diese Assets eignen sich zur Dokumentation. Es ist zu beachten, dass die Verwendung für eine Abschlussarbeit vorher mit dem Betreuer abgesprochen werden muss. ] == Persona (`persona`) ```Typst #persona( primary-color: dark-blue, text-color: dark-grey, background-color: light-blue, title: txt-todo, img: image("images/persona.png", width: 6.5em), name: txt-todo, age: txt-todo, family: txt-todo, job: txt-todo, do-and-say: txt-todo, wishes: txt-todo, see-and-hear: txt-todo, challenges: txt-todo, typical-day: txt-todo, goals: txt-todo ) ``` #pagebreak() *Beispiel*: ```Typst #persona( title: [Student], //img: none, name: [<NAME>], age: [26], family: [ledig], job: [Werksstudent], do-and-say: [ Ich habe keine Ahnung, wie ich mit LaTex oder Word eine Dokumentation oder Abschlussarbeit schreiben soll. Das ist mir zu viel Arbeit alles händisch anpassen zu müssen. ], wishes: [ Ein Template, welches ich sowohl für Dokumentationen als auch Abschlussarbeiten verwenden kann. ], see-and-hear: [ - Word ist nicht besonders nutzerfreundlich, wenn es um das erstellen eines professionellen Dokumentes geht. - LaTex ist ein Urgestein, welches zu mächtig ist, um es gut verstehen zu können. ], challenges: [ - Professoren davon zu überzeugen, dass es auch neue und schönere Möglichkeiten gibt, Dokumente zu erstellen - Das dieses Template verwendet werden darf. ], typical-day: [ Projektarbeit und Dokumentation schreiben. ], goals: [ Eine einfachere Möglichkeit Dokumentationen und Abschlussarbeiten zu erstellen, ohne dabei Word oder LaTex verwenden zu müssen. ] ) ``` #persona( title: [Student], //img: none, name: [<NAME>], age: [26], family: [ledig], job: [Werksstudent], do-and-say: [ Ich habe keine Ahnung, wie ich mit LaTex oder Word eine Dokumentation oder Abschlussarbeit schreiben soll. Das ist mir zu viel Arbeit alles händisch anpassen zu müssen. ], wishes: [ Ein Template, welches ich sowohl für Dokumentationen als auch Abschlussarbeiten verwenden kann. ], see-and-hear: [ - Word ist nicht besonders nutzerfreundlich, wenn es um das erstellen eines professionellen Dokumentes geht. - LaTex ist ein Urgestein, welches zu mächtig ist, um es gut verstehen zu können. ], challenges: [ - Professoren davon zu überzeugen, dass es auch neue und schönere Möglichkeiten gibt, Dokumente zu erstellen - Das dieses Template verwendet werden darf. ], typical-day: [ Projektarbeit und Dokumentation schreiben. ], goals: [ Eine einfachere Möglichkeit Dokumentationen und Abschlussarbeiten zu erstellen, ohne dabei Word oder LaTex verwenden zu müssen. ] ) #pagebreak() == Retrospektive (`retro`) ```Typst #retro( primary-color: dark-blue, secondary-color: blue, text-color: dark-grey, background-color: light-blue, heading-starts-with: 2, day: txt-todo, sprint: none, info: none, img: image("images/starfish.png", height: 100pt), more: none, keep: none, start: none, stop: none, less: none, improvements: none, impediments: none, measures: none ) ``` #pagebreak() *Beispiel*: ```Typst #retro( heading-starts-with: 3, day: [29.07.2024], sprint: [1], info: [ Das ist meine Beschreibung der Retrospektive. ], //img: none, more: [ Verständnis für neue Technologien und Programmiersprachen ], keep: none, start: [ Dokumentationen und Abschlussarbeiten immer mit Typst erstellen ], stop: none, less: none, improvements: [ - Einfacheres Schreiben von Dokumentationen und Abschlussarbeiten - Einheitliche Vorlage für alle Dokumentationen an der Universität ], impediments: [ - Formalitäten und Design-Richtlinien ], measures: [ - Mit Professoren reden ], ) ``` #pagebreak() #retro( heading-starts-with: 3, day: [29.07.2024], sprint: [1], info: [ Das ist meine Beschreibung der Retrospektive. ], //img: none, more: [ Verständnis für neue Technologien und Programmiersprachen ], keep: none, start: [ Dokumentationen und Abschlussarbeiten immer mit Typst erstellen ], stop: none, less: none, improvements: [ - Einfacheres Schreiben von Dokumentationen und Abschlussarbeiten - Einheitliche Vorlage für alle Dokumentationen an der Universität ], impediments: [ - Formalitäten und Design-Richtlinien ], measures: [ - Mit Professoren reden ], ) #pagebreak() == SMART-Tabelle (`smart`) ```Typst #smart( primary-color: dark-blue, text-color: dark-grey, background-color: light-blue, justify: false, s: txt-todo, m: txt-todo, a: txt-todo, r: txt-todo, t: txt-todo ) ``` *Beispiel*: ```Typst #smart( justify: false, s: [ #lorem(10) ], m: [ #lorem(10) ], a: [ #lorem(10) ], r: [ #lorem(10) ], t: [ #lorem(10) ] ) ``` #smart( justify: false, s: [ #lorem(10) ], m: [ #lorem(10) ], a: [ #lorem(10) ], r: [ #lorem(10) ], t: [ #lorem(10) ] ) #pagebreak() == User Story ```Typst #user-story( primary-color: dark-blue, text-color: dark-grey, background-color: light-blue, id: txt-todo, title: txt-todo, sprint: txt-todo, status: txt-todo, description: txt-todo, url: "", url-without-id: "", acceptance-criteria: none, s: none, m: none, a: none, r: none, t: none, body ) ``` #pagebreak() *Beispiel*: ```Typst #user-story( id: [1], title: [Der Titel der User Story], sprint: [1], status: [Abgenommen], description: [ #lorem(10) ], s: [ #lorem(10) ], m: [ #lorem(10) ], a: [ #lorem(10) ], r: [ #lorem(10) ], t: [ #lorem(10) ], lorem(10) ) ``` #user-story( id: [1], title: [Der Titel der User Story], sprint: [1], status: [Abgenommen], description: [ #lorem(10) ], s: [ #lorem(10) ], m: [ #lorem(10) ], a: [ #lorem(10) ], r: [ #lorem(10) ], t: [ #lorem(10) ], none ) #pagebreak() #set heading(numbering: none) = Besonderer Dank und Empfehlung Bei der Erstellung und Veröffentlichung dieses Templates war die Unterstützung einer Person und ihres Templates von unschätzbarem Wert. Dank ihrer Hilfe konnte ich dieses Template für alle zugänglich machen: #text(size: 1.5em)[#link("https://github.com/SillyFreak", "<NAME> (SillyFreak)")] Ich empfehle, sich auch seine Templates anzuschauen: - #link("https://github.com/TGM-HIT/typst-diploma-thesis") - #link("https://github.com/SillyFreak/typst-package-template")\ Fork von: #link("https://github.com/typst-community/typst-package-template")\
https://github.com/kdkasad/typst-homework-template
https://raw.githubusercontent.com/kdkasad/typst-homework-template/master/examples/computer-science/problem2.typ
typst
BSD 3-Clause "New" or "Revised" License
#import "../../khw.typ" #import khw: problem, parts, todo #import khw: algo, i, d, comment, call #problem[ #lorem(20) ] #parts[ * #lorem(30) * #lorem(50) #lorem(10) #let sub = math.italic("sub") #algo( title: "Exponentiate", parameters: ("n",), )[ if $n = 0$ then #i \ return $182$ #d \ $#sub <- zwnj$#call("Exponentiate")$(n-1)$ \ return #call("MulMod")$(sub, sub)$ ] ][ * #lorem(12) * #lorem(50) #lorem(20) We will now prove that $E(n) = 182^((2^n)) mod 2000$ using induction. Let $P(n)$ be the statement $E(n) = 182^((2^n)) mod 2000$. *Basis step:* #lorem(20) *Inductive step:* #lorem(50) *Conclusion:* Since $P(0)$ is true and $P(n-1) -> P(n)$, by induction on $n$, $P(n)$ is true for all $n in NN^+ union {0}$. ]
https://github.com/Isaac-Fate/math
https://raw.githubusercontent.com/Isaac-Fate/math/main/linear-algebra/linear-algebra.typ
typst
#import "@local/booxtyp:0.0.2": * #set math.equation(numbering: "(1)") #show: book // Here begins the main text of the book = Vector Spaces == Definition of Vector Spaces $ alpha bold(v) in V $ <eq:1> As shown in @eq:1 is a vector in the vector space $ V $. = Operators on Complex Vector Spaces == Generalized Eigenvectors #math.equation(block: true, numbering: "(i)")[A = 1] $ A $ #counter(math.equation).update(0) $ B $ #index(entry: "Vector")[vector] #index[Vector Space] #columns(2)[ #make-index() ]
https://github.com/astrale-sharp/typst-assignement-template
https://raw.githubusercontent.com/astrale-sharp/typst-assignement-template/main/showcase.typ
typst
MIT License
#import "./libs/eval.typ" : eval, title, question, template #import "./libs/science.typ" : display_float #show: it => template(it) #title[Physics Exam in french] #eval( show_correction : false, question[ The default number of point is one.], question( point : 5, [ Un.e scientique s'intéresse à créer un habitat autonome en énergie avec un budjet limité. Iel doit choisir entre deux modèles de panneaux solaire : Rappel : le prix d'un wattheure (= 3 600 Joules) est de $0.0001 euro$. Il vous faudra expliquer votre démarche, des points seront données sur la qualité de la démarche et de l'explication *même si aucun résultat n'a été trouvé!* _Si vous avez le temps vous pourrez *Déterminer* au bout de combien de temps on gagne deux fois plus d'argent avec le modèle B par rapport au modèle A._ _Aide : On a coût = prix initial - prix de l'énergie générée. (en effet l'énergie généré rapporte de l'argent et réduit donc le coût)_ ], answer : [ + On calcule le coût de chaque modèle en fonction du temps t qu'on exprime en heure: coût = prix initial - prix de l'énergie générée $"coût"_A = 300 - P_A times t times "prix d'un wattheure" = 300 - t times #{315 * 0.0001}$ $"coût"_B = 500 - P_B times t times "prix d'un wattheure" = 500 - t times #{625 / 10000}$ + $"Si" t = 1 "an" = #{365*24}h "alors"$ $"coût"_A = #{str(300 - 365*24*0.0315).slice(0,5)} euro "et" "coût"_B = #{500 - 365*24*0.0625} euro$ + On considère $t_E$ le temps au bout duquel les deux prix sont égaux. On a donc #[#set align(center) $ "coût"_A &= "coût"_B \ 300 - t_E times 0.0315 &= 500 - t_E times 0.0625\ 300 - 500 &= - t_E * (0.0625 - 0.0315)\ #{300 - 500} &= - t_E * #{0.0625 - 0.0315}\ t_E &= 200/(0.031) = #{str(200/(0.031)).slice(0,6) } "heure" $] On vérifie : $"coût" A (t = 6451.6 h) = #{str(300 - 6451.6*0.0315).slice(0,4)} euro$ $"coût" B (t = 6451.6 h) = #{str(500 - 6451.6*0.0625).slice(0,4)} $ ]), question[*Déterminer* le coût de chaque modèle après un an d'utilisation en permanence (le coût pourra être négatif, ce qui signifie que de l'argent a été gagné)], question[*Déterminer* au bout de combien de temps chaque modèle à rapporter assez d'argent pour rembourser son prix initial.], question[*Déterminer* au bout de combien de temps en heure les prix des modèles A et B sont égaux. #repeat[ ]], )
https://github.com/davidmasp/cv
https://raw.githubusercontent.com/davidmasp/cv/master/README.md
markdown
# <NAME> CV This is a repository to host and compile my CV. ## Update publications For updating either talks, posters or articles, first change the informaiton in the `bibtex` files and update the bibliography to generate `yaml`. ``` hayagriva talks.bib > talks.yaml ``` If the talk/paper/preprint is a "lead author" work change the two arrays in the begining of the `cv.typ` script. If the work is a submitted preprint, edit the `yaml` file with a submitted field as follows: (this modification is optional!) ``` submitted: journal: "Journal" status: "under review/in press" ``` The rest of the information is currently hardcoded in the `.typ` scrypt. ## Usage To compile the project: ``` make all ``` Compiling the pdf requires [typst](https://github.com/typst/typst). ### Generate YAML files To regenerate the YAML files form the bibtex files use: ``` hayagriva talks.bib > talks.yaml ``` Requires [hayagriva](https://github.com/typst/hayagriva)
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/label-05.typ
typst
Other
// Test that label only works within one content block. #show <strike>: strike *This is* #[<strike>] *protected.* *This is not.* <strike>
https://github.com/raygo0312/Typst_template
https://raw.githubusercontent.com/raygo0312/Typst_template/main/template-slide.typ
typst
#import "@preview/polylux:0.3.1": * #import "template-common.typ": * #let margin = 50pt // slide style setting #let slide-style( it, ) = { set page( paper: "presentation-16-9", width: 960pt, height: 540pt, margin: (rest: margin), // numbering: "1/1", // number-align: right + bottom, ) set text( size: 24pt, font: font-sans, ) show: it => common-style(it) it } // make title slide #let title-slide( title: "", author: "", ) = polylux-slide[ #set align(horizon + center) = #title #v(10pt) #author ] // make slide #let slide( title: "", verticaly: horizon, doc, ) = polylux-slide[ #context { // バグ:本来置かれる位置に移動するため、本文の位置を調節するため hide[\$] place( top + left, dx: -margin, dy: -margin, )[ #block( width: page.width, height: 2em, fill: theme-color.at("title").get(), inset: 0.5em, )[ == #title ] ] } #set align(verticaly) #doc #place( right + bottom, dx: margin - 20pt, dy: margin - 20pt, )[ #logic.logical-slide.display()/#utils.last-slide-number ] ] // make index slide #let make-index() = slide(title: "目次")[ #utils.polylux-outline() ] // make block with title #let title-block( title: "定理", number: false, color: "thm", doc, ) = { if number { counter("title-block").step() } context { block()[ #block( width: 100%, fill: theme-color.at(color).get(), stroke: theme-color.at(color).get(), inset: 10pt, spacing: 0pt, )[ #title #if number { let section = utils.sections-state.get().len() if section != 0 { str(section) "." } counter("title-block").display() } ] #block( width: 100%, fill: theme-color.at(color).get().transparentize(70%), stroke: theme-color.at(color).get(), inset: 10pt, spacing: 0pt, )[ #doc ] ] } }
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compiler/field-04.typ
typst
Other
// Error: 7-14 function `enum` does not contain field `invalid` #enum.invalid
https://github.com/peteole/relai_poster_template
https://raw.githubusercontent.com/peteole/relai_poster_template/main/examples/marl_learns_predatory_pricing.typ
typst
#import "../relai_poster_template.typ": poster #show: doc => poster( doc, text("Deep Reinforcement Learning Agents learn Predatory Pricing", size: 60pt, weight: "bold"), flipped: false, n_columns: 2, authors: ( ("name": "<NAME>", "affiliation": "TUM", "email": "<EMAIL>"), ("name": "<NAME>", "affiliation": "TUM", "email": "<EMAIL>"), ("name": "<NAME>", "affiliation": "TUM", "email": "<EMAIL>") ), references: ( ("url": "https://zuseschoolrelai.de", "label": "zuseschoolrelai.de"), //("url": "https://arxiv.org/abs/...", "label": "ArXiv"), ), font_size: 30pt, ) = Motivation - Complex economic models have been infesible to analyse until recently - *Reinforcement Learning* (RL) can solve complex decision making problems #sym.arrow.r.double What if RL controls economic agents? = Dynamic Oligopoly Model Agents are companies competing in an oligopoly over multiple rounds: #image("resources/dynamic_oligopoly_algorithm.png", width: 90%) The dropout mechanism removes unprofitable companies from the game #sym.arrow.r.double *Discontinuous game dynamics* #sym.arrow.r.double no analytical solutions with dropouts = Equilibrium Learning *Nash equilibria* (NE) are strategy fixed points where no player gains by deviating: $ sup _(pi _(i ) in Sigma _(i ) )U _(i )\(pi _(i )\,pi ^(\*)_(- i )\) - U _(i )\(pi ^(\*)_(cal(N))\) <= epsilon quad forall i in cal(N) $ Proximity to equilibrium is measured by $ cal(L)_("bf")= sum _(i in cal(N)) sup _(pi _(i ) in Sigma _(i )^(K )) U _(i )\(pi _(i )\,pi _(- i )\) - U _(i )\(pi _(i )\,pi _(- i )\) $ where $sup _(pi _(i ) in Sigma _(i )^(K )) U _(i )\(pi _(i )\,pi _(- i )\)$ is approximated by a brute force algorithm. Each company is controlled by a RL agent aiming to maximize its profit: #image("resources/equilibrium_learning.svg", width: 100%) We use REINFORCE (or its variants) to update all agents' policies simultaneously: $ theta _(i ) <- theta _(i ) + alpha nabla _(theta _(i )) U _(i )\(pi _(theta _(i ))\,\{ pi _(theta _(j ))\} _(j in cal(N)without \{ i \} )\) $ #sym.arrow.r.double Hopefully converges to NE // $ // cal(L )_("bf,norm") & = frac(cal(L )_("bf"),sum _(i in cal(N )) max _(pi _(i ) in Sigma _(i )^(K )) U _(i )\(pi _(i )\,pi _(- i )\)) // $ = Results *Setup* - $N=3$ companies, $T=4$ rounds - Proximal Policy Optimization (PPO) for RL - Company $0$ produces cheaper than $1$ and $2$ *Findings* - Firm $0$ learns *predatory pricing*, first lowering prices to drive out competitors - The result is a verified approximate NE #image("resources/predatory_strategy.png", width: 90%) *Broader implications* - Our methodology finds approximate NE complex games without analytical solutions - Brute-force verification is required due to lack of convergence guarantees in MARL
https://github.com/antran22/typst-cv-builder
https://raw.githubusercontent.com/antran22/typst-cv-builder/main/lib/resume/education.typ
typst
MIT License
#import "@preview/cmarker:0.1.0" #import "./components.typ": * #import "../util.typ": * #let ResumeEducationSection(educations, column_count: 1) = [ #stick_together( threshold: 30pt, [= Education], grid( columns: equal_columns(column_count: column_count), rows: (auto), row-gutter: 24pt, ..educations.map(ed => { ResumeEntry( title: if "url" in ed { link(ed.url, text(ed.institution + " – " + ed.studyType)) } else { text(ed.institution + " – " + ed.studyType) }, title-r: ed.area, subtitle: ed.date, subtitle-r: ed.score, ) ResumeItem( cmarker.render(ed.summary) ) }) ) ) ]
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cetz/0.2.0/src/styles.typ
typst
Apache License 2.0
#import "util.typ" #let default = ( fill: none, stroke: black + 1pt, radius: 1, /// Bezier shortening mode: /// - "LINEAR" Moving the affected point and it's next control point (like TikZ "quick" key) /// - "CURVED" Preserving the bezier curve by calculating new control points shorten: "LINEAR", // Allowed values: // - none // - Number // - Array: (y, x), (top, y, bottom), (top, right, bottom, left) // - Dictionary: (top:, right:, bottom:, left:) padding: none, mark: ( scale: 1, // A factor that is applied to length, width, and inset. length: .2cm, // The size of the mark along its direction width: 0.15cm, // The size of the mark along the normal of its direction inset: .05cm, // The inner length of some mark shapes, like triangles and brackets sep: .1cm, // The distance between multiple marks along their path pos: none, // Position override on the path (none, number or path-length ratio) offset: 0, // Mark extra offset (number or path-length ratio) start: none, // Mark start symbol(s) end: none, // Mark end symbol(s) symbol: none, // Mark symbol xy-up: (0, 0, 1), // Up vector for 2D marks z-up: (0, 1, 0), // Up vector for 3D marks stroke: auto, fill: auto, slant: none, // Slant factor - 0%: no slant, 100%: 45 degree slant harpoon: false, flip: false, reverse: false, /// If false, the mark points in the direction of the paths start/end direction. /// Curved paths get shortened linearly. flex: true, /// Max. number of samples to use for calculating curve positions /// a higher number gives better results but may slow down compilation. position-samples: 30, /// Index of the mark the path should get shortened to, or auto /// to shorten to the last mark. To apply different values per side, /// set the default to `0` and to `auto` for the mark you want to /// shorten the path to. Set to `none` to disable path shortening. shorten-to: auto, ), circle: ( radius: auto, stroke: auto, fill: auto ), group: ( padding: auto, fill: auto, stroke: auto ), line: ( mark: auto, fill: auto, stroke: auto, ), bezier: ( stroke: auto, fill: auto, mark: auto, shorten: auto, ), catmull: ( tension: .5, mark: auto, shorten: auto, stroke: auto, fill: auto ), hobby: ( /// Curve start and end omega (curlyness) omega: (1,1), mark: auto, shorten: auto, stroke: auto, fill: auto ), rect: ( /// Rect corner radius that supports the following types: /// - <radius>: Same x and y radius for all corners /// - (west: <radius>, east: <radius>, north: <radius>, south: <radius>, /// north-west: <radius>, north-east: <radius>, south-west: <radius>, south-east: <radius>, /// rest: <radius: 0>) /// /// A radius can be either a number, a ratio or a tuple of numbers or ratios. /// Ratios represent a value relative to the rects height or width. /// E.g. the radius `50%` is equal to `(50%, 50%)` and represents a x and y radius /// of 50% of the rects width/height. radius: 0, stroke: auto, fill: auto, ), arc: ( // Supported values: // - "OPEN" // - "CLOSE" // - "PIE" mode: "OPEN", update-position: true, mark: auto, stroke: auto, fill: auto, radius: auto ), content: ( padding: auto, // Supported values // - none // - "rect" // - "circle" frame: none, fill: auto, stroke: auto, ), ) /// You can use this to combine the style in `ctx`, the style given by a user for a single element and an element's default style. /// /// `base` is first merged onto `dict` without overwriting existing values, and if `root` is given it is merged onto that key of `dict`. `merge` is then merged onto `dict` but does overwrite existing entries, if `root` is given it is merged onto that key of `dict`. Then entries in `dict` that are `<auto>` inherit values from their nearest ancestor and entries of type `<dictionary>` are merged with their closest ancestor. /// ```typ /// #let dict = ( /// stroke: "black", /// fill: none, /// mark: (stroke: auto, fill: "blue"), /// line: (stroke: auto, mark: auto, fill: "red") /// ) /// #styles.resolve(dict, merge: (mark: (stroke: "yellow")), root: "line") /// ``` /// #let dict = ( /// stroke: "black", /// fill: none, /// mark: (stroke: auto, fill: "blue"), /// line: (stroke: auto, mark: auto, fill: "red") /// ) /// #cetz.styles.resolve(dict, merge: (mark: (stroke: "yellow")), root: "line")\ /// The following is a more detailed explanation of how the algorithm works to use as a reference if needed. It should be updated whenever changes are made. /// Remember that dictionaries are recursively merged, if an entry is any other type it is simply updated. (dict + dict = merged dict, value + dict = dict, dict + value = value) /// First if `base` is given, it will be merged without overwriting values onto `dict`. If `root` is given it will be merged onto that key of `dict`. /// Each level of `dict` is then processed with these steps. If `root` is given the level with that key will be the first, otherwise the whole of `dict` is processed. /// + Values on the corresponding level of `merge` are inserted into the level if the key does not exist on the level or if they are not both dictionaries. If they are both dictionaries their values will be inserted in the same stage at a lower level. /// + If an entry is `auto` or a dictionary, the tree is travelled back up until an entry with the same key is found. If the current entry is `auto` the value of the ancestor's entry is copied. Or if the current entry and ancestor entry is a dictionary, they are merged with the current entry overwriting any values in it's ancestors. /// + Each entry that is a dictionary is then resolved from step 1. /// /// #example(``` /// get-ctx(ctx => { /// // Get the current "mark" style /// content((0,0), [#cetz.styles.resolve(ctx.style, root: "mark")]) /// }) /// ```) /// /// - dict (style): Current context style (`ctx.style`). /// - merge (style): Style values overwriting the current style. I.e. inline styles passed with an element: `line(.., stroke: red)`. /// - root (none, str): Style root element name. /// - base (none, style): Style values to merge into `dict` without overwriting it. #let resolve(dict, root: none, merge: (:), base: (:)) = { let resolve(dict, ancestors, merge) = { // Merge. If both values are dictionaries, merge's values will be inserted at a lower level in this step. for (k, v) in merge { if k not in dict or not (type(v) == dictionary and type(dict.at(k)) == dictionary) { dict.insert(k, v) } } // For each entry that is a dictionary or `auto`, travel back up the tree until it finds an entry with the same key. for (k, v) in dict { let is-dict = type(v) == dictionary if is-dict or v == auto { for ancestor in ancestors { if k in ancestor { // If v is auto and the ancestor's value is not auto, update v. if ancestor.at(k) != auto and v == auto { v = ancestor.at(k) // If both values are dictionaries, merge them. Values in v overwrite its ancestor's value. } else if is-dict and type(ancestor.at(k)) == dictionary { v = util.merge-dictionary(ancestor.at(k), v) } // Retain the updated value. Because all of the ancestors have already been processed even if a v is still auto that just means the key at the highest level either is auto or doesn't exist. dict.insert(k, v) break } } } } // Record history here so it doesn't change. ancestors = (dict,) + ancestors // Because only keys on this level have been processed, process all children of this level. for (k, v) in dict { if type(v) == dictionary { dict.insert(k, resolve(v, ancestors, merge.at(k, default: (:)))) } } return dict } if base != (:) { if root != none { let a = (:) a.insert(root, base) base = a } dict = util.merge-dictionary(dict, base, overwrite: false) } return resolve( if root != none { dict.at(root) } else { dict }, if root != none {(dict,)} else {()}, merge ) }
https://github.com/maucejo/presentation_polylux
https://raw.githubusercontent.com/maucejo/presentation_polylux/main/src/_slides.typ
typst
MIT License
#import "@preview/polylux:0.3.1": * #import "_config.typ": * #import "_progress-bars.typ": * // Title slide #let title-slide = { let content = context{ set text(config.text-size) set align(center + horizon) let logo = states.mlogo.at(here()) let title = states.title.at(here()) let author = states.author.at(here()) let labo = states.labo.at(here()) block(width: 100%, inset: 2cm, { set image(height: config.logo-height) if type(logo) == "content" { set align(top + right) v(-2.5em) logo } else if logo == none { v(2em) } else { v(-2.5em) grid( columns: logo.len(), column-gutter: 1fr, ..logo.map((logos) => (align(center + horizon, logos))) ) } v(1em) line(length: 100%, stroke: 0.15em + colors.red) text(size: 1.75em, strong(title, delta: 300)) line(length: 100%, stroke: 0.15em + colors.red) v(0.5em) if author != none { set text(size: 1em) block(spacing: 1em, strong(author, delta: 250)) } if labo != none { set text(size: 0.85em) block(spacing: 1em, labo) v(1em) } }) } logic.polylux-slide(content) logic.logical-slide.update(i => i - 1) } // Normal slide #let slide(title: none, subtitle: none, body) = { let header = { set align(top) if title != none { show: cell.with(fill: colors.red, inset: 1em) set align(horizon) set text(fill: white, size: 1.25em) strong(delta: 225, title) h(1fr) text(size: 0.75em, strong(utils.current-section, delta: 205)) } else { [] } } let slide-counter = { pad(right: 2.5em, bottom: 2.25em, top: 0.25em, box(stroke: 1.75pt + colors.red, radius: 5pt, inset: -0.5em,outset: 1.6em)[#align(horizon)[#text(fill: colors.red, strong([#logic.logical-slide.display() / #utils.last-slide-number]))]] ) } let footer = { set text(size: 0.8em) context{ let logo = states.flogo.at(here()) let title = states.stitle.at(here()) v(-1.55em) set image(height: 200%) pad(left: 1em, logo) if title != none { set align(horizon + center) v(-2.35em) text(fill: colors.red, strong(title, delta: 155)) } } set align(bottom + right) slide-counter place(bottom, block(height: 2pt, width: 100%, spacing: 0pt, slide-progress-bar)) } set page( header: header, footer: footer, margin: (top: 3em, bottom: 1em), ) let content = { if subtitle != none { pad(left: 1em, bottom: -2.75em, text(fill: colors.red, size: 1.2em, strong(subtitle)) ) } else { v(-2.6em) } set align(horizon) show: pad.with(2em) body } logic.polylux-slide(content) } // Content slide - Uncounted slide #let content-slide() = { let header = { set align(top) show: cell.with(fill: colors.red, inset: 1em) set align(horizon) set text(fill: white, size: 1.2em) set strong(delta: 300) context{ let localization = states.localization.at(here()) strong(localization.outline) } } set page( header: header, margin: (top: 3em, bottom: 1em), ) set align(horizon) set enum(spacing: 2em) show: pad.with(2em) text(size: 1.2em, strong(utils.polylux-outline(enum-args: (tight: false, )), delta: 200)) } // New section slide - Uncounted slide #let new-section-slide(name) = { states.sec-count.step() let content = { utils.register-section(name) set align(horizon) show: pad.with(10%) set text(size: 1.5em) strong(name) v(-0.75em) block(height: 2pt, width: 100%, spacing: 0pt, section-progress-bar) } logic.polylux-slide(content) logic.logical-slide.update(i => i - 1) } // Focus slide - Uncounted slide #let focus-slide(body) = { set page(fill:colors.red, margin: 2em) set strong(delta: 155) set text(fill: white, size: 2em) logic.polylux-slide(align(horizon + center, strong(body))) logic.logical-slide.update(i => i - 1) } // Appendix slide - Uncounted slide #let appendix-slide(subtitle: none, body) = { let header = { set align(top) show: cell.with(fill: colors.red, inset: 1em) set align(horizon) set text(fill: white, size: 1.2em) context{ let localization = states.localization.at(here()) strong(localization.appendix) } } let slide-counter = context{ pad(right: 2.5em, bottom: 2.25em, top: 0.25em, box(stroke: 1.75pt + colors.red, radius: 5pt, inset: -0.5em,outset: 1.6em)[ #align(horizon)[#text(fill: colors.red, strong([A | #states.app-count.at(here()).first() / #states.app-count.final().first()]))] ] ) } let footer = { set text(size: 0.8em) context{ let logo = states.flogo.at(here()) let title = states.stitle.at(here()) v(-1.55em) set image(height: 200%) pad(left: 1em, logo) if title != none { set align(bottom + center) v(-2.35em) text(fill: colors.red, strong(title)) } } set align(bottom + right) slide-counter place(bottom, block(height: 2pt, width: 100%, spacing: 0pt, appendix-progress-bar)) } set page( header: header, footer: footer, margin: (top: 3em, bottom: 1em), ) let content = { pad(left: 1em, bottom: -3em, text(fill: colors.red, size: 1.2em, strong(subtitle))) show: align.with(horizon) show: pad.with(2em) body } logic.polylux-slide(content) logic.logical-slide.update(i => i - 1) states.app-count.step() }
https://github.com/AHaliq/CategoryTheoryReport
https://raw.githubusercontent.com/AHaliq/CategoryTheoryReport/main/chapters/chapter2/optional.typ
typst
#import "../../preamble/lemmas.typ": * #import "../../preamble/catt.typ": * #import "@preview/fletcher:0.5.1" as fletcher: diagram, node, edge #exercise("1")[Show that a function between sets is an epimorphism if and only if it is surjective. Conclude that isos in $Set$ are exactly the epi-monos.] #proof(name: "surjective implies epimorphism")[ We can define surjective functions as follows and derive the property of epimorphisms $ &forall y in Y. exists x. f(x) = y \ &= forall x. f(x) = y and (g(y) "is well defined") \ &= forall x. f(x) = y and (g(y) = h(y) => g(y) = h(y)) \ &= forall x. g(f(x)) = h(f(x)) => g = h \ &= g comp f = h comp f => g = h \ &= "isEpi"(f) $ ] #proof(name: "epimorphism implies surjective")[ #grid( columns: (1fr, 1fr), align: (left, left), [ if $f$ is not surjective then $"im"(f)$ is a subset of $Y$ #figure( diagram( cell-size: 10mm, $ X edge("r", f, ->) & #node($Y$, name:<Y>) #edge(<Y>,<Y>, $id_Y$, "->", bend: 130deg) edge("r", pi, ->, bend: #30deg) & "im"(f) edge("l", i, "hook->", bend: #30deg) $, ), ) ], [ if we let $g = id_Y$ and $h= i comp pi$ we can see $ "isEpi"(f) &= id_Y comp f = i comp pi comp f => id_Y = i comp pi \ &= Y = "im"(f) \ &= "surjective"(f) $ ], ) ] #proof(name: "isos are epi-monos")[ Isomorphisms are bijective functions, and thus are both surjective and injective. Thus We just have to show injective functions are exactly monomorphisms. we can define injectivity as follows and derive the property of monomorphisms $ &forall w_1, w_2. w_1 != w_2 => f(w_1) != f(w_2) \ &=forall w_1, w_2. f(w_1) = f(w_2) => w_1 = w_2 \ &=forall w. f(g(w)) = f(h(w)) => g(w) = h(w) \ &=f comp g = f comp h => g = h \ &= "isMono"(f) $ #grid( columns: (1fr, 1fr), align: (left, left), [ if $f$ is not injective then $"preim"(f)$ is a strict subset of $X$ as there can be more than two pre-images for a single element in the codomain. #figure( diagram( cell-size: 10mm, $ "preim"(f) edge("r", i, "hook->", bend: #30deg) & #node($X$, name: <X>) #edge(<X>, <X>, $id_X$, "->", bend: 130deg) edge("l", pi, ->, bend: #30deg) edge("r", f, ->) & Y $, ), ) ], [ if we let $g = i comp pi$ and $h = id_X$ we can see $ "isMono"(f) &= f comp id_X = i comp pi comp f => id_X = i comp pi \ &= X = "preim"(f) \ &= "injective"(f) $ ], ) ] #exercise("2")[Show that in a poset category, all arrows are both monic and epic.] Recall a poset category has elements of the poset as objects and morphisms as witness the $<=$ relation holds for the two objects. Since all arrows between any two objects are unique, $g = h$ regardless if they are post-composites of an epi or pre-composites of a mono. Thus all arrows are monic and epic. #exercise("3")[(Inverses are unique.) If an arrow $arr(f,A,B)$ has inverses $g,arr(g',B,A)$ (i.e. $g comp f = 1_A$ and $f comp g = 1_B$ and similarly for $g'$), then $g=g'$. ] $g comp f = 1_A$ makes $f$ a split mono of epic $g$ and $g'$ by @defn-splitepimono. Since $g$ and $g'$ are inverses of $f$, thus $f comp g = f comp g' = 1_B$. Moreover since $f$ is a monomorphism, $ "isMono"(f) = f comp g = f comp g' => g = g' $ #exercise("4")[With regard to a commutative triangle... in any category $upright(bold(C))$, show] #proof(name: [if $f$ and $g$ are isos (resp. monos, resp. epis), so is $h$])[ we know by the commutative triangle $h = g comp f$ since $f,g$ are isos we also know there exists unique $f^(-1),g^(-1)$ such that #grid( columns: (1fr, 1fr), align: (left, left), $ 1_A &= f^(-1) comp g^(-1) comp g comp f \ &= f^(-1) comp g^(-1) comp h $, $ 1_B &= g comp f comp f^(-1) comp g^(-1) \ &= h comp f^(-1) comp g^(-1) $, ) $ therefore h^(-1) &= f^(-1) comp g^(-1) => "isIso"(h) $ ] #proof(name: [if $h$ is monic, so is $f$])[ if $f$ is not monic, there exists $i != j$ where $f comp i = f comp j => i != j$ now that we know $i$ and $j$ are distinct, we can see $h$ is also not monic as $h comp i = h comp j cancel(=>) i = j$ thus proven by contrapositive ] #proof(name: [if $h$ is epic, so is $g$])[ similar argument as monic ] #proof(name: [if $h$ is monic, $g$ need not be.])[ #figure( diagram( cell-size: 10mm, $ E edge("r", i_c, ->, bend: #30deg) edge("r", j_c, ->, bend: #{-30deg}) & A edge("r", f, ->) edge("dr", h, ->) & B edge("d", g, ->) & D edge("l", i_b, ->, bend: #30deg) edge("l", j_b, ->, bend: #{-30deg}) \ & & C $, ), ) it is very well possible $i_c = j_c$ and $i_b != j_b$ ] #exercise("5")[Show that the following are equivalent for an arrow $arr(f,A,B)$ in any category] #grid( columns: (1fr, 1fr), align: (left, left), [ - $f$ is an isomorphism - $f$ is both a mono and a split epi - $f$ is both a split mono and an epi - $f$ is both a split mono and a split epi #figure( diagram( cell-size: 10mm, $ A edge("r", f, ->) edge("dr", 1_A, ->) #edge("dr", $g comp f$, "->", label-side: right, bend: -30deg) & B #edge("dr", $1_B$, "->", label-side: right) #edge("d", $g$, "->", label-side: left) edge("dr", f comp g, ->, bend: #30deg)\ & A #edge("r", $f$, "->", label-side: right) & B $, ), )], $ "isIso"(f) &= g comp f = 1_A and f comp g = 1_B \ &= (f comp g comp f = f comp 1_A) and (f comp g = 1_B) \ &= "isMono"(f) and "isSplitEpi"(f) \ &= g comp f = 1_A and f comp g = 1_B \ &= (g comp f = 1_A) and (f comp g comp f = 1_B comp f) \ &= "isSplitMono"(f) and "isEpi"(f) \ &= (g comp f = 1_A) and (f comp g = 1_B) \ &= "isSplitMono"(f) and "isSplitEpi"(f) $, ) #exercise("13")[In any category with binary products, show directly that $A times (B times C) iso (A times B) times C$] #figure( diagram( cell-size: 12mm, $ B & A times B edge("l", pi_B, ->) edge("d", pi_A, ->) & (A times B) times C edge("l", pi_(A,B), ->) edge("r", pi_C, ->) edge("dl", ->) edge("dr", ->) & C & X edge("l", h, ->) edge("d", g, ->) edge("dl", "-->") \ X edge("u", g, ->) edge("ur", "-->") edge("r", f, ->) & A & A times (B times C) edge("l", pi_A, ->) edge("r", pi_(B,C), ->) edge("ul", ->) edge("ur", ->) edge("u", upright("assoc"), "<-->") & B times C edge("r", pi_B, ->) edge("u", pi_C, ->) & B $, ), ) $ "UMP"(pi_(A,B),pi_C) &= upright("assoc") \ "UMP"(pi_A,pi_(B,C)) &= upright("assoc")^(-1) \ (A times B) times C iso A times (B times C) &= "isIso"(upright("assoc")) $ _Note_: there is some abuse of notation where different projection morphisms are notated with the same name. But the UMPs holds nonetheless. #exercise("14")[For any index set $I$, define the ...] #proof(name: [For any index set $I$, define the prouct $Pi_(i in I) X_i$ of an $I$-indexed family of objects $(X_i)_(i in I)$ in a category, by giving a UMP generalizing that for binary products (the case $I=2$)])[ $ "UMP"_I ( arrow(f) ) &= cases( "UMP"_(I-1) (arrow(f) slash {f_1, f_2} union {"UMP"(f_1,f_2)}) & #h(1em) I > 1, f_1 ) $ this is left associative e.g. $ "UMP"_3 ({f,g,h}) &= "UMP"_2 ({f times g, h}) \ &= "UMPI"_1 ({(f times g) times h)}) \ &= (f times g) times h $ we can define $"UMP"_I$ via right associativity by popping the last two elements instead. ] #proof(name: [Show that in $Set$, for any set $X$ the set $X^I$ of all functions $arr(f,I,X)$ has this UMP, with respect to the "constant family" where $X_i = X$ for all $i in I$, and thus $X^I iso Pi_(i in I) X$])[ $ "UMP"_I (X^I) &= "UMP"_I ({f_1,f_2,f_3 ...}) \ &= "UMP"_(I-1) ({f_1 times f_2, f_3, ...}) \ &= "UMP"_1({f_1 times f_2 times f_3 ...}) \ &= f_1 times f_2 times f_3 ... $ ] #exercise("15")[Given a category $upright(bold(C))$ with objects $A$ and $B$, define the category $upright(bold(C))_(A,B)$...] #figure( diagram( cell-size: 10mm, $ & X edge("dl", x_1, ->) edge("dr", x_2, ->) edge("d", u, "-->") \ A & 1 edge("l", pi_A, ->) edge("r", pi_B, ->) & B $, ), ) $ forall X. "UMP"(x_1,x_2) &= u \ 1_X &: (X,x_1,x_2) -> (1, pi_A, pi_B) $ #exercise("17")[In any category $upright(bold(C))$ with products, define the graph ...] we can deduce the following if $f$ is monic $ "isMonic"(1_A times f) &= (1_A times f) comp g = (1_A times f) comp h => g = h \ &= (1_A comp g times f comp g) = (1_A comp h times f comp h) => g = h \ &= 1_A comp g = 1_A comp h and f comp g = f comp h => g = h \ &= g = h and f comp g = f comp h => g = h \ &= f comp g = f comp h => g = h $ thus $f$ must be monic by the contrapositive $ g != h => f comp g != f comp h $ then we have the functor $ Gamma(A) &= A \ Gamma(f) &= "im"(1_A times f) $ that preserves the structure #figure( table( columns: 2, align: (left, left), [structure], [definition], [domain], $arr(Gamma(f),Gamma(A), Gamma(B))$, [identity], $Gamma(1_A) = "im"(1_A times 1_A) = 1_(Gamma(A))$, [composition], $Gamma(g comp f) = Gamma(g) comp Gamma(f)$, ), ) #proof(name: "composition")[ $ Gamma(g comp f) &= "im"(1_A times g comp f) \ &= "im"((1_A times g) comp (1_A times f)) \ &= "im"(1_A times g) comp "im"(1_A times f) \ &= Gamma(g) comp Gamma(f) $ ] #exercise("18")[Show that the forgetful functor $arr(U, Mon,Set)$ from ...] If $U$ is a forgetful functor then $U(N)$ is the underlying set of the monoid. The elements of the underlying set can be defined by the representable objects in the category of monoids i.e. morphisms from the terminal object. $ Hom(Mon, s: 1, t: N) iso U(N) $ Then, $U(f)$ is the underlying function of the monoid homomorphism $arr(f,N,M)$. We can construct the functions as follows. $ {Hom(Mon, s: 1, t: N) -> Hom(Mon, s: 1, t: M)} iso U(f) $ In the category of monoids we know that: $ p &= (pi_N comp p, pi_M comp p) $ #figure( diagram( cell-size: 10mm, $ N & N times M edge("l", pi_N, ->) edge("r", pi_M, ->) & M \ & X edge("lu", ->) edge("ru", ->) edge("u", u, "-->") $, ), ) Let $arr(x,1,X)$, thus we can construct $ {u comp x} &iso {pi_N comp u comp x} times {pi_M comp u comp x} \ Hom(Mon, s: 1, t: N times M) &iso Hom(Mon, s: 1, t: N) times Hom(Mon, s: 1, t: M) \ U(N times M) &iso U(N) times U(M) $ Thus $U$ preserves products
https://github.com/Enter-tainer/typstyle
https://raw.githubusercontent.com/Enter-tainer/typstyle/master/tests/assets/unit/show/show-closure.typ
typst
Apache License 2.0
#show heading.where( level: 1 ): it => box(width: 100%)[ #v(0.5em) #set align(center) #set heading(numbering: "一") #it #v(0.75em) ]
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/tutor/0.3.0/lib.typ
typst
Apache License 2.0
#let default-config() = { let cfg = ( sol: false, level: 1, utils: ( lines: ( spacing: 10mm ), checkbox: ( sym_true: "☒", sym_false: "☐", sym_question: "☐" ), totalpoints: ( outline: false, ), ) ) return cfg } #let checkbox(cfg, answer) = { if cfg.sol { if answer { cfg.utils.checkbox.sym_true } else { cfg.utils.checkbox.sym_false } } else { cfg.utils.checkbox.sym_question } } #let points(num) = { let c = state("points", 0.0) c.update(points => points + num) [ #num ] } #let totalpoints(cfg) = { locate(loc => { let c = state("points", 0.0) let points = c.final(loc) if cfg.utils.totalpoints.outline { points = points/2 } [ #points ] } ) } #let lines(cfg, count) = { let content = [] let spacing = cfg.utils.lines.spacing if type(spacing) == "string" { spacing = eval(spacing) } for n in range(count) { content += [#v(spacing) #line(length:100%) ] } return content }
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/accelerated-jacow/0.1.0/jacow.typ
typst
Apache License 2.0
/* * Typst template for papers to be published with JACoW * * Based on the JACoW guide for preparation of papers. * See https://jacow.org/ for more information. * Requires Typst version 0.12 for compiling * * This document is licensed under CC BY 4.0. * https://creativecommons.org/licenses/by/4.0 * Copyright (c) 2024 <NAME> (github.com/eltos) */ #let jacow( paper-size: "jacow", title: "Title goes here", authors: (), affiliations: (), abstract: none, funding: none, body, ) = { // ensure author affiliation is a list authors = authors.map(a => { if type(a.affiliation) == str { a.insert("affiliation", (a.remove("affiliation"),)); }; a }) // sort authors: corresponding first, then alphabetic by last name authors = authors.sorted(key: a => if "email" in a {" "} + a.name.split(" ").last()) /// Helper for custom footnote symbols let titlenotenumbering(i) = { if i < 6 { ("*", "#", "§", "¶", "‡").at(i - 1) + " " } else { (i - 4)*"*" + " " } } /// Capitalize all characters in the text, e.g. "THIS IS AN ALLCAPS HEADING" let allcaps = upper /// Capitalize major words, e.g. "This is a Word-Caps Heading" let wordcaps(body) = { if body.has("text") { let txt = lower(body.text) let words = txt.matches(regex("^()(\\w+)")) // first word words += txt.matches(regex("([.:;?!]\s+)(\\w+)")) // words after punctuation words += txt.matches(regex("()(\\w{4,})")) // words with 4+ letters for m in words { let (pre, word) = m.captures word = upper(word.at(0)) + word.slice(1) txt = txt.slice(0, m.start) + pre + word + txt.slice(m.end) } txt } else if body.has("children") { body.children.map(it => wordcaps(it)).join() } else { body } } // metadata set document(title: title, author: authors.map(author => author.name)) // layout set page(..{ if paper-size == "a4" { (paper: "a4", margin: (top: 37mm, bottom: 19mm, x: 20mm)) } else if paper-size == "us-letter" { (paper: "us-letter", margin: (y: 0.75in, left: 0.79in, right: 1.02in)) } else if paper-size == "jacow" { // jacow size is intersection of both (width: 209.9mm, height: 279.4mm, margin: (x: 20mm, y: 0.75in)) } else { panic("Unsupported paper-size, use 'a4', 'us-letter' or 'jacow'!") }} ) set text( font: "<NAME>", size: 10pt ) set par( first-line-indent: 1em, justify: true, spacing: 0.65em, leading: 0.5em, ) // TODO: footnotes should not span both columns, but be in left column only show footnote.entry: set align(left) set footnote.entry( separator: [ #set align(left) #line(length: 20%, stroke: 0.5pt) ] ) /* * Title */ set align(center) text(size: 14pt, weight: "bold", [ #allcaps(title) #if funding!=none{ footnote(numbering: titlenotenumbering, funding) } ]) v(8pt) /* * Author list */ text(size: 12pt, { let also_at = (); for aff in authors.map(a => a.affiliation.at(0)).dedup() { for auth in authors.filter(a => a.affiliation.at(0) == aff) { // author name with superscripts auth.name for aff2 in auth.affiliation.slice(1) { if aff2 not in also_at { also_at += (aff2,) } super(str(also_at.len())) } if "email" in auth {footnote(numbering: titlenotenumbering, auth.email)} ", " } // primary affiliations affiliations.at(aff) + "\n" }; // secondary affiliations for i in range(also_at.len()) { super(str(i + 1)) "also at " + affiliations.at(also_at.at(i)) + "\n" }; }) v(8pt) /* * Contents */ // paragraph set align(left) show: columns.with(2, gutter: 0.2in) // headings show heading: it => [ #if it.level == 1 { // SECTION HEADINGS set align(center) set text(size: 12pt, weight: "bold", style: "normal") block( below: 2pt, allcaps(it.body) ) h(1em) } else if it.level == 2 { // Subsection Headings set align(left) set text(size: 12pt, weight: "regular", style: "italic") block( below: 2pt, wordcaps(it.body) ) h(1em) } else if it.level == 3 { // Third-Level Headings v(6pt) text(size: 10pt, weight: "bold", style: "normal", wordcaps(it.body)) h(0.5em) } ] // lists show list: set list(indent: 1em) // figures show figure: set figure(placement: auto) show figure.caption: it => { set par(first-line-indent: 0em) layout(size => context { align( // center for single-line, left for multi-line captions if measure(it).width < size.width { center } else { left }, block(width: size.width, it) ) }) } // tables show figure.where( kind: table ): set figure.caption(position: top) // references set ref(supplement: it => { if it.func() == figure and it.kind == image { "Fig." } else if it.func() == math.equation { "Eq." } else { it.supplement } }) // abstract if abstract != none [ == Abstract #abstract ] // references show bibliography: set text(9pt) set bibliography(title: [References], style: "jacow.csl") show link: it => text(font: "DejaVu Sans Mono", size: 7.2pt, it) body } // numbered equations #let eqnum(eq) = math.equation(block: true, numbering: "(1)", eq)
https://github.com/jamesrswift/blog
https://raw.githubusercontent.com/jamesrswift/blog/main/assets/2024-07-03-sparklines/data.typ
typst
MIT License
#let raw = csv("ETH-GBP.csv", row-type: dictionary) #let converted = raw.map((it) =>(: ..it, Date: datetime( ..("year", "month", "day").zip( it.Date.matches( regex("(\d{4})-(\d{2})-(\d{2})") ).first().captures ).fold( (:), (acc, it) => ( ..acc, (it.first()): int(it.last()) ) ) ) )) #let converted = converted.map((it)=>(: ..it, Day: it.Date.ordinal() + (it.Date.year() - 2023) * 365, Date-Display: it.Date.display() )) #let series(key) = converted.map( (it) => ( it.Day, float(it.at(key)) ) )
https://github.com/Nyovelt/Resume2024
https://raw.githubusercontent.com/Nyovelt/Resume2024/main/resume.typ
typst
MIT License
#import "chicv.typ": * #show: chicv = Feiran (<NAME> #fa[#envelope] <EMAIL> | #fa[#github] #link("https://github.com/nyovelt")[github.com/nyovelt] | #fa[#globe] #link("https://feiranq.in")[https://feiranq.in] | #fa[#linkedin] #link("https://www.linkedin.com/in/feiranqin/")[feiranqin] == Education #cventry( tl: "North Carolina State University", tr: "2023/08 - 2028/05 (Expected)", bl: "Ph.D. in Computer Science", br: "Raleigh, NC, USA" )[ - Advisor: #link("https://dance.csc.ncsu.edu/gu/")[Prof. Xiaohui (Helen) Gu] ] #cventry( tl: "University of Illinois Urbana-Champaign", tr: "2022/08 - 2023/01", bl: "Exchange Student, Visiting Researcher", br: "Champaign, IL, USA" )[ - Advisor: #link("https://tianyin.github.io/")[Prof. <NAME>] ] #cventry( tl: "ShanghaiTech University", tr: "2019/09 - 2023/06", bl: "B.S. in Computer Science and Technology", br: "Shanghai, China" )[ - Relevant Courses: Operating Systems, Advanced Distributed System, Computer Architecture III ] == Research Experience #cventry( tl: "NCSU Dance Lab", tr: "2023/08 - Present", bl: "Research Assistant, Advisor: Prof. Xiaohui (<NAME>", br: "Raleigh, NC, USA" )[ - *Distributed System Reliability & System for LLM*: - Developing methods to automatically identify and resolve reliability issues in Generative-AI-distributed systems. ] #cventry( tl: "UIUC Xlab", tr: "2022/08 - 2023/03", bl: "Research Assistant, Advisor: Prof. <NAME>", br: "Champaign, IL, USA" )[ - *Multiplex resources for Serverless #iconlink( "https://github.com/xlab-uiuc/mxfaas", text: "mxfaas", icon: github)*: - Implemented and evaluated MXFaaS on KNatice, a platform that enables efficient use of processor cycles, I/O bandwidth, and memory state. - Achievements include a *5.2 \×* speed-up in execution, *7.4 \×* reduction in P99 tail latency, *4.8 \×* improvement in throughput, and *3.4 \×* decrease in memory usage compared to standard serverless platforms. - Organized and documented code on GitHub, successfully achieving all three ACM badges for *ISCA\' 23* artifact evaluation. ] #cventry( tl: "ShanghaiTech HPC Club", tr: "2020/10 - 2023/06", bl: "Core Team Member, Advisor: Prof. <NAME>", br: "Shanghai, China" )[ - *DevOps*: Managed and maintained two high-performance computers. Responsibilities included system administration, hardware maintenance, hardware innovation, package management, and resource monitoring. - *ISC 22 Student Cluster Competition*: Led the ICON project, focusing on an MPI-bounded climate and weather system program. Conducted profiling-guided optimizations on Intel, AMD, and NVIDIA devices within Niagara and Bridges-2 Clusters, resulting in a 30% performance improvement over the baseline. Achievements include significantly reduced MPI wait times, improved CPU affinity, and securing 4th place among international competitors. - *AI for Systems Research*: Designed an AI-Scheduler using DQN algorithms to optimize HPC cluster job response times, leveraging program CUDA kernel profiling and historical traffic data. Achieved a 10% improvement in response times in the #iconlink( "https://github.com/murez/DASH", text: "early version", icon: github). ] #cventry( tl: "ShanghaiTech Zlab", tr: "2022/02 - 2022/06", bl: "Student Research Intern, Advisor: Prof. <NAME>", br: "Shanghai, China" )[ - *2D Gesture Tracking Development*: - Researched on a 2D gesture tracking system using commercial BLE 5.3 devices for remote video meeting users during the pandemic. - *Image Encryption for Enhanced Privacy Control*: Developed and integrated image encryption algorithms using OpenCV, based on Paper 1 and Paper 2, into AOSP. Enhanced the Camera2 API and interfaced with Android video streams, leveraging these algorithms for fine-grained privacy control. ] == Teaching Experience #cventry( tl: "North Carolina State University", tr: "2023/08 - Now", bl: "Teaching Assistant", br: "Raleigh, NC, USA" )[ - *CSC 236*: Computer Organization and Assembly Language for Computer Scientists with #link("https://www.csc.ncsu.edu/people/cbatist4")[Prof. <NAME> de Melo]. ] == Professional Activities - *OSDI/ATC 2023*: Artifact Evaluation Committee - *SOSP 2023*: Artifact Evaluation Committee - *EuroSys 2023*: Shadow Program Committee == Programming Skills - *Programming Languages*: C/C++, Assemmbly, Python, C\#, Go, JavaScript, Java, Rust - *System-level Development Stacks*: Linux Development, QEMU, GDB, Make, Linker, Soot, LLVM - *Frontend Web Development Stacks*: React, Vue - *Backend Development Stacks*: PostgreSQL, Redis - *DevOps Stacks*: Caddy, Ceph, Docker, GitLab, Grafana, Kubernetes, Cloud-init - *High Performance Computing Stacks*: MPI, Spack == Contests and Awards - *2nd*, Intel Innovation Hackathon, Beijing, China #h(1fr) 2020/12 - *4th*, ISC 2022 Student Cluster Competition, Hamburg Germany (Virtual) #h(1fr) 2022/06 - *8th*, ISC 2024 Student Cluster Competition, Hamburg Germany (Virtual) #h(1fr) 2022/06 - As the first participation of the NC State University Team #align(right, text(fill: gray)[Last Updated on #today()])
https://github.com/jomaway/typst-bytefield
https://raw.githubusercontent.com/jomaway/typst-bytefield/main/lib/asserts.typ
typst
MIT License
#import "@preview/oxifmt:0.2.0": strfmt #let assert-dict(arg, var_name) = { assert.eq(type(arg),dictionary, message: strfmt("expected {} to be a dictionary, found {}",var_name, type(arg))); } /// fail if field is not a bf-field #let assert-bf-field(field) = { assert-dict(field, "field") let bf-type = field.at("bf-type", default: none) assert.eq(bf-type, "bf-field", message: strfmt("expected bf-type of 'bf-field', found {}",bf-type)); let field-type = field.at("field-type", default: none) assert.ne(field-type, none, message: strfmt("could not find field-type at bf-field {}", field)); } /// fail if field is not a bf-field of type data-field #let assert-data-field(field) = { assert-bf-field(field); let field-type = field.at("field-type", default: none) assert.eq(field-type, "data-field", message: strfmt("expected field-type == data-field, found {}",field-type)) let size = field.data.size; assert(type(size) == int, message: strfmt("expected integer for parameter size, found {} ", type(size))) } /// fail if field is not a bf-field of type data-field #let assert-note-field(field) = { assert-bf-field(field); // Check for correct field-type let field-type = field.at("field-type", default: none) assert.eq(field-type, "note-field", message: strfmt("expected field-type == note-field, found {}",field-type)) // Check if it has a valid anchor id let row = field.data.row assert(type(row) == int, message: strfmt("expected integer for parameter anchor, found {} ", type(row))) // Check side assert(field.data.side == left or field.data.side == right, message: strfmt("expected left or right for the notes side argument.")) } /// fail if it does not match #let assert-header-field(field) = { assert-bf-field(field); } /// fail if cell is not a bf-cell #let assert-bf-cell(cell) = { assert-dict(cell, "cell"); // Check bf-type let bf-type = cell.at("bf-type", default: none) assert.eq(bf-type, "bf-cell", message: strfmt("expected bf-type of 'bf-cell', found {}",bf-type)); // Check cell-type is not none let cell-type = cell.at("cell-type", default: none) assert.ne(cell-type, none, message: strfmt("could not find cell-type at bf-cell {}", cell)); }
https://github.com/s-ccs/consentform_gh_action
https://raw.githubusercontent.com/s-ccs/consentform_gh_action/main/_extensions/custom/typst-show.typ
typst
#show: article.with( $if(title)$ title: "$title$", $endif$ )
https://github.com/Myriad-Dreamin/typst.ts
https://raw.githubusercontent.com/Myriad-Dreamin/typst.ts/main/fuzzers/corpora/math/opticalsize_00.typ
typst
Apache License 2.0
#import "/contrib/templates/std-tests/preset.typ": * #show: test-page // Test transition from script to scriptscript. #[ #set text(size:20pt) $ e^(e^(e^(e))) $ ] A large number: $e^(e^(e^(e)))$.
https://github.com/Kasci/LiturgicalBooks
https://raw.githubusercontent.com/Kasci/LiturgicalBooks/master/SK/zalmy/Z089.typ
typst
Pane, stal si sa nám útočišťom \* z pokolenia na pokolenie. Prv než sa vrchy zrodili a povstali zem i svet, \* ty, Bože, si od vekov až naveky. Človeka vraciaš do prachu \* a hovoríš: „Vráťte sa, synovia človeka!“ Veď tisíc rokov je u teba ako deň včerajší, čo sa pominul, \* a ako jedna nočná stráž. Uchvacuješ ich: sú ako ranný sen; \* sú ako bylina v rozpuku: ráno kvitne a rastie, \* večer vädne a usychá. Hynieme vskutku pre tvoj hnev \* a desí nás tvoje rozhorčenie. Naše neprávosti si postavil pred svoj zrak \* a pred jas svojej tváre naše tajné chyby. V tvojom hneve sa nám míňajú všetky dni \* a naše roky plynú ako vzdych. Vek nášho žitia je sedemdesiat rokov \* a ak sme pri sile, osemdesiat. No zväčša sú len trápením a trýzňou, \* ubiehajú rýchlo a my odlietame. Kto pozná silu tvojho hnevu \* a s bázňou prijme tvoje rozhorčenie? A tak nás nauč rátať naše dni, \* aby sme našli múdrosť srdca. Obráť sa k nám, Pane; dokedy budeš meškať? \* Zľutuj sa nad svojimi služobníkmi. Hneď zrána nás naplň svojou milosťou \* a budeme jasať a radovať sa po všetky dni života. Rozveseľ nás za dni, keď si nás ponížil, \* za roky, keď sme okusovali nešťastie. Nech sa tvoje dielo zjaví tvojim služobníkom \* a ich deťom tvoja nádhera. Nech je nad nami dobrotivosť Pána, nášho Boha; \* upevňuj dielo našich rúk, dielo našich rúk upevňuj!
https://github.com/noahjutz/AD
https://raw.githubusercontent.com/noahjutz/AD/main/notizen/sortieralgorithmen/bubble_sort.typ
typst
#import "/components/num_row.typ": num_row #import "/config.typ": theme #let row_swap(nums, i, j, is_swap) = num_row( nums, hl_primary: i, hl_secondary: j, arrow: ( from: j, to: j+1, direction: "bidirectional", color: if is_swap {black} else {theme.fg_light} ) ) #let row_done(nums, i) = num_row( nums, hl_success: range(i), ) #let rows(nums) = { for i in range(nums.len()-1) { for j in range(i, nums.len()-1).rev() { if nums.at(j) > nums.at(j+1) { row_swap(nums, i, j, true) let h = nums.at(j) nums.at(j) = nums.at(j+1) nums.at(j+1) = h } else { row_swap(nums, i, j, false) } } row_done(nums, i+2) } } #let bubble_sort(..nums) = table( columns: (auto,) + (1fr, ) * nums.pos().len(), align: center, ..rows(nums.pos()) )
https://github.com/tingerrr/subpar
https://raw.githubusercontent.com/tingerrr/subpar/main/README.md
markdown
MIT License
# subpar Subpar is a [Typst] package for creating sub figures. ```typst #import "@preview/subpar:0.1.1" #set page(height: auto) #set par(justify: true) #subpar.grid( figure(image("/assets/andromeda.jpg"), caption: [ An image of the andromeda galaxy. ]), <a>, figure(image("/assets/mountains.jpg"), caption: [ A sunset illuminating the sky above a mountain range. ]), <b>, columns: (1fr, 1fr), caption: [A figure composed of two sub figures.], label: <full>, ) Above in @full, we see a figure which is composed of two other figures, namely @a and @b. ``` ![ex] ## Contributing Contributions are most welcome, make sure to let others know you're working on something beforehand so no two people waste their time working on the same issue. It's recommended to have [`typst-test`][tt] installed to run tests locally. ## Documentation A guide and API-reference for subpar can be found in it's [manual]. [ex]: /examples/example.png [manual]: ./doc/manual.pdf [Typst]: https://typst.app/ [tt]: https://github.com/tingerrr/typst-test
https://github.com/hewliyang/fyp-typst
https://raw.githubusercontent.com/hewliyang/fyp-typst/main/dataset-curation.typ
typst
#set heading(numbering: "1.") = Dataset Curation <sec-dataset-curation> In this section, we aim to reproduce the NISQA train set, including the latest Blizzard Challenges 2020, 2021 and 2023. In addition, each stimulus is tagged with an additional boolean field denoting whether the original authors allow commercial use of the data or is restricted to non-commercial purposes such as academic reasearch only. The datasets are compiled to a NISQA compliant format for ease of training, and are uploaded to the HuggingFace dataset hub for public access. In particular, a Comma Seperated Value (CSV) file is provided with fields - `filepath_deg`: the relative file path to each stimulus in the form of a `.wav` file - `mos`: per-stimuli level MOS-N for the given stimulus - `permissive`: boolean value, `True` indicating permissive commercial use and `False` otherwise Each dataset repository contains the necessary information for downloading and extracting the raw data into a training ready format. A summary of the datasets can be found in the following table: #figure( caption: "Summary of Curated Datasets from the NISQA Paper", kind: table, [ #set text(size: 10.5pt) #table( columns: 5, [Source], [Years], [HuggingFace Repository], [Size (GB)], [\# Stimuli], [Blizzard Challenge], [2008, 2009, 2010 #linebreak()2011,2012,2013#linebreak()2016,2019,2020,#linebreak()2021,2023], [#link("https://huggingface.co/datasets/hewliyang/nisqa-blizzard-challenge-mos")[hewliyang/nisqa-blizzard-challenge-mos]], [2.78GB], [13,551], [Voice Conversion Challenge (VCC)], [2016,2018], [#link("https://huggingface.co/datasets/hewliyang/nisqa-vcc-mos")[hewliyang/nisqa-vcc-mos]], [2.08GB], [20,160], )], ) == Blizzard Challenge The Blizzard Challenge is an annual competition that focuses on the development and evaluation of TTS systems. It was established in 2005 by the Center for Speech Technology (CSTR) at the University of Edinburgh and continues to attract participants from tertiary institutions and industry labs worldwide. The challenge aims to advance the state of TTS technology, whereby participants present innovative solutions to voice conversion tasks. The primary goal of the Blizzard Challenge is to promote research in TTS synthesis by providing a standardized dataset and evaluation framework, enabling researchers to compare the performance of various TTS systems on a level playing field. This fosters collaboration, and facilititates the sharing of ideas and techniques. The structure of the Blizzard Challenge varies year-on-year, but generally includes multiple tracks and subtasks that cover different languages and domains. It is important to note that the organizers also collect other types of subjective metrics including speaker similarity, intelligibility and objective metrics like WER and CER. For the purposes of this work, these metrics are not included. The Blizzard Challenge generally includes multiple tracks and subtracks that cover different aspects of TTS, such as low-resource scenarios, multi-lingual and expressive speech subtasks. Each participants submissions are then curated and a listening test is conducted for evaluation. In the earlier years such as @king2008blizzard, testing was done in a controlled lab environment, but recent Blizzard Challenges such as @perrotin23_blizzard has moved on to crowdsourced evaluation as we have seen previously. The CSTR \@ The University of Edinburgh hosts records of these tests on their web portal at #link("https://www.cstr.ed.ac.uk/projects/blizzard/data.html"). In general, the files when downloaded and uncompressed has a folder structure like: ``` Blizzard_2008 ├── statistics.csv // listening test statistics └── A // system identifier └── submission_directory └── english // language └── full // track name └── news // subtask name ├── news_2008_0046.wav ├── news_2008_0050.wav // stimuli, denoted by ID └── news_2008_0058.wav ``` Note that the folder structure is actually quite messy and not completely coherant year-on-year and that the illustration above is only for demonstration purposes. We successfully collected all stimuli from all years, with the exception of 2014 @prahallad2014blizzard and 2015 @prahallad2015blizzard. This was due to the fact that only system level MOS was available. These years were also the years with the most stimuli, with 8990 and 5200 respectively. For example, in 2014 the challenge had 131 systems and 8990 stimuli, which would mean that for each system, the label for the 8990 distinct stimuli would take on a singular value. We propose that this is not very meaningful for training as it induces bias through an unbalanced train set, and could be a chief reason for the poor per-stimuli performance of NISQA. On the other hand, we do in fact collect 2016 data despite this, due to the relatively lower number of stimuli. The following table summarizes the new datasets added to the original Blizzard collection described in @Mittag_2020. #figure( caption: "New datasets added to NISQA Blizzard collection", kind: table, [ #set text(size: 10.5pt) #table( columns: 6, [Dataset], [Language], [Total Duration (minutes)], [Avg Duration (s)], [\# Sys], [\# Files], [Blizzard 2020], [`zh`], [90.4], [6.8], [26], [795], [Blizzard 2021], [`en`, `es`], [48.6], [5.2], [24], [556], [Blizzard 2023], [`fr`], [83.4], [3.4], [38], [1460], )], ) Note that the challenge was not conducted in 2022. == Voice Conversion Challenge (VCC) The VCC serves a similar purpose to the Blizzard Challenge focusing on subtasks such as cross-lingual voice conversion. In recent years, VCC has pivoted to assesing singing voices @huang2023singingvoiceconversionchallenge and not speech . In addition, the organizers of VCC 2020 @yi2020voice did not release the labeled evaluation sets. Curating the test sets for VCC was relatively simpler compared to Blizzard. We validate that our metrics match up to the reported numbers in the NISQA paper as well. #figure( caption: "Summary of VCC 2016 and 2018 datasets", kind: table, [ #set text(size: 10.5pt) #table( columns: 6, [Dataset], [Language], [Total Duration (minutes)], [Avg Duration (s)], [\# Sys], [\# Files], [VCC 2018 HUB], [`en`], [108], [3.46], [52], [2000], [VCC 2018 SPO], [`en`], [112], [4.23], [28], [2000], [VCC 2016], [`en`], [1428], [3.73], [20], [26028], )], ) Note that for VCC 2016, no per-stimuli level ratings were released. However, we still include it as it was used as a test set and not in training. == PhySyQx The PhySyQx project was originally meant to study the relationship between speech quality and brain activitiy, but also happens to include some subjective scores along with it's stimuli, including emotion, valence, comprehension, etc. We only take the naturalness MOS, of which there are 36 stimuli level ratings which spans about 12 minutes worth of audio data.
https://github.com/jneug/typst-finite
https://raw.githubusercontent.com/jneug/typst-finite/main/layout.typ
typst
MIT License
#import "util.typ": * // Apply element styles to the context. (e.g. from set-style) #let apply-style(ctx, element) = { if "style" in element { ctx.style = styles.resolve( ctx.style, if type(element.style) == "function" { (element.style)(ctx) } else { element.style } ) } return ctx } // Resolve radii for states by applying styles from other elements. #let resolve-radii(ctx, elements) = { let radii = (:) for element in elements { ctx = apply-style(ctx, element) if "name" in element and "radius" in element { radii.insert(element.name, (element.radius)(ctx)) } } return radii } // A base element for creating layouts. #let base(position, name, anchor, body, children:()) = ( name: name, coordinates: (position,), anchor: anchor, default-anchor: "origin", custom-anchors-ctx: (ctx, pos) => { let anchors = ctx.groups.last().anchors for (k,v) in anchors { anchors.insert(k, vector.add(translate, a)) } anchors.insert("origin", pos) return anchors }, before: (ctx) => { ctx.groups.push(( ctx: ctx, anchors: (:), nodes: body.map((e) => e.at("name", default:none)).filter(is.not-none) )) return ctx }, push-transform: (ctx) => { let t = vector.sub( util.apply-transform(ctx.transform, coordinate.resolve(ctx, position)), util.apply-transform(ctx.transform, (0,0,0)) ) return matrix.mul-mat(matrix.transform-translate(..t), ctx.transform) }, after: (ctx, pos) => { let node = ctx.nodes.at(name) let anchor = if is.n(anchor) {"left"} else {anchor} let translate = vector.sub(node.anchors.default, node.anchors.at(anchor)) let self = ctx.groups.pop() let nodes = ctx.nodes ctx = self.ctx ctx.nodes.insert(name, nodes.at(name)) for name in self.nodes { if name in nodes { let node = nodes.at(name) for (k, a) in node.anchors { node.anchors.insert(k, vector.add(translate, a)) } ctx.nodes.insert(name, node) } } ctx.prev.pt = pos return prepare-ctx(ctx, force:true) }, children: children ) /// Arrange states in a line. /// /// The direction of the line can be set via #arg[dir] either to an #dtype("alignment") /// or a `vector` with a x and y shift. /// /// #example(breakable:true)[``` /// #let aut = range(6).fold((:), (d, s) => {d.insert("q"+str(s), none); d}) /// #finite.automaton( /// aut, /// initial: none, final: none, /// layout:finite.layout.linear.with(dir: right) /// ) /// #finite.automaton( /// aut, /// initial: none, final: none, /// layout:finite.layout.linear.with(dir:(.5, -.2)) /// ) /// ```] /// /// - position (coordinate): Position of the anchor point. /// - dir (vector,alignment,2d alignment): Direction of the line. /// - spacing (float): Spacing between states on the line. /// - name (string): Name for the element to access later. /// - anchor (string): Name of the anchor to use for the layout. /// - body (array): Array of CETZ elements to draw. #let linear( position, name: none, anchor: "left", dir: right, spacing: .6, body ) = { if is.any-type("alignment", "2d alignment", dir) { dir = vector.scale(align-to-vec(dir), spacing) } dir = vector.norm(dir) if is.n(name) { name = "layout" + body.map((e) => e.at("name", default:"")).join("-") } let base = base(position, name, anchor, body) base.children = (ctx) => { let elements = () let at = (0,0) let spacing = vector.scale(dir, spacing) for element in body { ctx = apply-style(ctx, element) if "name" in element and "radius" in element { let r = vector.scale(dir, (element.radius)(ctx)) if at != (0,0) { at = vector.add(at, r) } element.coordinates = (at,) at = vector.add(at, vector.add(r, spacing)) } elements.push(element) } elements } return (base,) } /// Arrange states in a circle. /// /// #example(breakable:true)[``` /// #let aut = range(6).fold((:), (d, s) => {d.insert("q"+str(s), none); d}) /// #grid(columns: 2, gutter: 2em, /// finite.automaton( /// aut, /// initial: none, final: none, /// layout:finite.layout.circular, /// style: (q0: (fill: yellow.lighten(60%))) /// ), /// finite.automaton( /// aut, /// initial: none, final: none, /// layout:finite.layout.circular.with(offset:45deg), /// style: (q0: (fill: yellow.lighten(60%))) /// ), /// finite.automaton( /// aut, /// initial: none, final: none, /// layout:finite.layout.circular.with(dir:left), /// style: (q0: (fill: yellow.lighten(60%))) /// ), /// finite.automaton( /// aut, /// initial: none, final: none, /// layout:finite.layout.circular.with(dir:left, offset:45deg), /// style: (q0: (fill: yellow.lighten(60%))) /// ) /// ) /// ```] /// /// - position (coordinate): Position of the anchor point. /// - dir (alignment): Direction of the circle. Either #value(left) or #value(right). /// - spacing (float): Spacing between states on the line. /// - radius (float,auto): Either a fixed radius or #value(auto) to calculate a suitable the radius. /// - offset (angle): An offset angle to place the first state at. /// - name (string): Name for the element to access later. /// - anchor (string): Name of the anchor to use for the layout. /// - body (array): Array of CETZ elements to draw. #let circular( position, name: none, anchor: "left", dir: right, spacing: .6, radius: auto, offset: 0deg, body ) = { if is.n(name) { name = "layout" + body.map((e) => e.at("name", default:"")).join("-") } let layout = base(position, name, anchor, body) layout.children = (ctx) => { let elements = () let radii = resolve-radii(ctx, body) let n = radii.len() let len = radii.values().fold(0, (s, r) => s + 2 * r + spacing) let radius = radius if is.a(radius) { radius = len / (2*calc.pi) } let at = -radii.values().first() let last = none let last-radius = 0 for element in body { ctx = apply-style(ctx, element) if "name" in element and "radius" in element { let r = radii.at(element.name) let ang = offset + math.map( 0.0, len, 0deg, 360deg, at + r ) element.coordinates = (( radius - radius * calc.cos(ang), if dir == right {radius} else {-radius} * calc.sin(ang), ),) at += 2 * r + spacing } elements.push(element) } elements } return (layout,) } /// Arrange states in rows and columns. /// /// #example[``` /// #let aut = range(6).fold((:), (d, s) => {d.insert("q"+str(s), none); d}) /// #finite.automaton( /// aut, /// initial: none, final: none, /// layout:finite.layout.grid.with(columns:3) /// ) /// ```] /// /// - position (coordinate): Position of the anchor point. /// - columns (integer): Number of columns per row. /// - spacing (float): Spacing between states on the grid. /// - name (string): Name for the element to access later. /// - anchor (string): Name of the anchor to use for the layout. /// - body (array): Array of CETZ elements to draw. #let grid( position, name: none, anchor: "left", columns: 4, spacing: .6, body ) = { if not is.arr(spacing) { spacing = (x: spacing, y: spacing) } else { spacing = (x: spacing.first(), y: spacing.last()) } if is.n(name) { name = "layout" + body.map((e) => e.at("name", default:"")).join("-") } let layout = base(position, name, anchor, body) layout.children = (ctx) => { let elements = () let radii = resolve-radii(ctx, body) let max-radius = calc.max(..radii.values()) let last = none let i = 0 for element in body { ctx = apply-style(ctx, element) if "name" in element and "radius" in element { let (row, col) = ( calc.quo(i, columns), calc.rem(i, columns) ) element.coordinates = (( col * (2*max-radius + spacing.x), row * (2*max-radius + spacing.y) ),) i += 1 } elements.push(element) } return elements } return (layout,) } /// Arrange states in a grid, but alternate the direction in every even and odd row. /// /// #example(breakable:true)[``` /// #let aut = range(6).fold((:), (d, s) => {d.insert("q"+str(s), none); d}) /// #finite.automaton( /// aut, /// initial: none, final: none, /// layout:finite.layout.snake.with(columns:3) /// ) /// ```] /// /// - position (coordinate): Position of the anchor point. /// - columns (integer): Number of columns per row. /// - spacing (float): Spacing between states on the line. /// - name (string): Name for the element to access later. /// - anchor (string): Name of the anchor to use for the layout. /// - body (array): Array of CETZ elements to draw. #let snake( position, name: none, anchor: "left", columns: 4, spacing: .6, body ) = { if not is.arr(spacing) { spacing = (x: spacing, y: spacing) } else { spacing = (x: spacing.first(), y: spacing.last()) } if is.n(name) { name = "layout" + body.map((e) => e.at("name", default:"")).join("-") } let layout = base(position, name, anchor, body) layout.children = (ctx) => { let elements = () let radii = resolve-radii(ctx, body) let max-radius = calc.max(..radii.values()) let last = none let i = 0 for element in body { ctx = apply-style(ctx, element) if "name" in element and "radius" in element { let (row, col) = ( calc.quo(i, columns), calc.rem(i, columns) ) if calc.odd(row) { element.coordinates = (( (columns - col - 1) * (2*max-radius + spacing.x), row * (2*max-radius + spacing.y) ),) } else { element.coordinates = (( col * (2*max-radius + spacing.x), row * (2*max-radius + spacing.y) ),) } i += 1 } elements.push(element) } return elements } return (layout,) } /// Create a custom layout from a positioning function. /// /// See "Creating custom layouts" for more information. /// /// #example(breakable:true)[``` /// #let aut = range(6).fold((:), (d, s) => {d.insert("q"+str(s), none); d}) /// #finite.automaton( /// aut, /// initial: none, final: none, /// layout:finite.layout.custom.with(positions:(..) => ( /// q0: (0,0), q1: (0,5), rest:(rel: (2,-1)) /// )) /// ) /// ```] /// /// - position (coordinate): Position of the anchor point. /// - positions (function): A function #lambda("dictionary","dictionary","array",ret:"dictionary") to compute coordinates for each state.\ /// The function gets the current CETZ context, a dictionary of computed radii for each /// state and a list with all state elements to position. The returned dictionary /// contains each states name as a key and the new coordinate as a value. /// /// The result may specify a `rest` key that is used as a default coordinate. This makes /// sense in combination with a relative coordinate like `(rel:(2,0))`. /// - name (string): Name for the element to access later. /// - anchor (string): Name of the anchor to use for the layout. /// - body (array): Array of CETZ elements to draw. #let custom( position, name: none, anchor: "left", positions: (..) => (:), body ) = { if is.n(name) { name = "layout" + body.map((e) => e.at("name", default:"")).join("-") } let l = base(position, name, anchor, body) l.children = (ctx) => { let radii = resolve-radii(ctx, body) let states = body.filter((e) => "name" in e and "radius" in e) let positions = positions(ctx, radii, states) let default = positions.at("rest", default:(rel:(1,0))) let elements = () for element in body { ctx = apply-style(ctx, element) if "name" in element { element.coordinates = (positions.at(element.name, default:default),) } elements.push(element) } return elements } return (l,) } #let group( position, name: none, anchor: "left", grouping: 5, spacing: .8, layout: linear.with(dir:bottom), body ) = { if is.n(name) { name = "layout" + body.map((e) => e.at("name", default:"")).join("-") } let base = base(position, name, anchor, body) base.children = (ctx) => { let groups = () let rest = () if is.int(grouping) { for (i, element) in body.enumerate() { if calc.rem(i, grouping) == 0 { groups.push(()) } groups.last().push(element) } } else if is.arr(grouping) { // Collect States into groups for (group) in grouping { groups.push(()) for element in body { if "name" in element and element.name in group { groups.last().push(element) } } } for element in body { if "name" not in element or not grouping.any((g) => element.name in g) { rest.push(element) } } } let elements = () let last-name = none for (i, group) in groups.enumerate() { let group-layout if is.arr(layout) { if layout.len() > i { group-layout = layout.at(i) } else { group-layout = layout.at(-1) } } else { group-layout = layout } if is.n(last-name) { elements += group-layout(position, anchor: "left", group) } else { elements += group-layout((rel:(spacing,0), to:last-name+".right"), anchor: "left", group) } last-name = elements.last().name } return elements + rest } return (base,) }
https://github.com/polarkac/MTG-Stories
https://raw.githubusercontent.com/polarkac/MTG-Stories/master/stories/051%20-%20March%20of%20the%20Machine/006_Ikoria%3A%20Survival%20of%20the%20Fittest.typ
typst
#import "@local/mtgstory:0.2.0": conf #show: doc => conf( "Ikoria: Survival of the Fittest", set_name: "March of the Machine", story_date: datetime(day: 20, month: 04, year: 2023), author: "<NAME>", doc ) It had been a hard day. Their column—such a formal name for a line of filthy, exhausted men, women, and children—snaked out between the spires of jagged rock breaking up the horizon line, monoliths shaped by the fires and quakes that regularly scoured the surface of Raugrin until only the most resilient creatures survived. #emph[But they do survive] , thought <NAME>, walking alongside one of the wagons heaped high with relics from their life in Drannith. From before the invaders came. #emph[Just as we will. As we must.] Her own mount had gone down miles back, mouth frothing with red foam, and she had refused to take another. The crushed volcanic glass lining the path was no kinder to leather boots than it had been to hooves, but still, she would walk. She had asked that much of her people, the people of Drannith; if they could cross this blasted hellscape on foot, so would she. <NAME>, they called this. The terror road. It was a hard place, and it had been a hard day, but somewhere up ahead waited the thick walls and bristling spears of Lavabrink, and another chance for them. Another chance at holding the gates. At surviving. Farther up the line, she spotted <NAME> riding toward her at a trot, grimacing and muttering with each bounce of the saddle. "News?" said Jirina, dispensing with the typical formalities. She didn't have the energy. "General Kudro," said Bryd, snapping out a smart salute that nevertheless seemed somehow petulant. "According to the reports of our outriders, Lavabrink is still half a day's march. We will be there by nightfall." Half a day's march. It seemed so easy, when one said it like that. If she could just keep her people together another handful of hours, they would be safe. Or at least, they would have another chance at safety. "General," said Bryd. "If you'll permit me to speak my mind more frankly than my rank might—" "Just say it, Bryd. I can walk for a few hours more, but you're going to bring me to the limit of my endurance if you keep that up." He bristled. "Very well. There are many wounded in our column, and many sick. Both are slowing us down. Perhaps it would be wise to send a detachment of soldiers ahead, to prepare Lavabrink for our arrival." "We need all the fighters we can muster here," said Jirina. "Those wounded and sick you mention won't be able to fend off an attack on their own." Bryd's horse shuffled a bit in place. "I beg your pardon, General, but if that #emph[thing ] catches up to us, there will be no fight. Only slaughter." Her feet ached. Her shoulders burned under the weight of her armor. "Then we'd better hope Vivien and her new friends are successful in their hunt." "How can you trust her?" Bryd hissed. "She knows nothing of our people, nothing of what we have #emph[sacrificed] —" "Enough!" spat Jirina, her patience at an end. "We have few enough allies as it is. I won't have you discarding one of our strongest on baseless paranoia!" Bryd's lip curled. After a long moment, he turned and seized the reins—but before he could ride off, a scream rose from somewhere behind them. Panic began to roll down the caravan in waves as another sound followed: an awful, reverberating howl, like sheet metal and beast all at once. Jirina ripped the sword from her sheath. "Coppercoats!" she called. "To arms!" #emph[To war. To slaughter. To endless, endless death.] #v(0.35em) #line(length: 100%, stroke: rgb(90%, 90%, 90%)) #v(0.35em) Vivien pressed her ear to the ground and closed her eyes, smelling sulfur, soil, the iron tang of the volcanic earth. There: impact, somewhere close. And then, a long breath later, again: #emph[Thoom. Thoom.] Like thunder creeping over the plains. She straightened and wiped her cheek. Behind her, men and women stood from what little cover the scrub grass offered on their little hilltop. Goggles, masks, and hoods rendered them featureless. Most carried long spears tipped with a wicked barbed head. Some had bows slung around their shoulders, and little bottles of every imaginable poison dangling from bandoliers. When the time came, every arrow would be doused in three separate agents before embarking on its lethal flight. They were killers to a one, people who made their living going into the wild and culling anything that might be considered a threat to humanity. Not hunters so much as exterminators, and under normal circumstances Vivien would have been their sworn enemy. #emph[But now, they are just another arrow in my quiver.] "He's close. Within a mile. Take your positions." Without a word, they fanned out in a careful crouch, barely making a sound save for the whisper of grass against dark clothing. Within a minute they were gone, leaving her alone with the man they called their leader. Ikoria's most accomplished monster hunter wasn't a particularly tall man, but his shoulders were broad and packed densely with muscle. His hair was swept back behind a high forehead. That ridiculous mustache of his seemed to accentuate his ugly grin even more. "Listen to you. Giving orders like a high commander of Drannith. You know they only obey because I tell them to, yes?" She ignored him, her eyes fixed on the mouth of the canyon ahead. From this distance she couldn't tell the subtle differences in the color of the earth, where they'd buried their little surprises. That was good. Somewhere to the east, Jirina and the other innocents of Drannith crawled slowly toward shelter. Lukka would be coming for them. No matter how little she liked this man, she and Chevill were the only thing standing between those people and their doom. #emph[Thoom.] There it was again. #emph[Thoom.] #emph[Thoom.] "What's wrong, beast-lover?" sneered Chevill. "Wingcat got your tongue? Or perhaps it's terror which has seized your heart. Fear not, for the great Chevill is here, and if there is one thing I know how to do, it is kill monsters." She could barely hear him. All her attention was fixed on the canyon now, where a scattering of lizard-mice emerged, running in barely trackable zigs and zags, the erratic and mindless motions of prey fleeing predator. #emph[Thoom.] Just behind the little creatures came a raptor, then another, and another after that, all running low to the ground, their tails held straight out behind them for balance, moving in sinuous, sure lines. One might have thought they were watching a hunt, if the raptors hadn't closed the gap and utterly ignored the lizard-mice. They were trying only to get away from the canyon. From somewhere behind them came a deep, throaty baying. #emph[Thoom.] From the mouth of the canyon now came a vantasaur, thirty tons of stampeding animal, an unbelievable mass of muscle and will all bent toward escape. In the beast's haste, though, it misjudged its footing; Vivien watched as one colossal leg slipped, misplacing thousands of pounds, unbalancing the careful architecture of the dinosaur's gallop. Almost in slow motion, it fell—only for a moment. But a moment was long enough. As the vantasaur struggled back to its feet, its body suddenly jerked backward. It bellowed again, crying out, before all thirty tons were dragged violently backward out of sight. "What in the devil's teeth?" hissed Chevill, even his bluster arrested. The creature continued baying, the calls desperate and terrified, until—with a distant, wet crack—they abruptly stopped. More sounds followed. Terrible, unplaceable—ripping, snapping, the sounds of eating and of things for which Vivien had no words. "We're supposed to be hunting the Coppercoat. The exile!" said Chevill, no longer daring to speak above a whisper. Vivien only nodded toward the canyon. "We are." On Ikoria, they called just about anything a monster. Fear drove that label; a civilization raised to hate and despise the creatures with whom they shared their plane. The animals of Ikoria were mighty and dangerous, fierce and proud, but Vivien would not call them monsters. They were nothing like what stepped out from that canyon, shaking the earth with each thunderous footfall. It had, in a broad sense, the shape of a man: two arms, though longer and thinner than what might belong to a human being; two legs, made thicker to support the great weight of its vast, carcass-like body. At its center protruded—not a man, anymore, not quite, but Lukka. She still remembered the last time they'd spoken—it was Vivien who had convinced him to go to New Phyrexia with the strike team. He had wanted more than anything to return home a hero, rather than a traitor, but he'd only gotten half of that wish granted. Lukka hung from a web of flesh at the center of the titan, nestled into its torso like an exposed heart. The upper half of his body Vivien almost recognized, though it was mangled by plugs and sockets and bonded now with copper turned a sickly green with verdigris. Below the waist, though, he had been attached to some creature of iridescent metal, forming him into a gruesome centaur. Its endless rippling mass was a hundred colors; countless permutations crossed its skin, razored spines and hardened scales to bristling fur to great washes of naked pink and brown flesh. At the elephantine slab that made up the abomination's left leg, she saw the unmoving, glassy-eyed face of the vantasaur. Vivien watched in mute horror as it sank backward, slipping into the flesh like a ship beneath the waves. #emph[He already took Drannith] . The reminder came to her and doubled back its meaning with fresh horror. #emph[This ] was his eludha now, his bonding, through the twisted lens of Phyrexia. As it stepped into the valley, the first of the mines went off below the thing. The lizard-mice and raptors had been too light; the explosives, planted an hour earlier, buried too deep. The vantasaur might have done it, thought Vivien, but the vantasaur—well. The Lukka-thing made no sound of distress; it had no mouth with which to scream. It sagged forward, though, stretching out an arm to catch itself. It hit another mine. A cascade of explosions ripped forward, sending plumes of black earth into the air. It reared back now, away from the blasts, and a thunderous crack peeled out through the floodplain it stood on. The abomination took a step forward—and that titanic, fleshy leg plunged down, past the hardened crust, into the beating volcanic heart of Raugrin. Even from here, Vivien could feel the wash of heat over her face as magma bubbled up around the Lukka-thing's leg. Flames erupted further up the trunk and smoke began to billow out over the valley floor. The smell was horrible beyond description. She was entranced by the sight, the horror and the scale of it, like a glimpse into the primordial birth of the plane. She almost missed Chevill rising next to her, cupping his hands to shout "Now! We have him!" From the bunches of red sawgrass around the opening of the canyon rose Chevill's black-clad hunters. They loosed a stinging cloud of arrows, peppering the Lukka-thing's flank, the shafts closest to the lava bursting into little multicolored flames as the poisons burned. On either side of the monstrosity, others hurled barbed spears affixed to ropes, planting two dozen in the meat of Lukka's terrible cuirass. The hunters pulled each line taught and then, with practiced movement, unslung long hammers to pound stakes into the ground as anchors. "Take the shot!" barked Chevill. Vivien was already pulling back the arkbow's string. Her elbow went up, the powerful muscles in her back and shoulder tensing in practiced motion, an arrow of translucent green light forming between her index and middle fingers. It was a long shot, but she had made longer. Vivien loosed. The arrow soared ahead, pure magic, free from the touch of gravity. It crossed the space between her and the Lukka-thing in an instant. Just before it landed in the actual body of Lukka, the Phyrexian implanted at the center of this awful flesh construct, a spur of bone jutted up suddenly from the flesh around him, catching the shot harmlessly. Chevill barked a swear. Vivien readied another shot, but already the thing was slouching forward, hiding its pilot-heart. Slowly, then, like a beast rising from sleep, it pushed forward. The dozens of ropes in the thing's side strained, then began to give. Some snapped; for others, the spears tore messily from the mottled flesh. Vivien could hear panicked shouts from the hunters on the ground. Some were already turning to run. Others readied second barbs, hefting them for another toss. These ones paid for their bravery; with a sweep of one misshapen arm, the giant cleared them from the scrubland. The ones who were not tossed away like dolls were embedded, Vivien could see, in the thing's arm. They screamed and waved helplessly as they sank deeper and deeper into the flesh before finally disappearing. #figure(image("006_Ikoria: Survival of the Fittest/01.png", width: 100%), caption: [Art by: <NAME>], supplement: none, numbering: none) "Stand! Stand and fight, you bastards!" Chevill was bellowing, but it was no use. The hunters, if they could even hear him, were mad with fear now, running with no semblance of organization, no thought but to put distance between themselves and the monster at their backs. One tripped and sprawled forward—apparently hard enough to trigger one of their buried explosives. He vanished in a sudden plume of black smoke. Vivien's shoulder ached; still, she held the string taut, waiting for an opening. None came. Without straightening from its hunch, the Lukka-thing began to tear its way free from the lava pit where it still burned. If it freed itself, they would never get another chance. She took a deep breath and closed her eyes, opening her mind to the spirits within the arkbow. They snapped and bellowed and roared within the weapon, as though they were as desperate as she was to destroy the abomination. She loosed, the string snapping forward, the spectral arrow flying toward its mark. This time, the viridian energy unspooled, growing as it soared toward the Lukka-thing, changing and multiplying in size. A translucent and powerfully muscled leg touched the earth mid-run, losing none of the arrow's momentum; a ghostly green jaw materialized, already open in a challenging roar. The spectral dreadmaw, every bit the predator in death that it has been in life, crashed into the Lukka-thing with tremendous force. For a moment, the abomination seemed outmatched. It was bigger than the dreadmaw, but clumsy, only meat with none of the killing instincts. The half-solid beast snarled and bit and thrashed, tearing out great hunks of dead flesh. Meanwhile the Lukka-thing grasped and pulled and embraced the spirit—trying, maybe, to absorb it like it had the vantasaur—but to no effect. Still the lava boiled beneath it, sending out black clouds heavy with the stink of burning corpses. For a moment, it looked like they had a chance. Then the Lukka-thing swung its arm in a way no animal should have been able to. It was a boneless strike, a curling whip-punch that the dreadmaw couldn't anticipate. The impact seemed to ripple through the spirit's form, stunning it for moment. It seemed to be reconstituting its spectral body when the thing crashed both arms down on the ghostly dinosaur in a brutish, ugly blow, all its mountainous weight behind it. The dreadmaw simply dissolved, the emerald energy fading and mixing in with the carpet of greasy smoke. Vivien watched, helpless, as the Lukka-thing pulled itself out of the volcanic fissure, its legs coated with steaming black stone where the lava was hardening. Finding its stride again, the abomination marched on as if nothing had ever been in its way. "He's heading for the terror road." For Jirina, and the survivors of Drannith. "They won't have reached Lavabrink yet. We have to hurry," she said, already slinging the arkbow over one shoulder. But she turned to find Chevill watching her from the ridge, an unreadable expression on his face. "Hurry where? To do what?" "Delay him. Surprise him. Perhaps he's wounded." It was a faint hope, but that was the only kind available just then. Chevill spat into the black earth. "My hunters are dead or scattered. We've lost, beast-lover." "#emph[You ] are alive. Are you the great hunter Chevill, or was that all campfire bluster?" He barked a short and mean laugh, but in that moment, Vivien saw what he had been trying so hard to conceal: fear. "Aye, I am he. Do you know what separates a good hunter from a great one? Knowing what you can kill, and what you can't. And I'd say I've learned just which of those categories the Coppercoat now falls into. There's nothing more we can do, unless your wee magical bow has an even nastier monster still cooped up in there." Vivien took a step closer to the man. She was taller than he was and loomed over him now. "I can't let you leave, Chevill. I need you. You know this land, and I don't." "Which is why you should take my advice and run." He turned to look at the hulking form of the Lukka-thing, retreating now slowly out of their sight—or was he looking past it, toward where those thundering steps were taking the abomination? As if hearing her thoughts, Chevill said, "There are things in those mountains that make death seem a kindness. If you must kill me, girl, then do it. At least people will lay flowers on my grave, instead of never knowing that the great hunter Chevill existed at all." Quick and sharp, Vivien slipped the bow from her shoulder and pulled back the string, a ghostly green arrow appearing nocked. She held it, pointed toward Chevill, who sniffed and looked back toward the mouth of the canyon. She held it there a moment longer, green light playing across his face, before twisting her body and shooting it straight into the sky. #v(0.35em) #line(length: 100%, stroke: rgb(90%, 90%, 90%)) #v(0.35em) The creature slaughtering Jirina's Coppercoats might have once been one of the great cats of the Savai plains; the metallic plating that now covered its face, coppery and stained with green oxide and red blood, made it hard to be certain. Under a paw the size of a human head, it held a soldier pinned against the ground, who struggled weakly against the claws pushing into his chest. Without thought—because if she allowed herself to think, to fear, she might run—Jirina surged forward, swatting at the beast's face with her sword. It clanged off the plating, sending an awful shock through her arm, but the creature reared backward off the soldier and lunged for her instead. She shuffled backward, those countless hours in the practice yard all that kept her from tripping over her own feet in a panic. Bryd rode up on her left; at a snarl from the Phyrexian, his mount reared back and dumped him on the ground. Jirina saw the bands of raw, naked muscle in the creature's neck tense with predatory instinct, uncannily like so many of Ikoria's beasts. In that momentary distraction, she thrust her sword into those cables of flesh, then wrenched her arm downward, almost severing the head entirely. Still the beast thrashed and spasmed violently on the ground as Coppercoats armed with warhammers ran up to beat the creature into scrap. Jirina wiped the blood and oil carefully from the edge of her blade, willing the tremors in her hands to cease. She only dimly registered the sound of movement behind her before the second Phyrexian cat hit her, raking her armor with its claws and tearing the back of her breastplate open like a tin can. The force alone knocked Jirina prone, her sword clattering over the stones and out of reach. She rolled over just in time for the front of her breastplate to catch a second claw; metal crumpled and bent. She felt the points press into her chest as the monster snarled down at her. A ribbon of hot drool landed on her cheek and began to sizzle and burn excruciatingly. No words came to her in what she was sure were her final moments; she only opened her mouth to snarl back. Suddenly the pressure on her chest lifted. Jirina could breathe again. Above her, the snarling beast began to howl, a horrible sound of grinding and bending steel, as it was pulled off her. The writhing monster was lifted into the air and underneath it she saw her savior: a tigorilla, huge even for the species, hoisting the Phyrexian like a trophy already claimed. With an incredible display of strength, the tigorilla slammed the Phyrexian into the ground. Jirina heard bones break—the thing still had bones, apparently. Still, it tried to rise, until a man with a rounded stone club hammered a dent into the creature's face and knocked it prone again. A strange, glowing hound leaped on top of it then, tearing at the cables running along its back, pulling loose whatever it could. More soldiers appeared, jamming spears into the cat, turning it into a pile of blood and parts and oil. #emph[Oil] , Jirina remembered dimly. Vivien had warned her about the oil. She could see black stains already on orange crystals jutting from the tigorilla's shoulders. "Keep your distance," she barked, pushing herself up on one elbow. "Don't touch it!" "Are you hurt, <NAME>?" said the man with the club, reaching down to her. One of the bonders, she remembered now. Haldan, she thought. He and his people had been watching the eastern flank. "I'll be fine," she muttered, taking his hand and rising to her feet. "The tigorilla—" As she said it, though, the crystals began to glow with a soft light, and the Phyrexian oil bubbled and hissed, turning to a sickly black smoke. In moments it was as if the stain had never been there at all. Haldan followed her gaze. "Yes. I don't understand it either, in truth. Those new crystals have grown onto many of them—some kind of natural defense." #figure(image("006_Ikoria: Survival of the Fittest/02.png", width: 100%), caption: [Art by: <NAME>], supplement: none, numbering: none) "I suppose we shouldn't be surprised," said Jirina. "The monsters of this plane have always been a step ahead of us." A gasp went up in the crowd behind her, and Jirina whirled, hand going to her sword-belt—still empty. It wasn't another attack, though. In the sky to the west, a thin green light arced just below the clouds. Vivien, and that blowhard Chevill. Jirina held her breath, waiting, watching. #emph[Good news. Give me good news for once, dammit. We're due some.] A moment passed, agonizingly long—and then another green light arced into the sky. Jirina felt all the hope run out of her, bubbling away like the oil. That was the signal. They had failed. Lukka was still coming. "General! General Kudro, are you well?" Bryd ran up, casting a bloodied spear aside. "Fine," she said, barely a whisper. Lukka was coming. He would find them before they reached Lavabrink. And then— "General, the column is waiting. Should we advance?" said Bryd. She hadn't wanted to make this choice. Of all the things in that moment, she thought of her father. He had been a cruel man by the end, a villain in so many ways. But perhaps in his position, there was no way to become anything else. "These were scouts," she said. "We need to change course—there's a shortcut perhaps a mile ahead, a path leading eastward. It will be harder going for the wounded and elderly, but we are left with no options." Bryd briskly saluted and ran off to find his mount. Jirina turned to find Haldan watching her uncertainly. "I grew up in Raugrin," he said quietly. "I've taken Jar Korcha many times. That path does not lead to Lavabrink." He looked over his shoulder, toward the sky, as if he was suddenly worried he might be carried off, but there was nothing except those gaping red portals far to the north, almost out of sight. "We're in the territory of—" #emph[Steady, General. ] Jirina faced him, willing her face into stillness. "If you want to make it to nightfall alive, you'll say nothing." "Is that a threat?" "It's the truth. That's all." Jirina didn't wait for a reply. She retrieved her sword from where it lay on the ground some yards off, glancing at her reflection in the steel for only a moment before slamming it back into her sheath. #v(0.35em) #line(length: 100%, stroke: rgb(90%, 90%, 90%)) #v(0.35em) The pass Jirina led them through was narrow and jagged as the peaks that climbed on either side of them. Harder going to be sure; the sharp and uneven stones that littered the trail took off wagon wheels and punched through the soles of boots. Items once thought irreplaceable, taken from Drannith as it fell, now littered the ground where they passed. Silverware, clothing, furniture, family heirlooms that had survived countless calamities now left discarded like garbage. All the while, the refugees kept wary eyes to the outcroppings of volcanic rock on either side, waiting for the next attack. All anyone spoke of now, when they spoke at all, was Lavabrink. Would there be enough beds? Would the sheets of lava billowing over the outer walls of the city be enough to deter the Phyrexians? How much further was it now? Not far now, someone always assured them. The sun was low, turned a bloody orange by the gaseous haze shrouding Raugrin, when the column emerged from the narrow mountain pass into a basin of smooth black glass. Boots and walking sticks clicked almost melodically; the reflected light against its surface seemed to show a mirror world, all of them made into dark, featureless silhouettes. Close to the center of the basin were odd oval-like shapes, seemingly made of the same volcanic glass. It was strange terrain, but at first the refugees were simply relieved for an end to the closeness of the pass. Only when they searched the horizon did an uneasiness begin to set in. On all sides of the basin were smooth, steep slopes; there seemed to be no other road or pass out. #emph[Where has the general brought us?] #emph[This isn't Lavabrink.] #emph[We have to turn back!] Jirina felt the crowd simmering, a herd close now to panic. She knew it was her responsibility to say something, but in that moment no words came to her. Someone grabbed her arm. It was the bonder from before—Haldan. "We have to leave this place. These people can't be here. None of us can. This is—" He was interrupted by a scream. Everyone, now, was pointing at the far slope, where something much like a human hand—though far out of scale, unnatural and huge—grabbed the lip of the volcanic basin. The fearful murmuring all around Jirina went suddenly, terribly quiet. In pendulous, clumsy motions, the monster of stolen flesh pulled itself over the rocks. Lukka was more grand and horrible than when Jirina had seen him in Drannith, his suit of flesh easily three times the size. Scales and feathers spotted the vast canvas of its skin, and the trunk-like legs were covered in hunks of fused black stone and glistening, ghastly burns. It began to crawl down the slope, spider-like, bending its impossible anatomy like clay, and this broke the silence. Suddenly the air around Jirina surged with panic—screaming, crying, and angry calls filled the air. The crowd had begun to press back toward the narrow pass out, but there were too many of them, the escape route too small. #emph[They're going to trample each other] , thought Jirina. She tried to shout over the maddening cacophony, commanding them to hold their ground. No one listened; it wasn't clear anyone had even heard her. The thing had reached the floor of the basin now. Slowly, it rose on its mangled, thick legs, and there, at the center of its chest, she could faintly make him out. Lukka. #emph[My fiancé] . Across the surface of the towering horror, flesh rippled and split, leaving pock marks—#emph[no, not pock marks] , thought Jirina. #emph[Mouths.] "QUIET!" A thousand voices shouted in unison, and the basin went quiet. The crowd behind her stilled, too afraid in that moment to even continue their crazed dash to safety. "DRANNITH! TRAITOR-CITY! YOUR PRODIGAL SON HAS RETURNED FOR YOU." The voices matched, but weren't perfectly synched, making eerie echoes of each other as Lukka delivered his message. "I FORGIVE YOUR CRIMES AGAINST ME. I BRING A GREAT GIFT. WITHIN PHYREXIA YOU WILL FIND STRENGTH UNLIKE ANYTHING YOU HAVE KNOWN. WITHIN ME, YOU WILL FIND TRUE UNITY AND PURPOSE." The Lukka-thing stepped forward, sending a tremor through the earth. Somewhere behind Jirina, a child began to cry. #v(0.35em) #line(length: 100%, stroke: rgb(90%, 90%, 90%)) #v(0.35em) Hand over hand, Vivien climbed. She was covered with a thousand nicks and bruises. The hardened glassy rock cut into her palms, turned her footing so she nearly stumbled and fell a dozen times. None of that mattered—she pushed on. Vivien was halfway up the slope when she heard the voices, all speaking together as one terrible choir. He had found them. She swallowed her endless aches and pains and kept climbing. Finally, she pulled herself over the lip of the cliff the Lukka-thing had climbed. She saw him there, drawn up in all his awful grandeur—and on the other side, what was left of Drannith, and Jirina somewhere among them. For an instant the basin darkened as something passed in front of the sun. A shape, moving swiftly through the sky, caught Vivien's eye. An eagle? No—the wing shape was all wrong for that, closer to the leathery curves of a dragon. That, and it was far too big. A cry split the air, and in it Vivien heard pride, hunger, and pure territorial fury. Something swooped down through the clouds, and she saw him clearly now: Vadrok, the apex monster of Raugrin. #emph[Oh my god] , she realized. #emph[We're in its nest.] It dove toward the greatest threat laid out across the basin—the Phyrexian titan. Lukka reached out an arm, grasping toward the catlike dragon in response. At the last instant, Vadrok veered to one side, changing the momentum of all that muscle so that it only veered by. Where it passed, a deep gash was left across the Lukka-thing's arm from hand to shoulder, the flesh sagging open, unnamable fluids spilling out across the ground far below. Vadrok wheeled back around, passing within yards of where Vivien crouched atop the rocks; a roar of wind swept after, almost knocking her back over the cliff. This time, the Lukka-thing raised both arms, holding them like a wrestler. Just before the apex monster reached it, those arms split down the middle; numberless tendrils of flesh grabbed at Vadrok. Those it ripped away with talon and teeth landed with heavy, sickening thuds against the smooth stone below. Some, though, found purchase; Vivien watched as Vadrok beat its wings helplessly, unable to lift its own bulk and the terrible mass of the Phyrexian attached to him. Possessing meat wrapped across Vadrok's leg, inching forward almost like a liquid; soon it covered the talons altogether. #emph[Even it can't win] , thought Vivien. #emph[Even a beast like that.] She unslung her bow with a shake of her arm and nocked an arrow, pulling it back. If she could only distract it, maybe she could give Vadrok the edge it needed. The monster was wrestling with the Phyrexian now, slowly being drawn inch by inch into it; she searched for a target, but Lukka himself was blocked by the thrashing predator. #figure(image("006_Ikoria: Survival of the Fittest/03.png", width: 100%), caption: [Art by: <NAME>lu], supplement: none, numbering: none) Then, in the fading light, she noticed a strange blue glow rising from the apex monster's mouth. Vadrok roared again—that vicious animal call—and flames so brightly blue they were almost whitewashed over the Lukka-thing's arm. Anything the flames touched was consumed in an instant, not burned so much as erased. All the mouths still dotting the surface of the Lukka-thing began to scream. That, Vivien was sure, was a sound that would never leave her—a thousand voices all crying out in identical agony. Suddenly, it was as if most of the flesh titan's arm had never existed at all. More coruscating blue flame poured from Vadrok's mouth, scouring the right flank of the nightmarish thing; it raised an arm to shield itself, but the flames greedily devoured anything they were given. The Phyrexian titan lurched to one side, releasing its hold on Vadrok in favor of retreat—but the Ikorian predator was faster. It snapped its head forward, pushing fearlessly now into the center of the abomination, and tore out a hunk of—no, not flesh, Vivien realized. Struggling now in Vadrok's jaws was #emph[Lukka] . The true Lukka, or at least the thing New Phyrexia had made of him. Without its pilot, the giant of harvested meat and bone teetered to one side and fell to the ground with enough force to echo through the nearby peaks. Vadrok beat its great wings twice and lifted himself up onto the same cliff edge on which Vivien perched. She was no more than a hundred yards from the beast—from the squirming, screaming thing in his mouth. #emph[In Drannith] , thought Vivien, #emph[they would have at least given him last words.] She pulled back one more spectral arrow and put it in the center of his chest. Then another, and another. Drannith was gone. They were in the wilds now, and they kept only one law: survival. #v(0.35em) #line(length: 100%, stroke: rgb(90%, 90%, 90%)) #v(0.35em) Shoulder to shoulder with the other survivors, Jirina watched as Vadrok tossed Lukka's corpse down the slope. #emph[So passes the captain of the Specials] , she thought, and felt nothing but an odd hollowness where she might have found sadness or regret. The great beast of Raugrin lifted off the ridge and landed down next to the sagging mass of flesh remaining, scouring it with one more gout of flames. #emph[So hot they can burn away the very memory of something] , Jirina remembered Lukka once telling her. In this instance she hoped that was true. Vadrok turned to the assembled crowd—all that remained of Drannith. They had briefly forgotten their terror watching the monsters battle. Now, staring into Vadrok's yellow eyes, they found it once more. Whispers, gasps, and whimpers spread around Jirina, though no one fled just yet. They seemed, as a people, to hold their breath. Again, that blue glow rose in the back of the creature's throat. Then, waving her arms, running in front of them all, was Vivien. "Wait," she said, breathless. Speaking, Jirina realized, to the apex monster himself. "Wait!" Vadrok's gaze passed over her. Flicked, Jirina thought, to the bow still held in one hand. Then it was aloft again, the wind from those great wings rustling their clothes as it soared away. Jirina almost fell to her knees. They would live. At least for a little while longer, they would all live. "You used us as bait," someone said. Haldan, she found, turning to face him. "You knew we would be trapped here. The injured. The children." "Yes," said Jirina. "I did." "We could have been devoured by that thing. Or worse," he said, raising his voice. "We might have perished in the same fires!" His fury had reached his cheeks now, flushing them red. "But you weren't." "You had no idea what that monster would do!" "In war, there are no certainties," said Jirina, feeling so very tired now. #emph[Is it not enough to have won? To have gotten them to safety?] "We have to adapt if we want to survive. Just as the monsters do." "You should have told us!" Someone in the crowd said. "What kind of leader puts her people in front of a monster like that?" said another. #emph[It was the only way] , she thought. Couldn't they see that? It was the only way. Wasn't it? "Listen to me!" It was Vivien, speaking now. "Lavabrink is still a half-day's march. You'll have to walk through the first part of the night. Whatever else she did, Jirina bought you that time." "With respect for what you've done," said Haldan. "You aren't one of us. And all the danger you walked into today, you did of your own free will. I am not a soldier, dammit!" "I'm not one of you," said Vivien. Only now could Jirina see how battered and bruised the woman looked. It didn't seem to so much as slow her down. "And I can't claim the right to tell you how to treat her. It's your plane, your people. You can dethrone her or cast her out. But do that #emph[after ] you've survived what's coming." Haldan looked at the hideous remains of Lukka's creation, still smoldering with blue flames. "What's #emph[coming] ?" Just then, a ripple of thunder rolled across the sky. Behind the mountains: another hole in the sky. It was just like the ones that had opened over Drannith. From it—prodding almost, like a skeletal finger—came a white, metal tendril of impossible size. A branch, Vivien had called them, though Jirina couldn't imagine the tree they belonged to. "This is far from over," said Vivien. "There's a hard day ahead yet." For a moment, she didn't know which way the crowd would break. But they had no energy to tear her apart just then. Around Jirina, people began to pick up their things, turn around their pack animals and wagons, helping one another as they went. She watched them ready each other for whatever was ahead. This is what they had earned, with their fighting today: survival. Another day, another hour, another minute. There would be a reckoning, Jirina knew. A price to pay. Jirina lifted her own bag. When that day came, she would be more than glad to pay it.
https://github.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024
https://raw.githubusercontent.com/Area-53-Robotics/53E-Notebook-Over-Under-2023-2024/giga-notebook/entries/decide-tracking-implementation.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/packages.typ": notebookinator #import notebookinator: * #import themes.radial.components: * #show: create-body-entry.with( title: "Decide: Tracking Implementation", type: "decide", date: datetime(year: 2023, month: 7, day: 28), author: "<NAME>", witness: "<NAME>", ) We rated each option by robustness, whether it was maintained or not, and how easy it was to use. - Robustness measures the solutions ability to cover many different use cases, such as different sensor configurations or movement algorithms, and is rated from 0 to 3. - Maintained is a measurement of how often the code receives updates. This is rated from 0 to 3. - Ease of use is self explanatory and is rated from 0 to 3. #decision-matrix( properties: ((name: "Robustness"), (name: "Maintained"), (name: "Ease of Use")), ("DIY Implementation", 2, 2.5, 1), ("LemLib", 2.5, 3, 3), ("ARMS", 2, 0, 2.5), ("OkapiLib", 3, 1, 2), ) #admonition( type: "decision", )[ We chose LemLib due to near perfect scores in each category. While it does not have as many features as OkapiLib, it covers our exact feature set, while OkapiLib is missing some things we need. It also has many different developers who are actively working to make it the best it can be. While none of these solutions are plug and play, LemLib is pretty close to it. ] = Implementation We looked over LemLib's odometry #footnote("See glossary") implementation #footnote( link( "https://github.com/LemLib/LemLib/blob/5b8917e46394118ff8e690b591292b878c661c74/src/lemlib/chassis/odom.cpp#L1C2-L1C2", ), ), and analyzed it to see how it works. The odometry runs in its own its own task, asynchronously to the main task. This means that the odometry can run in an infinite loop, without blocking execution of other processes. ```cpp // tracking thread pros::Task* trackingTask = nullptr; void lemlib::init() { if (trackingTask == nullptr) { // Check the the task is not already initialized trackingTask = new pros::Task {[=] { while (true) { update(); // Repeatedly call the update function pros::delay(10); } }}; } } ``` This task runs the update function repeatedly. This function contains the main part of the implementation. This function does a couple of things every time it is executed. 1. LemLib supports a large number of sensor configurations, and therefore must check if certain sensors are supplied. ```cpp if (odomSensors.vertical1 != nullptr) vertical1Raw = odomSensors.vertical1->getDistanceTraveled(); if (odomSensors.vertical2 != nullptr) vertical2Raw = odomSensors.vertical2->getDistanceTraveled(); if (odomSensors.horizontal1 != nullptr) horizontal1Raw = odomSensors.horizontal1->getDistanceTraveled(); if (odomSensors.horizontal2 != nullptr) horizontal2Raw = odomSensors.horizontal2->getDistanceTraveled(); if (odomSensors.imu != nullptr) imuRaw = degToRad(odomSensors.imu->get_rotation()); ``` LemLib supports up to 4 tracking wheels, two vertical and two horizontal. These sensors can either be integrated motor encoders, V5 rotation sensors, or V4 optical shaft encoders. LemLib also supports 1 IMU. 2. The function then calculates the change in rotation of the robot. This value is then added to the previous absolute orientation to get the current absolute orientation. If the robot has two perpendicular tracking wheels the rotation can be calculated with this equation: Assuming these variables: - $Delta theta$ is the absolute rotation - $Delta L$ is the total distance the left tracking wheel has traveled - $Delta R$ is the total distance the right tracking wheel has traveled - $S_L$ is the distance from the left tracking wheel to the tracking center - $S_R$ is the distance from the right tracking wheel to the tracking center #admonition(type: "equation")[ $ Delta theta = (Delta L - Delta R) / (S_L + S_R) $ \ ] If an IMU is being used, no equation is required, and its output can be used directly. Each time the loop runs LemLib evaluates which sensors are still connected, and uses the most accurate ones. It prioritizes them in this order: 1. V4 optical shaft encoders 2. V5 rotation sensors 3. IMU 4. Integrated motor encoders This check happening every time this function is called means that the task can respond to sensors disconnecting, making this implementation very resistant to disruption. ```cpp float heading = odomPose.theta; // Get the last absolute rotation // calculate the heading using the horizontal tracking wheels if (odomSensors.horizontal1 != nullptr && odomSensors.horizontal2 != nullptr) heading += (deltaHorizontal1 - deltaHorizontal2) / (odomSensors.horizontal1->getOffset() - odomSensors.horizontal2->getOffset()); // else, if both vertical tracking wheels aren't substituted by the drivetrain, // use the vertical tracking wheels else if (!odomSensors.vertical1->getType() && !odomSensors.vertical2->getType()) heading += (deltaVertical1 - deltaVertical2) / (odomSensors.vertical1->getOffset() - odomSensors.vertical2->getOffset()); // else, if the inertial sensor exists, use it else if (odomSensors.imu != nullptr) heading += deltaImu; // else, use the the substituted tracking wheels else heading += (deltaVertical1 - deltaVertical2) / (odomSensors.vertical1->getOffset() - odomSensors.vertical2->getOffset()); float deltaHeading = heading - odomPose.theta; float avgHeading = odomPose.theta + deltaHeading / 2; ``` 3. The task then calculates the local x and y offsets. This step exists only because it makes the calculation simpler. This step operates in a local coordinate plane which is aligned with the rotation of the robot. The x axis of this coordinate plane as parallel to the The task then calculates the local x and y offsets. The local coordinate system is relative to the robot, while the global coordinate system is relative to the field. The x coordinate is equal to the distance tracked by the center tracking wheel, while the y coordinate is equal to the distance traveled by the left or right tracking wheel. If the movement is in a straight line, the calculation is very simple, the distance traveled is simply the distance that the encoders read. However if the robot changed in rotation while moving the math becomes complicated. This is solved by representing the robot's movement with an arc. As you can see below the distance the robot traveled is not equal to the arc length, its equal to the chord length. #image("../assets/odometry/local-coordinates.svg") The length of this chord can be calculated with the following equation: Assuming these variables: - $Delta theta$ is the change in angle since the last loop - $Delta R$ is the distance the right tracking wheel has traveled since the last loop - $Delta S$ is the distance the center tracking wheel has traveled since the last loop - $S_R$ is the distance from the right tracking wheel to the tracking center - $S_S$ is the distance from the center tracking wheel to the tracking center #admonition( type: "equation", )[ $ Delta limits("d"_"l")^--> = 2 sin((Delta theta)/2) * mat( delim: "[", (Delta S)/(Delta theta) + S_S;(Delta R)/(Delta theta) + S_R, , , , , , ) $ \ ] ```cpp // calculate local x and y float localX = 0; float localY = 0; if (deltaHeading == 0) { // prevent divide by 0 localX = deltaX; localY = deltaY; } else { localX = 2 * sin(deltaHeading / 2) * (deltaX / deltaHeading + horizontalOffset); localY = 2 * sin(deltaHeading / 2) * (deltaY / deltaHeading + verticalOffset); } ``` 4. The algorithm then gets the x and y components of the of the local x and y coordinates to find the change in global position, and then adjusts the global position to compensate. ```cpp // calculate global x and y odomPose.x += localY * sin(avgHeading); odomPose.y += localY * cos(avgHeading); odomPose.x += localX * -cos(avgHeading); odomPose.y += localX * sin(avgHeading); odomPose.theta = heading; ``` #admonition( type: "warning", )[ The math of odometry assumes that each movement measured by the algorithm is extremely small. The logic begins to break down as these movements get larger, which is why the algorithm queries the sensors every 10ms. ]
https://github.com/PauKaifler/typst-template-dhbw
https://raw.githubusercontent.com/PauKaifler/typst-template-dhbw/main/template.typ
typst
Apache License 2.0
#let template( /// The title defaults to `document.title`. This argument should only be set /// if the displayed title contains special formatting. /// Do not forget to `#set document(title: "…")` in any case. formatted-title: none, article-kind: "Bachelorarbeit", author: ( name: none, matriculation-number: none, major: none, course-code: none, ), company: ( name: none, city: none, logo: none, supervisor: none, ), dhbw: ( location: none, reviewer: none, logo: none, ), signature: ( location: none, date: datetime.today(), ), deadline: none, handling-period: none, restriction-note: false, abstract: none, acronyms: none, body ) = { let translate(key) = context { ( "de": ( "abstract": "Zusammenfassung", "acronyms": "Abkürzungen", ), "en": ( "abstract": "Abstract", "acronyms": "Acronyms", ) ).at(text.lang).at(key) } set page(paper: "a4", margin: 2.5cm) set text(size: 12pt, font: ("Libertinus Serif", "Linux Libertine")) set par(leading: 0.75em, justify: true) show link: set text(fill: blue.darken(60%)) // Title Page context { let title = if formatted-title == none { document.title } else { formatted-title } let original-language = text.lang text(lang: "de", { grid( row-gutter: 1fr, block( height: 2.5cm, grid( columns: 2, column-gutter: 1fr, align(left, company.logo), align(right, { if "logo" not in dhbw or dhbw.logo == none { image("dhbw-logo.svg") } else { dhbw.logo } }), ) ), align(horizon + center)[ #text(size: 18pt, lang: original-language, title) \ #v(1.5cm) #set text(14pt) #article-kind \ #v(1cm) des Studienganges #author.major \ an der Dualen Hochschule Baden-Württemberg #dhbw.location \ #v(1cm) von \ #if "name" not in author or author.name == none { assert.eq(document.author.len(), 1, message: "`document.author` must only contain a single author") document.author.first() } else { author.name } \ #v(1cm) #deadline.display("[day].[month].[year]") ], grid( columns: (auto, 1fr), row-gutter: 0.75em, column-gutter: 2cm, [Bearbeitungszeitraum], handling-period, [Matrikelnummer, Kurs], [#author.matriculation-number, #author.course-code], [Ausbildungsfirma], [#company.name, #company.city], [Betreuer der Ausbildungsfirma], company.supervisor, [Gutachter der Dualen Hochschule], dhbw.reviewer, ), ) let signature = [ #block( width: 50%, height: 2em, stroke: ( bottom: 1pt, ), below: 8pt, ) #signature.location, den #signature.date.display("[day].[month].[year]") ] // Affidavit [ #heading(outlined: false)[Erklärung] gemäß Ziffer 1.1.13 der Anlage 1 zu §§ 3, 4 und 5 der Studien- und Prüfungsordnung für die Bachelorstudiengänge im Studienbereich Technik der Dualen Hochschule Baden-Württemberg vom 29.09.2017. Ich versichere hiermit, dass ich meine #article-kind mit dem Thema: #align(center, text(size: 14pt, lang: original-language, title)) selbstständig verfasst und keine anderen als die angegebenen Quellen und Hilfsmittel benutzt habe. Ich versichere zudem, dass die eingereichte elektronische Fassung mit der gedruckten Fassung übereinstimmt. #signature ] // Restriction Note if restriction-note [ #heading(outlined: false)[Sperrvermerk] gemäß Ziffer 1.1.13 der Anlage 1 zu §§ 3, 4 und 5 der Studien- und Prüfungsordnung für die Bachelorstudiengänge im Studienbereich Technik der Dualen Hochschule Baden-Württemberg vom 29.09.2017. "Der Inhalt dieser Arbeit darf weder als Ganzes noch in Auszügen Personen außerhalb des Prüfungsprozesses und des Evaluationsverfahren zugänglich gemacht werden, sofern keine anders lautende Genehmigung vom Dualen Partner vorliegt." #signature ] }) } pagebreak(weak: true) if abstract != none { heading(outlined: false, translate("abstract")) abstract } if acronyms != none { heading(outlined: false, translate("acronyms")) acronyms } pagebreak(weak: true) outline(indent: true) counter(page).update(0) set page( number-align: right, numbering: "1 / 1", ) set heading(numbering: "1.1") set figure(placement: auto) body }
https://github.com/Godalin/Typst-Notations
https://raw.githubusercontent.com/Godalin/Typst-Notations/main/README.md
markdown
# Typst Notations 4 Notes (or Publications in the future) This is my personal library of shorthands for note taking, or maybe for publications in the future if typst is accepted by ACM, of course. My interests are: - Category Theory, in file `CatT.typ` - Logic, `to be arranged` - Type Theory, `to be arranged` And other files: - Proof writing, in file `Proof.typ` - Shorthands, e.g., "lam" for "lambda", in file `Short.typ` One can clone this repository and link it to the local path according to the document of typst, then use it locally with the typst `import local` command.
https://github.com/Jeomhps/datify
https://raw.githubusercontent.com/Jeomhps/datify/main/src/config.typ
typst
MIT License
// Set the default lang for every file. #let default-date-lang = "en"
https://github.com/kilpkonn/typst-thesis
https://raw.githubusercontent.com/kilpkonn/typst-thesis/main/abbreviations.typ
typst
MIT License
= Terms and abbreviations #table( columns: (auto, auto), inset: 5pt, align: horizon, stroke: none, [LSP], [Language Server Protocol], [HIR], [High-Level Intermediate Representation], )
https://github.com/soul667/typst
https://raw.githubusercontent.com/soul667/typst/main/保研/光电系统集成 - 副本/template.typ
typst
// 创建自己的主题 #import "@preview/touying:0.4.2": * #let register( self: themes.default.register(), aspect-ratio: "16-9", ) = { self.page-args += ( paper: "presentation-" + aspect-ratio, ) self.methods.init = (self: none, body) => { set text(size: 20pt) body } self } // main.typ #import "@preview/touying:0.4.2": * #import "bamboo.typ" #let s = bamboo.register(aspect-ratio: "16-9") #let (init, slides, touying-outline, alert, speaker-note) = utils.methods(s) #show: init #show strong: alert #let (slide, empty-slide) = utils.slides(s) #show: slides = First Section == First Slide #slide[ A slide with a title and an *important* information. ]
https://github.com/StefanieJaeger/sa-docu
https://raw.githubusercontent.com/StefanieJaeger/sa-docu/main/is-state/is-state.typ
typst
#import "@preview/glossarium:0.4.1": gls, glspl = Ist-Zustand Das ursprüngliche Projekt, auf dem unsere Arbeit aufbaut, kann als öffentliches GitHub Repository hier gefunden werden: #link("https://github.com/lost-university/web"). Wir haben uns entschieden, einen Fork des Originalprojekts zu erstellen, um unsere Anpassungen unabhängig davon vornehmen zu können. Dadurch stellen wir sicher, dass spätere Änderungen am Originalprojekt, die nach Beginn unserer Semesterarbeit erfolgen, keinen Einfluss auf unseren Entwicklungsprozess haben. Ein weiterer Vorteil eines Forks gegenüber einem Branch ist die einfachere Handhabung des Hostings (siehe @hosting). == Architektur === Daten Alle Daten zu #gls("module", display: "Modulen"), #gls("category", display: "Kategorien"), #gls("focus", display: "Spezialisierung") und #gls("std", display: "Studienordnungen"), welche die Applikation nutzt, sind öffentlich #link("https://studien.ost.ch") zugänglich. Die Daten werden von einem Python-Crawler gesammelt, verarbeitet und anschliessend als JSON-Dateien im Data Repository abgelegt. Die Detailseiten der Studienordnungen dienen dem Crawler als Einstiegspunkt. Informationen zu den geltenden Kategorien und benötigten #glspl("ects"), den möglichen Spezialisierungen und den zugehörigen Modulen können so entnommen werden. Die Aktualisierung der Daten erfolgt manuell. Vor Beginn eines jeden Semesters führt ein Maintainer den Crawler lokal aus, überprüft die Änderungen der Daten auf Spezialfälle und erstellt anschliessend ein neues Tag für die Daten. Zuletzt kann die verwendete Version der Daten im Client über den Tag in der URL angepasst werden. Nachfolgend sind die relevanten Felder für eine Studienordnung gelistet. Die Beispieldaten dazu stammen von #link("https://studien.ost.ch/allStudies/10191_I.json"). ```json { "kredits": [ { "kategorien": [ { "bezeichnung": "Aufbau", "kuerzel": "I_Auf" }, ... ], "minKredits": 48 } ], "zuordnungen": [ { "bezeichnung": "Application Architecture", "kuerzel": "M_AppArch", "url": "allModules/28236_M_AppArch.json", "istAbschlussArbeit": false, "istPflichtmodul": false, "semEmpfehlung": 7, "kategorien": [ { "bezeichnung": "Aufbau", "kuerzel": "I_Auf", "kreditpunkte": 4 }, ... ] } ], "spezialisierungen": [ { "bezeichnung": "Frontend Engineering", "kuerzel": "FrEng", "url": "allStudies/10193_FrEng.json" }, ... ] } ``` Für jedes Modul wird anhand der `"zuordnungen[].url"` eine Anfrage gestellt, um die Informationen des folgenden Feldes zu erhalten. ```json { "kreditpunkte": 4 } ``` Für jede Spezialisierung wird anhand der `"spezialisierungen[].url"` eine Anfrage gestellt, um die Informationen der folgenden Felder zu erhalten. ```json { "zuordnungen": [ { "kuerzel": "M_AppArch" }, ... ] } ``` ==== Speicherformat der Daten Das Vorgehen des Crawlers bei der Verarbeitung der zuvor genannten Daten ist im Diagramm @crawler ersichtlich. #figure(image("Crawler.drawio.png"), caption: [Ablauf des Crawlers]) <crawler> Um sicherzustellen, dass die Daten von der Applikation effizient abgefragt und verarbeitet werden können, wird ihr Format entsprechend angepasst. Auf diese Weise werden zudem redundante Daten für die Applikation nicht übernommen. *Module* ```json [ { "id": "AppArch", "name": "Application Architecture", "url": "allModules/28236_M_AppArch.json", "isThesis": false, "isRequired": false, "recommendedSemester": 7, "ects": 4, "categories_for_coloring": [ "Auf", "Inf" ] }, ... ] ``` *Kategorien* ```json [ { "id": "Auf", "required_ects": 48, "name": "Aufbau", "modules": [ { "id": "AppArch", "name": "Application Architecture", "url": "allModules/28236_M_AppArch.json" }, ... ] }, ... ] ``` *Spezialisierungen* ```json [ { "id": "FrEng", "url": "allStudies/10193_FrEng.json", "name": "Frontend Engineering", "modules": [ { "id": "AppArch", "name": "Application Architecture", "url": "allModules/28236_M_AppArch.json" }, ... ] }, ... ] ``` === Code Die Applikation selbst ist eine #gls("spa"), entwickelt mit Vue. Anstelle von JavaScript wird dabei TypeScript verwendet. Die Icons stammen von #gls("fontawesome"), während das Styling überwiegend mit #gls("tailwind") umgesetzt wird. Als Build-Tool kommt #gls("vite") zum Einsatz. Vor Beginn unserer Arbeit wurde mit dem Stakeholder, welcher gleichzeitig Haupt-Maintainer ist, vereinbart, dass dieser Tech-Stack im Verlauf unserer Arbeit unverändert bleibt. === Hosting <hosting> // Glossar or Bib? https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages#about-github-pages Die Applikation wird über GitHub Pages gehostet. Da sie lediglich eine #gls("spa") ohne Backend ist, entfallen somit jegliche Kosten für das Hosting. // I want the steps to be styled differently Die gewünschte URL, #link("lost.university"), wird auf GitHub unter Settings -> Pages -> Custom Domain hinterlegt. Die Domain wird so konfiguriert, dass sie über einen CNAME-Eintrag auf das Repository der Applikation verweist. // I want "main" to be styled differently // Glossar or Bib? https://docs.github.com/en/actions/about-github-actions Wird ein Branch in den main-Branch gemergt, wird über einen GitHub Workflow eine GitHub Action ausgelöst, welche die #gls("spa") baut und deployt. Anstelle einer Datenbank wird das Data Repository verwendet: #link("https://github.com/lost-university/data"). Die darin enthaltenen JSON-Dateien werden mithilfe von Tags versioniert. == Funktionalität Folgende Funktionalitäten bestanden bereits vor Beginn dieser Semesterarbeit. Als User kann ich über ein Dropdown einen Musterstudienplan auswählen, der vorausgefüllt angezeigt wird, sodass ich diesen als Grundlage für meinen eigenen Plan verwenden und bei Bedarf anpassen kann. Es stehen die Musterstudienpläne für alle Spezialisierungen, jeweils für das Teilzeit- und Vollzeit-Modell, zur Verfügung. - @musterplan - Als User sehe ich eine visuelle Repräsentation meines Planes. - @planer - Als User kann ich Semester im Plan hinzufügen und entfernen, um meine Studiendauer abzubilden. - Als User kann ich einem Semester ein Modul hinzufügen, das Modul beliebig verschieben und auch entfernen, um meinen Modulplan zu gestalten. - Als User erhalte ich eine Fehlermeldung, wenn ich versuche, ein Modul einem zweiten Semester hinzuzufügen, um ungültige Pläne zu verhindern. - @error_doppelt - Als User sehe ich, wie viele Credits ein geplantes Modul wert ist, und erkenne anhand der Farbgebung auch, zu welcher Kategorie es gehört. - Als User kann ich durch einen Klick auf den Namen eines geplanten Modules zur entsprechenden Modulbeschreibung auf Adunis gelangen, um dort weitere Informationen abzurufen. - Als User sehe ich die Summe der Credits aller Module eines Semesters in meinem Plan. - Als User kann ich optional mein Startsemester eingeben, damit die Semester mit einem passenden Namen beschriftet, die bereits erreichten, geplanten und gesammthaft benötigten Credits pro Kategorie dargestellt und nur mögliche Spezialisierungen angezeit werden. - @kategorien - Als User sehe ich, welche Module noch benötigt werden, um eine Spezialisierung zu erreichen. - @spezialisierungen - Als User erhalte ich eine Fehlermeldung, wenn mein Plan Module enthält, die nicht korrekt aufgelöst werden können. Diese Meldung gibt mir die Möglichkeit, das betroffene Modul aus meinem Plan zu entfernen. - @error_unbekannt - Als User sehe ich Memes im Semesterplaner, um die Stimmung beim Planen aufzulockern. - Als Maintainer oder potentieller Maintainer sehe ich die Namen anderer Maintainer, die mit ihren GitHub-Profilen verlinkt sind, sowie einen Link zur GitHub-Seite des Semesterplaners, um mich zur Mitarbeit zu motivieren. - Die geplanten Module, gruppiert nach Semester, und das ausgewählte Startsemester werden in der URL als Query-Parameter gespeichert. - Die URL zum Plan wird im Local Storage abgelegt. - Beim Öffnen eines leeren Planes, wird der Plan aus dem Local Storage verwendet, wenn ein solcher existiert. - Beim Öffnen eines Plans, der den alten Namen eines Modules enthält, wird der Modulname automatisch auf den neuen Namen migriert. #figure(image("Musterplan.png"), caption: [Dropdown zur Auswahl eines Musterstudienplans.]) <musterplan> #figure(image("Planer.png"), caption: [Ein Beispiel für einen Plan.]) <planer> #figure(image("Error_Doppelt.png"), caption: [Die Fehlermeldung beim erneuten Hinzufügen eines Modules.]) <error_doppelt> #figure(image("Kategorien.png"), caption: [Die Auswahl des Startsemesters und die Übersicht der erreichten, geplanten und nötigen Credits pro Kategorie.]) <kategorien> #figure(image("Spezialisierungen.png"), caption: [Die Spezialisierungen, mit Hinweis zu deren Erreichung.]) <spezialisierungen> #figure(image("Error_Unbekannt.png"), caption: [Die Fehlermeldung bei einem unbekannten Modul in der URL.]) <error_unbekannt> == Probleme Im folgenden werden alle Probleme und Bugs dokumentiert, die bereits vor Beginn dieser Semesterarbeit in der Applikation vorhanden waren. Im Verlauf dieser Arbeit werden nur jene Probleme und Bugs behandelt, die im Rahmen des User-Centered-Design-Ansatzes als relevant identifiziert wurden. Die übrigen fallen nicht in den Umfang dieser Semesterarbeit. - Suche - Wird nach Hinzufügen eines Modules nicht zurückgesetzt. - Funktionalität eingeschränkt auf gewissen Browsern. - Modul nicht über Kürzel auffindbar. - Daten - Keine Dokumentation der Daten von Adunis. - Vermutete Inkonsistenzen. - Jedes Semester manuelle Anpassungen für korrekte Migration notwendig.
https://github.com/frectonz/the-pg-book
https://raw.githubusercontent.com/frectonz/the-pg-book/main/book/208.%20goodtaste.html.typ
typst
goodtaste.html Is There Such a Thing as Good Taste? November 2021(This essay is derived from a talk at the Cambridge Union.)When I was a kid, I'd have said there wasn't. My father told me so. Some people like some things, and other people like other things, and who's to say who's right?It seemed so obvious that there was no such thing as good taste that it was only through indirect evidence that I realized my father was wrong. And that's what I'm going to give you here: a proof by reductio ad absurdum. If we start from the premise that there's no such thing as good taste, we end up with conclusions that are obviously false, and therefore the premise must be wrong.We'd better start by saying what good taste is. There's a narrow sense in which it refers to aesthetic judgements and a broader one in which it refers to preferences of any kind. The strongest proof would be to show that taste exists in the narrowest sense, so I'm going to talk about taste in art. You have better taste than me if the art you like is better than the art I like.If there's no such thing as good taste, then there's no such thing as good art. Because if there is such a thing as good art, it's easy to tell which of two people has better taste. Show them a lot of works by artists they've never seen before and ask them to choose the best, and whoever chooses the better art has better taste.So if you want to discard the concept of good taste, you also have to discard the concept of good art. And that means you have to discard the possibility of people being good at making it. Which means there's no way for artists to be good at their jobs. And not just visual artists, but anyone who is in any sense an artist. You can't have good actors, or novelists, or composers, or dancers either. You can have popular novelists, but not good ones.We don't realize how far we'd have to go if we discarded the concept of good taste, because we don't even debate the most obvious cases. But it doesn't just mean we can't say which of two famous painters is better. It means we can't say that any painter is better than a randomly chosen eight year old.That was how I realized my father was wrong. I started studying painting. And it was just like other kinds of work I'd done: you could do it well, or badly, and if you tried hard, you could get better at it. And it was obvious that Leonardo and Bellini were much better at it than me. That gap between us was not imaginary. They were so good. And if they could be good, then art could be good, and there was such a thing as good taste after all.Now that I've explained how to show there is such a thing as good taste, I should also explain why people think there isn't. There are two reasons. One is that there's always so much disagreement about taste. Most people's response to art is a tangle of unexamined impulses. Is the artist famous? Is the subject attractive? Is this the sort of art they're supposed to like? Is it hanging in a famous museum, or reproduced in a big, expensive book? In practice most people's response to art is dominated by such extraneous factors.And the people who do claim to have good taste are so often mistaken. The paintings admired by the so-called experts in one generation are often so different from those admired a few generations later. It's easy to conclude there's nothing real there at all. It's only when you isolate this force, for example by trying to paint and comparing your work to Bellini's, that you can see that it does in fact exist.The other reason people doubt that art can be good is that there doesn't seem to be any room in the art for this goodness. The argument goes like this. Imagine several people looking at a work of art and judging how good it is. If being good art really is a property of objects, it should be in the object somehow. But it doesn't seem to be; it seems to be something happening in the heads of each of the observers. And if they disagree, how do you choose between them?The solution to this puzzle is to realize that the purpose of art is to work on its human audience, and humans have a lot in common. And to the extent the things an object acts upon respond in the same way, that's arguably what it means for the object to have the corresponding property. If everything a particle interacts with behaves as if the particle had a mass of m, then it has a mass of m. So the distinction between "objective" and "subjective" is not binary, but a matter of degree, depending on how much the subjects have in common. Particles interacting with one another are at one pole, but people interacting with art are not all the way at the other; their reactions aren't random.Because people's responses to art aren't random, art can be designed to operate on people, and be good or bad depending on how effectively it does so. Much as a vaccine can be. If someone were talking about the ability of a vaccine to confer immunity, it would seem very frivolous to object that conferring immunity wasn't really a property of vaccines, because acquiring immunity is something that happens in the immune system of each individual person. Sure, people's immune systems vary, and a vaccine that worked on one might not work on another, but that doesn't make it meaningless to talk about the effectiveness of a vaccine.The situation with art is messier, of course. You can't measure effectiveness by simply taking a vote, as you do with vaccines. You have to imagine the responses of subjects with a deep knowledge of art, and enough clarity of mind to be able to ignore extraneous influences like the fame of the artist. And even then you'd still see some disagreement. People do vary, and judging art is hard, especially recent art. There is definitely not a total order either of works or of people's ability to judge them. But there is equally definitely a partial order of both. So while it's not possible to have perfect taste, it is possible to have good taste. Thanks to the Cambridge Union for inviting me, and to <NAME>, <NAME>, and <NAME> for reading drafts of this.
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/docs/changelog.md
markdown
Apache License 2.0
--- description: | Learn what has changed in the latest Typst releases and move your documents forward. --- # Changelog ## Version 0.9.0 (October 31, 2023) { #v0.9.0 } - Bibliography management - New bibliography engine based on [CSL](https://citationstyles.org/) (Citation Style Language). Ships with about 100 commonly used citation styles and can load custom `.csl` files. - Added new [`form`]($cite.form) argument to the `cite` function to produce different forms of citations (e.g. for producing a citation suitable for inclusion in prose) - The [`cite`]($cite) function now takes only a single label/key instead of allowing multiple. Adjacent citations are merged and formatted according to the citation style's rules automatically. This works both with the reference syntax and explicit calls to the `cite` function. (**Breaking change**) - The `cite` function now takes a [label]($label) instead of a string (**Breaking change**) - Added [`full`]($bibliography.full) argument to bibliography function to print the full bibliography even if not all works were cited - Bibliography entries can now contain Typst equations (wrapped in `[$..$]` just like in markup), this works both for `.yml` and `.bib` bibliographies - The hayagriva YAML format was improved. See its [changelog](https://github.com/typst/hayagriva/blob/main/CHANGELOG.md) for more details. (**Breaking change**) - A few bugs with `.bib` file parsing were fixed - Removed `brackets` argument of `cite` function in favor of `form` - Visualization - Gradients and colors (thanks to [@Dherse](https://github.com/Dherse)) - Added support for [gradients]($gradient) on shapes and text - Supports linear, radial, and conic gradients - Added support for defining colors in more color spaces, including [Oklab]($color.oklab), [Linear RGB(A)]($color.linear-rgb), [HSL]($color.hsl), and [HSV]($color.hsv) - Added [`saturate`]($color.saturate), [`desaturate`]($color.desaturate), and [`rotate`]($color.rotate) functions on colors - Added [`color.map`]($color/#predefined-color-maps) module with predefined color maps that can be used with gradients - Rename `kind` function on colors to [`space`]($color.space) - Removed `to-rgba`, `to-cmyk`, and `to-luma` functions in favor of a new [`components`]($color.components) function - Improved rendering of [rectangles]($rect) with corner radius and varying stroke widths - Added support for properly clipping [boxes]($box.clip) and [blocks]($block.clip) with a border radius - Added `background` parameter to [`overline`]($overline), [`underline`]($underline), and [`strike`]($strike) functions - Fixed inaccurate color embedding in PDFs - Fixed ICC profile handling for images embedded in PDFs - Text and Layout - Added support for automatically adding proper [spacing]($text.cjk-latin-spacing) between CJK and Latin text (enabled by default) - Added support for automatic adjustment of more CJK punctuation - Added [`quote`]($quote) element for inserting inline and block quotes with optional attributions - Added [`raw.line`]($raw.line) element for customizing the display of individual lines of raw text, e.g. to add line numbers while keeping proper syntax highlighting - Added support for per-side [inset]($table.inset) customization to table function - Added Hungarian and Romanian translations - Added support for Czech hyphenation - Added support for setting custom [smart quotes]($smartquote) - The default [figure separator]($figure.caption.separator) now reacts to the currently set language and region - Improved line breaking of links / URLs (especially helpful for bibliographies with many URLs) - Improved handling of consecutive hyphens in justification algorithm - Fixed interaction of justification and hanging indent - Fixed a bug with line breaking of short lines without spaces when justification is enabled - Fixed font fallback for hyphen generated by hyphenation - Fixed handling of word joiner and other no-break characters during hyphenation - Fixed crash when hyphenating after an empty line - Fixed line breaking of composite emoji like 🏳️‍🌈 - Fixed missing text in some SVGs - Fixed font fallback in SVGs - Fixed behaviour of [`to`]($pagebreak.to) argument on `pagebreak` function - Fixed `{set align(..)}` for equations - Fixed spacing around [placed]($place) elements - Fixed coalescing of [`above`]($block.above) and [`below`]($block.below) spacing if given in em units and the font sizes differ - Fixed handling of `extent` parameter of [`underline`]($underline), [`overline`]($overline), and [`strike`]($strike) functions - Fixed crash for [floating placed elements]($place.float) with no specified vertical alignment - Partially fixed a bug with citations in footnotes - Math - Added `gap` argument for [`vec`]($math.vec.gap), [`mat`]($math.mat.gap), and [`cases`]($math.cases.gap) function - Added `size` argument for [`abs`]($math.abs), [`norm`]($math.norm), [`floor`]($math.floor), [`ceil`]($math.ceil), and [`round`]($math.round) functions - Added [`reverse`]($math.cases.reverse) parameter to cases function - Added support for multinomial coefficients to [`binom`]($math.binom) function - Removed `rotation` argument on [`cancel`]($math.cancel) function in favor of a new and more flexible `angle` argument (**Breaking change**) - Added `wide` constant, which inserts twice the spacing of `quad` - Added `csch` and `sech` [operators]($math.op) - `↼`, `⇀`, `↔`, and `⟷` can now be used as [accents]($math.accent) - Added `integral.dash`, `integral.dash.double`, and `integral.slash` [symbols]($category/symbols/sym) - Added support for specifying negative indices for [augmentation]($math.mat.augment) lines to position the line from the back - Fixed default color of matrix [augmentation]($math.mat.augment) lines - Fixed attachment of primes to inline expressions - Math content now respects the text [baseline]($text.baseline) setting - Performance - Fixed a bug related to show rules in templates which would effectively disable incremental compilation in affected documents - Micro-optimized code in several hot paths, which brings substantial performance gains, in particular in incremental compilations - Improved incremental parsing, which affects the whole incremental compilation pipeline - Added support for incremental parsing in the CLI - Added support for incremental SVG encoding during PDF export, which greatly improves export performance for documents with many SVG - Tooling and Diagnostics - Improved autocompletion for variables that are in-scope - Added autocompletion for package imports - Added autocompletion for [labels]($label) - Added tooltip that show which variables a function captures (when hovering over the equals sign or arrow of the function) - Diagnostics are now deduplicated - Improved diagnostics when trying to apply unary `+` or `-` to types that only support binary `+` and `-` - Error messages now state which label or citation key isn't present in the document or its bibliography - Fixed a bug where function argument parsing errors where shadowed by function execution errors (e.g. when trying to call [`array.sorted`]($array.sorted) and passing the key function as a positional argument instead of a named one). - Export - Added support for configuring the document's creation [`date`]($document.date). If the `date` is set to `{auto}` (the default), the PDF's creation date will be set to the current date and time. - Added support for configuring document [`keywords`]($document.keywords) - Generated PDFs now contain PDF document IDs - The PDF creator tool metadata now includes the Typst version - Web app - Added version picker to pin a project to an older compiler version (with support for Typst 0.6.0+) - Fixed desyncs between editor and compiler and improved overall stability - The app now continues to highlight the document when typing while the document is being compiled - Command line interface - Added support for discovering fonts through fontconfig - Now clears the screen instead of resetting the terminal - Now automatically picks correct file extension for selected output format - Now only regenerates images for changed pages when using `typst watch` with PNG or SVG export - Miscellaneous Improvements - Added [`version`]($version) type and `sys.version` constant specifying the current compiler version. Can be used to gracefully support multiple versions. - The U+2212 MINUS SIGN is now used when displaying a numeric value, in the [`repr`]($repr) of any numeric value and to replace a normal hyphen in text mode when before a digit. This improves, in particular, how negative integer values are displayed in math mode. - Added support for specifying a default value instead of failing for `remove` function in [array]($array.remove) and [dictionary]($dictionary.remove) - Simplified page setup guide examples - Switched the documentation from using the word "hashtag" to the word "hash" where appropriate - Added support for [`array.zip`]($array.zip) without any further arguments - Fixed crash when a plugin tried to read out of bounds memory - Fixed crashes when handling infinite [lengths]($length) - Fixed introspection (mostly bibliography) bugs due to weak page break close to the end of the document - Development - Extracted `typst::ide` into separate `typst_ide` crate - Removed a few remaining `'static` bounds on `&dyn World` - Removed unnecessary dependency, which reduces the binary size - Fixed compilation of `typst` by itself (without `typst-library`) - Fixed warnings with Nix flake when using `lib.getExe` <contributors from="v0.8.0" to="v0.9.0" /> ## Version 0.8.0 (September 13, 2023) { #v0.8.0 } - Scripting - Plugins (thanks to [@astrale-sharp](https://github.com/astrale-sharp) and [@arnaudgolfouse](https://github.com/arnaudgolfouse)) - Typst can now load [plugins]($plugin) that are compiled to WebAssembly - Anything that can be compiled to WebAssembly can thus be loaded as a plugin - These plugins are fully encapsulated (no access to file system or network) - Plugins can be shipped as part of [packages]($scripting/#packages) - Plugins work just the same in the web app - Types are now first-class values (**Breaking change**) - A [type]($type) is now itself a value - Some types can be called like functions (those that have a constructor), e.g. [`int`]($int) and [`str`]($str) - Type checks are now of the form `{type(10) == int}` instead of the old `{type(10) == "integer"}`. [Compatibility]($type/#compatibility) with the old way will remain for a while to give package authors time to upgrade, but it will be removed at some point. - Methods are now syntax sugar for calling a function scoped to a type, meaning that `{"hello".len()}` is equivalent to `{str.len("hello")}` - Added support for [`import`]($scripting/#modules) renaming with `as` - Added a [`duration`]($duration) type - Added support for [CBOR]($cbor) encoding and decoding - Added encoding and decoding functions from and to bytes for data formats: [`json.decode`]($json.decode), [`json.encode`]($json.encode), and similar functions for other formats - Added [`array.intersperse`]($array.intersperse) function - Added [`str.rev`]($str.rev) function - Added `calc.tau` constant - Made [bytes]($bytes) joinable and addable - Made [`array.zip`]($array.zip) function variadic - Fixed bug with [`eval`]($eval) when the `mode` was set to `{"math"}` - Fixed bug with [`ends-with`]($str.ends-with) function on strings - Fixed bug with destructuring in combination with break, continue, and return - Fixed argument types of [hyperbolic functions]($calc.cosh), they don't allow angles anymore (**Breaking change**) - Renamed some color methods: `rgba` becomes `to-rgba`, `cmyk` becomes `to-cmyk`, and `luma` becomes `to-luma` (**Breaking change**) - Export - Added SVG export (thanks to [@Enter-tainer](https://github.com/Enter-tainer)) - Fixed bugs with PDF font embedding - Added support for page labels that reflect the [page numbering]($page.numbering) style in the PDF - Text and Layout - Added [`highlight`]($highlight) function for highlighting text with a background color - Added [`polygon.regular`]($polygon.regular) function for drawing a regular polygon - Added support for tabs in [`raw`]($raw) elements alongside [`tab-width`]($raw.tab-size) parameter - The layout engine now tries to prevent "runts" (final lines consisting of just a single word) - Added Finnish translations - Added hyphenation support for Polish - Improved handling of consecutive smart quotes of different kinds - Fixed vertical alignments for [`number-align`]($page.number-align) argument on page function (**Breaking change**) - Fixed weak pagebreaks after counter updates - Fixed missing text in SVG when the text font is set to "New Computer Modern" - Fixed translations for Chinese - Fixed crash for empty text in show rule - Fixed leading spaces when there's a linebreak after a number and a comma - Fixed placement of floating elements in columns and other containers - Fixed sizing of block containing just a single box - Math - Added support for [augmented matrices]($math.mat.augment) - Removed support for automatic matching of fences like `|` and `||` as there were too many false positives. You can use functions like [`abs`]($math.abs) or [`norm`]($math.norm) or an explicit [`lr`]($math.lr) call instead. (**Breaking change**) - Fixed spacing after number with decimal point in math - Fixed bug with primes in subscript - Fixed weak spacing - Fixed crash when text within math contains a newline - Tooling and Diagnostics - Added hints when trying to call a function stored in a dictionary without extra parentheses - Fixed hint when referencing an equation without numbering - Added more details to some diagnostics (e.g. when SVG decoding fails) - Command line interface - Added `typst update` command for self-updating the CLI (thanks to [@jimvdl](https://github.com/jimvdl)) - Added download progress indicator for packages and updates - Added `--format` argument to explicitly specify the output format - The CLI now respects proxy configuration through environment variables and has a new `--cert` option for setting a custom CA certificate - Fixed crash when field wasn't present and `--one` is passed to `typst query` - Miscellaneous Improvements - Added [page setup guide]($guides/page-setup-guide) - Added [`figure.caption`]($figure.caption) function that can be used for simpler figure customization (**Breaking change** because `it.caption` now renders the full caption with supplement in figure show rules and manual outlines) - Moved `caption-pos` argument to `figure.caption` function and renamed it to `position` (**Breaking change**) - Added [`separator`]($figure.caption.separator) argument to `figure.caption` function - Added support for combination of and/or and before/after [selectors]($selector) - Packages can now specify a [minimum compiler version](https://github.com/typst/packages#package-format) they require to work - Fixed parser bug where method calls could be moved onto their own line for `[#let]` expressions in markup (**Breaking change**) - Fixed bugs in sentence and title case conversion for bibliographies - Fixed supplements for alphanumeric and author-title bibliography styles - Fixed off-by-one error in APA bibliography style - Development - Made `Span` and `FileId` more type-safe so that all error conditions must be handled by `World` implementors <contributors from="v0.7.0" to="v0.8.0" /> ## Version 0.7.0 (August 7, 2023) { #v0.7.0 } - Text and Layout - Added support for floating figures through the [`placement`]($figure.placement) argument on the figure function - Added support for arbitrary floating content through the [`float`]($place.float) argument on the place function - Added support for loading `.sublime-syntax` files as highlighting [syntaxes]($raw.syntaxes) for raw blocks - Added support for loading `.tmTheme` files as highlighting [themes]($raw.theme) for raw blocks - Added _bounds_ option to [`top-edge`]($text.top-edge) and [`bottom-edge`]($text.bottom-edge) arguments of text function for tight bounding boxes - Removed nonsensical top- and bottom-edge options, e.g. _ascender_ for the bottom edge (**Breaking change**) - Added [`script`]($text.script) argument to text function - Added [`alternative`]($smartquote.alternative) argument to smart quote function - Added basic i18n for Japanese - Added hyphenation support for `nb` and `nn` language codes in addition to `no` - Fixed positioning of [placed elements]($place) in containers - Fixed overflowing containers due to optimized line breaks - Export - Greatly improved export of SVG images to PDF. Many thanks to [@LaurenzV](https://github.com/LaurenzV) for their work on this. - Added support for the alpha channel of RGBA colors in PDF export - Fixed a bug with PPI (pixels per inch) for PNG export - Math - Improved layout of primes (e.g. in `[$a'_1$]`) - Improved display of multi-primes (e.g. in `[$a''$]`) - Improved layout of [roots]($math.root) - Changed relations to show attachments as [limits]($math.limits) by default (e.g. in `[$a ->^x b$]`) - Large operators and delimiters are now always vertically centered - [Boxes]($box) in equations now sit on the baseline instead of being vertically centered by default. Notably, this does not affect [blocks]($block) because they are not inline elements. - Added support for [weak spacing]($h.weak) - Added support for OpenType character variants - Added support for customizing the [math class]($math.class) of content - Fixed spacing around `.`, `\/`, and `...` - Fixed spacing between closing delimiters and large operators - Fixed a bug with math font weight selection - Symbols and Operators (**Breaking changes**) - Added `id`, `im`, and `tr` text [operators]($math.op) - Renamed `ident` to `equiv` with alias `eq.triple` and removed `ident.strict` in favor of `eq.quad` - Renamed `ast.sq` to `ast.square` and `integral.sq` to `integral.square` - Renamed `.eqq` modifier to `.equiv` (and `.neqq` to `.nequiv`) for `tilde`, `gt`, `lt`, `prec`, and `succ` - Added `emptyset` as alias for `nothing` - Added `lt.curly` and `gt.curly` as aliases for `prec` and `succ` - Added `aleph`, `beth`, and `gimmel` as alias for `alef`, `bet`, and `gimel` - Scripting - Fields - Added `abs` and `em` field to [lengths]($length) - Added `ratio` and `length` field to [relative lengths]($relative) - Added `x` and `y` field to [2d alignments]($align.alignment) - Added `paint`, `thickness`, `cap`, `join`, `dash`, and `miter-limit` field to [strokes]($stroke) - Accessor and utility methods - Added [`dedup`]($array.dedup) method to arrays - Added `pt`, `mm`, `cm`, and `inches` method to [lengths]($length) - Added `deg` and `rad` method to [angles]($angle) - Added `kind`, `hex`, `rgba`, `cmyk`, and `luma` method to [colors]($color) - Added `axis`, `start`, `end`, and `inv` method to [directions]($stack.dir) - Added `axis` and `inv` method to [alignments]($align.alignment) - Added `inv` method to [2d alignments]($align.alignment) - Added `start` argument to [`enumerate`]($array.enumerate) method on arrays - Added [`color.mix`]($color.mix) function - Added `mode` and `scope` arguments to [`eval`]($eval) function - Added [`bytes`]($bytes) type for holding large byte buffers - Added [`encoding`]($read.encoding) argument to read function to read a file as bytes instead of a string - Added [`image.decode`]($image.decode) function for decoding an image directly from a string or bytes - Added [`bytes`]($bytes) function for converting a string or an array of integers to bytes - Added [`array`]($array) function for converting bytes to an array of integers - Added support for converting bytes to a string with the [`str`]($str) function - Tooling and Diagnostics - Added support for compiler warnings - Added warning when compilation does not converge within five attempts due to intense use of introspection features - Added warnings for empty emphasis (`__` and `**`) - Improved error message for invalid field assignments - Improved error message after single `#` - Improved error message when a keyword is used where an identifier is expected - Fixed parameter autocompletion for functions that are in modules - Import autocompletion now only shows the latest package version until a colon is typed - Fixed autocompletion for dictionary key containing a space - Fixed autocompletion for for loops - Command line interface - Added `typst query` subcommand to execute a [query]($reference/meta/query/#command-line-queries) on the command line - The `--root` and `--font-paths` arguments cannot appear in front of the command anymore (**Breaking change**) - Local and cached packages are now stored in directories of the form `[{namespace}/{name}/{version}]` instead of `[{namespace}/{name}-{version}]` (**Breaking change**) - Now prioritizes explicitly given fonts (via `--font-paths`) over system and embedded fonts when both exist - Fixed `typst watch` not working with some text editors - Fixed displayed compilation time (now includes export) - Miscellaneous Improvements - Added [`bookmarked`]($heading.bookmarked) argument to heading to control whether a heading becomes part of the PDF outline - Added [`caption-pos`]($figure.caption.position) argument to control the position of a figure's caption - Added [`metadata`]($metadata) function for exposing an arbitrary value to the introspection system - Fixed that a [`state`]($state) was identified by the pair `(key, init)` instead of just its `key` - Improved indent logic of [enumerations]($enum). Instead of requiring at least as much indent as the end of the marker, they now require only one more space indent than the start of the marker. As a result, even long markers like `12.` work with just 2 spaces of indent. - Fixed bug with indent logic of [`raw`]($raw) blocks - Fixed a parsing bug with dictionaries - Development - Extracted parser and syntax tree into `typst-syntax` crate - The `World::today` implementation of Typst dependants may need fixing if they have the same [bug](https://github.com/typst/typst/issues/1842) that the CLI world had <contributors from="v0.6.0" to="v0.7.0" /> ## Version 0.6.0 (June 30, 2023) { #v0.6.0 } - Package Management - Typst now has built-in [package management]($scripting/#packages) - You can import [published]($packages) community packages or create and use [system-local](https://github.com/typst/packages#local-packages) ones - Published packages are also supported in the web app - Math - Added support for optical size variants of glyphs in math mode - Added argument to enable [`limits`]($math.limits) conditionally depending on whether the equation is set in [`display`]($math.display) or [`inline`]($math.inline) style - Added `gt.eq.slant` and `lt.eq.slant` symbols - Increased precedence of factorials in math mode (`[$1/n!$]` works correctly now) - Improved [underlines]($math.underline) and [overlines]($math.overline) in math mode - Fixed usage of [`limits`]($math.limits) function in show rules - Fixed bugs with line breaks in equations - Text and Layout - Added support for alternating page [margins]($page.margin) with the `inside` and `outside` keys - Added support for specifying the page [`binding`]($page.binding) - Added [`to`]($pagebreak.to) argument to pagebreak function to skip to the next even or odd page - Added basic i18n for a few more languages (TR, SQ, TL) - Fixed bug with missing table row at page break - Fixed bug with [underlines]($underline) - Fixed bug superfluous table lines - Fixed smart quotes after line breaks - Fixed a crash related to text layout - Command line interface - **Breaking change:** Added requirement for `--root`/`TYPST_ROOT` directory to contain the input file because it designates the _project_ root. Existing setups that use `TYPST_ROOT` to emulate package management should switch to [local packages](https://github.com/typst/packages#local-packages) - **Breaking change:** Now denies file access outside of the project root - Added support for local packages and on-demand package download - Now watches all relevant files, within the root and all packages - Now displays compilation time - Miscellaneous Improvements - Added [`outline.entry`]($outline.entry) to customize outline entries with show rules - Added some hints for error messages - Added some missing syntaxes for [`raw`]($raw) highlighting - Improved rendering of rotated images in PNG export and web app - Made [footnotes]($footnote) reusable and referenceable - Fixed bug with citations and bibliographies in [`locate`]($locate) - Fixed inconsistent tense in documentation - Development - Added [contribution guide](https://github.com/typst/typst/blob/main/CONTRIBUTING.md) - Reworked `World` interface to accommodate for package management and make it a bit simpler to implement _(Breaking change for implementors)_ <contributors from="v0.5.0" to="v0.6.0" /> ## Version 0.5.0 (June 9, 2023) { #v0.5.0 } - Text and Layout - Added [`raw`]($raw) syntax highlighting for many more languages - Added support for Korean [numbering]($numbering) - Added basic i18n for a few more languages (NL, SV, DA) - Improved line breaking for East Asian languages - Expanded functionality of outline [`indent`]($outline.indent) property - Fixed footnotes in columns - Fixed page breaking bugs with [footnotes]($footnote) - Fixed bug with handling of footnotes in lists, tables, and figures - Fixed a bug with CJK punctuation adjustment - Fixed a crash with rounded rectangles - Fixed alignment of [`line`]($line) elements - Math - **Breaking change:** The syntax rules for mathematical [attachments]($math.attach) were improved: `[$f^abs(3)$]` now parses as `[$f^(abs(3))$]` instead of `[$(f^abs)(3)$]`. To disambiguate, add a space: `[$f^zeta (3)$]`. - Added [forced size]($category/math/sizes) commands for math (e.g., [`display`]($math.display)) - Added [`supplement`]($math.equation.supplement) parameter to [`equation`]($math.equation), used by [references]($ref) - New [symbols]($category/symbols/sym): `bullet`, `xor`, `slash.big`, `sigma.alt`, `tack.r.not`, `tack.r.short`, `tack.r.double.not` - Fixed a bug with symbols in matrices - Fixed a crash in the [`attach`]($math.attach) function - Scripting - Added new [`datetime`]($datetime) type and [`datetime.today`]($datetime.today) to retrieve the current date - Added [`str.from-unicode`]($str.from-unicode) and [`str.to-unicode`]($str.to-unicode) functions - Added [`fields`]($content.fields) method on content - Added `base` parameter to [`str`]($str) function - Added [`calc.exp`]($calc.exp) and [`calc.ln`]($calc.ln) - Improved accuracy of [`calc.pow`]($calc.pow) and [`calc.log`]($calc.log) for specific bases - Fixed [removal]($dictionary.remove) order for dictionary - Fixed `.at(default: ..)` for [strings]($str.at) and [content]($content.at) - Fixed field access on styled elements - Removed deprecated `calc.mod` function - Command line interface - Added PNG export via `typst compile source.typ output-{n}.png`. The output path must contain `[{n}]` if the document has multiple pages. - Added `--diagnostic-format=short` for Unix-style short diagnostics - Doesn't emit color codes anymore if stderr isn't a TTY - Now sets the correct exit when invoked with a non-existent file - Now ignores UTF-8 BOM in Typst files - Miscellaneous Improvements - Improved errors for mismatched delimiters - Improved error message for failed length comparisons - Fixed a bug with images not showing up in Apple Preview - Fixed multiple bugs with the PDF outline - Fixed citations and other searchable elements in [`hide`]($hide) - Fixed bugs with [reference supplements]($ref.supplement) - Fixed Nix flake <contributors from="v0.4.0" to="v0.5.0" /> ## Version 0.4.0 (May 20, 2023) { #v0.4.0 } - Footnotes - Implemented support for footnotes - The [`footnote`]($footnote) function inserts a footnote - The [`footnote.entry`]($footnote.entry) function can be used to customize the footnote listing - The `{"chicago-notes"}` [citation style]($cite.style) is now available - Documentation - Added a [Guide for LaTeX users]($guides/guide-for-latex-users) - Now shows default values for optional arguments - Added richer outlines in "On this Page" - Added initial support for search keywords: "Table of Contents" will now find the [outline]($outline) function. Suggestions for more keywords are welcome! - Fixed issue with search result ranking - Fixed many more small issues - Math - **Breaking change**: Alignment points (`&`) in equations now alternate between left and right alignment - Added support for writing roots with Unicode: For example, `[$root(x+y)$]` can now also be written as `[$√(x+y)$]` - Fixed uneven vertical [`attachment`]($math.attach) alignment - Fixed spacing on decorated elements (e.g., spacing around a [canceled]($math.cancel) operator) - Fixed styling for stretchable symbols - Added `tack.r.double`, `tack.l.double`, `dotless.i` and `dotless.j` [symbols]($category/symbols/sym) - Fixed show rules on symbols (e.g. `{show sym.tack: set text(blue)}`) - Fixed missing rename from `ast.op` to `ast` that should have been in the previous release - Scripting - Added function scopes: A function can now hold related definitions in its own scope, similar to a module. The new [`assert.eq`]($assert.eq) function, for instance, is part of the [`assert`]($assert) function's scope. Note that function scopes are currently only available for built-in functions. - Added [`assert.eq`]($assert.eq) and [`assert.ne`]($assert.ne) functions for simpler equality and inequality assertions with more helpful error messages - Exposed [list]($list.item), [enum]($enum.item), and [term list]($terms.item) items in their respective functions' scope - The `at` methods on [strings]($str.at), [arrays]($array.at), [dictionaries]($dictionary.at), and [content]($content.at) now support specifying a default value - Added support for passing a function to [`replace`]($str.replace) that is called with each match. - Fixed [replacement]($str.replace) strings: They are now inserted completely verbatim instead of supporting the previous (unintended) magic dollar syntax for capture groups - Fixed bug with trailing placeholders in destructuring patterns - Fixed bug with underscore in parameter destructuring - Fixed crash with nested patterns and when hovering over an invalid pattern - Better error messages when casting to an [integer]($int) or [float]($float) fails - Text and Layout - Implemented sophisticated CJK punctuation adjustment - Disabled [overhang]($text.overhang) for CJK punctuation - Added basic translations for Traditional Chinese - Fixed [alignment]($raw.align) of text inside raw blocks (centering a raw block, e.g. through a figure, will now keep the text itself left-aligned) - Added support for passing a array instead of a function to configure table cell [alignment]($table.align) and [fill]($table.fill) per column - Fixed automatic figure [`kind`]($figure.kind) detection - Made alignment of [enum numbers]($enum.number-align) configurable, defaulting to `end` - Figures can now be made breakable with a show-set rule for blocks in figure - Initial fix for smart quotes in RTL languages - Export - Fixed ligatures in PDF export: They are now copyable and searchable - Exported PDFs now embed ICC profiles for images that have them - Fixed export of strokes with zero thickness - Web app - Projects can now contain folders - Added upload by drag-and-drop into the file panel - Files from the file panel can now be dragged into the editor to insert them into a Typst file - You can now copy-paste images and other files from your computer directly into the editor - Added a button to resend confirmation email - Added an option to invert preview colors in dark mode - Added tips to the loading screen and the Help menu. Feel free to propose more! - Added syntax highlighting for YAML files - Allowed middle mouse button click on many buttons to navigate into a new tab - Allowed more project names - Fixed overridden Vim mode keybindings - Fixed many bugs regarding file upload and more - Miscellaneous Improvements - Improved performance of counters, state, and queries - Improved incremental parsing for more efficient recompilations - Added support for `.yaml` extension in addition to `.yml` for bibliographies - The CLI now emits escape codes only if the output is a TTY - For users of the `typst` crate: The `Document` is now `Sync` again and the `World` doesn't have to be `'static` anymore <contributors from="v0.3.0" to="v0.4.0" /> ## Version 0.3.0 (April 26, 2023) { #v0.3.0 } - **Breaking changes:** - Renamed a few symbols: What was previous `dot.op` is now just `dot` and the basic dot is `dot.basic`. The same applies to `ast` and `tilde`. - Renamed `mod` to [`rem`]($calc.rem) to more accurately reflect the behaviour. It will remain available as `mod` until the next update as a grace period. - A lone underscore is not a valid identifier anymore, it can now only be used in patterns - Removed `before` and `after` arguments from [`query`]($query). This is now handled through flexible [selectors]($selector) combinator methods - Added support for [attachments]($math.attach) (sub-, superscripts) that precede the base symbol. The `top` and `bottom` arguments have been renamed to `t` and `b`. - New features - Added support for more complex [strokes]($stroke) (configurable caps, joins, and dash patterns) - Added [`cancel`]($math.cancel) function for equations - Added support for [destructuring]($scripting/#bindings) in argument lists and assignments - Added [`alt`]($image.alt) text argument to image function - Added [`toml`]($toml) function for loading data from a TOML file - Added [`zip`]($array.zip), [`sum`]($array.sum), and [`product`]($array.product) methods for arrays - Added `fact`, `perm`, `binom`, `gcd`, `lcm`, `atan2`, `quo`, `trunc`, and `fract` [calculation]($category/foundations/calc) functions - Improvements - Text in SVGs now displays properly - Typst now generates a PDF heading outline - [References]($ref) now provides the referenced element as a field in show rules - Refined linebreak algorithm for better Chinese justification - Locations are now a valid kind of selector - Added a few symbols for algebra - Added Spanish smart quote support - Added [`selector`]($selector) function to turn a selector-like value into a selector on which combinator methods can be called - Improved some error messages - The outline and bibliography headings can now be styled with show-set rules - Operations on numbers now produce an error instead of overflowing - Bug fixes - Fixed wrong linebreak before punctuation that follows inline equations, citations, and other elements - Fixed a bug with [argument sinks]($arguments) - Fixed strokes with thickness zero - Fixed hiding and show rules in math - Fixed alignment in matrices - Fixed some alignment bugs in equations - Fixed grid cell alignment - Fixed alignment of list marker and enum markers in presence of global alignment settings - Fixed [path]($path) closing - Fixed compiler crash with figure references - A single trailing line breaks is now ignored in math, just like in text - Command line interface - Font path and compilation root can now be set with the environment variables `TYPST_FONT_PATHS` and `TYPST_ROOT` - The output of `typst fonts` now includes the embedded fonts - Development - Added instrumentation for debugging and optimization - Added `--update` flag and `UPDATE_EXPECT` environment variable to update reference images for tests - You can now run a specific subtest with `--subtest` - Tests now run on multiple threads <contributors from="v0.2.0" to="v0.3.0" /> ## Version 0.2.0 (April 11, 2023) { #v0.2.0 } - **Breaking changes:** - Removed support for iterating over index and value in [for loops]($scripting/#loops). This is now handled via unpacking and enumerating. Same goes for the [`map`]($array.map) method. - [Dictionaries]($dictionary) now iterate in insertion order instead of alphabetical order. - New features - Added [unpacking syntax]($scripting/#bindings) for let bindings, which allows things like `{let (1, 2) = array}` - Added [`enumerate`]($array.enumerate) method - Added [`path`]($path) function for drawing Bézier paths - Added [`layout`]($layout) function to access the size of the surrounding page or container - Added `key` parameter to [`sorted`]($array.sorted) method - Command line interface - Fixed `--open` flag blocking the program - New Computer Modern font is now embedded into the binary - Shell completions and man pages can now be generated by setting the `GEN_ARTIFACTS` environment variable to a target directory and then building Typst - Miscellaneous improvements - Fixed page numbering in outline - Added basic i18n for a few more languages (AR, NB, CS, NN, PL, SL, ES, UA, VI) - Added a few numbering patterns (Ihora, Chinese) - Added `sinc` [operator]($math.op) - Fixed bug where math could not be hidden with [`hide`]($hide) - Fixed sizing issues with box, block, and shapes - Fixed some translations - Fixed inversion of "R" in [`cal`]($math.cal) and [`frak`]($math.frak) styles - Fixed some styling issues in math - Fixed supplements of references to headings - Fixed syntax highlighting of identifiers in certain scenarios - [Ratios]($ratio) can now be multiplied with more types and be converted to [floats]($float) with the [`float`]($float) function <contributors from="v0.1.0" to="v0.2.0" /> ## Version 0.1.0 (April 04, 2023) { #v0.1.0 } - **Breaking changes:** - When using the CLI, you now have to use subcommands: - `typst compile file.typ` or `typst c file.typ` to create a PDF - `typst watch file.typ` or `typst w file.typ` to compile and watch - `typst fonts` to list all fonts - Manual counters now start at zero. Read the "How to step" section [here]($counter) for more details - The [bibliography styles]($bibliography.style) `{"author-date"}` and `{"author-title"}` were renamed to `{"chicago-author-date"}` and `{"chicago-author-title"}` - Figure improvements - Figures now automatically detect their content and adapt their behaviour. Figures containing tables, for instance, are automatically prefixed with "Table X" and have a separate counter - The figure's supplement (e.g. "Figure" or "Table") can now be customized - In addition, figures can now be completely customized because the show rule gives access to the automatically resolved kind, supplement, and counter - Bibliography improvements - The [`bibliography`]($bibliography) now also accepts multiple bibliography paths (as an array) - Parsing of BibLaTeX files is now more permissive (accepts non-numeric edition, pages, volumes, dates, and Jabref-style comments; fixed abbreviation parsing) - Labels and references can now include `:` and `.` except at the end - Fixed APA bibliography ordering - Drawing additions - Added [`polygon`]($polygon) function for drawing polygons - Added support for clipping in [boxes]($box.clip) and [blocks]($block.clip) - Command line interface - Now returns with non-zero status code if there is an error - Now watches the root directory instead of the current one - Now puts the PDF file next to input file by default - Now accepts more kinds of input files (e.g. `/dev/stdin`) - Added `--open` flag to directly open the PDF - Miscellaneous improvements - Added [`yaml`]($yaml) function to load data from YAML files - Added basic i18n for a few more languages (IT, RU, ZH, FR, PT) - Added numbering support for Hebrew - Added support for [integers]($int) with base 2, 8, and 16 - Added symbols for double bracket and laplace operator - The [`link`]($link) function now accepts [labels]($label) - The link syntax now allows more characters - Improved justification of Japanese and Chinese text - Calculation functions behave more consistently w.r.t to non-real results - Replaced deprecated angle brackets - Reduced maximum function call depth from 256 to 64 - Fixed [`first-line-indent`]($par.first-line-indent) being not applied when a paragraph starts with styled text - Fixed extraneous spacing in unary operators in equations - Fixed block spacing, e.g. in `{block(above: 1cm, below: 1cm, ..)}` - Fixed styling of text operators in math - Fixed invalid parsing of language tag in raw block with a single backtick - Fixed bugs with displaying counters and state - Fixed crash related to page counter - Fixed crash when [`symbol`]($symbol) function was called without arguments - Fixed crash in bibliography generation - Fixed access to label of certain content elements - Fixed line number in error message for CSV parsing - Fixed invalid autocompletion after certain markup elements <contributors from="v23-03-28" to="v0.1.0" /> ## March 28, 2023 { #_ } - **Breaking changes:** - Enumerations now require a space after their marker, that is, `[1.ok]` must now be written as `[1. ok]` - Changed default style for [term lists]($terms): Does not include a colon anymore and has a bit more indent - Command line interface - Added `--font-path` argument for CLI - Embedded default fonts in CLI binary - Fixed build of CLI if `git` is not installed - Miscellaneous improvements - Added support for disabling [matrix]($math.mat) and [vector]($math.vec) delimiters. Generally with `[#set math.mat(delim: none)]` or one-off with `[$mat(delim: #none, 1, 2; 3, 4)$]`. - Added [`separator`]($terms.separator) argument to term lists - Added [`round`]($math.round) function for equations - Numberings now allow zeros. To reset a counter, you can write `[#counter(..).update(0)]` - Added documentation for `{page()}` and `{position()}` methods on [`location`]($location) type - Added symbols for double, triple, and quadruple dot accent - Added smart quotes for Norwegian Bokmål - Added Nix flake - Fixed bibliography ordering in IEEE style - Fixed parsing of decimals in math: `[$1.2/3.4$]` - Fixed parsing of unbalanced delimiters in fractions: `[$1/(2 (x)$]` - Fixed unexpected parsing of numbers as enumerations, e.g. in `[1.2]` - Fixed combination of page fill and header - Fixed compiler crash if [`repeat`]($repeat) is used in page with automatic width - Fixed [matrices]($math.mat) with explicit delimiter - Fixed [`indent`]($terms.indent) property of term lists - Numerous documentation fixes - Links in bibliographies are now affected by link styling - Fixed hovering over comments in web app <contributors from="v23-03-21" to="v23-03-28" /> ## March 21, 2023 { #_ } - Reference and bibliography management - [Bibliographies]($bibliography) and [citations]($cite) (currently supported styles are APA, Chicago Author Date, IEEE, and MLA) - You can now [reference]($ref) sections, figures, formulas, and works from the bibliography with `[@label]` - You can make an element referenceable with a label: - `[= Introduction <intro>]` - `[$ A = pi r^2 $ <area>]` - Introspection system for interactions between different parts of the document - [`counter`]($counter) function - Access and modify counters for pages, headings, figures, and equations - Define and use your own custom counters - Time travel: Find out what the counter value was or will be at some other point in the document (e.g. when you're building a list of figures, you can determine the value of the figure counter at any given figure). - Counters count in layout order and not in code order - [`state`]($state) function - Manage arbitrary state across your document - Time travel: Find out the value of your state at any position in the document - State is modified in layout order and not in code order - [`query`]($query) function - Find all occurrences of an element or a label, either in the whole document or before/after some location - Link to elements, find out their position on the pages and access their fields - Example use cases: Custom list of figures or page header with current chapter title - [`locate`]($locate) function - Determines the location of itself in the final layout - Can be accessed to get the `page` and `x`, `y` coordinates - Can be used with counters and state to find out their values at that location - Can be used with queries to find elements before or after its location - New [`measure`]($measure) function - Measure the layouted size of elements - To be used in combination with the new [`style`]($style) function that lets you generate different content based on the style context something is inserted into (because that affects the measured size of content) - Exposed content representation - Content is not opaque anymore - Content can be compared for equality - The tree of content elements can be traversed with code - Can be observed in hover tooltips or with [`repr`]($repr) - New [methods]($content) on content: `func`, `has`, `at`, and `location` - All optional fields on elements are now settable - More uniform field names (`heading.title` becomes `heading.body`, `list.items` becomes `list.children`, and a few more changes) - Further improvements - Added [`figure`]($figure) function - Added [`numbering`]($math.equation.numbering) parameter on equation function - Added [`numbering`]($page.numbering) and [`number-align`]($page.number-align) parameters on page function - The page function's [`header`]($page.header) and [`footer`]($page.footer) parameters do not take functions anymore. If you want to customize them based on the page number, use the new [`numbering`]($page.numbering) parameter or [`counter`]($counter) function instead. - Added [`footer-descent`]($page.footer-descent) and [`header-ascent`]($page.header-ascent) parameters - Better default alignment in header and footer - Fixed Arabic vowel placement - Fixed PDF font embedding issues - Renamed `math.formula` to [`math.equation`]($math.equation) - Font family must be a named argument now: `[#set text(font: "..")]` - Added support for [hanging indent]($par.hanging-indent) - Renamed paragraph `indent` to [`first-line-indent`]($par.first-line-indent) - More accurate [logarithm]($calc.log) when base is `2` or `10` - Improved some error messages - Fixed layout of [`terms`]($terms) list - Web app improvements - Added template gallery - Added buttons to insert headings, equations, raw blocks, and references - Jump to the source of something by clicking on it in the preview panel (works for text, equations, images, and more) - You can now upload your own fonts and use them in your project - Hover debugging and autocompletion now takes multiple files into account and works in show rules - Hover tooltips now automatically collapse multiple consecutive equal values - The preview now automatically scrolls to the right place when you type - Links are now clickable in the preview area - Toolbar, preview, and editor can now all be hidden - Added autocompletion for raw block language tags - Added autocompletion in SVG files - New back button instead of four-dots button - Lots of bug fixes ## February 25, 2023 { #_ } - Font changes - New default font: Linux Libertine - New default font for raw blocks: DejaVu Sans Mono - New default font for math: Book weight of New Computer Modern Math - Lots of new math fonts available - Removed Latin Modern fonts in favor of New Computer Modern family - Removed unnecessary smallcaps fonts which are already accessible through the corresponding main font and the [`smallcaps`]($smallcaps) function - Improved default spacing for headings - Added [`panic`]($panic) function - Added [`clusters`]($str.clusters) and [`codepoints`]($str.codepoints) methods for strings - Support for multiple authors in [`set document`]($document.author) - Fixed crash when string is accessed at a position that is not a char boundary - Fixed semicolon parsing in `[#var ;]` - Fixed incremental parsing when inserting backslash at end of `[#"abc"]` - Fixed names of a few font families (including Noto Sans Symbols and New Computer Modern families) - Fixed autocompletion for font families - Improved incremental compilation for user-defined functions ## February 15, 2023 { #_ } - [Box]($box) and [block]($block) have gained `fill`, `stroke`, `radius`, and `inset` properties - Blocks may now be explicitly sized, fixed-height blocks can still break across pages - Blocks can now be configured to be [`breakable`]($block.breakable) or not - [Numbering style]($enum.numbering) can now be configured for nested enums - [Markers]($list.marker) can now be configured for nested lists - The [`eval`]($eval) function now expects code instead of markup and returns an arbitrary value. Markup can still be evaluated by surrounding the string with brackets. - PDFs generated by Typst now contain XMP metadata - Link boxes are now disabled in PDF output - Tables don't produce small empty cells before a pagebreak anymore - Fixed raw block highlighting bug ## February 12, 2023 { #_ } - Shapes, images, and transformations (move/rotate/scale/repeat) are now block-level. To integrate them into a paragraph, use a [`box`]($box) as with other elements. - A colon is now required in an "everything" show rule: Write `{show: it => ..}` instead of `{show it => ..}`. This prevents intermediate states that ruin your whole document. - Non-math content like a shape or table in a math formula is now centered vertically - Support for widow and orphan prevention within containers - Support for [RTL]($text.dir) in lists, grids, and tables - Support for explicit `{auto}` sizing for boxes and shapes - Support for fractional (i.e. `{1fr}`) widths for boxes - Fixed bug where columns jump to next page - Fixed bug where list items have no leading - Fixed relative sizing in lists, squares and grid auto columns - Fixed relative displacement in [`place`]($place) function - Fixed that lines don't have a size - Fixed bug where `{set document(..)}` complains about being after content - Fixed parsing of `{not in}` operation - Fixed hover tooltips in math - Fixed bug where a heading show rule may not contain a pagebreak when an outline is present - Added [`baseline`]($box.baseline) property on [`box`]($box) - Added [`tg`]($math.op) and [`ctg`]($math.op) operators in math - Added delimiter setting for [`cases`]($math.cases) function - Parentheses are now included when accepting a function autocompletion ## February 2, 2023 { #_ } - Merged text and math symbols, renamed a few symbols (including `infty` to `infinity` with the alias `oo`) - Fixed missing italic mappings - Math italics correction is now applied properly - Parentheses now scale in `[$zeta(x/2)$]` - Fixed placement of large root index - Fixed spacing in `[$abs(-x)$]` - Fixed inconsistency between text and identifiers in math - Accents are now ignored when positioning superscripts - Fixed vertical alignment in matrices - Fixed `text` set rule in `raw` show rule - Heading and list markers now parse consistently - Allow arbitrary math directly in content ## January 30, 2023 { #_ } [Go to the announcement blog post.](https://typst.app/blog/2023/january-update) - New expression syntax in markup/math - Blocks cannot be directly embedded in markup anymore - Like other expressions, they now require a leading hash - More expressions available with hash, including literals (`[#"string"]`) as well as field access and method call without space: `[#emoji.face]` - New import syntax - `[#import "module.typ"]` creates binding named `module` - `[#import "module.typ": a, b]` or `[#import "module.typ": *]` to import items - `[#import emoji: face, turtle]` to import from already bound module - New symbol handling - Removed symbol notation - Symbols are now in modules: `{sym}`, `{emoji}`, and `{math}` - Math module also reexports all of `{sym}` - Modified through field access, still order-independent - Unknown modifiers are not allowed anymore - Support for custom symbol definitions with `symbol` function - Symbols now listed in documentation - New `{math}` module - Contains all math-related functions - Variables and function calls directly in math (without hash) access this module instead of the global scope, but can also access local variables - Can be explicitly used in code, e.g. `[#set math.vec(delim: "[")]` - Delimiter matching in math - Any opening delimiters matches any closing one - When matched, they automatically scale - To prevent scaling, escape them - To forcibly match two delimiters, use `lr` function - Line breaks may occur between matched delimiters - Delimiters may also be unbalanced - You can also use the `lr` function to scale the brackets (or just one bracket) to a specific size manually - Multi-line math with alignment - The `\` character inserts a line break - The `&` character defines an alignment point - Alignment points also work for underbraces, vectors, cases, and matrices - Multiple alignment points are supported - More capable math function calls - Function calls directly in math can now take code expressions with hash - They can now also take named arguments - Within math function calls, semicolons turn preceding arguments to arrays to support matrices: `[$mat(1, 2; 3, 4)$]` - Arbitrary content in math - Text, images, and other arbitrary content can now be embedded in math - Math now also supports font fallback to support e.g. CJK and emoji - More math features - New text operators: `op` function, `lim`, `max`, etc. - New matrix function: `mat` - New n-ary roots with `root` function: `[$root(3, x)$]` - New under- and overbraces, -brackets, and -lines - New `abs` and `norm` functions - New shorthands: `[|`, `|]`, and `||` - New `attach` function, overridable attachments with `script` and `limit` - Manual spacing in math, with `h`, `thin`, `med`, `thick` and `quad` - Symbols and other content may now be used like a function, e.g. `[$zeta(x)$]` - Added Fira Math font, removed Noto Sans Math font - Support for alternative math fonts through `[#show math.formula: set text("Fira Math")]` - More library improvements - New `calc` module, `abs`, `min`, `max`, `even`, `odd` and `mod` moved there - New `message` argument on `{assert}` function - The `pairs` method on dictionaries now returns an array of length-2 arrays instead of taking a closure - The method call `{dict.at("key")}` now always fails if `"key"` doesn't exist Previously, it was allowed in assignments. Alternatives are `{dict.key = x}` and `{dict.insert("key", x)}`. - Smarter editor functionality - Autocompletion for local variables - Autocompletion for methods available on a value - Autocompletion for symbols and modules - Autocompletion for imports - Hover over an identifier to see its value(s) - Further editor improvements - New Font menu with previews - Single projects may now be shared with share links - New dashboard experience if projects are shared with you - Keyboard Shortcuts are now listed in the menus and there are more of them - New Offline indicator - Tooltips for all buttons - Improved account protection - Moved Status indicator into the error list button - Further fixes - Multiple bug fixes for incremental parser - Fixed closure parameter capturing - Fixed tons of math bugs - Bugfixes for performance, file management, editing reliability - Added redirection to the page originally navigated to after signin
https://github.com/ammar-ahmed22/typst-resume
https://raw.githubusercontent.com/ammar-ahmed22/typst-resume/main/src/templates/coverLetter.typ
typst
#import "../utils/init.typ": init #import "../utils/resume.typ": contactInfo #let coverLetter(data, accentColor: black, rest) = { show: doc => init(doc, accentColor: accentColor, fontSize: 12pt, lineSpacing: 10pt) heading(level: 1, [<NAME>]) block()[ #contactInfo(data, accentColor) #rest ] }
https://github.com/wcshds/manual-of-chinese-phonology
https://raw.githubusercontent.com/wcshds/manual-of-chinese-phonology/main/phonology-list.typ
typst
#import "tools/prelude.typ": xs, sup-xs; #let data = ( "毐": ( "pinyin": [a3i], "zi-list": ( ("毐", "烏開", "影咍平一開", ``` ?@i ```, "之", ``` qM_- ```, []), ("毐", "於改", "影咍上一開", ``` ?@i ```, "之", ``` qM_-? ```, []), ) ), "安": ( "pinyin": [a1n], "zi-list": ( ("鞍", "烏寒", "影寒平一開", ``` ?An ```, "元a", ``` qa_-n ```, [《廣韻》作“鞌”。]), ("侒", "烏寒", "影寒平一開", ``` ?An ```, "元a", ``` qa_-n ```, []), ("安", "烏寒", "影寒平一開", ``` ?An ```, "元a", ``` qa_-n ```, []), ("䀂", "烏寒", "影寒平一開", ``` ?An ```, "元a", ``` qa_-n ```, []), ("按", "烏旰", "影寒去一開", ``` ?An ```, "元a", ``` qa_-ns ```, []), ("案", "烏旰", "影寒去一開", ``` ?An ```, "元a", ``` qa_-ns ```, []), ("洝", "烏旰", "影寒去一開", ``` ?An ```, "元a", ``` qa_-ns ```, []), ("晏", "烏旰", "影寒去一開", ``` ?An ```, "元a", ``` qa_-ns ```, []), ("荌", "烏旰", "影寒去一開", ``` ?An ```, "元a", ``` qa_-ns ```, []), ("䅁", "烏旰", "影寒去一開", ``` ?An ```, "元a", ``` qa_-ns ```, []), ("鷃", "烏澗", "影刪去二開", ``` ?_M_t{n ```, "元a", ``` q_r_ta_-ns ```, []), ("鴳", "烏澗", "影刪去二開", ``` ?_M_t{n ```, "元a", ``` q_r_ta_-ns ```, []), ("晏", "烏澗", "影刪去二開", ``` ?_M_t{n ```, "元a", ``` q_r_ta_-ns ```, []), ("䁙", "烏澗", "影刪去二開", ``` ?_M_t{n ```, "元a", ``` q_r_ta_-ns ```, []), ("騴", "烏澗", "影刪去二開", ``` ?_M_t{n ```, "元a", ``` q_r_ta_-ns ```, []), ("頞", "烏葛", "影曷入一開", ``` ?At ```, "月a", ``` qa_-d ```, []), ) ), "卬": ( "pinyin": [a2ng], "zi-list": ( ("迎", "語京", "疑庚平三開", ``` Ni{N ```, "陽", ``` N_r_taN ```, []), ("仰", "魚兩", "疑陽上三開", ``` NiaN ```, "陽", ``` NaN? ```, []), ("䒢", "魚兩", "疑陽上三開", ``` NiaN ```, "陽", ``` NaN? ```, []), ("卬", "魚兩", "疑陽上三開", ``` NiaN ```, "陽", ``` NaN? ```, []), ("迎", "魚敬", "疑庚去三開", ``` Ni{N ```, "陽", ``` N_r_taNs ```, []), ("仰", "魚向", "疑陽去三開", ``` NiaN ```, "陽", ``` NaNs ```, []), ("卬", "五剛", "疑唐平一開", ``` NAN ```, "陽", ``` Na_-N ```, []), ("䭹", "五剛", "疑唐平一開", ``` NAN ```, "陽", ``` Na_-N ```, []), ("枊", "五剛", "疑唐平一開", ``` NAN ```, "陽", ``` Na_-N ```, []), ("昂", "五剛", "疑唐平一開", ``` NAN ```, "陽", ``` Na_-N ```, []), ("䒢", "五剛", "疑唐平一開", ``` NAN ```, "陽", ``` Na_-N ```, []), ("䩕", "五剛", "疑唐平一開", ``` NAN ```, "陽", ``` Na_-N ```, []), ("䭹", "五朗", "疑唐上一開", ``` NAN ```, "陽", ``` Na_-N? ```, []), ("䭹", "五浪", "疑唐去一開", ``` NAN ```, "陽", ``` Na_-Ns ```, []), ("枊", "五浪", "疑唐去一開", ``` NAN ```, "陽", ``` Na_-Ns ```, []), ) ), "敖": ( "pinyin": [a2o], "zi-list": ( ("𠢕", "胡刀", "匣豪平一開", ``` h\Au ```, "宵o", ``` go_-_w ```, []), ("慠", "牛刀", "疑豪平一開", ``` NAu ```, "宵o", ``` Ngo_-_w ```, []), ("隞", "牛刀", "疑豪平一開", ``` NAu ```, "宵o", ``` Ngo_-_w ```, []), ("獓", "牛刀", "疑豪平一開", ``` NAu ```, "宵o", ``` Ngo_-_w ```, []), ("敖", "五勞", "疑豪平一開", ``` NAu ```, "宵o", ``` Ngo_-_w ```, []), ("驁", "五勞", "疑豪平一開", ``` NAu ```, "宵o", ``` Ngo_-_w ```, []), ("熬", "五勞", "疑豪平一開", ``` NAu ```, "宵o", ``` Ngo_-_w ```, []), ("嶅", "五勞", "疑豪平一開", ``` NAu ```, "宵o", ``` Ngo_-_w ```, []), ("獒", "五勞", "疑豪平一開", ``` NAu ```, "宵o", ``` Ngo_-_w ```, []), ("滶", "五勞", "疑豪平一開", ``` NAu ```, "宵o", ``` Ngo_-_w ```, []), ("蔜", "五勞", "疑豪平一開", ``` NAu ```, "宵o", ``` Ngo_-_w ```, []), ("鷔", "五勞", "疑豪平一開", ``` NAu ```, "宵o", ``` Ngo_-_w ```, []), ("鼇", "五勞", "疑豪平一開", ``` NAu ```, "宵o", ``` Ngo_-_w ```, []), ("螯", "五勞", "疑豪平一開", ``` NAu ```, "宵o", ``` Ngo_-_w ```, []), ("謷", "五勞", "疑豪平一開", ``` NAu ```, "宵o", ``` Ngo_-_w ```, []), ("嗷", "五勞", "疑豪平一開", ``` NAu ```, "宵o", ``` Ngo_-_w ```, []), ("摮", "五勞", "疑豪平一開", ``` NAu ```, "宵o", ``` Ngo_-_w ```, []), ("嫯", "五勞", "疑豪平一開", ``` NAu ```, "宵o", ``` Ngo_-_w ```, []), ("鰲", "五勞", "疑豪平一開", ``` NAu ```, "宵o", ``` Ngo_-_w ```, []), ("㟼", "魚到", "疑豪去一開", ``` NAu ```, "宵o", ``` Ngo_-_ws ```, []), ("傲", "五到", "疑豪去一開", ``` NAu ```, "宵o", ``` Ngo_-_ws ```, []), ("嫯", "五到", "疑豪去一開", ``` NAu ```, "宵o", ``` Ngo_-_ws ```, []), ("鏊", "五到", "疑豪去一開", ``` NAu ```, "宵o", ``` Ngo_-_ws ```, []), ("驁", "五到", "疑豪去一開", ``` NAu ```, "宵o", ``` Ngo_-_ws ```, []), ("謷", "五到", "疑豪去一開", ``` NAu ```, "宵o", ``` Ngo_-_ws ```, []), ("謷", "五交", "疑肴平二開", ``` N_M_t{u ```, "宵o", ``` Ng_r_to_-_w ```, []), ("磝", "五交", "疑肴平二開", ``` N_M_t{u ```, "宵o", ``` Ng_r_to_-_w ```, []), ) ), "奡": ( "pinyin": [a4o], "zi-list": ( ("奡", "五到", "疑豪去一開", ``` NAu ```, "宵o", ``` Ngo_-_ws ```, []), ("夰", "古老", "見豪上一開", ``` kAu ```, "宵o", ``` ko_-_w? ```, []), ("夰", "胡老", "匣豪上一開", ``` h\Au ```, "宵o", ``` go_-_w? ```, []), ) ), "奧": ( "pinyin": [a4o], "zi-list": ( ("燠", "於六", "影屋入三合", ``` ?iuk ```, "覺", ``` qug ```, []), ("墺", "於六", "影屋入三合", ``` ?iuk ```, "覺", ``` qug ```, []), ("䐿", "於六", "影屋入三合", ``` ?iuk ```, "覺", ``` qug ```, []), ("薁", "於六", "影屋入三合", ``` ?iuk ```, "覺", ``` qug ```, []), ("澳", "於六", "影屋入三合", ``` ?iuk ```, "覺", ``` qug ```, []), ("䉛", "於六", "影屋入三合", ``` ?iuk ```, "覺", ``` qug ```, []), ("𨞓", "於六", "影屋入三合", ``` ?iuk ```, "覺", ``` qug ```, []), ("懊", "於六", "影屋入三合", ``` ?iuk ```, "覺", ``` qug ```, []), ("隩", "於六", "影屋入三合", ``` ?iuk ```, "覺", ``` qug ```, []), ("澳", "烏到", "影豪去一開", ``` ?Au ```, "覺", ``` qu_-gs ```, []), ("奧", "烏到", "影豪去一開", ``` ?Au ```, "覺", ``` qu_-gs ```, []), ("懊", "烏到", "影豪去一開", ``` ?Au ```, "覺", ``` qu_-gs ```, []), ("䐿", "烏到", "影豪去一開", ``` ?Au ```, "覺", ``` qu_-gs ```, []), ("隩", "烏到", "影豪去一開", ``` ?Au ```, "覺", ``` qu_-gs ```, []), ("燠", "烏到", "影豪去一開", ``` ?Au ```, "覺", ``` qu_-gs ```, []), ("墺", "烏到", "影豪去一開", ``` ?Au ```, "覺", ``` qu_-gs ```, []), ("懊", "烏晧", "影豪上一開", ``` ?Au ```, "幽", ``` qu_-? ```, []), ("䐿", "烏晧", "影豪上一開", ``` ?Au ```, "幽", ``` qu_-? ```, []), ("燠", "烏晧", "影豪上一開", ``` ?Au ```, "幽", ``` qu_-? ```, []), ) ), "八": ( "pinyin": [ba1], "zi-list": ( ("𠔁", "筆別", "幫薛入B開", ``` p1_E_st ```, "月e", ``` p_r_ted ```, []), ("八", "博拔", "幫黠入二開", ``` p_M_tEt ```, "月e", ``` p_r_te_-d ```, []), ("𩡩", "博拔", "幫黠入二開", ``` p_M_tEt ```, "月e", ``` p_r_te_-d ```, []), ("汃", "普八", "滂黠入二開", ``` p_h_M_tEt ```, "月e", ``` p_h_r_te_-d ```, []), ("汃", "府巾", "幫眞平B開", ``` p1in ```, "眞n", ``` p_r_tin ```, []), ("𠔯", "布還", "幫山平二開", ``` p_M_tEn ```, "元e", ``` p_r_te_-n ```, [原爲刪韻,但是根據諧聲系統應該爲山韻,《切韻》音系二等有山、刪的歷史層次。]), ) ), "巴": ( "pinyin": [ba1], "zi-list": ( ("巴", "伯加", "幫麻平二開", ``` p_M_t{ ```, "魚", ``` p_r_ta_- ```, []), ("鈀", "伯加", "幫麻平二開", ``` p_M_t{ ```, "魚", ``` p_r_ta_- ```, []), ("豝", "伯加", "幫麻平二開", ``` p_M_t{ ```, "魚", ``` p_r_ta_- ```, []), ("芭", "伯加", "幫麻平二開", ``` p_M_t{ ```, "魚", ``` p_r_ta_- ```, []), ("蚆", "伯加", "幫麻平二開", ``` p_M_t{ ```, "魚", ``` p_r_ta_- ```, []), ("吧", "伯加", "幫麻平二開", ``` p_M_t{ ```, "魚", ``` p_r_ta_- ```, []), ("皅", "披巴", "滂麻平二開", ``` p_h_M_t{ ```, "魚", ``` p_h_r_ta_- ```, []), ("葩", "普巴", "滂麻平二開", ``` p_h_M_t{ ```, "魚", ``` p_h_r_ta_- ```, []), ("鈀", "普巴", "滂麻平二開", ``` p_h_M_t{ ```, "魚", ``` p_h_r_ta_- ```, []), ("蚆", "普巴", "滂麻平二開", ``` p_h_M_t{ ```, "魚", ``` p_h_r_ta_- ```, []), ("吧", "普巴", "滂麻平二開", ``` p_h_M_t{ ```, "魚", ``` p_h_r_ta_- ```, []), ("爬", "蒲巴", "並麻平二開", ``` b_M_t{ ```, "魚", ``` b_r_ta_- ```, []), ("杷", "蒲巴", "並麻平二開", ``` b_M_t{ ```, "魚", ``` b_r_ta_- ```, []), ("琶", "蒲巴", "並麻平二開", ``` b_M_t{ ```, "魚", ``` b_r_ta_- ```, []), ("𢃳", "博下", "幫麻上二開", ``` p_M_t{ ```, "魚", ``` p_r_ta_-? ```, []), ("把", "博下", "幫麻上二開", ``` p_M_t{ ```, "魚", ``` p_r_ta_-? ```, []), ("靶", "必駕", "幫麻去二開", ``` p_M_t{ ```, "魚", ``` p_r_ta_-s ```, []), ("弝", "必駕", "幫麻去二開", ``` p_M_t{ ```, "魚", ``` p_r_ta_-s ```, []), ("杷", "白駕", "並麻去二開", ``` b_M_t{ ```, "魚", ``` b_r_ta_-s ```, []), ("皅", "歩化", "並麻去二開", ``` b_M_t{ ```, "魚", ``` b_r_ta_-s ```, []), ) ), "犮": ( "pinyin": [ba2], "zi-list": ( ("祓", "方肺", "幫廢去三合", ``` p_wiai ```, "月o", ``` pods ```, [見#link(<肺字註>)[“肺”字註]。]), ("鮁", "房廢", "並廢去三合", ``` b_wiai ```, "月o", ``` bods ```, []), ("髮", "方伐", "幫月入三合", ``` p_wi7t ```, "月o", ``` pod ```, []), ("冹", "方伐", "幫月入三合", ``` p_wi7t ```, "月o", ``` pod ```, []), ("瞂", "房越", "並月入三合", ``` b_wi7t ```, "月o", ``` bod ```, []), ("拔", "房越", "並月入三合", ``` b_wi7t ```, "月o", ``` bod ```, []), ("坺", "房越", "並月入三合", ``` b_wi7t ```, "月o", ``` bod ```, []), ("軷", "蒲蓋", "並泰去一開", ``` bAi ```, "月o", ``` bo_-ds ```, []), ("帗", "北末", "幫曷入一合", ``` p_wAt ```, "月o", ``` po_-d ```, []), ("柭", "北末", "幫曷入一合", ``` p_wAt ```, "月o", ``` po_-d ```, []), ("袚", "北末", "幫曷入一合", ``` p_wAt ```, "月o", ``` po_-d ```, []), ("茇", "北末", "幫曷入一合", ``` p_wAt ```, "月o", ``` po_-d ```, []), ("䳊", "北末", "幫曷入一合", ``` p_wAt ```, "月o", ``` po_-d ```, []), ("軷", "蒲撥", "並曷入一合", ``` b_wAt ```, "月o", ``` bo_-d ```, []), ("跋", "蒲撥", "並曷入一合", ``` b_wAt ```, "月o", ``` bo_-d ```, []), ("魃", "蒲撥", "並曷入一合", ``` b_wAt ```, "月o", ``` bo_-d ```, []), ("炦", "蒲撥", "並曷入一合", ``` b_wAt ```, "月o", ``` bo_-d ```, []), ("妭", "蒲撥", "並曷入一合", ``` b_wAt ```, "月o", ``` bo_-d ```, []), ("犮", "蒲撥", "並曷入一合", ``` b_wAt ```, "月o", ``` bo_-d ```, []), ("拔", "蒲撥", "並曷入一合", ``` b_wAt ```, "月o", ``` bo_-d ```, [藏文#xs(``` h\bud ```)拉扯、拔根(格西曲扎),故拔帶圓唇元音。]), ("胈", "蒲撥", "並曷入一合", ``` b_wAt ```, "月o", ``` bo_-d ```, []), ("䳊", "蒲撥", "並曷入一合", ``` b_wAt ```, "月o", ``` bo_-d ```, []), ("坺", "蒲撥", "並曷入一合", ``` b_wAt ```, "月o", ``` bo_-d ```, []), ("茇", "蒲撥", "並曷入一合", ``` b_wAt ```, "月o", ``` bo_-d ```, []), ("柭", "蒲撥", "並曷入一合", ``` b_wAt ```, "月o", ``` bo_-d ```, []), ("𢇷", "蒲撥", "並曷入一合", ``` b_wAt ```, "月o", ``` bo_-d ```, []), ("軷", "蒲葛", "並曷入一合", ``` b_wAt ```, "月o", ``` bo_-d ```, []), ("柭", "布拔", "幫鎋入二開", ``` p_M_t{t ```, "月o", ``` p_r_to_-d ```, []), ("拔", "蒲八", "並鎋入二開", ``` b_M_t{t ```, "月o", ``` b_r_to_-d ```, [原爲黠韻,但是根據諧聲系統應該爲鎋韻,《切韻》音系二等有鎋、黠的歷史層次。]), ("紱", "分勿", "幫物入三合", ``` piut ```, "物u", ``` pud ```, []), ("黻", "分勿", "幫物入三合", ``` piut ```, "物u", ``` pud ```, []), ("翇", "分勿", "幫物入三合", ``` piut ```, "物u", ``` pud ```, []), ("冹", "分勿", "幫物入三合", ``` piut ```, "物u", ``` pud ```, []), ("帗", "分勿", "幫物入三合", ``` piut ```, "物u", ``` pud ```, []), ("祓", "敷勿", "滂物入三合", ``` p_hiut ```, "物u", ``` p_hud ```, []), ("蛂", "蒲結", "並屑入四開", ``` bet ```, "物u", ``` bu_-d ```, [元音#xs(``` u ```)在唇音聲母的異化下變成非圓唇元音#xs(``` M ```):#xs(``` _*_g_-_ou_-d ```)>#xs(``` _*_gM_-d ```)>#xs(``` _*_gi_-d ```)>#xs(``` et ```)。]), ) ), "罷": ( "pinyin": [ba4], "zi-list": ( ("羆", "彼爲", "幫支平B開", ``` p1e ```, "歌e", ``` p_r_tel ```, []), ("襬", "彼爲", "幫支平B開", ``` p1e ```, "歌e", ``` p_r_tel ```, []), ("藣", "彼爲", "幫支平B開", ``` p1e ```, "歌e", ``` p_r_tel ```, []), ("罷", "符羈", "並支平B開", ``` b1e ```, "歌e", ``` b_r_tel ```, []), ("犤", "符羈", "並支平B開", ``` b1e ```, "歌e", ``` b_r_tel ```, []), ("罷", "皮彼", "並支上B開", ``` b1e ```, "歌e", ``` b_r_tel? ```, []), ("藣", "彼義", "幫支去B開", ``` p1e ```, "歌e", ``` p_r_tels ```, []), ("襬", "披義", "滂支去B開", ``` p_h1e ```, "歌e", ``` p_h_r_tels ```, []), ("犤", "薄佳", "並佳平二開", ``` b_M_tE ```, "歌e", ``` b_r_te_-l ```, []), ("擺", "北買", "幫佳上二開", ``` p_M_tE ```, "歌e", ``` p_r_te_-l? ```, []), ("罷", "薄蟹", "並佳上二開", ``` b_M_tE ```, "歌e", ``` b_r_te_-l? ```, []), ("矲", "薄蟹", "並佳上二開", ``` b_M_tE ```, "歌e", ``` b_r_te_-l? ```, []), ("䥯", "薄蟹", "並佳上二開", ``` b_M_tE ```, "歌e", ``` b_r_te_-l? ```, []), ) ), "白": ( "pinyin": [ba2i], "zi-list": ( ("碧", "彼役", "幫陌入三開", ``` pi{k ```, "鐸", ``` p_r_tag ```, [《廣韻》“彼役切”,昔韻。從“白”得聲的諧聲系列中,唇音三等不可能有昔韻,而有陌韻,《王二》“逋逆反”在陌韻。]), ("狛", "筆㦸", "幫陌入三開", ``` pi{k ```, "鐸", ``` p_r_tag ```, []), ("狛", "伯各", "幫鐸入一開", ``` pAk ```, "鐸", ``` pa_-g ```, []), ("粕", "匹各", "滂鐸入一開", ``` p_hAk ```, "鐸", ``` p_ha_-g ```, []), ("胉", "匹各", "滂鐸入一開", ``` p_hAk ```, "鐸", ``` p_ha_-g ```, []), ("狛", "匹各", "滂鐸入一開", ``` p_hAk ```, "鐸", ``` p_ha_-g ```, []), ("魄", "他各", "透鐸入一開", ``` t_hAk ```, "鐸", ``` p_hla_-g ```, []), ("泊", "傍各", "並鐸入一開", ``` bAk ```, "鐸", ``` ba_-g ```, []), ("怕", "普駕", "滂麻去二開", ``` p_h_M_t{ ```, "鐸", ``` p_h_r_ta_-gs ```, []), ("狛", "步化", "並麻去二開", ``` b_M_t{ ```, "鐸", ``` b_r_ta_-gs ```, []), ("貊", "莫白", "明陌入二開", ``` m_M_t{k ```, "鐸", ``` mg_r_ta_-g ```, [通“貉”,見#link(<貉字註>)[“貉”字註]。]), ("敀", "博陌", "幫陌入二開", ``` p_M_t{k ```, "鐸", ``` p_r_ta_-g ```, []), ("伯", "博陌", "幫陌入二開", ``` p_M_t{k ```, "鐸", ``` p_r_ta_-g ```, []), ("迫", "博陌", "幫陌入二開", ``` p_M_t{k ```, "鐸", ``` p_r_ta_-g ```, []), ("百", "博陌", "幫陌入二開", ``` p_M_t{k ```, "鐸", ``` p_r_ta_-g ```, []), ("柏", "博陌", "幫陌入二開", ``` p_M_t{k ```, "鐸", ``` p_r_ta_-g ```, []), ("魄", "普伯", "滂陌入二開", ``` p_h_M_t{k ```, "鐸", ``` p_h_r_ta_-g ```, []), ("怕", "普伯", "滂陌入二開", ``` p_h_M_t{k ```, "鐸", ``` p_h_r_ta_-g ```, []), ("敀", "普伯", "滂陌入二開", ``` p_h_M_t{k ```, "鐸", ``` p_h_r_ta_-g ```, []), ("珀", "普伯", "滂陌入二開", ``` p_h_M_t{k ```, "鐸", ``` p_h_r_ta_-g ```, []), ("洦", "普伯", "滂陌入二開", ``` p_h_M_t{k ```, "鐸", ``` p_h_r_ta_-g ```, []), ("拍", "普伯", "滂陌入二開", ``` p_h_M_t{k ```, "鐸", ``` p_h_r_ta_-g ```, []), ("白", "傍陌", "並陌入二開", ``` b_M_t{k ```, "鐸", ``` b_r_ta_-g ```, []), ("帛", "傍陌", "並陌入二開", ``` b_M_t{k ```, "鐸", ``` b_r_ta_-g ```, []), ("舶", "傍陌", "並陌入二開", ``` b_M_t{k ```, "鐸", ``` b_r_ta_-g ```, []), ("鮊", "傍陌", "並陌入二開", ``` b_M_t{k ```, "鐸", ``` b_r_ta_-g ```, []), ("陌", "莫白", "明陌入二開", ``` m_M_t{k ```, "鐸", ``` mb_r_ta_-g ```, []), ("帞", "莫白", "明陌入二開", ``` m_M_t{k ```, "鐸", ``` mb_r_ta_-g ```, []), ("佰", "莫白", "明陌入二開", ``` m_M_t{k ```, "鐸", ``` mb_r_ta_-g ```, []), ("洦", "莫白", "明陌入二開", ``` m_M_t{k ```, "鐸", ``` mb_r_ta_-g ```, []), ("𢫦", "莫白", "明陌入二開", ``` m_M_t{k ```, "鐸", ``` mb_r_ta_-g ```, []), ) ), "拜": ( "pinyin": [ba4i], "zi-list": ( ("拜", "博怪", "幫夬去二開", ``` p_M_t{i ```, "月o", ``` p_r_to_-ds ```, [原爲皆韻,但是根據諧聲系統應該爲夬韻,《切韻》音系二等有夬、皆的歷史層次。]), ("湃", "普拜", "滂夬去二開", ``` p_h_M_t{i ```, "月o", ``` p_h_r_to_-ds ```, [原爲皆韻,但是根據諧聲系統應該爲夬韻,《切韻》音系二等有夬、皆的歷史層次。]), ) ), "班": ( "pinyin": [ba1n], "zi-list": ( ("班", "布還", "幫刪平二開", ``` p_M_t{n ```, "元a", ``` p_r_ta_-n ```, []), ("斑", "布還", "幫刪平二開", ``` p_M_t{n ```, "元a", ``` p_r_ta_-n ```, []), ("辬", "布還", "幫刪平二開", ``` p_M_t{n ```, "元a", ``` p_r_ta_-n ```, [《廣韻》又同#link(<斑字>)[“斑”]。]), ) ), "般": ( "pinyin": [ba1n], "zi-list": ( ("般", "北潘", "幫寒平一合", ``` p_wAn ```, "元a", ``` pa_-n ```, []), ("鎜", "薄官", "並寒平一合", ``` b_wAn ```, "元a", ``` ba_-n ```, []), ("瘢", "薄官", "並寒平一合", ``` b_wAn ```, "元a", ``` ba_-n ```, []), ("槃", "薄官", "並寒平一合", ``` b_wAn ```, "元a", ``` ba_-n ```, []), ("幋", "薄官", "並寒平一合", ``` b_wAn ```, "元a", ``` ba_-n ```, []), ("磐", "薄官", "並寒平一合", ``` b_wAn ```, "元a", ``` ba_-n ```, []), ("䰉", "薄官", "並寒平一合", ``` b_wAn ```, "元a", ``` ba_-n ```, []), ("般", "薄官", "並寒平一合", ``` b_wAn ```, "元a", ``` ba_-n ```, []), ("搫", "薄官", "並寒平一合", ``` b_wAn ```, "元a", ``` ba_-n ```, []), ("鞶", "薄官", "並寒平一合", ``` b_wAn ```, "元a", ``` ba_-n ```, []), ("𪄀", "薄官", "並寒平一合", ``` b_wAn ```, "元a", ``` ba_-n ```, []), ("𥈼", "薄官", "並寒平一合", ``` b_wAn ```, "元a", ``` ba_-n ```, []), ("媻", "薄官", "並寒平一合", ``` b_wAn ```, "元a", ``` ba_-n ```, []), ("縏", "薄官", "並寒平一合", ``` b_wAn ```, "元a", ``` ba_-n ```, []), ("𪒀", "薄官", "並寒平一合", ``` b_wAn ```, "元a", ``` ba_-n ```, []), ("盤", "薄官", "並寒平一合", ``` b_wAn ```, "元a", ``` ba_-n ```, []), ("螌", "布還", "幫刪平二開", ``` p_M_t{n ```, "元a", ``` p_r_ta_-n ```, []), ("䰉", "布還", "幫刪平二開", ``` p_M_t{n ```, "元a", ``` p_r_ta_-n ```, []), ("般", "布還", "幫刪平二開", ``` p_M_t{n ```, "元a", ``` p_r_ta_-n ```, []), ("媻", "薄波", "並歌平一合", ``` b_wA ```, "歌a", ``` ba_-l ```, []), ("搫", "薄波", "並歌平一合", ``` b_wA ```, "歌a", ``` ba_-l ```, []), ("般", "北末", "幫曷入一合", ``` p_wAt ```, "月a", ``` pa_-d ```, []), ) ), "半": ( "pinyin": [ba4n], "zi-list": ( ("袢", "附袁", "並元平三合", ``` b_wi7n ```, "元a", ``` ban ```, []), ("拌", "普官", "滂寒平一合", ``` p_h_wAn ```, "元a", ``` p_ha_-n ```, []), ("跘", "蒲官", "並寒平一合", ``` b_wAn ```, "元a", ``` ba_-n ```, []), ("柈", "薄官", "並寒平一合", ``` b_wAn ```, "元a", ``` ba_-n ```, []), ("跘", "補滿", "幫寒上一合", ``` p_wAn ```, "元a", ``` pa_-n? ```, []), ("伴", "蒲旱", "並寒上一合", ``` b_wAn ```, "元a", ``` ba_-n? ```, []), ("拌", "蒲旱", "並寒上一合", ``` b_wAn ```, "元a", ``` ba_-n? ```, []), ("半", "博漫", "幫寒去一合", ``` p_wAn ```, "元a", ``` pa_-ns ```, []), ("絆", "博漫", "幫寒去一合", ``` p_wAn ```, "元a", ``` pa_-ns ```, []), ("姅", "博漫", "幫寒去一合", ``` p_wAn ```, "元a", ``` pa_-ns ```, []), ("㪵", "博漫", "幫寒去一合", ``` p_wAn ```, "元a", ``` pa_-ns ```, []), ("靽", "博漫", "幫寒去一合", ``` p_wAn ```, "元a", ``` pa_-ns ```, []), ("判", "普半", "滂寒去一合", ``` p_h_wAn ```, "元a", ``` p_ha_-ns ```, []), ("泮", "普半", "滂寒去一合", ``` p_h_wAn ```, "元a", ``` p_ha_-ns ```, []), ("頖", "普半", "滂寒去一合", ``` p_h_wAn ```, "元a", ``` p_ha_-ns ```, []), ("胖", "普半", "滂寒去一合", ``` p_h_wAn ```, "元a", ``` p_ha_-ns ```, []), ("姅", "普半", "滂寒去一合", ``` p_h_wAn ```, "元a", ``` p_ha_-ns ```, []), ("牉", "普半", "滂寒去一合", ``` p_h_wAn ```, "元a", ``` p_ha_-ns ```, []), ("柈", "普半", "滂寒去一合", ``` p_h_wAn ```, "元a", ``` p_ha_-ns ```, []), ("叛", "薄半", "並寒去一合", ``` b_wAn ```, "元a", ``` ba_-ns ```, []), ("畔", "薄半", "並寒去一合", ``` b_wAn ```, "元a", ``` ba_-ns ```, []), ("伴", "薄半", "並寒去一合", ``` b_wAn ```, "元a", ``` ba_-ns ```, []), ("跘", "皮莧", "並刪去二開", ``` b_M_t{n ```, "元a", ``` b_r_ta_-ns ```, [原爲山韻,但是根據諧聲系統應該爲刪韻,《切韻》音系二等有刪、山的歷史層次。]), ) ), "㚘": ( "pinyin": [ba4n], "zi-list": ( ("㚘", "蒲旱", "並寒上一合", ``` b_wAn ```, "元a", ``` ba_-n? ```, []), ) ), "勹": ( "pinyin": [ba1o], "zi-list": ( ("枹", "縛謀", "並尤平三合", ``` biu ```, "幽", ``` bu ```, []), ("䍖", "縛謀", "並尤平三合", ``` biu ```, "幽", ``` bu ```, []), ("枹", "防無", "並虞平三合", ``` biU ```, "幽", ``` bu ```, [見#link(<務字註>)[“務”字註]。]), ("炰", "俯九", "幫尤上三合", ``` piu ```, "幽", ``` pu? ```, []), ("𨚔", "博毛", "幫豪平一開", ``` pAu ```, "幽", ``` pu_- ```, []), ("蜪", "土刀", "透豪平一開", ``` t_hAu ```, "幽", ``` p_hlu_- ```, []), ("袍", "薄襃", "並豪平一開", ``` bAu ```, "幽", ``` bu_- ```, []), ("陶", "徒刀", "定豪平一開", ``` dAu ```, "幽", ``` blu_- ```, []), ("䛬", "徒刀", "定豪平一開", ``` dAu ```, "幽", ``` blu_- ```, []), ("綯", "徒刀", "定豪平一開", ``` dAu ```, "幽", ``` blu_- ```, []), ("騊", "徒刀", "定豪平一開", ``` dAu ```, "幽", ``` blu_- ```, []), ("萄", "徒刀", "定豪平一開", ``` dAu ```, "幽", ``` blu_- ```, []), ("匋", "徒刀", "定豪平一開", ``` dAu ```, "幽", ``` blu_- ```, []), ("蜪", "徒刀", "定豪平一開", ``` dAu ```, "幽", ``` blu_- ```, []), ("裪", "徒刀", "定豪平一開", ``` dAu ```, "幽", ``` blu_- ```, []), ("淘", "徒刀", "定豪平一開", ``` dAu ```, "幽", ``` blu_- ```, []), ("抱", "薄浩", "並豪上一開", ``` bAu ```, "幽", ``` bu_-? ```, []), ("袌", "薄報", "並豪去一開", ``` bAu ```, "幽", ``` bu_-s ```, []), ("笣", "班交", "幫肴平二開", ``` p_M_t{u ```, "幽", ``` p_r_tu_- ```, []), ("包", "布交", "幫肴平二開", ``` p_M_t{u ```, "幽", ``` p_r_tu_- ```, []), ("胞", "布交", "幫肴平二開", ``` p_M_t{u ```, "幽", ``` p_r_tu_- ```, []), ("枹", "布交", "幫肴平二開", ``` p_M_t{u ```, "幽", ``` p_r_tu_- ```, []), ("苞", "布交", "幫肴平二開", ``` p_M_t{u ```, "幽", ``` p_r_tu_- ```, []), ("勹", "布交", "幫肴平二開", ``` p_M_t{u ```, "幽", ``` p_r_tu_- ```, []), ("胞", "匹交", "滂肴平二開", ``` p_h_M_t{u ```, "幽", ``` p_h_r_tu_- ```, []), ("𨚔", "匹交", "滂肴平二開", ``` p_h_M_t{u ```, "幽", ``` p_h_r_tu_- ```, []), ("䍖", "匹交", "滂肴平二開", ``` p_h_M_t{u ```, "幽", ``` p_h_r_tu_- ```, []), ("泡", "匹交", "滂肴平二開", ``` p_h_M_t{u ```, "幽", ``` p_h_r_tu_- ```, []), ("庖", "薄交", "並肴平二開", ``` b_M_t{u ```, "幽", ``` b_r_tu_- ```, []), ("咆", "薄交", "並肴平二開", ``` b_M_t{u ```, "幽", ``` b_r_tu_- ```, []), ("匏", "薄交", "並肴平二開", ``` b_M_t{u ```, "幽", ``` b_r_tu_- ```, []), ("炮", "薄交", "並肴平二開", ``` b_M_t{u ```, "幽", ``` b_r_tu_- ```, []), ("颮", "薄交", "並肴平二開", ``` b_M_t{u ```, "幽", ``` b_r_tu_- ```, []), ("鞄", "薄交", "並肴平二開", ``` b_M_t{u ```, "幽", ``` b_r_tu_- ```, []), ("狍", "薄交", "並肴平二開", ``` b_M_t{u ```, "幽", ``` b_r_tu_- ```, []), ("跑", "薄交", "並肴平二開", ``` b_M_t{u ```, "幽", ``` b_r_tu_- ```, []), ("炰", "薄交", "並肴平二開", ``` b_M_t{u ```, "幽", ``` b_r_tu_- ```, []), ("泡", "薄交", "並肴平二開", ``` b_M_t{u ```, "幽", ``` b_r_tu_- ```, []), ("㯡", "薄交", "並肴平二開", ``` b_M_t{u ```, "幽", ``` b_r_tu_- ```, []), ("飽", "博巧", "幫肴上二開", ``` p_M_t{u ```, "幽", ``` p_r_tu_-? ```, []), ("鮑", "薄巧", "並肴上二開", ``` b_M_t{u ```, "幽", ``` b_r_tu_-? ```, []), ("鞄", "薄巧", "並肴上二開", ``` b_M_t{u ```, "幽", ``` b_r_tu_-? ```, []), ("炮", "匹皃", "滂肴去二開", ``` p_h_M_t{u ```, "幽", ``` p_h_r_tu_-s ```, []), ("皰", "匹皃", "滂肴去二開", ``` p_h_M_t{u ```, "幽", ``` p_h_r_tu_-s ```, []), ("皰", "防敎", "並肴去二開", ``` b_M_t{u ```, "幽", ``` b_r_tu_-s ```, []), ("鞄", "防敎", "並肴去二開", ``` b_M_t{u ```, "幽", ``` b_r_tu_-s ```, []), ("颮", "匹角", "滂覺入二開", ``` p_h_M_tOk ```, "覺", ``` p_h_r_tu_-g ```, []), ("鞄", "匹角", "滂覺入二開", ``` p_h_M_tOk ```, "覺", ``` p_h_r_tu_-g ```, []), ("雹", "蒲角", "並覺入二開", ``` b_M_tOk ```, "覺", ``` b_r_tu_-g ```, []), ("跑", "蒲角", "並覺入二開", ``` b_M_tOk ```, "覺", ``` b_r_tu_-g ```, []), ("瓟", "蒲角", "並覺入二開", ``` b_M_tOk ```, "覺", ``` b_r_tu_-g ```, []), ("陶", "餘昭", "以宵平三開", ``` ji_E_su ```, "幽i", ``` b.li_w ```, []), ("𢶉", "普麥", "滂麥入二開", ``` p_h_M_tEk ```, "職", ``` p_h_r_tM_-g ```, []), ) ), "𠤏": ( "pinyin": [ba3o], "zi-list": ( ("鴇", "博抱", "幫豪上一開", ``` pAu ```, "幽", ``` pu_-? ```, []), ("駂", "博抱", "幫豪上一開", ``` pAu ```, "幽", ``` pu_-? ```, []), ("𠤏", "博抱", "幫豪上一開", ``` pAu ```, "幽", ``` pu_-? ```, []), ) ), "保": ( "pinyin": [ba3o], "zi-list": ( ("㨐", "方垢", "幫侯上一合", ``` pu ```, "幽", ``` pu? ```, [見#link(<袤字註>)[“袤”字註]。]), ("保", "博抱", "幫豪上一開", ``` pAu ```, "幽", ``` pu_-? ```, []), ("堡", "博抱", "幫豪上一開", ``` pAu ```, "幽", ``` pu_-? ```, []), ("褓", "博抱", "幫豪上一開", ``` pAu ```, "幽", ``` pu_-? ```, []), ("緥", "博抱", "幫豪上一開", ``` pAu ```, "幽", ``` pu_-? ```, []), ("葆", "博抱", "幫豪上一開", ``` pAu ```, "幽", ``` pu_-? ```, []), ("宲", "博抱", "幫豪上一開", ``` pAu ```, "幽", ``` pu_-? ```, []), ) ), "報": ( "pinyin": [ba4o], "zi-list": ( ("報", "博耗", "幫豪去一開", ``` pAu ```, "覺", ``` pu_-gs ```, []), ) ), "暴": ( "pinyin": [ba4o], "zi-list": ( ("暴", "薄報", "並豪去一開", ``` bAu ```, "藥o", ``` bo_-g_ws ```, []), ("曝", "薄報", "並豪去一開", ``` bAu ```, "藥o", ``` bo_-g_ws ```, []), ("瀑", "薄報", "並豪去一開", ``` bAu ```, "藥o", ``` bo_-g_ws ```, []), ("𪇰", "薄報", "並豪去一開", ``` bAu ```, "藥o", ``` bo_-g_ws ```, []), ("虣", "薄報", "並豪去一開", ``` bAu ```, "藥o", ``` bo_-g_ws ```, [爲“搏鬥”義“暴”的本字。]), ("𦃙", "伯各", "幫鐸入一開", ``` pAk ```, "藥o", ``` po_-g_w ```, []), ("爆", "補各", "幫鐸入一開", ``` pAk ```, "藥o", ``` po_-g_w ```, []), ("襮", "補各", "幫鐸入一開", ``` pAk ```, "藥o", ``` po_-g_w ```, []), ("㬧", "補各", "幫鐸入一開", ``` pAk ```, "藥o", ``` po_-g_w ```, []), ("爆", "北敎", "幫肴去二開", ``` p_M_t{u ```, "藥o", ``` p_r_to_-g_ws ```, []), ("𦢊", "北角", "幫覺入二開", ``` p_M_tOk ```, "藥o", ``` p_r_to_-g_w ```, []), ("嚗", "北角", "幫覺入二開", ``` p_M_tOk ```, "藥o", ``` p_r_to_-g_w ```, []), ("爆", "北角", "幫覺入二開", ``` p_M_tOk ```, "藥o", ``` p_r_to_-g_w ```, []), ("𪇰", "北角", "幫覺入二開", ``` p_M_tOk ```, "藥o", ``` p_r_to_-g_w ```, []), ("㬥", "北角", "幫覺入二開", ``` p_M_tOk ```, "藥o", ``` p_r_to_-g_w ```, []), ("㩧", "匹角", "滂覺入二開", ``` p_h_M_tOk ```, "藥o", ``` p_h_r_to_-g_w ```, []), ("謈", "匹角", "滂覺入二開", ``` p_h_M_tOk ```, "藥o", ``` p_h_r_to_-g_w ```, []), ("嚗", "孚邈", "滂覺入二開", ``` p_h_M_tOk ```, "藥o", ``` p_h_r_to_-g_w ```, []), ("㩧", "蒲角", "並覺入二開", ``` b_M_tOk ```, "藥o", ``` b_r_to_-g_w ```, []), ("犦", "蒲角", "並覺入二開", ``` b_M_tOk ```, "藥o", ``` b_r_to_-g_w ```, []), ("𦢊", "蒲角", "並覺入二開", ``` b_M_tOk ```, "藥o", ``` b_r_to_-g_w ```, []), ("謈", "蒲角", "並覺入二開", ``` b_M_tOk ```, "藥o", ``` b_r_to_-g_w ```, []), ("懪", "蒲角", "並覺入二開", ``` b_M_tOk ```, "藥o", ``` b_r_to_-g_w ```, []), ("𪇰", "博木", "幫屋入一合", ``` puk ```, "屋", ``` po_-g ```, []), ("暴", "蒲木", "並屋入一合", ``` buk ```, "屋", ``` bo_-g ```, []), ("𦃙", "步木", "並屋入一合", ``` buk ```, "屋", ``` bo_-g ```, []), ("瀑", "蒲木", "並屋入一合", ``` buk ```, "屋", ``` bo_-g ```, []), ("曝", "蒲木", "並屋入一合", ``` buk ```, "屋", ``` bo_-g ```, []), ("襮", "博沃", "幫沃入一合", ``` pu_^ok ```, "覺", ``` pu_-g ```, []), ("犦", "博沃", "幫沃入一合", ``` pu_^ok ```, "覺", ``` pu_-g ```, []), ("𪇰", "博沃", "幫沃入一合", ``` pu_^ok ```, "覺", ``` pu_-g ```, []), ) ), "卑": ( "pinyin": [be1i], "zi-list": ( ("𠕩", "府移", "幫支平A開", ``` pie ```, "佳", ``` pe ```, []), ("卑", "府移", "幫支平A開", ``` pie ```, "佳", ``` pe ```, []), ("鵯", "府移", "幫支平A開", ``` pie ```, "佳", ``` pe ```, []), ("椑", "府移", "幫支平A開", ``` pie ```, "佳", ``` pe ```, []), ("箄", "府移", "幫支平A開", ``` pie ```, "佳", ``` pe ```, []), ("裨", "府移", "幫支平A開", ``` pie ```, "佳", ``` pe ```, []), ("鞞", "府移", "幫支平A開", ``` pie ```, "佳", ``` pe ```, []), ("𩔹", "府移", "幫支平A開", ``` pie ```, "佳", ``` pe ```, []), ("庳", "府移", "幫支平A開", ``` pie ```, "佳", ``` pe ```, []), ("錍", "府移", "幫支平A開", ``` pie ```, "佳", ``` pe ```, []), ("陴", "符支", "並支平A開", ``` bie ```, "佳", ``` be ```, []), ("脾", "符支", "並支平A開", ``` bie ```, "佳", ``` be ```, []), ("䴽", "符支", "並支平A開", ``` bie ```, "佳", ``` be ```, []), ("埤", "符支", "並支平A開", ``` bie ```, "佳", ``` be ```, []), ("裨", "符支", "並支平A開", ``` bie ```, "佳", ``` be ```, []), ("蜱", "符支", "並支平A開", ``` bie ```, "佳", ``` be ```, []), ("螷", "符支", "並支平A開", ``` bie ```, "佳", ``` be ```, []), ("郫", "符支", "並支平A開", ``` bie ```, "佳", ``` be ```, []), ("朇", "頻彌", "並支平A開", ``` bie ```, "佳", ``` be ```, []), ("俾", "并弭", "幫支上A開", ``` pie ```, "佳", ``` pe? ```, []), ("鞞", "并弭", "幫支上A開", ``` pie ```, "佳", ``` pe? ```, []), ("箄", "并弭", "幫支上A開", ``` pie ```, "佳", ``` pe? ```, []), ("髀", "并弭", "幫支上A開", ``` pie ```, "佳", ``` pe? ```, []), ("𪐄", "并弭", "幫支上A開", ``` pie ```, "佳", ``` pe? ```, []), ("崥", "并弭", "幫支上A開", ``` pie ```, "佳", ``` pe? ```, []), ("𦸣", "并弭", "幫支上A開", ``` pie ```, "佳", ``` pe? ```, []), ("婢", "便俾", "並支上A開", ``` bie ```, "佳", ``` be? ```, []), ("庳", "便俾", "並支上A開", ``` bie ```, "佳", ``` be? ```, []), ("碑", "彼爲", "幫支平B開", ``` p1e ```, "佳", ``` p_r_te ```, []), ("郫", "符羈", "並支平B開", ``` b1e ```, "佳", ``` b_r_te ```, []), ("㗗", "甫委", "幫支上B開", ``` p1e ```, "佳", ``` p_r_te? ```, []), ("貏", "補靡", "幫支上B開", ``` p1e ```, "佳", ``` p_r_te? ```, []), ("貏", "部靡", "並支上B開", ``` b1e ```, "佳", ``` b_r_te? ```, []), ("豍", "邊兮", "幫齊平四開", ``` pei ```, "佳", ``` pe_- ```, []), ("箄", "邊兮", "幫齊平四開", ``` pei ```, "佳", ``` pe_- ```, []), ("錍", "匹迷", "滂齊平四開", ``` p_hei ```, "佳", ``` p_he_- ```, []), ("鼙", "部迷", "並齊平四開", ``` bei ```, "佳", ``` be_- ```, []), ("椑", "部迷", "並齊平四開", ``` bei ```, "佳", ``` be_- ```, []), ("崥", "部迷", "並齊平四開", ``` bei ```, "佳", ``` be_- ```, []), ("㼰", "部迷", "並齊平四開", ``` bei ```, "佳", ``` be_- ```, []), ("鞞", "部迷", "並齊平四開", ``` bei ```, "佳", ``` be_- ```, []), ("㪏", "補米", "幫齊上四開", ``` pei ```, "佳", ``` pe_-? ```, []), ("䫌", "匹米", "滂齊上四開", ``` p_hei ```, "佳", ``` p_he_-? ```, []), ("髀", "傍禮", "並齊上四開", ``` bei ```, "佳", ``` be_-? ```, []), ("𦸣", "傍禮", "並齊上四開", ``` bei ```, "佳", ``` be_-? ```, []), ("㪏", "博計", "幫齊去四開", ``` pei ```, "佳", ``` pe_-s ```, []), ("䡟", "匹計", "滂齊去四開", ``` p_hei ```, "佳", ``` p_he_-s ```, []), ("睥", "匹詣", "滂齊去四開", ``` p_hei ```, "佳", ``` p_he_-s ```, []), ("𥱼", "薄佳", "並佳平二開", ``` b_M_tE ```, "佳", ``` b_r_te_- ```, []), ("郫", "薄佳", "並佳平二開", ``` b_M_tE ```, "佳", ``` b_r_te_- ```, []), ("螷", "薄佳", "並佳平二開", ``` b_M_tE ```, "佳", ``` b_r_te_- ```, []), ("猈", "步皆", "並佳平二開", ``` b_M_tE ```, "佳", ``` b_r_te_- ```, [原爲皆韻,但是根據諧聲系統應該爲佳韻,《切韻》音系二等有佳、皆的歷史層次。]), ("捭", "北買", "幫佳上二開", ``` p_M_tE ```, "佳", ``` b_r_te_-? ```, []), ("䇑", "傍下", "並佳上二開", ``` b_M_tE ```, "佳", ``` b_r_te_-? ```, []), ("猈", "薄蟹", "並佳上二開", ``` b_M_tE ```, "佳", ``` b_r_te_-? ```, []), ("捭", "部買", "並佳上二開", ``` b_M_tE ```, "佳", ``` b_r_te_-? ```, []), ("㵺", "匹卦", "滂佳去二開", ``` p_h_M_tE ```, "佳", ``` p_h_r_te_-s ```, []), ("粺", "傍卦", "並佳去二開", ``` b_M_tE ```, "佳", ``` b_r_te_-s ```, []), ("稗", "傍卦", "並佳去二開", ``` b_M_tE ```, "佳", ``` b_r_te_-s ```, []), ("𪐄", "傍卦", "並佳去二開", ``` b_M_tE ```, "佳", ``` b_r_te_-s ```, []), ("椑", "房益", "並昔入三開", ``` bi_E_sk ```, "錫", ``` beg ```, []), ("萆", "房益", "並昔入三開", ``` bi_E_sk ```, "錫", ``` beg ```, []), ("綼", "北激", "幫錫入四開", ``` pek ```, "錫", ``` pe_-g ```, []), ("椑", "扶歷", "並錫入四開", ``` bek ```, "錫", ``` be_-g ```, []), ("髀", "卑履", "幫脂上A開", ``` pi ```, "脂", ``` pi? ```, []), ("𦸣", "必至", "幫脂去A開", ``` pi ```, "脂", ``` pis ```, []), ("痺", "毗至", "並脂去A開", ``` bi ```, "脂", ``` bis ```, []), ("蜱", "彌遙", "明宵平A開", ``` mi_E_su ```, "宵e", ``` mbe_w ```, []), ("𧓎", "彌遙", "明宵平A開", ``` mi_E_su ```, "宵e", ``` mbe_w ```, []), ("鵯", "譬吉", "滂質入A開", ``` p_hit ```, "質g", ``` p_hig ```, []), ("綼", "毗必", "並質入A開", ``` bit ```, "質g", ``` big ```, []), ("鞞", "補鼎", "幫青上四開", ``` peN ```, "耕", ``` pe_-N? ```, []), ("螷", "蒲幸", "並耕上二開", ``` b_M_tEN ```, "耕", ``` b_r_te_-N? ```, []), ("琕", "部田", "並先平四開", ``` ben ```, "元e", ``` be_-n ```, []), ) ), "北": ( "pinyin": [be3i], "zi-list": ( ("背", "補妹", "幫灰去一合", ``` pu_^oi ```, "職", ``` pM_-gs ```, []), ("邶", "蒲昧", "並灰去一合", ``` bu_^oi ```, "職", ``` bM_-gs ```, []), ("偝", "蒲昧", "並灰去一合", ``` bu_^oi ```, "職", ``` bM_-gs ```, []), ("背", "蒲昧", "並灰去一合", ``` bu_^oi ```, "職", ``` bM_-gs ```, []), ("北", "博墨", "幫德入一開", ``` p@k ```, "職", ``` pM_-g ```, []), ) ), "孛": ( "pinyin": [be4i], "zi-list": ( ("綍", "分勿", "幫物入三合", ``` piut ```, "物M", ``` pMd ```, []), ("誖", "補妹", "幫灰去一合", ``` pu_^oi ```, "物M", ``` pM_-ds ```, []), ("孛", "蒲昧", "並灰去一合", ``` bu_^oi ```, "物M", ``` bM_-ds ```, []), ("誖", "蒲昧", "並灰去一合", ``` bu_^oi ```, "物M", ``` bM_-ds ```, []), ("悖", "蒲昧", "並灰去一合", ``` bu_^oi ```, "物M", ``` bM_-ds ```, []), ("侼", "薄孛", "並沒入一合", ``` bu_^ot ```, "物M", ``` bM_-d ```, []), ("𤊹", "薄孛", "並沒入一合", ``` bu_^ot ```, "物M", ``` bM_-d ```, []), ("勃", "蒲沒", "並沒入一合", ``` bu_^ot ```, "物M", ``` bM_-d ```, []), ("渤", "蒲沒", "並沒入一合", ``` bu_^ot ```, "物M", ``` bM_-d ```, []), ("𩱚", "蒲沒", "並沒入一合", ``` bu_^ot ```, "物M", ``` bM_-d ```, []), ("悖", "蒲沒", "並沒入一合", ``` bu_^ot ```, "物M", ``` bM_-d ```, []), ("郣", "蒲沒", "並沒入一合", ``` bu_^ot ```, "物M", ``` bM_-d ```, []), ("浡", "蒲沒", "並沒入一合", ``` bu_^ot ```, "物M", ``` bM_-d ```, []), ("𢠜", "蒲沒", "並沒入一合", ``` bu_^ot ```, "物M", ``` bM_-d ```, []), ("㪍", "蒲沒", "並沒入一合", ``` bu_^ot ```, "物M", ``` bM_-d ```, []), ("誖", "蒲沒", "並沒入一合", ``` bu_^ot ```, "物M", ``` bM_-d ```, []), ("桲", "蒲沒", "並沒入一合", ``` bu_^ot ```, "物M", ``` bM_-d ```, []), ("孛", "蒲沒", "並沒入一合", ``` bu_^ot ```, "物M", ``` bM_-d ```, []), ("挬", "蒲沒", "並沒入一合", ``` bu_^ot ```, "物M", ``` bM_-d ```, []), ("脖", "蒲沒", "並沒入一合", ``` bu_^ot ```, "物M", ``` bM_-d ```, []), ("𩣡", "蒲沒", "並沒入一合", ``` bu_^ot ```, "物M", ``` bM_-d ```, []), ("𩣡", "蒲角", "並覺入二開", ``` b_M_tOk ```, "覺", ``` b_r_tM_-g ```, []), ) ), "貝": ( "pinyin": [be4i], "zi-list": ( ("貝", "博蓋", "幫泰去一開", ``` pAi ```, "月a", ``` pa_-ds ```, []), ("䟺", "博蓋", "幫泰去一開", ``` pAi ```, "月a", ``` pa_-ds ```, []), ("狽", "博蓋", "幫泰去一開", ``` pAi ```, "月a", ``` pa_-ds ```, []), ("浿", "普蓋", "滂泰去一開", ``` p_hAi ```, "月a", ``` p_ha_-ds ```, []), ("䟺", "蒲蓋", "並泰去一開", ``` bAi ```, "月a", ``` ba_-ds ```, []), ("敗", "補邁", "幫夬去二開", ``` p_M_t{i ```, "月a", ``` p_r_ta_-ds ```, []), ("浿", "普拜", "滂夬去二開", ``` p_h_M_t{i ```, "月a", ``` p_h_r_ta_-ds ```, [原爲皆韻,但是根據諧聲系統應該爲夬韻,《切韻》音系二等有夬、皆的歷史層次。]), ("敗", "薄邁", "並夬去二開", ``` b_M_t{i ```, "月a", ``` b_r_ta_-ds ```, []), ("䢙", "薄邁", "並夬去二開", ``` b_M_t{i ```, "月a", ``` b_r_ta_-ds ```, []), ) ), "𤰇": ( "pinyin": [be4i], "zi-list": ( ("犕", "平祕", "並脂去B開", ``` b1i ```, "職", ``` b_r_tMgs ```, []), ("𣖾", "平祕", "並脂去B開", ``` b1i ```, "職", ``` b_r_tMgs ```, []), ("備", "平祕", "並脂去B開", ``` b1i ```, "職", ``` b_r_tMgs ```, []), ("𤰈", "平祕", "並脂去B開", ``` b1i ```, "職", ``` b_r_tMgs ```, []), ("糒", "平祕", "並脂去B開", ``` b1i ```, "職", ``` b_r_tMgs ```, []), ("𤰇", "平祕", "並脂去B開", ``` b1i ```, "職", ``` b_r_tMgs ```, []), ("㷶", "符逼", "並職入三開", ``` b1k ```, "職", ``` b_r_tMg ```, [《廣韻》作“𤐧”。]), ("憊", "鼻墨", "並德入一開", ``` b@k ```, "職", ``` bM_-g ```, []), ("㷶", "鼻墨", "並德入一開", ``` b@k ```, "職", ``` bM_-g ```, [《廣韻》作“𤐧”。]), ("憊", "蒲拜", "並皆去二開", ``` b_M_tEi ```, "職", ``` b_r_tM_-gs ```, []), ("憊", "部買", "並皆上二開", ``` b_M_tEi ```, "之", ``` b_r_tM_-? ```, [原爲佳韻,從諧聲看應爲皆韻,《切韻》音系二等有皆、佳的歷史層次。]), ) ), "𢨋": ( "pinyin": [be4i], "zi-list": ( ("𢨋", "蒲昩", "並灰去一合", ``` bu_^oi ```, "物M", ``` bM_-ds ```, [籀文“誖”字。]), ("𤒓", "分物", "幫物入三合", ``` piut ```, "物M", ``` pMd ```, []), ("𤒓", "敷勿", "滂物入三合", ``` p_hiut ```, "物M", ``` p_hMd ```, []), ("觱", "王勿", "云物入三合", ``` h\_1_tiut ```, "物M", ``` G\b_r_tMd ```, [元音#xs(``` _*_gM ```)由非正則元音變成正則元音#xs(``` _*_gu ```)。]), ("觱", "卑吉", "幫質入A開", ``` pit ```, "質d", ``` pid ```, []), ) ), "本": ( "pinyin": [be3n], "zi-list": ( ("本", "布忖", "幫魂上一合", ``` pu_^on ```, "文M", ``` pM_-n? ```, []), ("笨", "布忖", "幫魂上一合", ``` pu_^on ```, "文M", ``` pM_-n? ```, []), ("苯", "布忖", "幫魂上一合", ``` pu_^on ```, "文M", ``` pM_-n? ```, []), ("笨", "蒲本", "並魂上一合", ``` bu_^on ```, "文M", ``` bM_-n? ```, []), ) ), "匕": ( "pinyin": [bi3], "zi-list": ( ("匕", "卑履", "幫脂上A開", ``` pi ```, "脂l", ``` pil? ```, []), ("疕", "卑履", "幫脂上A開", ``` pi ```, "脂l", ``` pil? ```, []), ("㠲", "補履", "幫脂上A開", ``` pi ```, "脂l", ``` pil? ```, []), ("牝", "扶履", "並脂上A開", ``` bi ```, "脂l", ``` bil? ```, []), ("疕", "匹鄙", "滂脂上B開", ``` p_h1i ```, "脂l", ``` p_h_r_til? ```, []), ("㠲", "部鄙", "並脂上B開", ``` b1i ```, "脂l", ``` b_r_til? ```, []), ("㠲", "怦買", "滂皆上二開", ``` p_h_M_tEi ```, "脂l", ``` p_h_r_ti_-l? ```, [原爲佳韻,但是根據諧聲系統應該爲皆韻,《切韻》音系二等有皆、佳的歷史層次。]), ("庀", "匹婢", "滂支上A開", ``` p_hie ```, "歌e", ``` p_hel? ```, []), ("疕", "匹婢", "滂支上A開", ``` p_hie ```, "歌e", ``` p_hel? ```, []), ("牝", "毗忍", "並眞上A開", ``` bin ```, "眞n", ``` bin? ```, []), ) ), "比": ( "pinyin": [bi3], "zi-list": ( ("紕", "匹夷", "滂脂平A開", ``` p_hi ```, "脂", ``` p_hi ```, []), ("悂", "匹夷", "滂脂平A開", ``` p_hi ```, "脂", ``` p_hi ```, []), ("𣬈", "房脂", "並脂平A開", ``` bi ```, "脂", ``` bi ```, []), ("毗", "房脂", "並脂平A開", ``` bi ```, "脂", ``` bi ```, []), ("比", "房脂", "並脂平A開", ``` bi ```, "脂", ``` bi ```, []), ("㮰", "房脂", "並脂平A開", ``` bi ```, "脂", ``` bi ```, []), ("芘", "房脂", "並脂平A開", ``` bi ```, "脂", ``` bi ```, []), ("沘", "房脂", "並脂平A開", ``` bi ```, "脂", ``` bi ```, []), ("貔", "房脂", "並脂平A開", ``` bi ```, "脂", ``` bi ```, []), ("膍", "房脂", "並脂平A開", ``` bi ```, "脂", ``` bi ```, []), ("蚍", "房脂", "並脂平A開", ``` bi ```, "脂", ``` bi ```, []), ("枇", "房脂", "並脂平A開", ``` bi ```, "脂", ``` bi ```, []), ("仳", "房脂", "並脂平A開", ``` bi ```, "脂", ``` bi ```, []), ("魮", "房脂", "並脂平A開", ``` bi ```, "脂", ``` bi ```, []), ("鈚", "房脂", "並脂平A開", ``` bi ```, "脂", ``` bi ```, []), ("𦳈", "房脂", "並脂平A開", ``` bi ```, "脂", ``` bi ```, []), ("阰", "房脂", "並脂平A開", ``` bi ```, "脂", ``` bi ```, []), ("妣", "卑履", "幫脂上A開", ``` pi ```, "脂", ``` pi? ```, []), ("秕", "卑履", "幫脂上A開", ``` pi ```, "脂", ``` pi? ```, []), ("比", "卑履", "幫脂上A開", ``` pi ```, "脂", ``` pi? ```, []), ("䃾", "卑履", "幫脂上A開", ``` pi ```, "脂", ``` pi? ```, []), ("沘", "卑履", "幫脂上A開", ``` pi ```, "脂", ``` pi? ```, []), ("枇", "卑履", "幫脂上A開", ``` pi ```, "脂", ``` pi? ```, []), ("朼", "卑履", "幫脂上A開", ``` pi ```, "脂", ``` bi? ```, [《廣韻》又同“枇”。]), ("蜌", "並履", "並脂上A開", ``` bi ```, "脂", ``` bi? ```, []), ("比", "必至", "幫脂去A開", ``` pi ```, "脂", ``` pis ```, []), ("䃾", "必至", "幫脂去A開", ``` pi ```, "脂", ``` pis ```, []), ("庇", "必至", "幫脂去A開", ``` pi ```, "脂", ``` pis ```, []), ("屁", "匹寐", "滂脂去A開", ``` p_hi ```, "脂", ``` p_his ```, []), ("㘩", "毗至", "並脂去A開", ``` bi ```, "脂", ``` bis ```, []), ("𢻹", "匹鄙", "滂脂上B開", ``` p_h1i ```, "脂", ``` p_h_r_ti? ```, []), ("仳", "符鄙", "並脂上B開", ``` b1i ```, "脂", ``` b_r_ti? ```, []), ("𢻹", "符鄙", "並脂上B開", ``` b1i ```, "脂", ``` b_r_ti? ```, []), ("粊", "兵媚", "幫脂去B開", ``` p1i ```, "脂", ``` p_r_tis ```, [邊田鋼:《說文·米部》:“䉾,惡米也。从米北聲。《周書》有《䉾誓》。(兵媚切)”段玉裁指出“䉾”乃“粊”之形譌。今本《尚書·費誓》作“費”乃唐代衞包所改,鄭玄、司馬貞等早期學者引文及古抄本皆作“粊誓”。“粊”及其異體“粃”“秕”“𥺟”“𥺘”均爲形聲字,所從“比”“非”爲聲符。“比”“非”兩聲系在上古通用甚廣。《王一》《王二》《王三》“粊”字條下均不出“䉾”字異體。]), ("㮰", "方奚", "幫齊平四開", ``` pei ```, "脂", ``` pi_- ```, []), ("螕", "邊兮", "幫齊平四開", ``` pei ```, "脂", ``` pi_- ```, []), ("梐", "邊兮", "幫齊平四開", ``` pei ```, "脂", ``` pi_- ```, []), ("狴", "邊兮", "幫齊平四開", ``` pei ```, "脂", ``` pi_- ```, []), ("悂", "邊兮", "幫齊平四開", ``` pei ```, "脂", ``` pi_- ```, []), ("𨻼", "邊兮", "幫齊平四開", ``` pei ```, "脂", ``` pi_- ```, []), ("𨻼", "匹迷", "滂齊平四開", ``` p_hei ```, "脂", ``` p_hi_- ```, []), ("批", "匹迷", "滂齊平四開", ``` p_hei ```, "脂", ``` p_hi_- ```, []), ("鈚", "匹迷", "滂齊平四開", ``` p_hei ```, "脂", ``` p_hi_- ```, []), ("膍", "部迷", "並齊平四開", ``` bei ```, "脂", ``` bi_- ```, []), ("𤽊", "補米", "幫齊上四開", ``` pei ```, "脂", ``` pi_-? ```, []), ("陛", "傍禮", "並齊上四開", ``` bei ```, "脂", ``` bi_-? ```, []), ("梐", "傍禮", "並齊上四開", ``` bei ```, "脂", ``` bi_-? ```, []), ("蜌", "部禮", "並齊上四開", ``` bei ```, "脂", ``` bi_-? ```, []), ("媲", "匹詣", "滂齊去四開", ``` p_hei ```, "脂", ``` p_hi_-s ```, []), ("妣", "甫至", "幫脂去A開", ``` pi ```, "質g", ``` pigs ```, []), ("比", "毗至", "並脂去A開", ``` bi ```, "質g", ``` bigs ```, []), ("枇", "毗至", "並脂去A開", ``` bi ```, "質g", ``` bigs ```, []), ("坒", "毗至", "並脂去A開", ``` bi ```, "質g", ``` bigs ```, []), ("䃾", "毗至", "並脂去A開", ``` bi ```, "質g", ``` bigs ```, []), ("芘", "毗至", "並脂去A開", ``` bi ```, "質g", ``` bigs ```, []), ("𨚍", "簿必", "並質入A開", ``` bit ```, "質g", ``` big ```, []), ("比", "毗必", "並質入A開", ``` bit ```, "質g", ``` big ```, []), ("坒", "毗必", "並質入A開", ``` bit ```, "質g", ``` big ```, []), ("吡", "毗必", "並質入A開", ``` bit ```, "質g", ``` big ```, []), ("𢱧", "蒲結", "並屑入四開", ``` bet ```, "質g", ``` bi_-g ```, []), ("𢻹", "匹支", "滂支平A開", ``` p_hie ```, "佳", ``` p_he ```, []), ("紕", "符支", "並支平A開", ``` bie ```, "佳", ``` be ```, []), ("仳", "匹婢", "滂支上A開", ``` p_hie ```, "佳", ``` p_he? ```, []), ("䚹", "匹婢", "滂支上A開", ``` p_hie ```, "佳", ``` p_he? ```, []), ("吡", "匹婢", "滂支上A開", ``` p_hie ```, "佳", ``` p_he? ```, []), ("𢻹", "敷羈", "滂支平B開", ``` p_h1e ```, "佳", ``` p_h_r_te ```, []), ("玭", "符眞", "並眞平A開", ``` bin ```, "眞N", ``` biN ```, []), ("玭", "部田", "並先平四開", ``` ben ```, "眞N", ``` bi_-N ```, []), ) ), "啚": ( "pinyin": [bi3], "zi-list": ( ("鄙", "方美", "幫脂上B開", ``` p1i ```, "之", ``` p_r_tM? ```, []), ("啚", "方美", "幫脂上B開", ``` p1i ```, "之", ``` p_r_tM? ```, []), ) ), "賁": ( "pinyin": [bi4], "zi-list": ( ("饙", "府文", "幫文平三合", ``` piun ```, "文M", ``` pMn ```, []), ("幩", "敷文", "滂文平三合", ``` p_hiun ```, "文M", ``` p_hMn ```, []), ("墳", "符分", "並文平三合", ``` biun ```, "文M", ``` bMn ```, [見#link(<鼖字註>)[“鼖”字註]。]), ("鼖", "符分", "並文平三合", ``` biun ```, "文M", ``` bMn ```, [鄭張尚芳:大徐本:“从鼓,賁省聲。”小徐本:“從鼓,卉聲。”]), ("濆", "符分", "並文平三合", ``` biun ```, "文M", ``` bMn ```, []), ("豶", "符分", "並文平三合", ``` biun ```, "文M", ``` bMn ```, []), ("羵", "符分", "並文平三合", ``` biun ```, "文M", ``` bMn ```, []), ("䴅", "符分", "並文平三合", ``` biun ```, "文M", ``` bMn ```, []), ("賁", "符分", "並文平三合", ``` biun ```, "文M", ``` bMn ```, []), ("鐼", "符分", "並文平三合", ``` biun ```, "文M", ``` bMn ```, []), ("轒", "符分", "並文平三合", ``` biun ```, "文M", ``` bMn ```, []), ("燌", "符分", "並文平三合", ``` biun ```, "文M", ``` bMn ```, []), ("幩", "符分", "並文平三合", ``` biun ```, "文M", ``` bMn ```, []), ("蕡", "符分", "並文平三合", ``` biun ```, "文M", ``` bMn ```, []), ("憤", "房吻", "並文上三合", ``` biun ```, "文M", ``` bMn? ```, []), ("墳", "房吻", "並文上三合", ``` biun ```, "文M", ``` bMn? ```, []), ("轒", "房吻", "並文上三合", ``` biun ```, "文M", ``` bMn? ```, []), ("膹", "房吻", "並文上三合", ``` biun ```, "文M", ``` bMn? ```, []), ("鐼", "許運", "曉文去三合", ``` hiun ```, "文M", ``` m_0_hMns ```, []), ("僨", "方問", "幫文去三合", ``` piun ```, "文M", ``` pMns ```, []), ("奔", "博昆", "幫魂平一合", ``` pu_^on ```, "文M", ``` pM_-n ```, []), ("賁", "博昆", "幫魂平一合", ``` pu_^on ```, "文M", ``` pM_-n ```, []), ("䴅", "博昆", "幫魂平一合", ``` pu_^on ```, "文M", ``` pM_-n ```, []), ("犇", "博昆", "幫魂平一合", ``` pu_^on ```, "文M", ``` pM_-n ```, []), ("濆", "普魂", "滂魂平一合", ``` p_hu_^on ```, "文M", ``` p_hM_-n ```, []), ("歕", "普魂", "滂魂平一合", ``` p_hu_^on ```, "文M", ``` p_hM_-n ```, []), ("噴", "普魂", "滂魂平一合", ``` p_hu_^on ```, "文M", ``` p_hM_-n ```, []), ("獖", "蒲本", "並魂上一合", ``` bu_^on ```, "文M", ``` bM_-n? ```, []), ("奔", "甫悶", "幫魂去一合", ``` pu_^on ```, "文M", ``` pM_-ns ```, []), ("歕", "普悶", "滂魂去一合", ``` p_hu_^on ```, "文M", ``` p_hM_-ns ```, []), ("噴", "普悶", "滂魂去一合", ``` p_hu_^on ```, "文M", ``` p_hM_-ns ```, []), ("燌", "蒲悶", "並魂去一合", ``` bu_^on ```, "文M", ``` bM_-ns ```, []), ("賁", "彼義", "幫支去B開", ``` p1e ```, "微M", ``` p_r_tMls ```, [中古應是脂韻B類。]), ("幩", "彼義", "幫支去B開", ``` p1e ```, "微M", ``` p_r_tMls ```, [中古應是脂韻B類。]), ("蟦", "符非", "並微平三合", ``` b_w7i ```, "微M", ``` bMl ```, []), ("賁", "符非", "並微平三合", ``` b_w7i ```, "微M", ``` bMl ```, []), ("黂", "符非", "並微平三合", ``` b_w7i ```, "微M", ``` bMl ```, []), ("膹", "浮鬼", "並微上三合", ``` b_w7i ```, "微M", ``` bMl? ```, []), ("蟦", "浮鬼", "並微上三合", ``` b_w7i ```, "微M", ``` bMl? ```, []), ("黂", "扶沸", "並微去三合", ``` b_w7i ```, "微M", ``` bMls ```, [見#link(<菲字註>)[“菲”字註]。]), ("蟦", "扶沸", "並微去三合", ``` b_w7i ```, "微M", ``` bMls ```, [見#link(<菲字註>)[“菲”字註]。]), ) ), "皕": ( "pinyin": [bi4], "zi-list": ( ("皕", "彼側", "幫職入三開", ``` p1k ```, "職", ``` p_r_tMg ```, []), ) ), "必": ( "pinyin": [bi4], "zi-list": ( ("㧙", "毗至", "並脂去A開", ``` bi ```, "質g", ``` bigs ```, []), ("必", "卑吉", "幫質入A開", ``` pit ```, "質g", ``` pig ```, []), ("珌", "卑吉", "幫質入A開", ``` pit ```, "質g", ``` pig ```, []), ("鮅", "卑吉", "幫質入A開", ``` pit ```, "質g", ``` pig ```, []), ("㧙", "僻吉", "滂質入A開", ``` p_hit ```, "質g", ``` p_hig ```, []), ("㧙", "簿必", "並質入A開", ``` bit ```, "質g", ``` big ```, []), ("邲", "毗必", "並質入A開", ``` bit ```, "質g", ``` big ```, []), ("柲", "毗必", "並質入A開", ``` bit ```, "質g", ``` big ```, []), ("苾", "毗必", "並質入A開", ``` bit ```, "質g", ``` big ```, []), ("䩛", "毗必", "並質入A開", ``` bit ```, "質g", ``` big ```, []), ("佖", "毗必", "並質入A開", ``` bit ```, "質g", ``` big ```, []), ("駜", "毗必", "並質入A開", ``` bit ```, "質g", ``` big ```, []), ("飶", "毗必", "並質入A開", ``` bit ```, "質g", ``` big ```, []), ("鮅", "毗必", "並質入A開", ``` bit ```, "質g", ``` big ```, []), ("怭", "毗必", "並質入A開", ``` bit ```, "質g", ``` big ```, []), ("泌", "毗必", "並質入A開", ``` bit ```, "質g", ``` big ```, []), ("咇", "毗必", "並質入A開", ``` bit ```, "質g", ``` big ```, []), ("淧", "彌畢", "明質入A開", ``` mit ```, "質g", ``` mbig ```, []), ("蜜", "彌畢", "明質入A開", ``` mit ```, "質g", ``` mbig ```, []), ("謐", "彌畢", "明質入A開", ``` mit ```, "質g", ``` mbig ```, []), ("䤉", "彌畢", "明質入A開", ``` mit ```, "質g", ``` mbig ```, []), ("𥁑", "彌畢", "明質入A開", ``` mit ```, "質g", ``` mbig ```, []), ("宓", "彌畢", "明質入A開", ``` mit ```, "質g", ``` mbig ```, []), ("鉍", "兵媚", "幫脂去B開", ``` p1it ```, "質g", ``` p_r_tigs ```, []), ("鉍", "兵媚", "幫脂去B開", ``` p1i ```, "質g", ``` p_r_tigs ```, []), ("祕", "兵媚", "幫脂去B開", ``` p1i ```, "質g", ``` p_r_tigs ```, []), ("毖", "兵媚", "幫脂去B開", ``` p1i ```, "質g", ``` p_r_tigs ```, []), ("閟", "兵媚", "幫脂去B開", ``` p1i ```, "質g", ``` p_r_tigs ```, []), ("柲", "兵媚", "幫脂去B開", ``` p1i ```, "質g", ``` p_r_tigs ```, []), ("泌", "兵媚", "幫脂去B開", ``` p1i ```, "質g", ``` p_r_tigs ```, []), ("䀣", "兵媚", "幫脂去B開", ``` p1i ```, "質g", ``` p_r_tigs ```, []), ("䪐", "兵媚", "幫脂去B開", ``` p1i ```, "質g", ``` p_r_tigs ```, []), ("𠨘", "兵媚", "幫脂去B開", ``` p1i ```, "質g", ``` p_r_tigs ```, []), ("秘", "兵媚", "幫脂去B開", ``` p1i ```, "質g", ``` p_r_tigs ```, []), ("䎵", "兵媚", "幫脂去B開", ``` p1i ```, "質g", ``` p_r_tigs ```, []), ("柲", "鄙密", "幫質入B開", ``` p1it ```, "質g", ``` p_r_tig ```, []), ("泌", "鄙密", "幫質入B開", ``` p1it ```, "質g", ``` p_r_tig ```, []), ("咇", "鄙密", "幫質入B開", ``` p1it ```, "質g", ``` p_r_tig ```, []), ("佖", "房密", "並質入B開", ``` b1it ```, "質g", ``` b_r_tig ```, []), ("駜", "房密", "並質入B開", ``` b1it ```, "質g", ``` b_r_tig ```, []), ("邲", "房密", "並質入B開", ``` b1it ```, "質g", ``` b_r_tig ```, []), ("密", "美筆", "明質入B開", ``` m1it ```, "質g", ``` mb_r_tig ```, []), ("蔤", "美筆", "明質入B開", ``` m1it ```, "質g", ``` mb_r_tig ```, []), ("宓", "美筆", "明質入B開", ``` m1it ```, "質g", ``` mb_r_tig ```, []), ("滵", "美筆", "明質入B開", ``` m1it ```, "質g", ``` mb_r_tig ```, []), ("虙", "房六", "並屋入三合", ``` biuk ```, "質g", ``` b_lig ```, []), ("瑟", "所櫛", "生櫛入三開", ``` s`iIt ```, "質g", ``` sp_r_tig ```, []), ("飋", "所櫛", "生櫛入三開", ``` s`iIt ```, "質g", ``` sp_r_tig ```, []), ("璱", "所櫛", "生櫛入三開", ``` s`iIt ```, "質g", ``` sp_r_tig ```, []), ("㧙", "必結", "幫屑入四開", ``` pet ```, "質g", ``` pi_-g ```, []), ("咇", "蒲結", "並屑入四開", ``` bet ```, "質g", ``` bi_-g ```, []), ("苾", "蒲結", "並屑入四開", ``` bet ```, "質g", ``` bi_-g ```, []), ("䏟", "蒲結", "並屑入四開", ``` bet ```, "質g", ``` bi_-g ```, []), ("飶", "蒲結", "並屑入四開", ``` bet ```, "質g", ``` bi_-g ```, []), ("柲", "蒲結", "並屑入四開", ``` bet ```, "質g", ``` bi_-g ```, []), ("㧙", "蒲結", "並屑入四開", ``` bet ```, "質g", ``` bi_-g ```, []), ("秘", "蒲結", "並屑入四開", ``` bet ```, "質g", ``` bi_-g ```, []), ("覕", "莫結", "明屑入四開", ``` met ```, "質g", ``` mbi_-g ```, []), ("䀣", "莫八", "明黠入二開", ``` m_M_tEt ```, "質g", ``` mb_r_ti_-g ```, []), ("覕", "必刃", "幫眞去A開", ``` pin ```, "眞N", ``` piNs ```, []), ) ), "㡀": ( "pinyin": [bi4], "zi-list": ( ("蔽", "必袂", "幫祭去A開", ``` pi_E_si ```, "月e", ``` peds ```, []), ("鄨", "必袂", "幫祭去A開", ``` pi_E_si ```, "月e", ``` peds ```, []), ("鷩", "必袂", "幫祭去A開", ``` pi_E_si ```, "月e", ``` peds ```, []), ("彆", "必袂", "幫祭去A開", ``` pi_E_si ```, "月e", ``` peds ```, []), ("弊", "必袂", "幫祭去A開", ``` pi_E_si ```, "月e", ``` peds ```, [《廣韻》作“獘”。]), ("潎", "匹蔽", "滂祭去A開", ``` p_hi_E_si ```, "月e", ``` p_heds ```, []), ("斃", "毗祭", "並祭去A開", ``` bi_E_si ```, "月e", ``` beds ```, []), ("幣", "毗祭", "並祭去A開", ``` bi_E_si ```, "月e", ``` beds ```, []), ("㡀", "毗祭", "並祭去A開", ``` bi_E_si ```, "月e", ``` beds ```, []), ("敝", "毗祭", "並祭去A開", ``` bi_E_si ```, "月e", ``` beds ```, []), ("弊", "毗祭", "並祭去A開", ``` bi_E_si ```, "月e", ``` beds ```, [《廣韻》作“獘”。]), ("獙", "毗祭", "並祭去A開", ``` bi_E_si ```, "月e", ``` beds ```, []), ("虌", "并列", "幫薛入A開", ``` pi_E_st ```, "月e", ``` ped ```, []), ("鷩", "并列", "幫薛入A開", ``` pi_E_st ```, "月e", ``` ped ```, []), ("鼈", "并列", "幫薛入A開", ``` pi_E_st ```, "月e", ``` ped ```, []), ("鄨", "并列", "幫薛入A開", ``` pi_E_st ```, "月e", ``` ped ```, []), ("憋", "并列", "幫薛入A開", ``` pi_E_st ```, "月e", ``` ped ```, []), ("䳤", "并列", "幫薛入A開", ``` pi_E_st ```, "月e", ``` ped ```, []), ("瞥", "芳滅", "滂薛入A開", ``` p_hi_E_st ```, "月e", ``` p_hed ```, []), ("潎", "芳滅", "滂薛入A開", ``` p_hi_E_st ```, "月e", ``` p_hed ```, []), ("憋", "芳滅", "滂薛入A開", ``` p_hi_E_st ```, "月e", ``` p_hed ```, []), ("蟞", "必結", "幫屑入四開", ``` pet ```, "月e", ``` pe_-d ```, []), ("撇", "必結", "幫屑入四開", ``` pet ```, "月e", ``` pe_-d ```, []), ("蟞", "匹蔑", "滂屑入四開", ``` p_het ```, "月e", ``` p_he_-d ```, []), ("撆", "普蔑", "滂屑入四開", ``` p_het ```, "月e", ``` p_he_-d ```, []), ("瞥", "普蔑", "滂屑入四開", ``` p_het ```, "月e", ``` p_he_-d ```, []), ("嫳", "普蔑", "滂屑入四開", ``` p_het ```, "月e", ``` p_he_-d ```, []), ("鐅", "普蔑", "滂屑入四開", ``` p_het ```, "月e", ``` p_he_-d ```, []), ("蹩", "蒲結", "並屑入四開", ``` bet ```, "月e", ``` be_-d ```, []), ("襒", "蒲結", "並屑入四開", ``` bet ```, "月e", ``` be_-d ```, []), ("弊", "蒲結", "並屑入四開", ``` bet ```, "月e", ``` be_-d ```, [《廣韻》作“獘”。]), ("蟞", "蒲結", "並屑入四開", ``` bet ```, "月e", ``` be_-d ```, []), ) ), "畀": ( "pinyin": [bi4], "zi-list": ( ("痹", "必至", "幫脂去A開", ``` pi ```, "質d", ``` pids ```, []), ("畀", "必至", "幫脂去A開", ``` pi ```, "質d", ``` pids ```, []), ("淠", "匹備", "滂脂去B開", ``` p_h1i ```, "質d", ``` p_h_r_tids ```, []), ("箅", "博計", "幫齊去四開", ``` pei ```, "質d", ``` pi_-ds ```, []), ("淠", "匹詣", "滂齊去四開", ``` p_hei ```, "質d", ``` p_hi_-ds ```, []), ) ), "畢": ( "pinyin": [bi4], "zi-list": ( ("𤹝", "毗至", "並脂去A開", ``` bi ```, "質d", ``` bids ```, []), ("蓽", "卑吉", "幫質入A開", ``` pit ```, "質d", ``` pid ```, []), ("蹕", "卑吉", "幫質入A開", ``` pit ```, "質d", ``` pid ```, [《廣韻》又同“䟆”。]), ("㪤", "卑吉", "幫質入A開", ``` pit ```, "質d", ``` pid ```, []), ("㓖", "卑吉", "幫質入A開", ``` pit ```, "質d", ``` pid ```, []), ("熚", "卑吉", "幫質入A開", ``` pit ```, "質d", ``` pid ```, []), ("彃", "卑吉", "幫質入A開", ``` pit ```, "質d", ``` pid ```, []), ("㮿", "卑吉", "幫質入A開", ``` pit ```, "質d", ``` pid ```, []), ("縪", "卑吉", "幫質入A開", ``` pit ```, "質d", ``` pid ```, []), ("罼", "卑吉", "幫質入A開", ``` pit ```, "質d", ``` pid ```, []), ("𠦒", "卑吉", "幫質入A開", ``` pit ```, "質d", ``` pid ```, [李豪:“𠦒”字根據古文字,本來是兩個來源的字,後來在小篆中變得同形了。許慎爲了分析“畢”和“棄”等字,設立了這個部首。“卑吉切”爲“畢”字的初文。另有一讀“北潘切”,大概是取“畚”字的讀音。]), ("畢", "卑吉", "幫質入A開", ``` pit ```, "質d", ``` pid ```, []), ("篳", "卑吉", "幫質入A開", ``` pit ```, "質d", ``` pid ```, []), ("韠", "卑吉", "幫質入A開", ``` pit ```, "質d", ``` pid ```, []), ("䟆", "卑吉", "幫質入A開", ``` pit ```, "質d", ``` pid ```, []), ("滭", "卑吉", "幫質入A開", ``` pit ```, "質d", ``` pid ```, []), ("𨢡", "蒲計", "並齊去四開", ``` bei ```, "質d", ``` bi_-ds ```, []), ) ), "閉": ( "pinyin": [bi4], "zi-list": ( ("閉", "博計", "幫齊去四開", ``` pei ```, "質d", ``` pi_-ds ```, []), ("閉", "方結", "幫屑入四開", ``` pet ```, "質d", ``` pi_-d ```, []), ) ), "弼": ( "pinyin": [bi4], "zi-list": ( ("弼", "房密", "並質入B開", ``` b1it ```, "物M", ``` b_r_tMd ```, []), ) ), "奰": ( "pinyin": [bi4], "zi-list": ( ("㿙", "匹備", "滂脂去B開", ``` p_h1i ```, "質d", ``` p_h_r_tids ```, []), ("𤼤", "匹備", "滂脂去B開", ``` p_h1i ```, "質d", ``` p_h_r_tids ```, []), ("奰", "平祕", "並脂去B開", ``` b1i ```, "質d", ``` b_r_tids ```, []), ("贔", "平祕", "並脂去B開", ``` b1i ```, "質d", ``` b_r_tids ```, []), ) ), "辟": ( "pinyin": [bi4], "zi-list": ( ("臂", "卑義", "幫支去A開", ``` pie ```, "錫", ``` pegs ```, []), ("譬", "匹賜", "滂支去A開", ``` p_hie ```, "錫", ``` p_hegs ```, []), ("避", "毗義", "並支去A開", ``` bie ```, "錫", ``` begs ```, []), ("襞", "必益", "幫昔入三開", ``` pi_E_sk ```, "錫", ``` peg ```, []), ("𨐨", "必益", "幫昔入三開", ``` pi_E_sk ```, "錫", ``` peg ```, []), ("辟", "必益", "幫昔入三開", ``` pi_E_sk ```, "錫", ``` peg ```, [#xs(``` s ```)爲使動前綴,“辟(避)”的自動形式爲#xs(``` beg ```),使動詞#xs(``` s.beg ```)>#xs(``` peg ```)。]), ("璧", "必益", "幫昔入三開", ``` pi_E_sk ```, "錫", ``` peg ```, []), ("躄", "必益", "幫昔入三開", ``` pi_E_sk ```, "錫", ``` peg ```, []), ("𠪮", "之石", "章昔入三開", ``` ts\i_E_sk ```, "錫", ``` p_jeg ```, []), ("辟", "芳辟", "滂昔入三開", ``` p_hi_E_sk ```, "錫", ``` p_heg ```, []), ("僻", "芳辟", "滂昔入三開", ``` p_hi_E_sk ```, "錫", ``` p_heg ```, []), ("癖", "芳辟", "滂昔入三開", ``` p_hi_E_sk ```, "錫", ``` p_heg ```, []), ("廦", "芳辟", "滂昔入三開", ``` p_hi_E_sk ```, "錫", ``` p_heg ```, []), ("擗", "房益", "並昔入三開", ``` bi_E_sk ```, "錫", ``` beg ```, []), ("躃", "房益", "並昔入三開", ``` bi_E_sk ```, "錫", ``` beg ```, []), ("闢", "房益", "並昔入三開", ``` bi_E_sk ```, "錫", ``` beg ```, []), ("辟", "房益", "並昔入三開", ``` bi_E_sk ```, "錫", ``` beg ```, []), ("嬖", "博計", "幫齊去四開", ``` pei ```, "錫", ``` pe_-gs ```, []), ("薜", "蒲計", "並齊去四開", ``` bei ```, "錫", ``` be_-gs ```, []), ("壁", "北激", "幫錫入四開", ``` pek ```, "錫", ``` pe_-g ```, []), ("鼊", "北激", "幫錫入四開", ``` pek ```, "錫", ``` pe_-g ```, []), ("繴", "北激", "幫錫入四開", ``` pek ```, "錫", ``` pe_-g ```, []), ("廦", "北激", "幫錫入四開", ``` pek ```, "錫", ``` pe_-g ```, []), ("礕", "匹歷", "滂錫入四開", ``` p_hek ```, "錫", ``` p_he_-g ```, []), ("霹", "普擊", "滂錫入四開", ``` p_hek ```, "錫", ``` p_he_-g ```, []), ("劈", "普擊", "滂錫入四開", ``` p_hek ```, "錫", ``` p_he_-g ```, []), ("澼", "普擊", "滂錫入四開", ``` p_hek ```, "錫", ``` p_he_-g ```, []), ("憵", "普擊", "滂錫入四開", ``` p_hek ```, "錫", ``` p_he_-g ```, []), ("癖", "普擊", "滂錫入四開", ``` p_hek ```, "錫", ``` p_he_-g ```, []), ("僻", "普擊", "滂錫入四開", ``` p_hek ```, "錫", ``` p_he_-g ```, []), ("甓", "扶歷", "並錫入四開", ``` bek ```, "錫", ``` be_-g ```, []), ("鷿", "扶歷", "並錫入四開", ``` bek ```, "錫", ``` be_-g ```, [《廣韻》又同“鸊”。]), ("幦", "莫狄", "明錫入四開", ``` mek ```, "錫", ``` mbe_-g ```, []), ("檗", "博厄", "幫麥入二開", ``` p_M_tEk ```, "錫", ``` p_r_te_-g ```, []), ("擘", "博厄", "幫麥入二開", ``` p_M_tEk ```, "錫", ``` p_r_te_-g ```, []), ("薜", "博厄", "幫麥入二開", ``` p_M_tEk ```, "錫", ``` p_r_te_-g ```, []), ("糪", "博厄", "幫麥入二開", ``` p_M_tEk ```, "錫", ``` p_r_te_-g ```, []), ("糪", "普麥", "滂麥入二開", ``` p_h_M_tEk ```, "錫", ``` p_h_r_te_-g ```, []), ("繴", "蒲革", "並麥入二開", ``` b_M_tEk ```, "錫", ``` b_r_te_-g ```, []), ) ), "扁": ( "pinyin": [bia3n], "zi-list": ( ("編", "卑連", "幫仙平A開", ``` pi_E_sn ```, "元e", ``` pen ```, []), ("揙", "卑連", "幫仙平A開", ``` pi_E_sn ```, "元e", ``` pen ```, []), ("篇", "芳連", "滂仙平A開", ``` p_hi_E_sn ```, "元e", ``` p_hen ```, []), ("偏", "芳連", "滂仙平A開", ``` p_hi_E_sn ```, "元e", ``` p_hen ```, []), ("翩", "芳連", "滂仙平A開", ``` p_hi_E_sn ```, "元e", ``` p_hen ```, []), ("媥", "芳連", "滂仙平A開", ``` p_hi_E_sn ```, "元e", ``` p_hen ```, []), ("㾫", "芳連", "滂仙平A開", ``` p_hi_E_sn ```, "元e", ``` p_hen ```, []), ("扁", "芳連", "滂仙平A開", ``` p_hi_E_sn ```, "元e", ``` p_hen ```, []), ("萹", "芳連", "滂仙平A開", ``` p_hi_E_sn ```, "元e", ``` p_hen ```, []), ("鶣", "紕延", "滂仙平A開", ``` p_hi_E_sn ```, "元e", ``` p_hen ```, []), ("諞", "房連", "並仙平A開", ``` bi_E_sn ```, "元e", ``` ben ```, []), ("楄", "房連", "並仙平A開", ``` bi_E_sn ```, "元e", ``` ben ```, []), ("褊", "方緬", "幫仙上A開", ``` pi_E_sn ```, "元e", ``` pen? ```, []), ("䡢", "婢善", "並仙上A開", ``` bi_E_sn ```, "元e", ``` ben? ```, []), ("諞", "符善", "並仙上A開", ``` bi_E_sn ```, "元e", ``` ben? ```, []), ("扁", "符善", "並仙上A開", ``` bi_E_sn ```, "元e", ``` ben? ```, []), ("偏", "匹戰", "滂仙去A開", ``` p_hi_E_sn ```, "元e", ``` p_hens ```, []), ("諞", "符蹇", "並仙上B開", ``` b1_E_sn ```, "元e", ``` b_r_ten? ```, []), ("編", "布玄", "幫先平四開", ``` pen ```, "元e", ``` pe_-n ```, []), ("萹", "布玄", "幫先平四開", ``` pen ```, "元e", ``` pe_-n ```, []), ("甂", "布玄", "幫先平四開", ``` pen ```, "元e", ``` pe_-n ```, []), ("蝙", "布玄", "幫先平四開", ``` pen ```, "元e", ``` pe_-n ```, []), ("猵", "布玄", "幫先平四開", ``` pen ```, "元e", ``` pe_-n ```, []), ("牑", "布玄", "幫先平四開", ``` pen ```, "元e", ``` pe_-n ```, []), ("蹁", "布玄", "幫先平四開", ``` pen ```, "元e", ``` pe_-n ```, []), ("蹁", "部田", "並先平四開", ``` ben ```, "元e", ``` be_-n ```, []), ("楄", "部田", "並先平四開", ``` ben ```, "元e", ``` be_-n ```, []), ("編", "方典", "幫先上四開", ``` pen ```, "元e", ``` pe_-n? ```, []), ("萹", "方典", "幫先上四開", ``` pen ```, "元e", ``` pe_-n? ```, []), ("惼", "方典", "幫先上四開", ``` pen ```, "元e", ``` pe_-n? ```, []), ("扁", "方典", "幫先上四開", ``` pen ```, "元e", ``` pe_-n? ```, []), ("扁", "薄泫", "並先上四開", ``` ben ```, "元e", ``` be_-n? ```, []), ("徧", "方見", "幫先去四開", ``` pen ```, "元e", ``` pe_-ns ```, []), ("遍", "方見", "幫先去四開", ``` pen ```, "元e", ``` pe_-ns ```, [《廣韻》又同“徧”。]), ("斒", "布還", "幫山平二開", ``` p_M_tEn ```, "元e", ``` p_r_te_-n ```, [原爲刪韻,但是根據諧聲系統應該爲山韻,《切韻》音系二等有山、刪的歷史層次。]), ("鯿", "布還", "幫山平二開", ``` p_M_tEn ```, "元e", ``` p_r_te_-n ```, [原爲刪韻,但是根據諧聲系統應該爲山韻,《切韻》音系二等有山、刪的歷史層次。]), ("斒", "方閑", "並山平二開", ``` b_M_tEn ```, "元e", ``` b_r_te_-n ```, []), ("猵", "毗忍", "並眞上A開", ``` bin ```, "眞n", ``` bin? ```, []), ("㻞", "府巾", "幫眞平B開", ``` p1in ```, "眞n", ``` p_r_tin ```, []), ) ), "𡬯": ( "pinyin": [bia3n], "zi-list": ( ("𡬯", "方斂", "幫鹽上B開", ``` p1_E_sm ```, "談o", ``` p_r_tom? ```, [《廣韻》作“𦥘”。]), ) ), "釆": ( "pinyin": [bia4n], "zi-list": ( ("㺕", "皮變", "並仙去B開", ``` b1_E_sn ```, "元a", ``` b_r_tans ```, []), ("蕃", "甫煩", "幫元平三合", ``` p_wi7n ```, "元a", ``` pan ```, []), ("藩", "甫煩", "幫元平三合", ``` p_wi7n ```, "元a", ``` pan ```, []), ("轓", "甫煩", "幫元平三合", ``` p_wi7n ```, "元a", ``` pan ```, []), ("籓", "甫煩", "幫元平三合", ``` p_wi7n ```, "元a", ``` pan ```, []), ("鐇", "甫煩", "幫元平三合", ``` p_wi7n ```, "元a", ``` pan ```, []), ("翻", "孚袁", "滂元平三合", ``` p_h_wi7n ```, "元a", ``` p_han ```, []), ("旛", "孚袁", "滂元平三合", ``` p_h_wi7n ```, "元a", ``` p_han ```, []), ("番", "孚袁", "滂元平三合", ``` p_h_wi7n ```, "元a", ``` p_han ```, []), ("幡", "孚袁", "滂元平三合", ``` p_h_wi7n ```, "元a", ``` p_han ```, []), ("𤄫", "孚袁", "滂元平三合", ``` p_h_wi7n ```, "元a", ``` p_han ```, []), ("轓", "孚袁", "滂元平三合", ``` p_h_wi7n ```, "元a", ``` p_han ```, []), ("繙", "孚袁", "滂元平三合", ``` p_h_wi7n ```, "元a", ``` p_han ```, []), ("䪤", "符袁", "並元平三合", ``` b_wi7n ```, "元a", ``` ban ```, []), ("番", "附袁", "並元平三合", ``` b_wi7n ```, "元a", ``` ban ```, []), ("蹯", "附袁", "並元平三合", ``` b_wi7n ```, "元a", ``` ban ```, []), ("繙", "附袁", "並元平三合", ``` b_wi7n ```, "元a", ``` ban ```, []), ("𪖇", "附袁", "並元平三合", ``` b_wi7n ```, "元a", ``` ban ```, []), ("燔", "附袁", "並元平三合", ``` b_wi7n ```, "元a", ``` ban ```, []), ("膰", "附袁", "並元平三合", ``` b_wi7n ```, "元a", ``` ban ```, []), ("羳", "附袁", "並元平三合", ``` b_wi7n ```, "元a", ``` ban ```, []), ("蟠", "附袁", "並元平三合", ``` b_wi7n ```, "元a", ``` ban ```, []), ("蕃", "附袁", "並元平三合", ``` b_wi7n ```, "元a", ``` ban ```, []), ("璠", "附袁", "並元平三合", ``` b_wi7n ```, "元a", ``` ban ```, []), ("㺕", "附袁", "並元平三合", ``` b_wi7n ```, "元a", ``` ban ```, []), ("襎", "附袁", "並元平三合", ``` b_wi7n ```, "元a", ``` ban ```, []), ("墦", "附袁", "並元平三合", ``` b_wi7n ```, "元a", ``` ban ```, []), ("旛", "附袁", "並元平三合", ``` b_wi7n ```, "元a", ``` ban ```, []), ("藩", "附袁", "並元平三合", ``` b_wi7n ```, "元a", ``` ban ```, []), ("鐇", "附袁", "並元平三合", ``` b_wi7n ```, "元a", ``` ban ```, []), ("橎", "府遠", "幫元上三合", ``` p_wi7n ```, "元a", ``` pan? ```, []), ("番", "普官", "滂寒平一合", ``` p_h_wAn ```, "元a", ``` p_ha_-n ```, []), ("潘", "普官", "滂寒平一合", ``` p_h_wAn ```, "元a", ``` p_ha_-n ```, []), ("磻", "薄官", "並寒平一合", ``` b_wAn ```, "元a", ``` ba_-n ```, []), ("蟠", "薄官", "並寒平一合", ``` b_wAn ```, "元a", ``` ba_-n ```, []), ("釆", "蒲莧", "並刪去二開", ``` b_M_t{n ```, "元a", ``` b_r_ta_-ns ```, [原爲山韻,但是根據諧聲系統應該爲刪韻,《切韻》音系二等有刪、山的歷史層次。]), ("皤", "博禾", "幫歌平一合", ``` p_wA ```, "歌a", ``` pa_-l ```, []), ("嶓", "博禾", "幫歌平一合", ``` p_wA ```, "歌a", ``` pa_-l ```, []), ("番", "博禾", "幫歌平一合", ``` p_wA ```, "歌a", ``` pa_-l ```, []), ("鄱", "薄波", "並歌平一合", ``` b_wA ```, "歌a", ``` ba_-l ```, []), ("皤", "薄波", "並歌平一合", ``` b_wA ```, "歌a", ``` ba_-l ```, []), ("譒", "補過", "幫歌去一合", ``` p_wA ```, "歌a", ``` pa_-ls ```, []), ("播", "補過", "幫歌去一合", ``` p_wA ```, "歌a", ``` pa_-ls ```, []), ("番", "補過", "幫歌去一合", ``` p_wA ```, "歌a", ``` pa_-ls ```, []), ) ), "弁": ( "pinyin": [bia4n], "zi-list": ( ("卞", "皮變", "並仙去B開", ``` b1_E_sn ```, "元o", ``` b_r_tons ```, [應金琦:取陳劍課程講義的意見,“卞”由“弁”隸變而來。《說文》:“㝸,冕也。”“弁”或“㝸”字。“冕”#xs(``` _*_gmb_r_ton? ```)帶鼻冠音,與“弁”#xs(``` _*_gb_r_tons ```)同根。]), ("拚", "皮變", "並仙去B開", ``` b1_E_sn ```, "元o", ``` b_r_tons ```, []), ("弁", "皮變", "並仙去B開", ``` b1_E_sn ```, "元o", ``` b_r_tons ```, []), ("汴", "皮變", "並仙去B開", ``` b1_E_sn ```, "元o", ``` b_r_tons ```, []), ("閞", "皮變", "並仙去B開", ``` b1_E_sn ```, "元o", ``` b_r_tons ```, []), ("昪", "皮變", "並仙去B開", ``` b1_E_sn ```, "元o", ``` b_r_tons ```, []), ("笲", "皮變", "並仙去B開", ``` b1_E_sn ```, "元o", ``` b_r_tons ```, []), ("䪻", "皮變", "並仙去B開", ``` b1_E_sn ```, "元o", ``` b_r_tons ```, []), ("𨳲", "皮變", "並仙去B開", ``` b1_E_sn ```, "元o", ``` b_r_tons ```, []), ("抃", "皮變", "並仙去B開", ``` b1_E_sn ```, "元o", ``` b_r_tons ```, [“抃”又通“拊”#xs(``` _*_gbo ```)。]), ("犿", "方煩", "幫元平三合", ``` p_wi7n ```, "元o", ``` p_lon ```, [“犿”同“獾”#xs(``` _*_gq_ho_-n ```),漢藏語中經常有音變#xs(``` k_w_-_o ```)>#xs(``` p_-_o ```),#xs(``` q_-_o ```)>#xs(``` k_-_o ```),#xs(``` _-_oon ```)>#xs(``` _-_o_won ```),所以“獾”#xs(``` _*_gq_ho_-n ```)在某個方言中出現以下的音變#xs(``` _*_gq_ho_-n ```)>#xs(``` k_won ```)>#xs(``` pon ```)。]), ("犿", "孚袁", "滂元平三合", ``` p_h_wi7n ```, "元o", ``` p_hon ```, []), ("笲", "附袁", "並元平三合", ``` b_wi7n ```, "元o", ``` bon ```, []), ("犿", "甫遠", "幫元上三合", ``` p_wi7n ```, "元o", ``` p_lon? ```, []), ("笲", "扶晚", "並元上三合", ``` b_wi7n ```, "元o", ``` bon? ```, []), ("䪻", "扶晚", "並元上三合", ``` b_wi7n ```, "元o", ``` bon? ```, []), ("𩚳", "父遠", "並元上三合", ``` b_wi7n ```, "元o", ``` bon? ```, []), ("軬", "扶晚", "並元上三合", ``` b_wi7n ```, "元o", ``` bon? ```, []), ("𨠒", "芳万", "滂元去三合", ``` p_h_wi7n ```, "元o", ``` p_hons ```, []), ("𩚳", "符万", "並元去三合", ``` b_wi7n ```, "元o", ``` bons ```, []), ("閞", "符万", "並元去三合", ``` b_wi7n ```, "元o", ``` bons ```, []), ("𡊄", "府文", "幫文平三合", ``` piun ```, "文u", ``` pun ```, []), ("𡊅", "方問", "幫文去三合", ``` piun ```, "文u", ``` puns ```, []), ("拚", "方問", "幫文去三合", ``` piun ```, "文u", ``` puns ```, []), ("畚", "布忖", "幫魂上一合", ``` pu_^on ```, "文u", ``` pu_-n? ```, []), ("㮥", "蒲本", "並魂上一合", ``` bu_^on ```, "文u", ``` bu_-n? ```, []), ) ), "便": ( "pinyin": [bia4n], "zi-list": ( ("鞭", "卑連", "幫仙平A開", ``` pi_E_sn ```, "元e", ``` pen ```, []), ("鯾", "卑連", "幫仙平A開", ``` pi_E_sn ```, "元e", ``` pen ```, []), ("箯", "卑連", "幫仙平A開", ``` pi_E_sn ```, "元e", ``` pen ```, []), ("便", "房連", "並仙平A開", ``` bi_E_sn ```, "元e", ``` ben ```, []), ("緶", "房連", "並仙平A開", ``` bi_E_sn ```, "元e", ``` ben ```, []), ("楩", "房連", "並仙平A開", ``` bi_E_sn ```, "元e", ``` ben ```, []), ("㛹", "房連", "並仙平A開", ``` bi_E_sn ```, "元e", ``` ben ```, []), ("箯", "房連", "並仙平A開", ``` bi_E_sn ```, "元e", ``` ben ```, []), ("楩", "符善", "並仙上A開", ``` bi_E_sn ```, "元e", ``` ben? ```, []), ("便", "婢面", "並仙去A開", ``` bi_E_sn ```, "元e", ``` bens ```, []), ("緶", "方典", "幫先上四開", ``` pen ```, "元e", ``` pe_-n? ```, []), ) ), "辡": ( "pinyin": [bia4n], "zi-list": ( ("㦚", "方緬", "幫仙上A開", ``` pi_E_sn ```, "元e", ``` pen? ```, []), ("辡", "方免", "幫仙上B開", ``` p1_E_sn ```, "元e", ``` p_r_ten? ```, []), ("辯", "符蹇", "並仙上B開", ``` b1_E_sn ```, "元e", ``` b_r_ten? ```, []), ("辡", "符蹇", "並仙上B開", ``` b1_E_sn ```, "元e", ``` b_r_ten? ```, []), ("辨", "符蹇", "並仙上B開", ``` b1_E_sn ```, "元e", ``` b_r_ten? ```, []), ("辮", "薄泫", "並先上四開", ``` ben ```, "元e", ``` be_-n? ```, []), ("𥌊", "匹莧", "滂山去二開", ``` p_h_M_tEn ```, "元e", ``` p_h_r_te_-ns ```, []), ("辦", "蒲莧", "並山去二開", ``` b_M_tEn ```, "元e", ``` b_r_te_-ns ```, []), ("瓣", "蒲莧", "並山去二開", ``` b_M_tEn ```, "元e", ``` b_r_te_-ns ```, []), ("辨", "蒲莧", "並山去二開", ``` b_M_tEn ```, "元e", ``` b_r_te_-ns ```, []), ("𥌊", "蒲莧", "並山去二開", ``` b_M_tEn ```, "元e", ``` b_r_te_-ns ```, []), ) ), "髟": ( "pinyin": [bia1o], "zi-list": ( ("髟", "甫遙", "幫宵平A開", ``` pi_E_su ```, "宵e", ``` pe_w ```, []), ("髟", "甫烋", "幫幽平三開", ``` p1u ```, "幽i", ``` p_r_ti_w ```, []), ) ), "彪": ( "pinyin": [bia1o], "zi-list": ( ("彪", "甫烋", "幫幽平三開", ``` p1u ```, "幽M", ``` p_r_tM_w ```, []), ("滮", "平幽", "並幽平三開", ``` b1u ```, "幽M", ``` b_r_tM_w ```, []), ("淲", "皮彪", "並幽平三開", ``` b1u ```, "幽M", ``` b_r_tM_w ```, []), ) ), "猋": ( "pinyin": [bia1o], "zi-list": ( ("飆", "甫遙", "幫宵平A開", ``` pi_E_su ```, "宵e", ``` pe_w ```, [《廣韻》作“飊”。]), ("猋", "甫遙", "幫宵平A開", ``` pi_E_su ```, "宵e", ``` pe_w ```, []), ("𣄠", "甫遙", "幫宵平A開", ``` pi_E_su ```, "宵e", ``` pe_w ```, []), ("贆", "甫遙", "幫宵平A開", ``` pi_E_su ```, "宵e", ``` pe_w ```, []), ) ), "麃": ( "pinyin": [bia1o], "zi-list": ( ("犥", "撫招", "滂宵平A開", ``` p_hi_E_su ```, "宵e", ``` p_he_w ```, []), ("犥", "敷沼", "滂宵上A開", ``` p_hi_E_su ```, "宵e", ``` p_he_w? ```, []), ("皫", "敷沼", "滂宵上A開", ``` p_hi_E_su ```, "宵e", ``` p_he_w? ```, []), ("穮", "悲嬌", "幫宵平B開", ``` p1_E_su ```, "宵e", ``` p_r_te_w ```, []), ("鑣", "甫嬌", "幫宵平B開", ``` p1_E_su ```, "宵e", ``` p_r_te_w ```, []), ("儦", "甫嬌", "幫宵平B開", ``` p1_E_su ```, "宵e", ``` p_r_te_w ```, []), ("瀌", "甫嬌", "幫宵平B開", ``` p1_E_su ```, "宵e", ``` p_r_te_w ```, []), ("藨", "甫嬌", "幫宵平B開", ``` p1_E_su ```, "宵e", ``` p_r_te_w ```, []), ("麃", "滂表", "滂宵上B開", ``` p_h1_E_su ```, "宵e", ``` p_h_r_te_w? ```, []), ("藨", "平表", "並宵上B開", ``` b1_E_su ```, "宵e", ``` b_r_te_w? ```, []), ("穮", "披交", "滂肴平二開", ``` p_h_M_t{u ```, "宵e", ``` p_h_r_te_-_w ```, []), ("麃", "薄交", "並肴平二開", ``` b_M_t{u ```, "宵e", ``` b_r_te_-_w ```, []), ("穮", "披教", "滂肴去二開", ``` p_h_M_t{u ```, "宵e", ``` p_h_r_te_-_ws ```, []), ("瀌", "皮彪", "並幽平三開", ``` b1u ```, "幽i", ``` b_r_ti_w ```, []), ("鄜", "芳無", "滂虞平三合", ``` p_hiU ```, "幽i", ``` p_hi_w ```, [見#link(<務字註>)[“務”字註]。]), ("藨", "普袍", "滂豪平一開", ``` p_hAu ```, "幽", ``` p_hu_- ```, []), ) ), "驫": ( "pinyin": [bia1o], "zi-list": ( ("驫", "甫遙", "幫宵平A開", ``` pi_E_su ```, "宵e", ``` pe_w ```, []), ("驫", "甫烋", "幫幽平三開", ``` p1u ```, "幽i", ``` p_r_ti_w ```, []), ) ), "表": ( "pinyin": [bia3o], "zi-list": ( ("表", "陂矯", "幫宵上A開", ``` pi_E_su ```, "宵a", ``` pa_w? ```, []), ("裱", "方廟", "幫宵去A開", ``` pi_E_su ```, "宵a", ``` pa_ws ```, []), ("俵", "方廟", "幫宵去A開", ``` pi_E_su ```, "宵a", ``` pa_ws ```, []), ) ), "𠬪": ( "pinyin": [bia4o], "zi-list": ( ("𦭼", "苻少", "並宵上A開", ``` bi_E_su ```, "宵e", ``` be_w? ```, [鄭張尚芳:反切上字由原“符”改爲“苻”。]), ("殍", "平表", "並宵上B開", ``` b1_E_su ```, "宵e", ``` b_r_te_w? ```, []), ("𠬪", "平表", "並宵上B開", ``` b1_E_su ```, "宵e", ``` b_r_te_w? ```, []), ("殍", "符鄙", "並脂上B開", ``` b1i ```, "之", ``` b_r_tM? ```, []), ) ), "別": ( "pinyin": [bie2], "zi-list": ( ("莂", "方別", "幫薛入B開", ``` p1_E_st ```, "月e", ``` p_r_ted ```, []), ("別", "方別", "幫薛入B開", ``` p1_E_st ```, "月e", ``` p_r_ted ```, [“別”的自動詞爲#xs(``` _*_gb_r_ted ```),使動詞爲#xs(``` _*_gs.b_r_ted ```)>#xs(``` _*_gp_r_ted ```)。]), ("別", "皮列", "並薛入B開", ``` b1_E_st ```, "月e", ``` b_r_ted ```, []), ("捌", "百鎋", "幫黠入二開", ``` p_M_tEt ```, "月e", ``` p_r_te_-d ```, [原爲鎋韻,但是根據諧聲系統應該爲黠韻,《切韻》音系二等有黠、鎋的歷史層次。]), ("捌", "博拔", "幫黠入二開", ``` p_M_tEt ```, "月e", ``` p_r_te_-d ```, []), ) ), "彬": ( "pinyin": [bi1n], "zi-list": ( ("彬", "府巾", "幫眞平B開", ``` p1in ```, "文M", ``` p_r_tMn ```, []), ("虨", "府巾", "幫眞平B開", ``` p1in ```, "文M", ``` p_r_tMn ```, []), ("虨", "普巾", "滂眞平B開", ``` p_h1in ```, "文M", ``` p_h_r_tMn ```, []), ("虨", "方閑", "並山平二開", ``` b_M_tEn ```, "文M", ``` b_r_tM_-n ```, []), ) ), "豩": ( "pinyin": [bi1n], "zi-list": ( ("豩", "悲巾", "幫眞平B開", ``` p1in ```, "文M", ``` p_r_tMn ```, []), ("豳", "府巾", "幫眞平B開", ``` p1in ```, "文M", ``` p_r_tMn ```, []), ("燹", "蘇典", "心先上四開", ``` sen ```, "文M", ``` sp_lM_-n? ```, []), ("豩", "呼關", "曉山平二合", ``` h_w_M_tEn ```, "文M", ``` qp_h_r_tM_-n ```, [見#link(<存字註>)[“存”字註]。原爲刪韻,但是根據諧聲系統應該爲山韻,《切韻》音系二等有山、刪的歷史層次。]), ("燹", "許位", "曉脂去B合", ``` h_w1i ```, "微M", ``` qp_h_r_tMls ```, [見#link(<存字註>)[“存”字註]。]), ("燹", "息淺", "心仙上三開", ``` si_E_sn ```, "元a", ``` sp_lan? ```, [李豪:據金文,“豳”“燹”本一字分化,上所從非二“豩”,實爲二“㣇”;下部之“山”乃“火”之譌。]), ) ), "仌": ( "pinyin": [bi1ng], "zi-list": ( ("馮", "房戎", "並東平三合", ``` biuN ```, "蒸", ``` bg_lMN ```, []), ("𨝭", "房戎", "並東平三合", ``` biuN ```, "蒸", ``` bg_lMN ```, []), ("馮", "扶冰", "並蒸平三開", ``` b1N ```, "蒸", ``` bg_r_tMN ```, []), ("憑", "扶冰", "並蒸平三開", ``` b1N ```, "蒸", ``` bg_r_tMN ```, []), ("冰", "筆陵", "幫蒸平三開", ``` p1N ```, "蒸", ``` pg_r_tMN ```, [《說文》以“凝”爲“冰”字俗體,“冰”“凝”文獻中可互作,《爾雅·釋器》:“冰,脂也。”《釋文》:“‘冰’……孫本作‘凝’。”“疑”通“矣”,《上海博物館藏戰國楚竹書(四)·曹沫之陣》:“是古(故)矣(疑)#{ box(width: 11.6pt, height: 10.7pt, baseline: 2.9pt, inset: (top: -2.7pt, bottom: 0pt, x: 0pt), outset: 0pt, clip: true)[#image("./svg/⿰申戈.svg")] }(敶)敗,矣(疑)戰死。”故“疑”#xs(``` _*_gNg_r_tM ```)的詞根與“矣”音近,爲#xs(``` _*_gg_r_tM ```)。故“凝”上古音爲#xs(``` _*_gNg_r_tMN ```)>#xs(``` _*_gN_r_tMN ```),“冰”則爲#xs(``` _*_gpg_r_tMN ```)>#xs(``` _*_gp_r_tMN ```)。]), ("仌", "悲陵", "幫蒸平三開", ``` p1N ```, "蒸", ``` pg_r_tMN ```, []), ) ), "兵": ( "pinyin": [bi1ng], "zi-list": ( ("兵", "甫明", "幫庚平三開", ``` pi{N ```, "陽", ``` p_r_taN ```, []), ) ), "丙": ( "pinyin": [bi3ng], "zi-list": ( ("丙", "兵永", "幫庚上三開", ``` pi{N ```, "陽", ``` pk_r_taN? ```, []), ("昞", "兵永", "幫庚上三開", ``` pi{N ```, "陽", ``` pk_r_taN? ```, []), ("怲", "兵永", "幫庚上三開", ``` pi{N ```, "陽", ``` pk_r_taN? ```, []), ("邴", "兵永", "幫庚上三開", ``` pi{N ```, "陽", ``` pk_r_taN? ```, []), ("炳", "兵永", "幫庚上三開", ``` pi{N ```, "陽", ``` pk_r_taN? ```, []), ("柄", "陂病", "幫庚去三開", ``` pi{N ```, "陽", ``` pk_r_taNs ```, []), ("怲", "陂病", "幫庚去三開", ``` pi{N ```, "陽", ``` pk_r_taNs ```, []), ("邴", "陂病", "幫庚去三開", ``` pi{N ```, "陽", ``` pk_r_taNs ```, []), ("鈵", "陂病", "幫庚去三開", ``` pi{N ```, "陽", ``` pk_r_taNs ```, []), ("寎", "陂病", "幫庚去三開", ``` pi{N ```, "陽", ``` pk_r_taNs ```, []), ("病", "皮命", "並庚去三開", ``` bi{N ```, "陽", ``` bg_r_taNs ```, []), ("粳", "古行", "見庚平二開", ``` k_M_t{N ```, "陽", ``` k_r_ta_-N ```, []), ("更", "古行", "見庚平二開", ``` k_M_t{N ```, "陽", ``` k_r_ta_-N ```, [“更”字從“丙”聲,或從二“丙”得聲。二“丙”是雙聲符字,雙聲符“丙”即與單聲符的“丙”表示語音有別,它們的詞根爲#xs(``` _*_gk_r_ta_-N ```),加了前綴#xs(``` p ```)爲#xs(``` _*_gpk_r_ta_-N ```)>#xs(``` _*_gk_r_ta_-N ```)。]), ("埂", "古行", "見庚平二開", ``` k_M_t{N ```, "陽", ``` k_r_ta_-N ```, []), ("浭", "古行", "見庚平二開", ``` k_M_t{N ```, "陽", ``` k_r_ta_-N ```, []), ("梗", "古杏", "見庚上二開", ``` k_M_t{N ```, "陽", ``` k_r_ta_-N? ```, []), ("哽", "古杏", "見庚上二開", ``` k_M_t{N ```, "陽", ``` k_r_ta_-N? ```, []), ("郠", "古杏", "見庚上二開", ``` k_M_t{N ```, "陽", ``` k_r_ta_-N? ```, []), ("綆", "古杏", "見庚上二開", ``` k_M_t{N ```, "陽", ``` k_r_ta_-N? ```, []), ("鯁", "古杏", "見庚上二開", ``` k_M_t{N ```, "陽", ``` k_r_ta_-N? ```, []), ("埂", "古杏", "見庚上二開", ``` k_M_t{N ```, "陽", ``` k_r_ta_-N? ```, []), ("骾", "古杏", "見庚上二開", ``` k_M_t{N ```, "陽", ``` k_r_ta_-N? ```, []), ("𩶁", "蒲幸", "並庚上二開", ``` b_M_t{N ```, "陽", ``` bg_r_ta_-N? ```, [原爲耕韻,但是根據諧聲系統應該爲庚韻,《切韻》音系二等有庚、耕的歷史層次。]), ("更", "古孟", "見庚去二開", ``` k_M_t{N ```, "陽", ``` k_r_ta_-Ns ```, []), ("硬", "五諍", "疑庚去二開", ``` N_M_t{N ```, "陽", ``` Ng_r_ta_-Ns ```, [《傷寒論》“硬”作“鞭”。藏文#xs(``` h\k_hraN ```)、#xs(``` k_hraN ```)硬,泰文#xs(``` krEENh ```)堅硬的。同根詞“剛”#xs(``` _*_gk_la_-N ```),“固”#xs(``` _*_gka_-s ```)。原爲耕韻,但是根據諧聲系統應該爲庚韻,《切韻》音系二等有庚、耕的歷史層次。]), ) ), "秉": ( "pinyin": [bi3ng], "zi-list": ( ("秉", "兵永", "幫庚上三開", ``` pi{N ```, "陽", ``` p_r_taN? ```, []), ) ), "并": ( "pinyin": [bi4ng], "zi-list": ( ("并", "府盈", "幫清平三開", ``` pi_E_sN ```, "耕", ``` peN ```, []), ("栟", "府盈", "幫清平三開", ``` pi_E_sN ```, "耕", ``` peN ```, []), ("屏", "府盈", "幫清平三開", ``` pi_E_sN ```, "耕", ``` peN ```, []), ("餅", "必郢", "幫清上三開", ``` pi_E_sN ```, "耕", ``` peN? ```, []), ("屏", "必郢", "幫清上三開", ``` pi_E_sN ```, "耕", ``` peN? ```, []), ("鉼", "必郢", "幫清上三開", ``` pi_E_sN ```, "耕", ``` peN? ```, []), ("併", "必郢", "幫清上三開", ``` pi_E_sN ```, "耕", ``` peN? ```, []), ("庰", "必郢", "幫清上三開", ``` pi_E_sN ```, "耕", ``` peN? ```, []), ("𪘀", "必郢", "幫清上三開", ``` pi_E_sN ```, "耕", ``` peN? ```, []), ("併", "畀政", "幫清去三開", ``` pi_E_sN ```, "耕", ``` peNs ```, []), ("并", "畀政", "幫清去三開", ``` pi_E_sN ```, "耕", ``` peNs ```, []), ("偋", "防正", "並清去三開", ``` bi_E_sN ```, "耕", ``` beNs ```, []), ("庰", "防正", "並清去三開", ``` bi_E_sN ```, "耕", ``` beNs ```, []), ("艵", "普丁", "滂青平四開", ``` p_heN ```, "耕", ``` p_he_-N ```, []), ("頩", "普丁", "滂青平四開", ``` p_heN ```, "耕", ``` p_he_-N ```, []), ("姘", "普丁", "滂青平四開", ``` p_heN ```, "耕", ``` p_he_-N ```, []), ("瓶", "薄經", "並青平四開", ``` beN ```, "耕", ``` be_-N ```, []), ("蛢", "薄經", "並青平四開", ``` beN ```, "耕", ``` be_-N ```, []), ("屏", "薄經", "並青平四開", ``` beN ```, "耕", ``` be_-N ```, []), ("荓", "薄經", "並青平四開", ``` beN ```, "耕", ``` be_-N ```, []), ("軿", "薄經", "並青平四開", ``` beN ```, "耕", ``` be_-N ```, []), ("郱", "薄經", "並青平四開", ``` beN ```, "耕", ``` be_-N ```, []), ("𤳊", "薄經", "並青平四開", ``` beN ```, "耕", ``` be_-N ```, []), ("洴", "薄經", "並青平四開", ``` beN ```, "耕", ``` be_-N ```, []), ("𥩵", "旁經", "並青平四開", ``` beN ```, "耕", ``` be_-N ```, []), ("帡", "旁經", "並青平四開", ``` beN ```, "耕", ``` be_-N ```, []), ("頩", "匹迥", "滂青上四開", ``` p_heN ```, "耕", ``` p_he_-N? ```, []), ("併", "蒲迥", "並青上四開", ``` beN ```, "耕", ``` be_-N? ```, []), ("偋", "蒲徑", "並青去四開", ``` beN ```, "耕", ``` be_-Ns ```, []), ("絣", "北萌", "幫耕平二開", ``` p_M_tEN ```, "耕", ``` p_r_te_-N ```, []), ("拼", "北萌", "幫耕平二開", ``` p_M_tEN ```, "耕", ``` p_r_te_-N ```, []), ("恲", "撫庚", "滂耕平二開", ``` p_h_M_tEN ```, "耕", ``` p_h_r_te_-N ```, [原爲庚韻,但是根據諧聲系統應該爲耕韻,《切韻》音系二等有耕、庚的歷史層次。]), ("姘", "普耕", "滂耕平二開", ``` p_h_M_tEN ```, "耕", ``` p_h_r_te_-N ```, []), ("皏", "普幸", "滂耕上二開", ``` p_h_M_tEN ```, "耕", ``` p_h_r_te_-N? ```, []), ("跰", "北孟", "幫耕去二開", ``` p_M_tEN ```, "耕", ``` p_r_te_-Ns ```, []), ("迸", "北諍", "幫耕去二開", ``` p_M_tEN ```, "耕", ``` p_r_te_-Ns ```, []), ("跰", "部田", "並先平四開", ``` ben ```, "元e", ``` be_-n ```, []), ("骿", "部田", "並先平四開", ``` ben ```, "元e", ``` be_-n ```, []), ("軿", "部田", "並先平四開", ``` ben ```, "元e", ``` be_-n ```, []), ("駢", "部田", "並先平四開", ``` ben ```, "元e", ``` be_-n ```, []), ("胼", "部田", "並先平四開", ``` ben ```, "元e", ``` be_-n ```, []), ("𪘀", "蒲眠", "並先平四開", ``` ben ```, "元e", ``` be_-n ```, []), ("鵧", "房脂", "並脂平A開", ``` bi ```, "脂", ``` bi ```, []), ) ), "並": ( "pinyin": [bi4ng], "zi-list": ( ("䰃", "北朗", "幫唐上一開", ``` pAN ```, "陽", ``` pa_-N? ```, []), ("並", "蒲迥", "並青上四開", ``` beN ```, "陽", ``` ba_-N? ```, [“並”,顏氏《漢書注》都作“步浪反”。《釋名》“病”以“並”爲聲訓,應是庚韻陽部字。肖禕科:《老子》“萬物並作”,郭店甲本簡24作“方”,馬王堆帛書甲乙本作“旁”。由於“並”與“併”兩詞義近,後來讀作青韻。]), ("䰃", "薄庚", "並庚平二開", ``` b_M_t{N ```, "陽", ``` b_r_ta_-N ```, []), ) ), "癶": ( "pinyin": [bo1], "zi-list": ( ("廢", "方肺", "幫廢去三合", ``` p_wiai ```, "月a", ``` pads ```, [鄭張尚芳:反切上字“肺”原作“胏”,依校本。張富海指出甲金文作“灋”,故帶#xs(``` _*_g_-_ob ```)尾。]), ("癈", "方肺", "幫廢去三合", ``` p_wiai ```, "月a", ``` pads ```, [見#link(<肺字註>)[“肺”字註]。]), ("橃", "方肺", "幫廢去三合", ``` p_wiai ```, "月a", ``` pads ```, [見#link(<肺字註>)[“肺”字註]。]), ("䚨", "方肺", "幫廢去三合", ``` p_wiai ```, "月a", ``` pads ```, [見#link(<肺字註>)[“肺”字註]。]), ("墢", "放吠", "幫廢去三合", ``` p_wiai ```, "月a", ``` pads ```, []), ("蕟", "放吠", "幫廢去三合", ``` p_wiai ```, "月a", ``` pads ```, []), ("櫠", "放吠", "幫廢去三合", ``` p_wiai ```, "月a", ``` pads ```, []), ("發", "方伐", "幫月入三合", ``` p_wi7t ```, "月a", ``` pad ```, []), ("蕟", "方伐", "幫月入三合", ``` p_wi7t ```, "月a", ``` pad ```, []), ("橃", "房越", "並月入三合", ``` b_wi7t ```, "月a", ``` bad ```, []), ("墢", "房越", "並月入三合", ``` b_wi7t ```, "月a", ``` bad ```, []), ("撥", "北末", "幫曷入一合", ``` p_wAt ```, "月a", ``` pa_-d ```, []), ("癶", "北末", "幫曷入一合", ``` p_wAt ```, "月a", ``` pa_-d ```, []), ("襏", "北末", "幫曷入一合", ``` p_wAt ```, "月a", ``` pa_-d ```, []), ("蹳", "北末", "幫曷入一合", ``` p_wAt ```, "月a", ``` pa_-d ```, []), ("鏺", "普活", "滂曷入一合", ``` p_h_wAt ```, "月a", ``` p_ha_-d ```, []), ("癹", "蒲撥", "並曷入一合", ``` b_wAt ```, "月a", ``` ba_-d ```, []), ("䚨", "蒲撥", "並曷入一合", ``` b_wAt ```, "月a", ``` ba_-d ```, []), ("蹳", "蒲撥", "並曷入一合", ``` b_wAt ```, "月a", ``` ba_-d ```, []), ) ), "卜": ( "pinyin": [bu3], "zi-list": ( ("赴", "芳遇", "滂虞去三合", ``` p_hiU ```, "屋", ``` p_hogs ```, []), ("訃", "芳遇", "滂虞去三合", ``` p_hiU ```, "屋", ``` p_hogs ```, []), ("䟔", "芳遇", "滂虞去三合", ``` p_hiU ```, "屋", ``` p_hogs ```, []), ("仆", "芳遇", "滂虞去三合", ``` p_hiU ```, "屋", ``` p_hogs ```, []), ("仆", "匹候", "滂侯去一合", ``` p_hu ```, "屋", ``` p_ho_-gs ```, []), ("卜", "博木", "幫屋入一合", ``` puk ```, "屋", ``` po_-g ```, []), ("鳪", "博木", "幫屋入一合", ``` puk ```, "屋", ``` po_-g ```, []), ("扑", "普木", "滂屋入一合", ``` p_huk ```, "屋", ``` p_ho_-g ```, []), ("攴", "普木", "滂屋入一合", ``` p_huk ```, "屋", ``` p_ho_-g ```, []), ("朴", "匹角", "滂覺入二開", ``` p_h_M_tOk ```, "屋", ``` p_h_r_to_-g ```, []), ("攴", "匹角", "滂覺入二開", ``` p_h_M_tOk ```, "屋", ``` p_h_r_to_-g ```, []), ("仆", "敷救", "滂尤去三合", ``` p_hiu ```, "覺", ``` p_hugs ```, []), ("仆", "蒲北", "並德入一開", ``` b@k ```, "職", ``` bM_-g ```, []), ) ), "不": ( "pinyin": [bu4], "zi-list": ( ("䫠", "敷悲", "滂脂平B開", ``` p_h1i ```, "之", ``` p_h_r_tM ```, []), ("丕", "敷悲", "滂脂平B開", ``` p_h1i ```, "之", ``` p_h_r_tM ```, []), ("伾", "敷悲", "滂脂平B開", ``` p_h1i ```, "之", ``` p_h_r_tM ```, []), ("秠", "敷悲", "滂脂平B開", ``` p_h1i ```, "之", ``` p_h_r_tM ```, []), ("駓", "敷悲", "滂脂平B開", ``` p_h1i ```, "之", ``` p_h_r_tM ```, []), ("狉", "攀悲", "滂脂平B開", ``` p_h1i ```, "之", ``` p_h_r_tM ```, []), ("銔", "攀悲", "滂脂平B開", ``` p_h1i ```, "之", ``` p_h_r_tM ```, []), ("髬", "敷悲", "滂脂平B開", ``` p_h1i ```, "之", ``` p_h_r_tM ```, []), ("魾", "敷悲", "滂脂平B開", ``` p_h1i ```, "之", ``` p_h_r_tM ```, []), ("鉟", "敷悲", "滂脂平B開", ``` p_h1i ```, "之", ``` p_h_r_tM ```, []), ("邳", "符悲", "並脂平B開", ``` b1i ```, "之", ``` b_r_tM ```, []), ("鉟", "符悲", "並脂平B開", ``` b1i ```, "之", ``` b_r_tM ```, []), ("䲹", "符悲", "並脂平B開", ``` b1i ```, "之", ``` b_r_tM ```, []), ("岯", "符悲", "並脂平B開", ``` b1i ```, "之", ``` b_r_tM ```, []), ("魾", "符悲", "並脂平B開", ``` b1i ```, "之", ``` b_r_tM ```, []), ("䫠", "符悲", "並脂平B開", ``` b1i ```, "之", ``` b_r_tM ```, []), ("銔", "貧悲", "並脂平B開", ``` b1i ```, "之", ``` b_r_tM ```, []), ("𧳏", "貧悲", "並脂平B開", ``` b1i ```, "之", ``` b_r_tM ```, []), ("狉", "貧悲", "並脂平B開", ``` b1i ```, "之", ``` b_r_tM ```, []), ("𩣚", "貧悲", "並脂平B開", ``` b1i ```, "之", ``` b_r_tM ```, []), ("𩣚", "補美", "幫脂上B開", ``` p1i ```, "之", ``` p_r_tM? ```, []), ("娝", "方美", "幫脂上B開", ``` p1i ```, "之", ``` p_r_tM? ```, []), ("痞", "方美", "幫脂上B開", ``` p1i ```, "之", ``` p_r_tM? ```, []), ("嚭", "匹鄙", "滂脂上B開", ``` p_h1i ```, "之", ``` p_h_r_tM? ```, []), ("秠", "匹鄙", "滂脂上B開", ``` p_h1i ```, "之", ``` p_h_r_tM? ```, []), ("𧳏", "部鄙", "並脂上B開", ``` b1i ```, "之", ``` b_r_tM? ```, []), ("𩣚", "部鄙", "並脂上B開", ``` b1i ```, "之", ``` b_r_tM? ```, []), ("否", "符鄙", "並脂上B開", ``` b1i ```, "之", ``` b_r_tM? ```, []), ("痞", "符鄙", "並脂上B開", ``` b1i ```, "之", ``` b_r_tM? ```, []), ("不", "甫鳩", "幫尤平三合", ``` piu ```, "之", ``` pM ```, []), ("紑", "甫鳩", "幫尤平三合", ``` piu ```, "之", ``` pM ```, []), ("鴀", "甫鳩", "幫尤平三合", ``` piu ```, "之", ``` pM ```, []), ("秠", "匹尤", "滂尤平三合", ``` p_hiu ```, "之", ``` p_hM ```, []), ("衃", "匹尤", "滂尤平三合", ``` p_hiu ```, "之", ``` p_hM ```, []), ("肧", "匹尤", "滂尤平三合", ``` p_hiu ```, "之", ``` p_hM ```, []), ("紑", "匹尤", "滂尤平三合", ``` p_hiu ```, "之", ``` p_hM ```, []), ("醅", "匹尤", "滂尤平三合", ``` p_hiu ```, "之", ``` p_hM ```, []), ("罘", "縛謀", "並尤平三合", ``` biu ```, "之", ``` bM ```, []), ("涪", "縛謀", "並尤平三合", ``` biu ```, "之", ``` bM ```, []), ("芣", "縛謀", "並尤平三合", ``` biu ```, "之", ``` bM ```, []), ("棓", "縛謀", "並尤平三合", ``` biu ```, "之", ``` bM ```, []), ("掊", "縛謀", "並尤平三合", ``` biu ```, "之", ``` bM ```, []), ("䍌", "縛謀", "並尤平三合", ``` biu ```, "之", ``` bM ```, []), ("瓿", "防無", "並虞平三合", ``` biU ```, "之", ``` bM ```, [見#link(<侮字註>)[“侮”字註]。]), ("鴀", "方久", "幫尤上三合", ``` piu ```, "之", ``` pM? ```, []), ("痞", "方久", "幫尤上三合", ``` piu ```, "之", ``` pM? ```, []), ("否", "方久", "幫尤上三合", ``` piu ```, "之", ``` pM? ```, []), ("不", "方久", "幫尤上三合", ``` piu ```, "之", ``` pM? ```, []), ("紑", "芳否", "滂尤上三合", ``` p_hiu ```, "之", ``` p_hM? ```, []), ("秠", "芳婦", "滂尤上三合", ``` p_hiu ```, "之", ``` p_hM? ```, []), ("菩", "房久", "並尤上三合", ``` biu ```, "之", ``` bM? ```, []), ("䋨", "芳武", "滂虞上三合", ``` p_hiU ```, "之", ``` p_hM? ```, [見#link(<侮字註>)[“侮”字註]。]), ("剖", "芳武", "滂虞上三合", ``` p_hiU ```, "之", ``` p_hM? ```, [見#link(<侮字註>)[“侮”字註]。]), ("䯽", "芳武", "滂虞上三合", ``` p_hiU ```, "之", ``` p_hM? ```, [見#link(<侮字註>)[“侮”字註]。]), ("不", "甫救", "幫尤去三合", ``` piu ```, "之", ``` pMs ```, []), ("肧", "普來", "滂咍平一開", ``` p_h@i ```, "之", ``` p_hM_- ```, []), ("䯽", "薄侯", "並侯平一合", ``` bu ```, "之", ``` bM_- ```, [見#link(<侮字註>)[“侮”字註]。]), ("抔", "薄侯", "並侯平一合", ``` bu ```, "之", ``` bM_- ```, [見#link(<侮字註>)[“侮”字註]。]), ("掊", "薄侯", "並侯平一合", ``` bu ```, "之", ``` bM_- ```, [見#link(<侮字註>)[“侮”字註]。]), ("䏽", "薄侯", "並侯平一合", ``` bu ```, "之", ``` bM_- ```, [見#link(<侮字註>)[“侮”字註]。]), ("䍌", "薄侯", "並侯平一合", ``` bu ```, "之", ``` bM_- ```, [見#link(<侮字註>)[“侮”字註]。]), ("箁", "薄侯", "並侯平一合", ``` bu ```, "之", ``` bM_- ```, [見#link(<侮字註>)[“侮”字註]。]), ("桮", "布回", "幫灰平一合", ``` pu_^oi ```, "之", ``` pM_- ```, []), ("杯", "布回", "幫灰平一合", ``` pu_^oi ```, "之", ``` pM_- ```, [《廣韻》又同“桮”。]), ("肧", "芳杯", "滂灰平一合", ``` p_hu_^oi ```, "之", ``` p_hM_- ```, []), ("坏", "芳杯", "滂灰平一合", ``` p_hu_^oi ```, "之", ``` p_hM_- ```, []), ("醅", "芳杯", "滂灰平一合", ``` p_hu_^oi ```, "之", ``` p_hM_- ```, []), ("衃", "芳杯", "滂灰平一合", ``` p_hu_^oi ```, "之", ``` p_hM_- ```, []), ("抔", "芳杯", "滂灰平一合", ``` p_hu_^oi ```, "之", ``` p_hM_- ```, []), ("胚", "鋪枚", "滂灰平一合", ``` p_hu_^oi ```, "之", ``` p_hM_- ```, []), ("阫", "鋪枚", "滂灰平一合", ``` p_hu_^oi ```, "之", ``` p_hM_- ```, []), ("培", "薄回", "並灰平一合", ``` bu_^oi ```, "之", ``` bM_- ```, []), ("陪", "薄回", "並灰平一合", ``` bu_^oi ```, "之", ``` bM_- ```, []), ("𩑢", "薄回", "並灰平一合", ``` bu_^oi ```, "之", ``` bM_- ```, []), ("焙", "薄昧", "並灰去一合", ``` bu_^oi ```, "之", ``` bM_-s ```, []), ("菩", "薄胡", "並模平一合", ``` bu_^o ```, "之", ``` bM_- ```, [見#link(<侮字註>)[“侮”字註]。]), ("倍", "薄亥", "並咍上一開", ``` b@i ```, "之", ``` bM_-? ```, []), ("菩", "薄亥", "並咍上一開", ``` b@i ```, "之", ``` bM_-? ```, []), ("掊", "方垢", "幫侯上一合", ``` pu ```, "之", ``` pM_-? ```, [見#link(<侮字註>)[“侮”字註]。]), ("剖", "普后", "滂侯上一合", ``` p_hu ```, "之", ``` p_hM_-? ```, [見#link(<侮字註>)[“侮”字註]。]), ("蔀", "普后", "滂侯上一合", ``` p_hu ```, "之", ``` p_hM_-? ```, [見#link(<侮字註>)[“侮”字註]。]), ("䯽", "普后", "滂侯上一合", ``` p_hu ```, "之", ``` p_hM_-? ```, [見#link(<侮字註>)[“侮”字註]。]), ("𦵿", "普后", "滂侯上一合", ``` p_hu ```, "之", ``` p_hM_-? ```, [見#link(<侮字註>)[“侮”字註]。]), ("䍌", "蒲口", "並侯上一合", ``` bu ```, "之", ``` bM_-? ```, [見#link(<侮字註>)[“侮”字註]。]), ("篰", "蒲口", "並侯上一合", ``` bu ```, "之", ``` bM_-? ```, [見#link(<侮字註>)[“侮”字註]。]), ("蔀", "蒲口", "並侯上一合", ``` bu ```, "之", ``` bM_-? ```, [見#link(<侮字註>)[“侮”字註]。]), ("部", "蒲口", "並侯上一合", ``` bu ```, "之", ``` bM_-? ```, [見#link(<侮字註>)[“侮”字註]。]), ("培", "蒲口", "並侯上一合", ``` bu ```, "之", ``` bM_-? ```, [見#link(<侮字註>)[“侮”字註]。]), ("䏽", "蒲口", "並侯上一合", ``` bu ```, "之", ``` bM_-? ```, [見#link(<侮字註>)[“侮”字註]。]), ("瓿", "蒲口", "並侯上一合", ``` bu ```, "之", ``` bM_-? ```, [見#link(<侮字註>)[“侮”字註]。]), ("琣", "普罪", "滂灰上一合", ``` p_hu_^oi ```, "之", ``` p_hM_-? ```, []), ("部", "裴古", "並模上一合", ``` bu_^o ```, "之", ``` bM_-? ```, [見#link(<侮字註>)[“侮”字註]。之部變成幽部以後,通過幾次音變滯後,先變成侯部字,再變成魚部字。]), ("踣", "匹候", "滂侯去一合", ``` p_hu ```, "之", ``` p_hM_-s ```, [見#link(<侮字註>)[“侮”字註]。]), ("咅", "他候", "透侯去一合", ``` t_hu ```, "之", ``` p_hlM_-s ```, []), ("䏽", "蒲候", "並侯去一合", ``` bu ```, "之", ``` bM_-s ```, [見#link(<侮字註>)[“侮”字註]。]), ("𩑢", "步皆", "並皆平二開", ``` b_M_tEi ```, "之", ``` b_r_tM_- ```, []), ("掊", "薄交", "並肴平二開", ``` b_M_t{u ```, "之", ``` b_r_tM_- ```, [之部讀作侯部,見#link(<侮字註>)[“侮”字註]。]), ("㫘", "莫筆", "明質入B開", ``` m1it ```, "職", ``` mb_r_tMg ```, []), ("菩", "蒲北", "並德入一開", ``` b@k ```, "職", ``` bM_-g ```, []), ("踣", "蒲北", "並德入一開", ``` b@k ```, "職", ``` bM_-g ```, []), ("棓", "步項", "並江上二開", ``` b_M_tON ```, "蒸", ``` b_r_tM_-N? ```, [主元音#xs(``` _*_gM ```)在唇音後圓唇化,從蒸部變成終部:#xs(``` _*_g_-_oM_-N ```)>#xs(``` _*_g_-_ouN ```)。]), ) ), "步": ( "pinyin": [bu4], "zi-list": ( ("荹", "薄胡", "並模平一合", ``` bu_^o ```, "魚", ``` ba_- ```, []), ("步", "薄故", "並模去一合", ``` bu_^o ```, "魚", ``` ba_-s ```, []), ("荹", "薄故", "並模去一合", ``` bu_^o ```, "魚", ``` ba_-s ```, []), ("踄", "傍各", "並鐸入一開", ``` bAk ```, "鐸", ``` ba_-g ```, []), ) ), "𡰿": ( "pinyin": [bu4], "zi-list": ( ("𡰿", "蒲木", "並屋入一合", ``` buk ```, "屋", ``` bo_-g ```, []), ) ), "才": ( "pinyin": [ca2i], "zi-list": ( ("鼒", "子之", "精之平三開", ``` ts1 ```, "之", ``` sM ```, []), ("茬", "側持", "莊之平三開", ``` ts`1 ```, "之", ``` srM ```, []), ("茬", "士之", "崇之平三開", ``` dz`1 ```, "之", ``` zrM ```, []), ("胾", "側吏", "莊之去三開", ``` ts`1 ```, "之", ``` srMs ```, []), ("蛓", "七吏", "清之去三開", ``` ts_h1 ```, "之", ``` s_hMs ```, []), ("烖", "祖才", "精咍平一開", ``` ts@i ```, "之", ``` sM_- ```, []), ("栽", "祖才", "精咍平一開", ``` ts@i ```, "之", ``` sM_- ```, []), ("哉", "祖才", "精咍平一開", ``` ts@i ```, "之", ``` sM_- ```, []), ("𢦒", "祖才", "精咍平一開", ``` ts@i ```, "之", ``` sM_- ```, []), ("渽", "祖才", "精咍平一開", ``` ts@i ```, "之", ``` sM_- ```, []), ("𢦔", "祖才", "精咍平一開", ``` ts@i ```, "之", ``` sM_- ```, []), ("災", "祖才", "精咍平一開", ``` ts@i ```, "之", ``` sM_- ```, [《廣韻》又同“烖”。]), ("䞗", "倉才", "清咍平一開", ``` ts_h@i ```, "之", ``` s_hM_- ```, []), ("裁", "昨哉", "從咍平一開", ``` dz@i ```, "之", ``` zM_- ```, []), ("財", "昨哉", "從咍平一開", ``` dz@i ```, "之", ``` zM_- ```, []), ("才", "昨哉", "從咍平一開", ``` dz@i ```, "之", ``` zM_- ```, []), ("材", "昨哉", "從咍平一開", ``` dz@i ```, "之", ``` zM_- ```, []), ("䴭", "昨哉", "從咍平一開", ``` dz@i ```, "之", ``` zM_- ```, []), ("渽", "昨哉", "從咍平一開", ``` dz@i ```, "之", ``` zM_- ```, []), ("鼒", "昨哉", "從咍平一開", ``` dz@i ```, "之", ``` zM_- ```, []), ("載", "作亥", "精咍上一開", ``` ts@i ```, "之", ``` sM_-? ```, []), ("在", "昨宰", "從咍上一開", ``` dz@i ```, "之", ``` zM_-? ```, []), ("載", "作代", "精咍去一開", ``` ts@i ```, "之", ``` sM_-s ```, []), ("𨚵", "作代", "精咍去一開", ``` ts@i ```, "之", ``` sM_-s ```, []), ("𩛥", "作代", "精咍去一開", ``` ts@i ```, "之", ``` sM_-s ```, []), ("載", "昨代", "從咍去一開", ``` dz@i ```, "之", ``` zM_-s ```, []), ("裁", "昨代", "從咍去一開", ``` dz@i ```, "之", ``` zM_-s ```, []), ("在", "昨代", "從咍去一開", ``` dz@i ```, "之", ``` zM_-s ```, []), ("酨", "昨代", "從咍去一開", ``` dz@i ```, "之", ``` zM_-s ```, []), ("栽", "昨代", "從咍去一開", ``` dz@i ```, "之", ``` zM_-s ```, []), ("酨", "徒耐", "定咍去一開", ``` d@i ```, "之", ``` dM_-s ```, []), ("䞗", "楚皆", "初皆平二開", ``` ts`_h_M_tEi ```, "之", ``` s_hrM_- ```, []), ("豺", "士皆", "崇皆平二開", ``` dz`_M_tEi ```, "之", ``` zrM_- ```, []), ("存", "徂尊", "從魂平一合", ``` dzu_^on ```, "文M", ``` zM_-n ```, [元音#xs(``` _*_gM ```)由非正則元音變成正則元音#xs(``` _*_gu ```)。]), ("𨚲", "徂尊", "從魂平一合", ``` dzu_^on ```, "文M", ``` zM_-n ```, [見#link(<存字註>)[“存”字註。]]), ("袸", "徂尊", "從魂平一合", ``` dzu_^on ```, "文M", ``` zM_-n ```, [見#link(<存字註>)[“存”字註。]]), ("栫", "徂悶", "從魂去一合", ``` dzu_^on ```, "文M", ``` zM_-ns ```, [見#link(<存字註>)[“存”字註。]]), ("荐", "在甸", "從先去四開", ``` dzen ```, "文M", ``` zM_-ns ```, []), ("洊", "在甸", "從先去四開", ``` dzen ```, "文M", ``` zM_-ns ```, []), ("栫", "在甸", "從先去四開", ``` dzen ```, "文M", ``` zM_-ns ```, []), ("袸", "在甸", "從先去四開", ``` dzen ```, "文M", ``` zM_-ns ```, []), ) ), "纔": ( "pinyin": [ca2i], "zi-list": ( ("纔", "昨哉", "從咍平一開", ``` dz@i ```, "之", ``` zM_- ```, []), ) ), "采": ( "pinyin": [ca3i], "zi-list": ( ("䰂", "倉宰", "清咍上一開", ``` ts_h@i ```, "之", ``` s_hM_-? ```, []), ("㥒", "倉宰", "清咍上一開", ``` ts_h@i ```, "之", ``` s_hM_-? ```, []), ("采", "倉宰", "清咍上一開", ``` ts_h@i ```, "之", ``` s_hM_-? ```, []), ("採", "倉宰", "清咍上一開", ``` ts_h@i ```, "之", ``` s_hM_-? ```, []), ("綵", "倉宰", "清咍上一開", ``` ts_h@i ```, "之", ``` s_hM_-? ```, []), ("寀", "倉宰", "清咍上一開", ``` ts_h@i ```, "之", ``` s_hM_-? ```, []), ("彩", "倉宰", "清咍上一開", ``` ts_h@i ```, "之", ``` s_hM_-? ```, []), ("菜", "倉代", "清咍去一開", ``` ts_h@i ```, "之", ``` s_hM_-s ```, []), ("埰", "倉代", "清咍去一開", ``` ts_h@i ```, "之", ``` s_hM_-s ```, []), ("棌", "倉代", "清咍去一開", ``` ts_h@i ```, "之", ``` s_hM_-s ```, []), ("䰂", "倉代", "清咍去一開", ``` ts_h@i ```, "之", ``` s_hM_-s ```, []), ("䐆", "倉代", "清咍去一開", ``` ts_h@i ```, "之", ``` s_hM_-s ```, []), ) ), "參": ( "pinyin": [ca1n], "zi-list": ( ("幓", "疏簪", "生侵平三開", ``` s`im ```, "侵u", ``` s_r_tum ```, []), ("參", "所今", "生侵平三開", ``` s`im ```, "侵u", ``` s_r_tum ```, []), ("蔘", "所今", "生侵平三開", ``` s`im ```, "侵u", ``` s_r_tum ```, []), ("槮", "所今", "生侵平三開", ``` s`im ```, "侵u", ``` s_r_tum ```, []), ("槮", "楚簪", "初侵平三開", ``` ts`_him ```, "侵u", ``` s_hrum ```, []), ("嵾", "楚簪", "初侵平三開", ``` ts`_him ```, "侵u", ``` s_hrum ```, []), ("槮", "踈錦", "生侵上三開", ``` s`im ```, "侵u", ``` s_r_tum? ```, []), ("瘮", "踈錦", "生侵上三開", ``` s`im ```, "侵u", ``` s_r_tum? ```, []), ("瘮", "楚錦", "初侵上三開", ``` ts`_him ```, "侵u", ``` s_hrum? ```, []), ("滲", "所禁", "生侵去三開", ``` s`im ```, "侵u", ``` s_r_tums ```, []), ("瘮", "所禁", "生侵去三開", ``` s`im ```, "侵u", ``` s_r_tums ```, []), ("篸", "作含", "精覃平一開", ``` ts@m ```, "侵u", ``` su_-m ```, []), ("蔘", "蘇含", "心覃平一開", ``` s@m ```, "侵u", ``` s_lu_-m ```, []), ("犙", "蘇含", "心覃平一開", ``` s@m ```, "侵u", ``` s_lu_-m ```, []), ("襂", "蘇含", "心覃平一開", ``` s@m ```, "侵u", ``` s_lu_-m ```, []), ("糝", "蘇含", "心覃平一開", ``` s@m ```, "侵u", ``` s_lu_-m ```, []), ("參", "倉含", "清覃平一開", ``` ts_h@m ```, "侵u", ``` s_hu_-m ```, [見#link(<三字註>)[“三”字註]。]), ("驂", "倉含", "清覃平一開", ``` ts_h@m ```, "侵u", ``` s_hu_-m ```, []), ("䟃", "倉含", "清覃平一開", ``` ts_h@m ```, "侵u", ``` s_hu_-m ```, []), ("傪", "倉含", "清覃平一開", ``` ts_h@m ```, "侵u", ``` s_hu_-m ```, []), ("㜗", "倉含", "清覃平一開", ``` ts_h@m ```, "侵u", ``` s_hu_-m ```, []), ("參", "蘇甘", "心談平一開", ``` sAm ```, "侵u", ``` s_lu_-m ```, [見#link(<三字註>)[“三”字註]。]), ("篸", "作感", "精覃上一開", ``` ts@m ```, "侵u", ``` su_-m? ```, []), ("糝", "桑感", "心覃上一開", ``` s@m ```, "侵u", ``` s_lu_-m? ```, []), ("槮", "桑感", "心覃上一開", ``` s@m ```, "侵u", ``` s_lu_-m? ```, []), ("慘", "七感", "清覃上一開", ``` ts_h@m ```, "侵u", ``` s_hu_-m? ```, []), ("黲", "七感", "清覃上一開", ``` ts_h@m ```, "侵u", ``` s_hu_-m? ```, []), ("㜗", "七感", "清覃上一開", ``` ts_h@m ```, "侵u", ``` s_hu_-m? ```, []), ("傪", "七感", "清覃上一開", ``` ts_h@m ```, "侵u", ``` s_hu_-m? ```, []), ("篸", "作紺", "精覃去一開", ``` ts@m ```, "侵u", ``` su_-ms ```, []), ("謲", "七紺", "清覃去一開", ``` ts_h@m ```, "侵u", ``` s_hu_-ms ```, []), ("參", "七紺", "清覃去一開", ``` ts_h@m ```, "侵u", ``` s_hu_-ms ```, []), ("㺑", "所咸", "生咸平二開", ``` s`_M_tEm ```, "侵u", ``` s_r_tu_-m ```, []), ("摻", "所咸", "生咸平二開", ``` s`_M_tEm ```, "侵u", ``` s_r_tu_-m ```, []), ("犙", "山函", "生咸平二開", ``` s`_M_tEm ```, "侵u", ``` s_r_tu_-m ```, []), ("㺑", "所斬", "生咸上二開", ``` s`_M_tEm ```, "侵u", ``` s_r_tu_-m? ```, []), ("黲", "倉敢", "清談上一開", ``` ts_hAm ```, "談o", ``` s_ho_-m? ```, [覃韻讀入談韻,與“三”的變化相同。]), ("幓", "師銜", "生咸平二開", ``` s`_M_tEm ```, "談o", ``` s_r_to_-m ```, [原爲銜韻,但是根據諧聲系統應該爲咸韻,《切韻》音系二等有咸銜的歷史層次。]), ("剼", "師銜", "生咸平二開", ``` s`_M_tEm ```, "談o", ``` s_r_to_-m ```, [原爲銜韻,但是根據諧聲系統應該爲咸韻,《切韻》音系二等有咸銜的歷史層次。]), ("縿", "所銜", "生咸平二開", ``` s`_M_tEm ```, "談o", ``` s_r_to_-m ```, [原爲銜韻,但是根據諧聲系統應該爲咸韻,《切韻》音系二等有咸銜的歷史層次。]), ("㺑", "山檻", "生咸上二開", ``` s`_M_tEm ```, "談o", ``` s_r_to_-m? ```, [原爲銜韻,但是根據諧聲系統應該爲咸韻,《切韻》音系二等有咸銜的歷史層次。]), ("䟃", "七合", "清合入一開", ``` ts_h@p ```, "盍o", ``` s_ho_-b ```, []), ("㜗", "七合", "清合入一開", ``` ts_h@p ```, "盍o", ``` s_ho_-b ```, []), ) ), "𣦼": ( "pinyin": [ca2n], "zi-list": ( ("餐", "七安", "清寒平一開", ``` ts_hAn ```, "元a", ``` s_ha_-n ```, []), ("𣦼", "昨干", "從寒平一開", ``` dzAn ```, "元a", ``` za_-n ```, []), ("粲", "蒼案", "清寒去一開", ``` ts_hAn ```, "元a", ``` s_ha_-ns ```, []), ("㛑", "蒼案", "清寒去一開", ``` ts_hAn ```, "元a", ``` s_ha_-ns ```, []), ("燦", "蒼案", "清寒去一開", ``` ts_hAn ```, "元a", ``` s_ha_-ns ```, []), ("璨", "蒼案", "清寒去一開", ``` ts_hAn ```, "元a", ``` s_ha_-ns ```, []), ("𢂺", "倉甸", "清先去四開", ``` ts_hen ```, "元e", ``` s_he_-ns ```, []), ) ), "倉": ( "pinyin": [ca1ng], "zi-list": ( ("瑲", "七羊", "清陽平三開", ``` ts_hiaN ```, "陽", ``` sk_hlaN ```, []), ("槍", "七羊", "清陽平三開", ``` ts_hiaN ```, "陽", ``` sk_hlaN ```, []), ("蹌", "七羊", "清陽平三開", ``` ts_hiaN ```, "陽", ``` sk_hlaN ```, []), ("牄", "七羊", "清陽平三開", ``` ts_hiaN ```, "陽", ``` sk_hlaN ```, []), ("搶", "七羊", "清陽平三開", ``` ts_hiaN ```, "陽", ``` sk_hlaN ```, []), ("創", "初良", "初陽平三開", ``` ts`_hiaN ```, "陽", ``` sk_hraN ```, []), ("瘡", "初良", "初陽平三開", ``` ts`_hiaN ```, "陽", ``` sk_hraN ```, []), ("搶", "初兩", "初陽上三開", ``` ts`_hiaN ```, "陽", ``` sk_hraN? ```, []), ("愴", "初兩", "初陽上三開", ``` ts`_hiaN ```, "陽", ``` sk_hraN? ```, []), ("搶", "七兩", "清陽去三開", ``` ts_hiaN ```, "陽", ``` sk_hlaNs ```, []), ("創", "初亮", "初陽去三開", ``` ts`_hiaN ```, "陽", ``` sk_hraNs ```, []), ("愴", "初亮", "初陽去三開", ``` ts`_hiaN ```, "陽", ``` sk_hraNs ```, []), ("凔", "初亮", "初陽去三開", ``` ts`_hiaN ```, "陽", ``` sk_hraNs ```, []), ("倉", "七岡", "清唐平一開", ``` ts_hAN ```, "陽", ``` sk_hla_-N ```, [顏師古:“京,方倉也。”“京”讀#xs(``` _*_gk_r_taN ```),故“倉”讀#xs(``` _*_gsk_hla_-N ```)>#xs(``` ts_ha_-N ```)。]), ("蒼", "七岡", "清唐平一開", ``` ts_hAN ```, "陽", ``` sk_hla_-N ```, []), ("鶬", "七岡", "清唐平一開", ``` ts_hAN ```, "陽", ``` sk_hla_-N ```, []), ("滄", "七岡", "清唐平一開", ``` ts_hAN ```, "陽", ``` sk_hla_-N ```, []), ("凔", "七岡", "清唐平一開", ``` ts_hAN ```, "陽", ``` sk_hla_-N ```, []), ("𠥐", "七岡", "清唐平一開", ``` ts_hAN ```, "陽", ``` sk_hla_-N ```, []), ("蒼", "麁朗", "清唐上一開", ``` ts_hAN ```, "陽", ``` sk_hla_-N? ```, []), ("鎗", "楚庚", "初庚平二開", ``` ts`_h_M_t{N ```, "陽", ``` sk_hra_-N ```, []), ("槍", "楚庚", "初庚平二開", ``` ts`_h_M_t{N ```, "陽", ``` sk_hra_-N ```, []), ("傖", "助庚", "崇庚平二開", ``` dz`_M_t{N ```, "陽", ``` sgra_-N ```, []), ) ), "㯥": ( "pinyin": [ca2o], "zi-list": ( ("慒", "似由", "邪尤平三合", ``` ziu ```, "幽", ``` sG\u ```, []), ("糟", "作曹", "精豪平一開", ``` tsAu ```, "幽", ``` sku_- ```, []), ("遭", "作曹", "精豪平一開", ``` tsAu ```, "幽", ``` sku_- ```, []), ("㷮", "作曹", "精豪平一開", ``` tsAu ```, "幽", ``` sku_- ```, []), ("槽", "作曹", "精豪平一開", ``` tsAu ```, "幽", ``` sku_- ```, []), ("傮", "作曹", "精豪平一開", ``` tsAu ```, "幽", ``` sku_- ```, []), ("㯥", "臧曹", "精豪平一開", ``` tsAu ```, "幽", ``` sku_- ```, []), ("曹", "昨勞", "從豪平一開", ``` dzAu ```, "幽", ``` sgu_- ```, []), ("槽", "昨勞", "從豪平一開", ``` dzAu ```, "幽", ``` sgu_- ```, []), ("螬", "昨勞", "從豪平一開", ``` dzAu ```, "幽", ``` sgu_- ```, []), ("嘈", "昨勞", "從豪平一開", ``` dzAu ```, "幽", ``` sgu_- ```, []), ("蓸", "昨勞", "從豪平一開", ``` dzAu ```, "幽", ``` sgu_- ```, []), ("漕", "昨勞", "從豪平一開", ``` dzAu ```, "幽", ``` sgu_- ```, []), ("褿", "昨勞", "從豪平一開", ``` dzAu ```, "幽", ``` sgu_- ```, []), ("漕", "在到", "從豪去一開", ``` dzAu ```, "幽", ``` sgu_-s ```, []), ("慒", "藏宗", "從冬平一合", ``` dzu_^oN ```, "終", ``` sgu_-N ```, []), ) ), "艸": ( "pinyin": [ca3o], "zi-list": ( ("艸", "采老", "清豪上一開", ``` ts_hAu ```, "幽", ``` s_hu_-? ```, []), ) ), "冊": ( "pinyin": [ce4], "zi-list": ( ("笧", "楚革", "初麥入二開", ``` ts`_h_M_tEk ```, "錫", ``` s_hre_-g ```, []), ("柵", "測戟", "初麥入二開", ``` ts`_h_M_tEk ```, "錫", ``` s_hre_-g ```, [原爲陌韻,但是根據諧聲系統應該爲麥韻,《切韻》音系二等有麥、陌的歷史層次。]), ("冊", "楚革", "初麥入二開", ``` ts`_h_M_tEk ```, "錫", ``` s_hre_-g ```, []), ("栅", "楚革", "初麥入二開", ``` ts`_h_M_tEk ```, "錫", ``` s_hre_-g ```, []), ("𣆑", "楚革", "初麥入二開", ``` ts`_h_M_tEk ```, "錫", ``` s_hre_-g ```, []), ) ), "畟": ( "pinyin": [ce4], "zi-list": ( ("謖", "所六", "生屋入三合", ``` s`iuk ```, "職", ``` sk_r_tMg ```, [見#link(<存字註>)[“存”字註]。]), ("稷", "子力", "精職入三開", ``` ts1k ```, "職", ``` sklMg ```, [通“棘”。“稷下”一作“棘下”,聲母有#xs(``` _*_gk_-_o ```)。]), ("禝", "節力", "精職入三開", ``` ts1k ```, "職", ``` sklMg ```, []), ("㮨", "子力", "精職入三開", ``` ts1k ```, "職", ``` sklMg ```, []), ("畟", "子力", "精職入三開", ``` ts1k ```, "職", ``` sklMg ```, []), ("畟", "初力", "初職入三開", ``` ts`_h1k ```, "職", ``` sk_hrMg ```, []), ) ), "叉": ( "pinyin": [cha1], "zi-list": ( ("扠", "丑佳", "徹麻平二開", ``` t`_h_M_t{ ```, "魚", ``` k_hra_- ```, [原爲佳韻,但是根據諧聲系統應該爲麻韻,《切韻》音系二等有麻、佳的歷史層次。]), ("叉", "初牙", "初麻平二開", ``` ts`_h_M_t{ ```, "魚", ``` sk_hra_- ```, []), ("杈", "初牙", "初麻平二開", ``` ts`_h_M_t{ ```, "魚", ``` sk_hra_- ```, []), ("釵", "楚佳", "初麻平二開", ``` ts`_h_M_t{ ```, "魚", ``` sk_hra_- ```, [原爲佳韻,但是根據諧聲系統應該爲麻韻,《切韻》音系二等有麻、佳的歷史層次。]), ("杈", "楚懈", "初麻去二開", ``` ts`_h_M_t{ ```, "魚", ``` sk_hra_-s ```, [原爲佳韻,但是根據諧聲系統應該爲麻韻,《切韻》音系二等有麻、佳的歷史層次。]), ) ), "臿": ( "pinyin": [cha1], "zi-list": ( ("歃", "山輒", "生葉入三開", ``` s`i_E_sp ```, "盍e", ``` sk_r_teb ```, []), ("喢", "山輒", "生葉入三開", ``` s`i_E_sp ```, "盍e", ``` sk_r_teb ```, []), ("喢", "叱涉", "昌葉入三開", ``` ts\_hi_E_sp ```, "盍e", ``` k_hl_jeb ```, []), ("鍤", "丑輒", "徹葉入三開", ``` t`_hi_E_sp ```, "盍e", ``` k_hreb ```, []), ("㞚", "側洽", "莊洽入二開", ``` ts`_M_tEp ```, "盍e", ``` skre_-b ```, []), ("歃", "山洽", "生洽入二開", ``` s`_M_tEp ```, "盍e", ``` sk_r_te_-b ```, []), ("喢", "山洽", "生洽入二開", ``` s`_M_tEp ```, "盍e", ``` sk_r_te_-b ```, []), ("㞚", "所甲", "生洽入二開", ``` s`_M_tEp ```, "盍e", ``` sk_r_te_-b ```, [原爲狎韻,但是根據諧聲系統應該爲洽韻,《切韻》音系二等有洽、狎的歷史層次。]), ("插", "楚洽", "初洽入二開", ``` ts`_h_M_tEp ```, "盍e", ``` sk_hre_-b ```, []), ("臿", "楚洽", "初洽入二開", ``` ts`_h_M_tEp ```, "盍e", ``` sk_hre_-b ```, []), ("鍤", "楚洽", "初洽入二開", ``` ts`_h_M_tEp ```, "盍e", ``` sk_hre_-b ```, []), ("㛼", "楚洽", "初洽入二開", ``` ts`_h_M_tEp ```, "盍e", ``` sk_hre_-b ```, []), ("喢", "楚洽", "初洽入二開", ``` ts`_h_M_tEp ```, "盍e", ``` sk_hre_-b ```, []), ("㞚", "初戢", "初緝入三開", ``` ts`_hip ```, "緝i", ``` sk_hrib ```, []), ) ), "廛": ( "pinyin": [cha2n], "zi-list": ( ("纏", "直連", "澄仙平三開", ``` d`i_E_sn ```, "元a", ``` dan ```, []), ("躔", "直連", "澄仙平三開", ``` d`i_E_sn ```, "元a", ``` dan ```, []), ("瀍", "直連", "澄仙平三開", ``` d`i_E_sn ```, "元a", ``` dan ```, []), ("鄽", "直連", "澄仙平三開", ``` d`i_E_sn ```, "元a", ``` dan ```, []), ("𧔊", "直連", "澄仙平三開", ``` d`i_E_sn ```, "元a", ``` dan ```, []), ("廛", "直連", "澄仙平三開", ``` d`i_E_sn ```, "元a", ``` dan ```, []), ("纏", "持碾", "澄仙去三開", ``` d`i_E_sn ```, "元a", ``` dans ```, []), ) ), "毚": ( "pinyin": [cha2n], "zi-list": ( ("嚵", "慈染", "從鹽上三開", ``` dzi_E_sm ```, "談o", ``` zom? ```, []), ("纔", "所銜", "生咸平二開", ``` s`_M_tEm ```, "談o", ``` s_r_to_-m ```, [原爲銜韻,但是根據諧聲系統應該爲咸韻,《切韻》音系二等有咸、銜的歷史層次。]), ("攙", "楚銜", "初咸平二開", ``` ts`_h_M_tEm ```, "談o", ``` s_hro_-m ```, [原爲銜韻,但是根據諧聲系統應該爲咸韻,《切韻》音系二等有咸、銜的歷史層次。]), ("巉", "鋤銜", "崇咸平二開", ``` dz`_M_tEm ```, "談o", ``` zro_-m ```, [原爲銜韻,但是根據諧聲系統應該爲咸韻,《切韻》音系二等有咸、銜的歷史層次。]), ("劖", "鋤銜", "崇咸平二開", ``` dz`_M_tEm ```, "談o", ``` zro_-m ```, [原爲銜韻,但是根據諧聲系統應該爲咸韻,《切韻》音系二等有咸、銜的歷史層次。]), ("鑱", "鋤銜", "崇咸平二開", ``` dz`_M_tEm ```, "談o", ``` zro_-m ```, [原爲銜韻,但是根據諧聲系統應該爲咸韻,《切韻》音系二等有咸、銜的歷史層次。]), ("毚", "鋤銜", "崇咸平二開", ``` dz`_M_tEm ```, "談o", ``` zro_-m ```, [《清華大學藏戰國竹簡(伍)·殷高宗問於三壽》“鬲(厤)毚(參)天時”,“參”音#xs(``` _*_gs_hu_-m ```)。原爲銜韻,但是根據諧聲系統應該爲咸韻,《切韻》音系二等有咸、銜的歷史層次。]), ("嚵", "鋤銜", "崇咸平二開", ``` dz`_M_tEm ```, "談o", ``` zro_-m ```, [原爲銜韻,但是根據諧聲系統應該爲咸韻,《切韻》音系二等有咸、銜的歷史層次。]), ("讒", "士銜", "崇咸平二開", ``` dz`_M_tEm ```, "談o", ``` zro_-m ```, [原爲銜韻,但是根據諧聲系統應該爲咸韻,《切韻》音系二等有咸、銜的歷史層次。]), ("巉", "仕檻", "崇咸上二開", ``` dz`_M_tEm ```, "談o", ``` zro_-m? ```, [原爲銜韻,但是根據諧聲系統應該爲咸韻,《切韻》音系二等有咸、銜的歷史層次。]), ("儳", "楚鑒", "初咸去二開", ``` ts`_h_M_tEm ```, "談o", ``` s_hro_-ms ```, [原爲銜韻,但是根據諧聲系統應該爲咸韻,《切韻》音系二等有咸、銜的歷史層次。]), ("嚵", "楚鑒", "初咸去二開", ``` ts`_h_M_tEm ```, "談o", ``` s_hro_-ms ```, [原爲銜韻,但是根據諧聲系統應該爲咸韻,《切韻》音系二等有咸、銜的歷史層次。]), ("𨇩", "仕懺", "崇咸去二開", ``` dz`_M_tEm ```, "談o", ``` zro_-ms ```, [原爲銜韻,但是根據諧聲系統應該爲咸韻,《切韻》音系二等有咸、銜的歷史層次。]), ("鑱", "士懺", "崇咸去二開", ``` dz`_M_tEm ```, "談o", ``` zro_-ms ```, [原爲銜韻,但是根據諧聲系統應該爲咸韻,《切韻》音系二等有咸、銜的歷史層次。]), ("欃", "士懺", "崇咸去二開", ``` dz`_M_tEm ```, "談o", ``` zro_-ms ```, [原爲銜韻,但是根據諧聲系統應該爲咸韻,《切韻》音系二等有咸、銜的歷史層次。]), ("讒", "士懺", "崇咸去二開", ``` dz`_M_tEm ```, "談o", ``` zro_-ms ```, [原爲銜韻,但是根據諧聲系統應該爲咸韻,《切韻》音系二等有咸、銜的歷史層次。]), ("嚵", "初咸", "初咸平二開", ``` ts`_h_M_tEm ```, "侵u", ``` s_hru_-m ```, []), ("饞", "士咸", "崇咸平二開", ``` dz`_M_tEm ```, "侵u", ``` zru_-m ```, []), ("毚", "士咸", "崇咸平二開", ``` dz`_M_tEm ```, "侵u", ``` zru_-m ```, []), ("欃", "士咸", "崇咸平二開", ``` dz`_M_tEm ```, "侵u", ``` zru_-m ```, []), ("攙", "士咸", "崇咸平二開", ``` dz`_M_tEm ```, "侵u", ``` zru_-m ```, []), ("儳", "士咸", "崇咸平二開", ``` dz`_M_tEm ```, "侵u", ``` zru_-m ```, []), ("酁", "士咸", "崇咸平二開", ``` dz`_M_tEm ```, "侵u", ``` zru_-m ```, []), ("瀺", "士減", "崇咸上二開", ``` dz`_M_tEm ```, "侵u", ``` zru_-m? ```, []), ("儳", "仕陷", "崇咸去二開", ``` dz`_M_tEm ```, "侵u", ``` zru_-ms ```, []), ("纔", "昨代", "從咍去一開", ``` dz@i ```, "之", ``` zM_-s ```, []), ) ), "蕆": ( "pinyin": [cha3n], "zi-list": ( ("蕆", "丑善", "徹仙上三開", ``` t`_hi_E_sn ```, "元a", ``` t_han? ```, []), ) ), "昌": ( "pinyin": [cha1ng], "zi-list": ( ("昌", "尺良", "昌陽平三開", ``` ts\_hiaN ```, "陽", ``` k_h_jaN ```, [《史記·五帝紀》:“黃帝子昌意, 娶蜀山氏女曰昌仆。”《經典釋文》:“黃帝之孫昌意之子母曰景僕。” “景”音#xs(``` _*_gk_r_taN ```),故“昌”帶複輔音#xs(``` _*_gk_hl_jaN ```)>#xs(``` ts\_hiaN ```)。]), ("倡", "尺良", "昌陽平三開", ``` ts\_hiaN ```, "陽", ``` k_h_jaN ```, []), ("猖", "尺良", "昌陽平三開", ``` ts\_hiaN ```, "陽", ``` k_h_jaN ```, []), ("閶", "尺良", "昌陽平三開", ``` ts\_hiaN ```, "陽", ``` k_h_jaN ```, []), ("菖", "尺良", "昌陽平三開", ``` ts\_hiaN ```, "陽", ``` k_h_jaN ```, []), ("唱", "尺亮", "昌陽去三開", ``` ts\_hiaN ```, "陽", ``` k_h_jaNs ```, []), ("倡", "尺亮", "昌陽去三開", ``` ts\_hiaN ```, "陽", ``` k_h_jaNs ```, []), ) ), "長": ( "pinyin": [cha2ng], "zi-list": ( ("張", "陟良", "知陽平三開", ``` t`iaN ```, "陽", ``` klaN ```, [“張”通“綱”#xs(``` _*_gk_la_-N ```),《白虎通義》:“綱者,張也。”“張”又通“彊”#xs(``` _*_ggaN ```),《史記·高祖功臣侯者年表》“彊瞻”,《索隱》、《漢表》作“張瞻”(有的文獻中“瞻”後也有“師”字)。知母“張”字與見組通假,它的上古讀音是#xs(``` _*_gklaN ```)>#xs(``` _*_gtaN ```)>中古#xs(``` t`iaN ```)。]), ("餦", "陟良", "知陽平三開", ``` t`iaN ```, "陽", ``` klaN ```, []), ("粻", "陟良", "知陽平三開", ``` t`iaN ```, "陽", ``` klaN ```, []), ("漲", "陟良", "知陽平三開", ``` t`iaN ```, "陽", ``` klaN ```, []), ("倀", "褚羊", "徹陽平三開", ``` t`_hiaN ```, "陽", ``` k_hlaN ```, [見定母和澄母“荼”字註。]), ("鼚", "褚羊", "徹陽平三開", ``` t`_hiaN ```, "陽", ``` k_hlaN ```, []), ("長", "直良", "澄陽平三開", ``` d`iaN ```, "陽", ``` glaN ```, [其詞根爲“羕”,主聲符#xs(``` _*_glaNs ```)和次聲符#xs(``` _*_gG\_-_o ```)合成“羕”#xs(``` _*_gG\laNs ```),《爾雅》:“長也。”可比較格曼僜語的“長”#xs(``` k_hr\VN ```)55、義都語的#xs(``` loN ```)33。獨龍語的“長”爲#xs(``` mr\aN ```),帶冠音#xs(``` m_-_o ```)。佤語“長”有兩個讀音#xs(``` laN ```)與#xs(``` glaN ```),正對應於漢語的“羕”#xs(``` _*_glaNs ```)與“長”#xs(``` _*_gglaN ```)。“張”#xs(``` _*_gklaN ```)>中古#xs(``` t`_-_o ```),即使之變長的意思,可比較藏文的#xs(``` gdaN ```)<#xs(``` _*_gglaN ```)(張開)。]), ("萇", "直良", "澄陽平三開", ``` d`iaN ```, "陽", ``` glaN ```, []), ("䠆", "直良", "澄陽平三開", ``` d`iaN ```, "陽", ``` glaN ```, []), ("䗅", "直良", "澄陽平三開", ``` d`iaN ```, "陽", ``` glaN ```, []), ("瓺", "直良", "澄陽平三開", ``` d`iaN ```, "陽", ``` glaN ```, []), ("長", "知丈", "知陽上三開", ``` t`iaN ```, "陽", ``` klaN? ```, []), ("帳", "知亮", "知陽去三開", ``` t`iaN ```, "陽", ``` klaNs ```, []), ("脹", "知亮", "知陽去三開", ``` t`iaN ```, "陽", ``` klaNs ```, []), ("漲", "知亮", "知陽去三開", ``` t`iaN ```, "陽", ``` klaNs ```, []), ("張", "知亮", "知陽去三開", ``` t`iaN ```, "陽", ``` klaNs ```, []), ("悵", "丑亮", "徹陽去三開", ``` t`_hiaN ```, "陽", ``` k_hlaNs ```, []), ("韔", "丑亮", "徹陽去三開", ``` t`_hiaN ```, "陽", ``` k_hlaNs ```, []), ("長", "直亮", "澄陽去三開", ``` d`iaN ```, "陽", ``` glaNs ```, []), ("瓺", "直亮", "澄陽去三開", ``` d`iaN ```, "陽", ``` glaNs ```, []), ("棖", "直庚", "澄庚平二開", ``` d`iaN ```, "陽", ``` gla_-N ```, []), ("倀", "猪孟", "知庚去二開", ``` t`_M_t{N ```, "陽", ``` kla_-Ns ```, [見定母和澄母“荼”字註。]), ) ), "昶": ( "pinyin": [cha3ng], "zi-list": ( ("昶", "丑兩", "徹陽上三開", ``` t`_hiaN ```, "陽", ``` k_hlaN? ```, []), ("昶", "丑亮", "徹陽去三開", ``` t`_hiaN ```, "陽", ``` k_hlaNs ```, []), ) ), "鬯": ( "pinyin": [cha4ng], "zi-list": ( ("鬯", "丑亮", "徹陽去三開", ``` t`_hiaN ```, "陽", ``` t_haNs ```, []), ) ), "巢": ( "pinyin": [cha2o], "zi-list": ( ("𠟿", "子小", "精宵上三開", ``` tsi_E_su ```, "宵a", ``` ska_w? ```, []), ("勦", "子小", "精宵上三開", ``` tsi_E_su ```, "宵a", ``` ska_w? ```, []), ("漅", "子小", "精宵上三開", ``` tsi_E_su ```, "宵a", ``` ska_w? ```, []), ("繅", "蘇遭", "心豪平一開", ``` sAu ```, "宵a", ``` sqa_-_w ```, []), ("薻", "子晧", "精豪上一開", ``` tsAu ```, "宵a", ``` ska_-_w? ```, []), ("䲃", "子晧", "精豪上一開", ``` tsAu ```, "宵a", ``` ska_-_w? ```, []), ("璅", "子晧", "精豪上一開", ``` tsAu ```, "宵a", ``` ska_-_w? ```, []), ("繅", "子晧", "精豪上一開", ``` tsAu ```, "宵a", ``` ska_-_w? ```, []), ("罺", "側交", "莊肴平二開", ``` ts`_M_t{u ```, "宵a", ``` skra_-_w ```, []), ("摷", "側交", "莊肴平二開", ``` ts`_M_t{u ```, "宵a", ``` skra_-_w ```, []), ("巢", "鉏交", "崇肴平二開", ``` dz`_M_t{u ```, "宵a", ``` sgra_-_w ```, []), ("轈", "鉏交", "崇肴平二開", ``` d`i_E_su ```, "宵a", ``` sgra_-_w ```, []), ("勦", "鉏交", "崇肴平二開", ``` d`i_E_su ```, "宵a", ``` sgra_-_w ```, []), ("樔", "鉏交", "崇肴平二開", ``` d`i_E_su ```, "宵a", ``` sgra_-_w ```, []), ("鄛", "鉏交", "崇肴平二開", ``` d`i_E_su ```, "宵a", ``` sgra_-_w ```, []), ("罺", "初敎", "初肴去二開", ``` ts`_h_M_t{u ```, "宵a", ``` sk_hra_-_ws ```, []), ("巢", "士稍", "崇肴去二開", ``` dz`_M_t{u ```, "宵a", ``` sgra_-_ws ```, [鄭張尚芳:反切上字“士”原誤爲“七”,依校本。]), ("摷", "落蕭", "來蕭平四開", ``` leu ```, "宵e", ``` g.re_-_w ```, []), ) ), "朝": ( "pinyin": [cha2o], "zi-list": ( ("廟", "眉召", "明宵去B開", ``` m1_E_su ```, "宵e", ``` mg_r_te_ws ```, []), ("朝", "陟遙", "知宵平三開", ``` t`i_E_su ```, "宵e", ``` kle_w ```, []), ("朝", "直遙", "澄宵平三開", ``` d`i_E_su ```, "宵e", ``` gle_w ```, [《左傳·昭公十五年經》:“蔡朝吳奔鄭。”《公羊傳》“朝吳”作“昭吳”。“昭”音#xs(``` _*_gkl_je_w ```),故“朝”當爲#xs(``` _*_ggle_w ```)>中古#xs(``` d`i_E_su ```)。]), ("潮", "直遙", "澄宵平三開", ``` d`i_E_su ```, "宵e", ``` gle_w ```, []), ("嘲", "陟交", "知肴平二開", ``` t`_M_t{u ```, "宵e", ``` kle_-_w ```, [見定母和澄母“荼”字註。]), ) ), "鼂": ( "pinyin": [cha2o], "zi-list": ( ("鼂", "陟遙", "知宵平三開", ``` m1_E_su ```, "宵e", ``` te_w ```, []), ("鼂", "直遙", "澄宵平三開", ``` t`i_E_su ```, "宵e", ``` de_w ```, []), ) ), "車": ( "pinyin": [che1], "zi-list": ( ("車", "尺遮", "昌麻平三開", ``` ts\_hi{ ```, "魚", ``` k_h_ja ```, []), ("車", "九魚", "見魚平三開", ``` ki7 ```, "魚", ``` ka ```, []), ("庫", "苦故", "溪模去一合", ``` k_hu_^o ```, "魚", ``` k_ha_-s ```, []), ) ), "屮": ( "pinyin": [che4], "zi-list": ( ("𧈪", "丑善", "徹仙上三開", ``` t`_hi_E_sn ```, "元a", ``` k_hlan? ```, []), ("䩶", "丑善", "徹仙上三開", ``` t`_hi_E_sn ```, "元a", ``` k_hlan? ```, []), ("屮", "丑列", "徹薛入三開", ``` t`_hi_E_st ```, "月a", ``` k_hlad ```, []), ) ), "聅": ( "pinyin": [che4], "zi-list": ( ("聅", "丑列", "徹薛入三開", ``` t`_hi_E_st ```, "月a", ``` t_had ```, []), ("聅", "徒干", "定寒平一開", ``` t`_hi_E_st ```, "元a", ``` da_-n ```, []), ) ), "徹": ( "pinyin": [che4], "zi-list": ( ("轍", "直列", "澄薛入三開", ``` d`i_E_st ```, "月e", ``` led ```, [《史記·孝文本紀》“結軼於道。”《漢書·文帝紀》“軼”作“轍”。]), ("徹", "直列", "澄薛入三開", ``` d`i_E_st ```, "月e", ``` led ```, []), ("撤", "直列", "澄薛入三開", ``` d`i_E_st ```, "月e", ``` led ```, []), ("澈", "直列", "澄薛入三開", ``` d`i_E_st ```, "月e", ``` led ```, []), ("勶", "敇列", "徹薛入三開", ``` t`_hi_E_st ```, "月e", ``` l_0ed ```, []), ("撤", "丑列", "徹薛入三開", ``` t`_hi_E_st ```, "月e", ``` l_0ed ```, []), ("徹", "丑列", "徹薛入三開", ``` t`_hi_E_st ```, "月e", ``` l_0ed ```, []), ) ), "臣": ( "pinyin": [che2n], "zi-list": ( ("𧼒", "渠人", "群眞平A開", ``` gin ```, "眞N", ``` giN ```, []), ("㹂", "去演", "溪仙上A開", ``` k_hi_E_sn ```, "眞N", ``` k_hin? ```, []), ("婜", "頸忍", "見眞上A開", ``` kin ```, "眞N", ``` kiN? ```, []), ("緊", "居忍", "見眞上A開", ``` kin ```, "眞N", ``` kiN? ```, []), ("菣", "去刃", "溪眞去A開", ``` k_hin ```, "眞N", ``` k_hiNs ```, []), ("𧼒", "去刃", "溪眞去A開", ``` k_hin ```, "眞N", ``` k_hiNs ```, []), ("臤", "去刃", "溪眞去A開", ``` k_hin ```, "眞N", ``` k_hiNs ```, []), ("嚚", "語巾", "疑眞平B開", ``` N1in ```, "眞N", ``` Ng_r_tiN ```, []), ("𧼒", "弃忍", "溪眞上B開", ``` k_h1in ```, "眞N", ``` k_h_r_tiN? ```, []), ("茞", "植鄰", "禪眞平三開", ``` dz\in ```, "眞N", ``` g_jiN ```, []), ("臣", "植鄰", "禪眞平三開", ``` dz\in ```, "眞N", ``` g_jiN ```, [可比較藏文#xs(``` giN ```)僕人,故“臣”當爲#xs(``` _*_gg_jiN ```)>中古#xs(``` dz\in ```)。]), ("䢻", "植鄰", "禪眞平三開", ``` dz\in ```, "眞N", ``` g_jiN ```, []), ("礥", "下珍", "云眞平三開", ``` h\_1_tin ```, "眞N", ``` G\_r_tiN ```, []), ("腎", "時忍", "禪眞上三開", ``` dz\in ```, "眞N", ``` g_jiN? ```, []), ("頣", "式忍", "書眞上三開", ``` s\in ```, "眞N", ``` q_hliN? ```, []), ("挋", "章刃", "章眞去三開", ``` ts\in ```, "眞N", ``` k_jiNs ```, []), ("䢻", "章刃", "章眞去三開", ``` ts\in ```, "眞N", ``` k_jiNs ```, []), ("堅", "古賢", "見先平四開", ``` ken ```, "眞N", ``` ki_-N ```, []), ("鋻", "古賢", "見先平四開", ``` ken ```, "眞N", ``` ki_-N ```, []), ("鰹", "古賢", "見先平四開", ``` ken ```, "眞N", ``` ki_-N ```, []), ("䋗", "經天", "見先平四開", ``` ken ```, "眞N", ``` ki_-N ```, []), ("掔", "苦堅", "溪先平四開", ``` k_hen ```, "眞N", ``` k_hi_-N ```, []), ("賢", "胡田", "匣先平四開", ``` h\en ```, "眞N", ``` gi_-N ```, []), ("礥", "胡田", "匣先平四開", ``` h\en ```, "眞N", ``` gi_-N ```, []), ("臤", "胡田", "匣先平四開", ``` h\en ```, "眞N", ``` gi_-N ```, []), ("㹂", "口殄", "溪先上四開", ``` k_hen ```, "眞N", ``` k_hi_-N? ```, []), ("蜸", "牽繭", "溪先上四開", ``` k_hen ```, "眞N", ``` k_hi_-N? ```, []), ("鋻", "古電", "見先去四開", ``` ken ```, "眞N", ``` ki_-Ns ```, []), ("菣", "苦甸", "溪先去四開", ``` k_hen ```, "眞N", ``` k_hi_-Ns ```, []), ("摼", "口莖", "溪耕平二開", ``` k_h_M_tEN ```, "眞N", ``` k_h_r_ti_-N ```, []), ("臤", "口耕", "溪耕平二開", ``` k_h_M_tEN ```, "眞N", ``` k_h_r_ti_-N ```, []), ("鏗", "口莖", "溪耕平二開", ``` k_h_M_tEN ```, "眞N", ``` k_h_r_ti_-N ```, []), ("硻", "口莖", "溪耕平二開", ``` k_h_M_tEN ```, "眞N", ``` k_h_r_ti_-N ```, []), ("掔", "苦閑", "溪山平二開", ``` k_h_M_tEn ```, "眞N", ``` k_h_r_ti_-N ```, []), ("臤", "苦閑", "溪山平二開", ``` k_h_M_tEn ```, "眞N", ``` k_h_r_ti_-N ```, []), ("婜", "丘閑", "溪山平二開", ``` k_h_M_tEn ```, "眞N", ``` k_h_r_ti_-N ```, []), ("䁂", "胡𥳑", "匣山上二開", ``` h\_M_tEn ```, "眞N", ``` g_r_ti_-N? ```, []), ("㹂", "胡𥳑", "匣山上二開", ``` h\_M_tEn ```, "眞N", ``` g_r_ti_-N? ```, []), ("䛗", "職雉", "章脂上三開", ``` ts\i ```, "脂", ``` k_ji? ```, []), ("㹂", "胡結", "匣屑入四開", ``` h\et ```, "質g", ``` gi_-g ```, []), ) ), "辰": ( "pinyin": [che2n], "zi-list": ( ("振", "職鄰", "章眞平三開", ``` ts\in ```, "文M", ``` kl_jMn ```, []), ("侲", "職鄰", "章眞平三開", ``` ts\in ```, "文M", ``` kl_jMn ```, []), ("桭", "職鄰", "章眞平三開", ``` ts\in ```, "文M", ``` kl_jMn ```, []), ("唇", "職鄰", "章眞平三開", ``` ts\in ```, "文M", ``` kl_jMn ```, []), ("帪", "職鄰", "章眞平三開", ``` ts\in ```, "文M", ``` kl_jMn ```, []), ("辴", "敕辰", "徹眞平三開", ``` t`_hin ```, "文M", ``` k_hlMn ```, []), ("陙", "常倫", "禪眞平三合", ``` dz\_win ```, "文M", ``` gl_jMn ```, []), ("辰", "植鄰", "禪眞平三開", ``` dz\in ```, "文M", ``` gl_jMn ```, [《古字通假會典》文部第五:《易·困·初六》:“臀困于株木。”漢帛書本“臀”作“辰”。 “臀”上古#xs(``` _*_ggl_-_o ```)>#xs(``` _*_gd_-_o ```)。]), ("晨", "植鄰", "禪眞平三開", ``` dz\in ```, "文M", ``` gl_jMn ```, []), ("宸", "植鄰", "禪眞平三開", ``` dz\in ```, "文M", ``` gl_jMn ```, []), ("鷐", "植鄰", "禪眞平三開", ``` dz\in ```, "文M", ``` gl_jMn ```, []), ("麎", "植鄰", "禪眞平三開", ``` dz\in ```, "文M", ``` gl_jMn ```, []), ("桭", "植鄰", "禪眞平三開", ``` dz\in ```, "文M", ``` gl_jMn ```, []), ("屒", "植鄰", "禪眞平三開", ``` dz\in ```, "文M", ``` gl_jMn ```, []), ("娠", "失人", "書眞平三開", ``` s\in ```, "文M", ``` q_hlMn ```, []), ("脣", "食倫", "船眞平三合", ``` z\_win ```, "文M", ``` G\l_jMn ```, [《古字通假會典》文部第五:《周禮·考工記》“其臀一寸”,鄭注:“故書‘臀’作‘脣’,杜子春云:‘當爲臀。’”“臀”上古#xs(``` _*_ggl_-_o ```)>#xs(``` d_-_o ```)。]), ("漘", "食倫", "船眞平三合", ``` z\_win ```, "文M", ``` G\l_jMn ```, []), ("晨", "食鄰", "船眞平三開", ``` z\in ```, "文M", ``` G\l_jMn ```, []), ("屒", "珍忍", "知眞上三開", ``` t`in ```, "文M", ``` klMn? ```, []), ("賑", "章忍", "章眞上三開", ``` ts\in ```, "文M", ``` kl_jMn? ```, []), ("辴", "丑忍", "徹眞上三開", ``` t`_hin ```, "文M", ``` k_hlMn? ```, []), ("蜃", "時忍", "禪眞上三開", ``` dz`in ```, "文M", ``` gl_jMn? ```, []), ("脤", "時忍", "禪眞上三開", ``` dz`in ```, "文M", ``` gl_jMn? ```, []), ("㰮", "時忍", "禪眞上三開", ``` dz`in ```, "文M", ``` gl_jMn? ```, []), ("䟴", "章刃", "章眞去三開", ``` ts\in ```, "文M", ``` kl_jMns ```, []), ("震", "章刃", "章眞去三開", ``` ts\in ```, "文M", ``` kl_jMns ```, []), ("振", "章刃", "章眞去三開", ``` ts\in ```, "文M", ``` kl_jMns ```, []), ("賑", "章刃", "章眞去三開", ``` ts\in ```, "文M", ``` kl_jMns ```, []), ("娠", "章刃", "章眞去三開", ``` ts\in ```, "文M", ``` kl_jMns ```, []), ("侲", "章刃", "章眞去三開", ``` ts\in ```, "文M", ``` kl_jMns ```, []), ("蜃", "時刃", "禪眞去三開", ``` dz\in ```, "文M", ``` gl_jMns ```, []), ("蜄", "時刃", "禪眞去三開", ``` dz\in ```, "文M", ``` gl_jMns ```, []), ("䀼", "而振", "日眞去三開", ``` _n_`in ```, "文M", ``` mgl_jMns ```, []), ("辴", "丑飢", "徹脂平三開", ``` t`_hi ```, "微M", ``` k_hlMl ```, []), ) ), "塵": ( "pinyin": [che2n], "zi-list": ( ("塵", "直珍", "澄眞平三開", ``` d`in ```, "文M", ``` dMn ```, [“𡑁”通“塵”,《馬王堆漢墓帛書(壹)》甲本《老子·德經》“和其光,同其𡑁”。“塵”與“㐱”同聲,當爲#[文#sup-xs("M")]部#xs(``` _*_g_-_oMn ```)。]), ) ), "疢": ( "pinyin": [che4n], "zi-list": ( ("疢", "丑刃", "徹眞去三開", ``` t`_hin ```, "文M", ``` t_hMns ```, [《廣雅》:“疢,熱病也。”王念孫認爲同“疹”。]), ) ), "爯": ( "pinyin": [che1ng], "zi-list": ( ("稱", "處陵", "昌蒸平三開", ``` ts\_h1N ```, "蒸", ``` t_h_jMN ```, []), ("爯", "處陵", "昌蒸平三開", ``` ts\_h1N ```, "蒸", ``` t_h_jMN ```, []), ("偁", "處陵", "昌蒸平三開", ``` ts\_h1N ```, "蒸", ``` t_h_jMN ```, []), ("稱", "昌孕", "昌蒸去三開", ``` ts\_h1N ```, "蒸", ``` t_h_jMNs ```, []), ) ), "丞": ( "pinyin": [che2ng], "zi-list": ( ("𧯷", "姜𢚢", "見眞上B開", ``` k1in ```, "蒸", ``` k_r_tMN? ```, [見#link(<敏字註>)[“敏”字註]。]), ("蒸", "煑仍", "章蒸平三開", ``` ts\1N ```, "蒸", ``` k_jMN ```, [可比較藏文#xs(``` gliN ```)燈炬,故“蒸”讀#xs(``` _*_gkl_jMN ```)>#xs(``` _*_gt_jMN ```)>中古#xs(``` ts\1N ```)。]), ("烝", "煑仍", "章蒸平三開", ``` ts\1N ```, "蒸", ``` k_jMN ```, []), ("脀", "煑仍", "章蒸平三開", ``` ts\1N ```, "蒸", ``` k_jMN ```, []), ("承", "署陵", "禪蒸平三開", ``` dz\1N ```, "蒸", ``` g_jMN ```, []), ("丞", "署陵", "禪蒸平三開", ``` dz\1N ```, "蒸", ``` g_jMN ```, []), ("𨋬", "署陵", "禪蒸平三開", ``` dz\1N ```, "蒸", ``` g_jMN ```, []), ("拯", "蒸上", "章蒸上三開", ``` ts\1N ```, "蒸", ``` k_jMN? ```, []), ("𨋬", "蒸上", "章蒸上三開", ``` ts\1N ```, "蒸", ``` k_jMN? ```, []), ("氶", "蒸上", "章蒸上三開", ``` ts\1N ```, "蒸", ``` k_jMN? ```, []), ("烝", "諸應", "章蒸去三開", ``` ts\1N ```, "蒸", ``` k_jMNs ```, []), ("丞", "常證", "禪蒸去三開", ``` dz\1N ```, "蒸", ``` g_jMNs ```, []), ("𧯷", "居隱", "見殷上三開", ``` k1n ```, "文M", ``` kMn? ```, []), ("巹", "居隱", "見殷上三開", ``` k1n ```, "文M", ``` kMn? ```, []), ) ), "呈": ( "pinyin": [che2ng], "zi-list": ( ("脭", "馳貞", "澄清平三開", ``` d`i_E_sN ```, "耕", ``` gleN ```, []), ("呈", "直貞", "澄清平三開", ``` d`i_E_sN ```, "耕", ``` gleN ```, []), ("程", "直貞", "澄清平三開", ``` d`i_E_sN ```, "耕", ``` gleN ```, []), ("酲", "直貞", "澄清平三開", ``` d`i_E_sN ```, "耕", ``` gleN ```, []), ("珵", "直貞", "澄清平三開", ``` d`i_E_sN ```, "耕", ``` gleN ```, []), ("裎", "直貞", "澄清平三開", ``` d`i_E_sN ```, "耕", ``` gleN ```, []), ("逞", "丑郢", "徹清上三開", ``` t`_hi_E_sN ```, "耕", ``` k_hleN? ```, []), ("裎", "丑郢", "徹清上三開", ``` t`_hi_E_sN ```, "耕", ``` k_hleN? ```, []), ("徎", "丈井", "澄清上三開", ``` d`i_E_sN ```, "耕", ``` gleN? ```, []), ("郢", "以整", "以清上三開", ``` ji_E_sN ```, "耕", ``` G\leN? ```, []), ("浧", "以整", "以清上三開", ``` ji_E_sN ```, "耕", ``` G\leN? ```, []), ("呈", "直正", "澄清去三開", ``` d`i_E_sN ```, "耕", ``` gleNs ```, []), ("桯", "戶經", "匣青平四開", ``` h\eN ```, "耕", ``` g_le_-N ```, []), ("徎", "他鼎", "透青上四開", ``` t_heN ```, "耕", ``` k_hle_-N? ```, []), ("𢧤", "直一", "澄質入三開", ``` d`it ```, "質g", ``` glig ```, []), ("䟈", "直質", "澄質入三開", ``` d`it ```, "質g", ``` glig ```, []), ("鐵", "他結", "透屑入四開", ``` t_het ```, "質g", ``` k_hli_-g ```, []), ("驖", "他結", "透屑入四開", ``` t_het ```, "質g", ``` k_hli_-g ```, []), ("驖", "徒結", "定屑入四開", ``` det ```, "質g", ``` gli_-g ```, []), ("戜", "徒結", "定屑入四開", ``` det ```, "質g", ``` gli_-g ```, []), ) ), "乘": ( "pinyin": [che2ng], "zi-list": ( ("乘", "食陵", "船蒸平三開", ``` z\1N ```, "蒸", ``` G\l_jMN ```, [“乘”通“螣”#xs(``` _*_gglu_-m ```)>#xs(``` _*_gglM_-N ```)>#xs(``` _*_gd@N ```)。銀雀山漢簡《三十時》:“此陽虫(蟲)螣(乘)陰虫(蟲)之時也。”故“乘”音#xs(``` _*_gG\l_jMN ```)>中古#xs(``` z\i1N ```)。]), ("騬", "食陵", "船蒸平三開", ``` z\1N ```, "蒸", ``` G\l_jMN ```, []), ("剩", "實證", "船蒸去三開", ``` z\1N ```, "蒸", ``` G\l_jMNs ```, []), ("乘", "實證", "船蒸去三開", ``` z\1N ```, "蒸", ``` G\l_jMNs ```, []), ) ), "尺": ( "pinyin": [chi3], "zi-list": ( ("蚇", "昌石", "昌昔入三開", ``` ts\_hi_E_sk ```, "鐸", ``` k_hl_jag ```, []), ("尺", "昌石", "昌昔入三開", ``` ts\_hi_E_sk ```, "鐸", ``` k_hl_jag ```, [“尺”通“斥”、“柝”#xs(``` _*_gk_hlags ```)。《銀雀山漢墓竹簡(壹)·六韜·田法》:“禿尺(斥)津□□。”《繫辭》:“重門擊𣏧(柝)。”故“尺”當爲#xs(``` _*_gk_hl_jags ```)。]), ) ), "彳": ( "pinyin": [chi4], "zi-list": ( ("彳", "丑亦", "徹昔入三開", ``` t`_hi_E_sk ```, "錫", ``` t_heg ```, []), ) ), "赤": ( "pinyin": [chi4], "zi-list": ( ("赤", "昌石", "昌昔入三開", ``` ts\_hi_E_sk ```, "鐸", ``` k_hl_jag ```, []), ("嚇", "呼訝", "曉麻去二開", ``` h_M_t{ ```, "鐸", ``` q_h_r_ta_-gs ```, []), ("䓇", "乞格", "溪陌入二開", ``` k_h_w{k ```, "鐸", ``` k_h_r_ta_-g ```, []), ("捇", "呼麥", "曉陌入二合", ``` h_w_M_t{k ```, "鐸", ``` q_h_r_ta_-g ```, [見#link(<䀘字註>)[“䀘”字註]。原爲麥韻,但是根據諧聲系統應該爲陌韻,《切韻》音系二等有陌、麥的歷史層次。]), ("赫", "呼格", "曉陌入二開", ``` h_M_t{k ```, "鐸", ``` q_h_r_ta_-g ```, []), ("嚇", "呼格", "曉陌入二開", ``` h_M_t{k ```, "鐸", ``` q_h_r_ta_-g ```, []), ) ), "𢜳": ( "pinyin": [chi4], "zi-list": ( ("𢜳", "尺制", "昌祭去三開", ``` ts\_hi_E_si ```, "月e", ``` t_h_jeds ```, []), ) ), "充": ( "pinyin": [cho1ng], "zi-list": ( ("充", "昌終", "昌東平三合", ``` ts\_hiuN ```, "終", ``` t_h_juN ```, []), ("珫", "昌終", "昌東平三合", ``` ts\_hiuN ```, "終", ``` t_h_juN ```, []), ("䘪", "昌終", "昌東平三合", ``` ts\_hiuN ```, "終", ``` t_h_juN ```, []), ("銃", "充仲", "昌東去三合", ``` ts\_hiuN ```, "終", ``` t_h_juNs ```, []), ("統", "他綜", "透冬去一合", ``` t_hu_^oN ```, "終", ``` t_hu_-Ns ```, []), ) ), "舂": ( "pinyin": [cho1ng], "zi-list": ( ("憃", "丑凶", "徹鍾平三合", ``` t`_hiUN ```, "東", ``` k_hloN ```, []), ("舂", "書容", "書鍾平三合", ``` s\iUN ```, "東", ``` q_hloN ```, []), ("摏", "書容", "書鍾平三合", ``` s\iUN ```, "東", ``` q_hloN ```, []), ("憃", "書容", "書鍾平三合", ``` s\iUN ```, "東", ``` q_hloN ```, []), ("憃", "丑用", "徹鍾去三合", ``` t`_hiUN ```, "東", ``` k_hloNs ```, []), ("憃", "丑江", "徹江平二開", ``` t`_h_M_tON ```, "東", ``` k_hlo_-N ```, [見定母和澄母“荼”字註。]), ("䚎", "丑江", "徹江平二開", ``` t`_h_M_tON ```, "東", ``` k_hlo_-N ```, [見定母和澄母“荼”字註。]), ("䚎", "丑絳", "徹江去二開", ``` t`_h_M_tON ```, "東", ``` k_hlo_-Ns ```, [見定母和澄母“荼”字註。]), ) ), "蟲": ( "pinyin": [cho2ng], "zi-list": ( ("蟲", "直弓", "澄東平三合", ``` d`iuN ```, "終", ``` gluN ```, []), ("爞", "直弓", "澄東平三合", ``` d`iuN ```, "終", ``` gluN ```, []), ("融", "以戎", "以東平三合", ``` jiuN ```, "終", ``` G\luN ```, []), ("蟲", "直衆", "澄東去三合", ``` d`iuN ```, "終", ``` gluNs ```, []), ("䳋", "徒冬", "定冬平一合", ``` du_^oN ```, "終", ``` glu_-N ```, []), ("𢥞", "徒冬", "定冬平一合", ``` du_^oN ```, "終", ``` glu_-N ```, []), ("爞", "徒冬", "定冬平一合", ``` du_^oN ```, "終", ``` glu_-N ```, []), ("痋", "徒冬", "定冬平一合", ``` du_^oN ```, "終", ``` glu_-N ```, []), ("鉵", "徒冬", "定冬平一合", ``` du_^oN ```, "終", ``` glu_-N ```, []), ("赨", "徒冬", "定冬平一合", ``` du_^oN ```, "終", ``` glu_-N ```, []), ("𨹁", "戶公", "匣東平一合", ``` h\uN ```, "終", ``` g_lu_-N ```, [終部讀入東部。]), ("𨹁", "古送", "見東去一合", ``` kuN ```, "終", ``` k_lu_-Ns ```, [終部讀入東部。]), ) ), "𠃬": ( "pinyin": [cho2u], "zi-list": ( ("譸", "張流", "知尤平三合", ``` t`iu ```, "幽", ``` klu ```, []), ("㹗", "昌求", "昌尤平三合", ``` ts\_hiu ```, "幽", ``` k_hl_ju ```, [原反切爲“昌來切”,葛信益《廣韻業考》:“本‘求’字之譌。查該書(《廣韻》)豪韻‘土刀切’有‘㹗’字,其注云又‘昌來切’之“來”,元泰定本、《小學彙函》刻明本均作‘求’,可證。”]), ("䲖", "陳留", "澄尤平三合", ``` d`iu ```, "幽", ``` glu ```, []), ("儔", "直由", "澄尤平三合", ``` d`iu ```, "幽", ``` glu ```, []), ("檮", "直由", "澄尤平三合", ``` d`iu ```, "幽", ``` glu ```, []), ("躊", "直由", "澄尤平三合", ``` d`iu ```, "幽", ``` glu ```, []), ("幬", "直由", "澄尤平三合", ``` d`iu ```, "幽", ``` glu ```, []), ("𠷎", "直由", "澄尤平三合", ``` d`iu ```, "幽", ``` glu ```, []), ("疇", "直由", "澄尤平三合", ``` d`iu ```, "幽", ``` glu ```, []), ("燽", "直由", "澄尤平三合", ``` d`iu ```, "幽", ``` glu ```, []), ("薵", "直由", "澄尤平三合", ``` d`iu ```, "幽", ``` glu ```, []), ("籌", "直由", "澄尤平三合", ``` d`iu ```, "幽", ``` glu ```, []), ("懤", "直由", "澄尤平三合", ``` d`iu ```, "幽", ``` glu ```, []), ("𨞪", "直由", "澄尤平三合", ``` d`iu ```, "幽", ``` glu ```, []), ("𥲅", "直由", "澄尤平三合", ``` d`iu ```, "幽", ``` glu ```, []), ("𣫐", "市流", "禪尤平三合", ``` dz\iu ```, "幽", ``` gl_ju ```, []), ("𣀘", "市流", "禪尤平三合", ``` dz\iu ```, "幽", ``` gl_ju ```, []), ("魗", "市流", "禪尤平三合", ``` dz\iu ```, "幽", ``` gl_ju ```, []), ("𨞪", "市流", "禪尤平三合", ``` dz\iu ```, "幽", ``` gl_ju ```, []), ("醻", "市流", "禪尤平三合", ``` dz\iu ```, "幽", ``` gl_ju ```, []), ("魗", "昌九", "昌尤上三合", ``` ts\_hiu ```, "幽", ``` k_hl_ju? ```, []), ("壽", "殖酉", "禪尤上三合", ``` dz\iu ```, "幽", ``` gl_ju? ```, []), ("𨞪", "殖酉", "禪尤上三合", ``` dz\iu ```, "幽", ``` gl_ju? ```, []), ("璹", "殖酉", "禪尤上三合", ``` dz\iu ```, "幽", ``` gl_ju? ```, []), ("懤", "直祐", "澄尤去三合", ``` d`iu ```, "幽", ``` glus ```, []), ("壽", "承呪", "禪尤去三合", ``` dz\iu ```, "幽", ``` gl_jus ```, []), ("醻", "承咒", "禪尤去三合", ``` dz\iu ```, "幽", ``` gl_jus ```, []), ("鑄", "之戍", "章虞去三合", ``` ts\iU ```, "幽", ``` kl_jus ```, [見#link(<務字註>)[“務”字註]。“鑄”又作“𨥇”,從“肘”省聲,“肘”上古#xs(``` _*_gkru? ```),故“鑄”上古音當爲#xs(``` _*_gkl_jus ```)。]), ("㹗", "土刀", "透豪平一開", ``` t_hAu ```, "幽", ``` k_hlu_- ```, []), ("燾", "徒刀", "定豪平一開", ``` dAu ```, "幽", ``` glu_- ```, []), ("濤", "徒刀", "定豪平一開", ``` dAu ```, "幽", ``` glu_- ```, []), ("檮", "徒刀", "定豪平一開", ``` dAu ```, "幽", ``` glu_- ```, []), ("翿", "徒刀", "定豪平一開", ``` dAu ```, "幽", ``` glu_- ```, []), ("擣", "都晧", "端豪上一開", ``` tAu ```, "幽", ``` klu_-? ```, []), ("檮", "都晧", "端豪上一開", ``` tAu ```, "幽", ``` klu_-? ```, []), ("禱", "都晧", "端豪上一開", ``` tAu ```, "幽", ``` klu_-? ```, []), ("壔", "都晧", "端豪上一開", ``` tAu ```, "幽", ``` klu_-? ```, []), ("懤", "都晧", "端豪上一開", ``` tAu ```, "幽", ``` klu_-? ```, []), ("禱", "都導", "端豪去一開", ``` tAu ```, "幽", ``` klu_-s ```, []), ("幬", "徒到", "定豪去一開", ``` dAu ```, "幽", ``` glu_-s ```, []), ("醻", "大到", "定豪去一開", ``` dAu ```, "幽", ``` glu_-s ```, []), ("翿", "徒到", "定豪去一開", ``` dAu ```, "幽", ``` glu_-s ```, []), ("燾", "徒到", "定豪去一開", ``` dAu ```, "幽", ``` glu_-s ```, []), ("儔", "徒到", "定豪去一開", ``` dAu ```, "幽", ``` glu_-s ```, []), ("璹", "殊六", "禪屋入三合", ``` dz\iuk ```, "覺", ``` gl_jug ```, []), ) ), "雔": ( "pinyin": [cho2u], "zi-list": ( ("犨", "赤周", "昌尤平三合", ``` ts\_hiu ```, "幽", ``` k_h_ju ```, []), ("讎", "市流", "禪尤平三合", ``` dz\iu ```, "幽", ``` g_ju ```, []), ("雔", "市流", "禪尤平三合", ``` dz\iu ```, "幽", ``` g_ju ```, []), ("售", "承呪", "禪尤去三合", ``` dz\iu ```, "幽", ``` g_jus ```, []), ) ), "丑": ( "pinyin": [cho3u], "zi-list": ( ("羞", "息流", "心尤平三合", ``` siu ```, "幽", ``` sm_lu ```, []), ("鱃", "雌由", "清尤平三合", ``` ts_hiu ```, "幽", ``` sml_0u ```, [#xs(``` _*_gsml_0u ```)>#xs(``` _*_gsl_0u ```)>#xs(``` _*_gst_hu ```)>中古#xs(``` ts_hiu ```),清母。]), ("丑", "敕久", "徹尤上三合", ``` t`_hiu ```, "幽", ``` ml_0u? ```, [古文字象手指形。泰文#xs(``` niu_4_o ```)手指。緬文的“食指”叫#xs(``` lak_4_o ```) #xs(``` _n_`_0M_2_o ```),其中的#xs(``` lak_4_o ```)是“手”。可比較布依地支“丑”#xs(``` pjEu_3_o ```)<#xs(``` m_0jEu_3_o ```)。“丑”上古漢語#xs(``` _*_gml_0u? ```)>#xs(``` _*_gl_0u? ```)>#xs(``` _*_gt_hu? ```)>中古#xs(``` t`_hiu ```)。]), ("杻", "敕久", "徹尤上三合", ``` t`_hiu ```, "幽", ``` ml_0u? ```, [見#link(<丑字註>)[“丑”字註]。]), ("狃", "女久", "娘尤上三合", ``` n`iu ```, "幽", ``` mlu? ```, []), ("紐", "女久", "娘尤上三合", ``` n`iu ```, "幽", ``` mlu? ```, []), ("鈕", "女久", "娘尤上三合", ``` n`iu ```, "幽", ``` mlu? ```, []), ("杻", "女久", "娘尤上三合", ``` n`iu ```, "幽", ``` mlu? ```, []), ("莥", "女久", "娘尤上三合", ``` n`iu ```, "幽", ``` mlu? ```, []), ("䏔", "女久", "娘尤上三合", ``` n`iu ```, "幽", ``` mlu? ```, []), ("𨙺", "女久", "娘尤上三合", ``` n`iu ```, "幽", ``` mlu? ```, []), ("沑", "人九", "日尤上三合", ``` _n_`iu ```, "幽", ``` ml_ju? ```, []), ("粈", "人九", "日尤上三合", ``` _n_`iu ```, "幽", ``` ml_ju? ```, []), ("𩚖", "女救", "娘尤去三合", ``` n`iu ```, "幽", ``` mlus ```, []), ("狃", "女救", "娘尤去三合", ``` n`iu ```, "幽", ``` mlus ```, []), ("忸", "女六", "娘屋入三合", ``` n`iuk ```, "覺", ``` mlug ```, []), ("衄", "女六", "娘屋入三合", ``` n`iuk ```, "覺", ``` mlug ```, []), ("䖡", "女六", "娘屋入三合", ``` n`iuk ```, "覺", ``` mlug ```, []), ("䂇", "女六", "娘屋入三合", ``` n`iuk ```, "覺", ``` mlug ```, []), ("沑", "女六", "娘屋入三合", ``` n`iuk ```, "覺", ``` mlug ```, []), ("衄", "如六", "日屋入三合", ``` _n_`iuk ```, "覺", ``` ml_jug ```, []), ) ), "臭": ( "pinyin": [cho4u], "zi-list": ( ("糗", "去久", "溪尤上三合", ``` k_hiu ```, "幽", ``` k_hu? ```, []), ("殠", "許久", "曉尤上三合", ``` hiu ```, "幽", ``` q_hu? ```, []), ("螑", "輕幼", "溪幽去三開", ``` k_h1u ```, "幽", ``` k_h_r_tus ```, []), ("螑", "火㓜", "曉幽去三開", ``` h1u ```, "幽", ``` q_hus ```, []), ("臭", "尺救", "昌尤去三合", ``` ts\_hiu ```, "幽", ``` k_h_jus ```, [見#link(<丑字註>)[“丑”字註]。]), ("殠", "尺救", "昌尤去三合", ``` ts\_hiu ```, "幽", ``` k_h_jus ```, []), ("齅", "許救", "曉尤去三合", ``` hiu ```, "幽", ``` q_hus ```, []), ("嗅", "許救", "曉尤去三合", ``` hiu ```, "幽", ``` q_hus ```, [《廣韻》又同“齅”。]), ("𧽒", "香仲", "曉東去三合", ``` hiuN ```, "終", ``` q_huNs ```, []), ("嗅", "香仲", "曉東去三合", ``` hiuN ```, "終", ``` q_huNs ```, []), ) ), "出": ( "pinyin": [chu1], "zi-list": ( ("出", "尺類", "昌脂去三合", ``` ts\_h_wi ```, "物u", ``` k_hl_juds ```, []), ("趉", "九勿", "見物入三合", ``` kiut ```, "物u", ``` kud ```, []), ("𦁐", "九勿", "見物入三合", ``` kiut ```, "物u", ``` kud ```, []), ("屈", "九勿", "見物入三合", ``` kiut ```, "物u", ``` kud ```, []), ("鶌", "九勿", "見物入三合", ``` kiut ```, "物u", ``` kud ```, []), ("𠜾", "九勿", "見物入三合", ``` kiut ```, "物u", ``` kud ```, []), ("䠇", "九勿", "見物入三合", ``` kiut ```, "物u", ``` kud ```, []), ("屈", "區勿", "溪物入三合", ``` k_hiut ```, "物u", ``` k_hud ```, []), ("詘", "區勿", "溪物入三合", ``` k_hiut ```, "物u", ``` k_hud ```, []), ("𧌑", "區勿", "溪物入三合", ``` k_hiut ```, "物u", ``` k_hud ```, []), ("掘", "衢物", "群物入三合", ``` giut ```, "物u", ``` gud ```, []), ("倔", "衢物", "群物入三合", ``` giut ```, "物u", ``` gud ```, []), ("䠇", "衢物", "群物入三合", ``` giut ```, "物u", ``` gud ```, []), ("崛", "衢物", "群物入三合", ``` giut ```, "物u", ``` gud ```, []), ("䘿", "衢物", "群物入三合", ``` giut ```, "物u", ``` gud ```, []), ("堀", "衢物", "群物入三合", ``` giut ```, "物u", ``` gud ```, []), ("崛", "魚勿", "疑物入三合", ``` Niut ```, "物u", ``` Ngud ```, []), ("茁", "徴筆", "知質入三合", ``` t`_wit ```, "物u", ``` klud ```, []), ("㤕", "竹律", "知質入三合", ``` t`_wit ```, "物u", ``` klud ```, []), ("窋", "竹律", "知質入三合", ``` t`_wit ```, "物u", ``` klud ```, []), ("絀", "竹律", "知質入三合", ``` t`_wit ```, "物u", ``` klud ```, []), ("泏", "竹律", "知質入三合", ``` t`_wit ```, "物u", ``` klud ```, []), ("黜", "丑律", "徹質入三合", ``` t`_h_wit ```, "物u", ``` k_hlud ```, []), ("炪", "丑律", "徹質入三合", ``` t`_h_wit ```, "物u", ``` k_hlud ```, []), ("㤕", "丑律", "徹質入三合", ``` t`_h_wit ```, "物u", ``` k_hlud ```, []), ("欪", "丑律", "徹質入三合", ``` t`_h_wit ```, "物u", ``` k_hlud ```, []), ("出", "赤律", "昌質入三合", ``` ts\_h_wit ```, "物u", ``` k_hl_jud ```, []), ("貀", "女律", "娘質入三合", ``` n`_wit ```, "物u", ``` Nglud ```, []), ("𠭴", "側律", "莊櫛入三合", ``` ts`_wiIt ```, "物u", ``` skrud ```, []), ("𪗨", "崱瑟", "崇櫛入三合", ``` dz`_wiIt ```, "物u", ``` sgrud ```, []), ("淈", "古忽", "見沒入一合", ``` ku_^ot ```, "物u", ``` ku_-d ```, []), ("䓛", "古忽", "見沒入一合", ``` ku_^ot ```, "物u", ``` ku_-d ```, []), ("咄", "當沒", "端沒入一合", ``` tu_^ot ```, "物u", ``` klu_-d ```, []), ("柮", "當沒", "端沒入一合", ``` tu_^ot ```, "物u", ``` klu_-d ```, []), ("𩨳", "當沒", "端沒入一合", ``` tu_^ot ```, "物u", ``` klu_-d ```, []), ("貀", "當没", "端沒入一合", ``` tu_^ot ```, "物u", ``` klu_-d ```, []), ("窟", "苦骨", "溪沒入一合", ``` k_hu_^ot ```, "物u", ``` k_hu_-d ```, []), ("泏", "苦骨", "溪沒入一合", ``` k_hu_^ot ```, "物u", ``` k_hu_-d ```, []), ("堀", "苦骨", "溪沒入一合", ``` k_hu_^ot ```, "物u", ``` k_hu_-d ```, []), ("朏", "苦骨", "溪沒入一合", ``` k_hu_^ot ```, "物u", ``` k_hu_-d ```, []), ("㵠", "苦骨", "溪沒入一合", ``` k_hu_^ot ```, "物u", ``` k_hu_-d ```, []), ("㽾", "五忽", "疑沒入一合", ``` Nu_^ot ```, "物u", ``` Ngu_-d ```, []), ("聉", "丁滑", "知黠入二合", ``` t`_w_M_tEt ```, "物u", ``` klu_-d ```, [見定母和澄母“荼”字註。]), ("茁", "鄒滑", "莊黠入二合", ``` ts`_w_M_tEt ```, "物u", ``` skru_-d ```, [原爲鎋韻,但是根據諧聲系統應該爲黠韻,《切韻》音系二等有黠、鎋的歷史層次。]), ("貀", "女滑", "娘黠入二合", ``` n`_w_M_tEt ```, "物u", ``` Nglu_-d ```, []), ("𦤙", "五滑", "疑黠入二合", ``` N_w_M_tEt ```, "物u", ``` Ng_r_tu_-d ```, []), ("聉", "五滑", "疑黠入二合", ``` N_w_M_tEt ```, "物u", ``` Ng_r_tu_-d ```, []), ("𠜾", "居衞", "見祭去A合", ``` k_wi_E_si ```, "月o", ``` kods ```, []), ("𠭴", "職恱", "章薛入三合", ``` ts\_wi_E_st ```, "月o", ``` kl_jod ```, []), ("拙", "職恱", "章薛入三合", ``` ts\_wi_E_st ```, "月o", ``` kl_jod ```, []), ("炪", "職恱", "章薛入三合", ``` ts\_wi_E_st ```, "月o", ``` kl_jod ```, []), ("䪼", "職恱", "章薛入三合", ``` ts\_wi_E_st ```, "月o", ``` kl_jod ```, []), ("䖦", "職恱", "章薛入三合", ``` ts\_wi_E_st ```, "月o", ``` kl_jod ```, []), ("茁", "側劣", "莊薛入三合", ``` ts`_wi_E_st ```, "月o", ``` skrod ```, []), ("𦁐", "去月", "溪月入三合", ``` k_h_wi7t ```, "月o", ``` k_hod ```, []), ("掘", "其月", "群月入三合", ``` g_wi7t ```, "月o", ``` god ```, []), ("咄", "丁括", "端曷入一合", ``` t_wAt ```, "月o", ``` klo_-d ```, []), ("柮", "藏活", "從曷入一合", ``` dz_wAt ```, "月o", ``` sgo_-d ```, []), ("𪗨", "仕叱", "崇櫛入三開", ``` dz`iIt ```, "物M", ``` sgrMd ```, []), ("淈", "下沒", "匣沒入一開", ``` h\@t ```, "物M", ``` gM_-d ```, [聲符“屈”應該在#[物#sup-xs("u")]部,“淈”《集韻》中有“下扢切”與“胡骨切”兩讀。]), ("聉", "吐猥", "透灰上一合", ``` t_hu_^oi ```, "微u", ``` k_hlu_-l? ```, []), ) ), "初": ( "pinyin": [chu1], "zi-list": ( ("初", "楚居", "初魚平三開", ``` ts`_hi7 ```, "魚", ``` s_hra ```, []), ) ), "芻": ( "pinyin": [chu2], "zi-list": ( ("齺", "士角", "崇覺入二開", ``` dz`_M_tOk ```, "屋", ``` zro_-g ```, []), ("趨", "七逾", "清虞平三合", ``` ts_hiU ```, "侯", ``` s_ho ```, []), ("芻", "測隅", "初虞平三合", ``` ts`_hiU ```, "侯", ``` s_hro ```, []), ("犓", "測隅", "初虞平三合", ``` ts`_hiU ```, "侯", ``` s_hro ```, []), ("雛", "仕于", "崇虞平三合", ``` dz`iU ```, "侯", ``` zro ```, []), ("媰", "仕于", "崇虞平三合", ``` dz`iU ```, "侯", ``` zro ```, []), ("䐢", "芻注", "初虞去三合", ``` ts`_hiU ```, "侯", ``` s_hros ```, []), ("縐", "初爪", "初肴上二開", ``` ts`_h_M_t{u ```, "侯", ``` s_hro_-? ```, []), ("縐", "初敎", "初肴去二開", ``` ts`_h_M_t{u ```, "侯", ``` s_hro_-s ```, []), ("鄒", "側鳩", "莊尤平三合", ``` ts`iu ```, "幽", ``` sru ```, []), ("騶", "側鳩", "莊尤平三合", ``` ts`iu ```, "幽", ``` sru ```, []), ("篘", "楚鳩", "初尤平三合", ``` ts`_hiu ```, "幽", ``` s_hru ```, []), ("縐", "側救", "莊尤去三合", ``` ts`iu ```, "幽", ``` srus ```, []), ("䐢", "側救", "莊尤去三合", ``` ts`iu ```, "幽", ``` srus ```, []), ) ), "亍": ( "pinyin": [chu4], "zi-list": ( ("亍", "中句", "知虞去三合", ``` t`iU ```, "屋", ``` togs ```, []), ("亍", "丑玉", "徹燭入三合", ``` t`_hi_^Uk ```, "屋", ``` t_hog ```, []), ) ), "豖": ( "pinyin": [chu4], "zi-list": ( ("瘃", "陟玉", "知燭入三合", ``` t`i_^Uk ```, "屋", ``` tog ```, []), ("豖", "丑玉", "徹燭入三合", ``` t`_hi_^Uk ```, "屋", ``` t_hog ```, []), ("啄", "丁木", "端屋入一合", ``` tuk ```, "屋", ``` to_-g ```, []), ("𢽴", "丁木", "端屋入一合", ``` tuk ```, "屋", ``` to_-g ```, []), ("涿", "竹角", "知覺入二開", ``` t`_M_tOk ```, "屋", ``` to_-g ```, [見定母和澄母“荼”字註。]), ("諑", "竹角", "知覺入二開", ``` t`_M_tOk ```, "屋", ``` to_-g ```, [見定母和澄母“荼”字註。]), ("椓", "竹角", "知覺入二開", ``` t`_M_tOk ```, "屋", ``` to_-g ```, [見定母和澄母“荼”字註。]), ("琢", "竹角", "知覺入二開", ``` t`_M_tOk ```, "屋", ``` to_-g ```, [見定母和澄母“荼”字註。]), ("啄", "竹角", "知覺入二開", ``` t`_M_tOk ```, "屋", ``` to_-g ```, [見定母和澄母“荼”字註。]), ("冢", "知隴", "知鍾上三合", ``` t`iUN ```, "東", ``` toN? ```, []), ("𧱓", "都豆", "端侯去一合", ``` tu ```, "侯", ``` to_-s ```, []), ) ), "畜": ( "pinyin": [chu4], "zi-list": ( ("畜", "丑救", "徹尤去三合", ``` t`_hiu ```, "覺", ``` k_hlugs ```, []), ("蓄", "丑六", "徹屋入三合", ``` t`_hiuk ```, "覺", ``` k_hlug ```, []), ("滀", "丑六", "徹屋入三合", ``` t`_hiuk ```, "覺", ``` k_hlug ```, []), ("鄐", "丑六", "徹屋入三合", ``` t`_hiuk ```, "覺", ``` k_hlug ```, []), ("搐", "勑六", "徹屋入三合", ``` t`_hiuk ```, "覺", ``` k_hlug ```, []), ("蓄", "許竹", "曉屋入三合", ``` hiuk ```, "覺", ``` q_hug ```, []), ("畜", "許竹", "曉屋入三合", ``` hiuk ```, "覺", ``` q_hug ```, []), ("㜅", "許竹", "曉屋入三合", ``` hiuk ```, "覺", ``` q_hug ```, []), ("鄐", "許竹", "曉屋入三合", ``` hiuk ```, "覺", ``` q_hug ```, []), ("慉", "許竹", "曉屋入三合", ``` hiuk ```, "覺", ``` q_hug ```, []), ) ), "矗": ( "pinyin": [chu4], "zi-list": ( ("矗", "丑六", "徹屋入三合", ``` t`_hiuk ```, "覺", ``` k_hrug ```, []), ("矗", "初六", "初屋入三合", ``` ts`_hiuk ```, "覺", ``` sk_hrug ```, []), ) ), "川": ( "pinyin": [chua1n], "zi-list": ( ("川", "昌縁", "昌仙平三合", ``` ts\_h_wi_E_sn ```, "元o", ``` k_hl_jon ```, []), ("紃", "食倫", "船眞平三合", ``` z\_win ```, "文u", ``` G\l_jun ```, []), ("甽", "松倫", "邪眞平三合", ``` z_win ```, "文u", ``` sG\_lun ```, []), ("巡", "詳遵", "邪眞平三合", ``` z_win ```, "文u", ``` sG\_lun ```, []), ("馴", "詳遵", "邪眞平三合", ``` z_win ```, "文u", ``` sG\_lun ```, []), ("紃", "詳遵", "邪眞平三合", ``` z_win ```, "文u", ``` sG\_lun ```, []), ("訓", "許運", "曉文去三合", ``` hiun ```, "文u", ``` q_h_luns ```, []), ("甽", "朱閏", "章眞去三合", ``` ts\_win ```, "文u", ``` kl_juns ```, []), ("順", "食閏", "船眞去三合", ``` z\_win ```, "文u", ``` G\l_juns ```, []), ) ), "穿": ( "pinyin": [chua1n], "zi-list": ( ("穿", "昌縁", "昌仙平三合", ``` ts\_h_wi_E_sn ```, "元o", ``` k_hl_jon ```, []), ("穿", "尺絹", "昌仙去三合", ``` ts\_h_wi_E_sn ```, "元o", ``` k_hl_jons ```, []), ) ), "舛": ( "pinyin": [chua3n], "zi-list": ( ("舛", "昌兖", "昌仙上三合", ``` ts\_h_wi_E_sn ```, "元o", ``` l_0_jon? ```, []), ("荈", "昌兖", "昌仙上三合", ``` ts\_h_wi_E_sn ```, "元o", ``` l_0_jon? ```, []), ) ), "串": ( "pinyin": [chua4n], "zi-list": ( ("漶", "胡玩", "匣寒去一合", ``` h\_wAn ```, "元o", ``` go_-ns ```, []), ("䍺", "戶關", "匣刪平二合", ``` h\_w_M_t{n ```, "元o", ``` g_r_to_-n ```, []), ("串", "古患", "見刪去二合", ``` k_w_M_t{n ```, "元o", ``` k_r_to_-ns ```, []), ("患", "胡慣", "匣刪去二合", ``` h\_w_M_t{n ```, "元o", ``` g_r_to_-ns ```, []), ("䍺", "胡慣", "匣刪去二合", ``` h\_w_M_t{n ```, "元o", ``` g_r_to_-ns ```, []), ) ), "刅": ( "pinyin": [chua1ng], "zi-list": ( ("刅", "初良", "初陽平三開", ``` ts`_hiaN ```, "陽", ``` sk_hraN ```, []), ("㲽", "式羊", "書陽平三開", ``` s\iaN ```, "陽", ``` q_hlaN ```, []), ("梁", "呂張", "來陽平三開", ``` liaN ```, "陽", ``` g.raN ```, []), ("粱", "呂張", "來陽平三開", ``` liaN ```, "陽", ``` g.raN ```, []), ) ), "闖": ( "pinyin": [chua3ng], "zi-list": ( ("闖", "丑禁", "徹侵去三開", ``` t`_him ```, "侵M", ``` t_hMms ```, []), ) ), "吹": ( "pinyin": [chu1i], "zi-list": ( ("吹", "昌垂", "昌支平三合", ``` ts\_h_wie ```, "歌o", ``` k_h_jol ```, []), ("炊", "昌垂", "昌支平三合", ``` ts\_h_wie ```, "歌o", ``` k_h_jol ```, []), ("䶴", "昌垂", "昌支平三合", ``` ts\_h_wie ```, "歌o", ``` k_h_jol ```, []), ("䶴", "尺僞", "昌支去三合", ``` ts\_h_wie ```, "歌o", ``` k_h_jols ```, []), ("吹", "尺僞", "昌支去三合", ``` ts\_h_wie ```, "歌o", ``` k_h_jols ```, []), ) ), "垂": ( "pinyin": [chu2i], "zi-list": ( ("腄", "竹垂", "知支平三合", ``` t`_wie ```, "歌o", ``` klol ```, []), ("箠", "竹垂", "知支平三合", ``` t`_wie ```, "歌o", ``` klol ```, []), ("䮔", "子垂", "精支平三合", ``` ts_wie ```, "歌o", ``` sklol ```, []), ("厜", "姊規", "精支平三合", ``` ts_wie ```, "歌o", ``` sklol ```, []), ("錘", "直垂", "澄支平三合", ``` d`_wie ```, "歌o", ``` glol ```, []), ("甀", "直垂", "澄支平三合", ``` d`_wie ```, "歌o", ``` glol ```, []), ("陲", "是爲", "禪支平三合", ``` dz\_wie ```, "歌o", ``` gl_jol ```, []), ("倕", "是爲", "禪支平三合", ``` dz\_wie ```, "歌o", ``` gl_jol ```, []), ("𦈼", "是爲", "禪支平三合", ``` dz\_wie ```, "歌o", ``` gl_jol ```, []), ("𨿠", "是爲", "禪支平三合", ``` dz\_wie ```, "歌o", ``` gl_jol ```, []), ("垂", "是爲", "禪支平三合", ``` dz\_wie ```, "歌o", ``` gl_jol ```, []), ("捶", "之累", "章支上三合", ``` ts\_wie ```, "歌o", ``` kl_jol? ```, []), ("箠", "之累", "章支上三合", ``` ts\_wie ```, "歌o", ``` kl_jol? ```, []), ("䮔", "之累", "章支上三合", ``` ts\_wie ```, "歌o", ``` kl_jol? ```, []), ("菙", "時髓", "禪支上三合", ``` dz\_wie ```, "歌o", ``` gl_jol? ```, []), ("娷", "竹恚", "知支去三合", ``` t`_wie ```, "歌o", ``` klols ```, []), ("諈", "竹恚", "知支去三合", ``` t`_wie ```, "歌o", ``` klols ```, []), ("錘", "馳僞", "澄支去三合", ``` d`_wie ```, "歌o", ``` glols ```, []), ("腄", "馳僞", "澄支去三合", ``` d`_wie ```, "歌o", ``` glols ```, []), ("甀", "馳僞", "澄支去三合", ``` d`_wie ```, "歌o", ``` glols ```, []), ("硾", "馳僞", "澄支去三合", ``` d`_wie ```, "歌o", ``` glols ```, []), ("睡", "是僞", "禪支去三合", ``` dz\_wie ```, "歌o", ``` gl_jols ```, []), ("𨿠", "是僞", "禪支去三合", ``` dz\_wie ```, "歌o", ``` gl_jols ```, []), ("涶", "土禾", "透歌平一合", ``` t_hwA ```, "歌o", ``` k_hlo_-l ```, []), ("埵", "丁果", "端歌上一合", ``` t_wA ```, "歌o", ``` klo_-l? ```, []), ("棰", "都果", "端歌上一合", ``` t_wA ```, "歌o", ``` klo_-l? ```, []), ("涶", "湯臥", "透歌去一合", ``` t_h_wA ```, "歌o", ``` k_hlo_-ls ```, []), ("唾", "湯臥", "透歌去一合", ``` t_h_wA ```, "歌o", ``` k_hlo_-ls ```, []), ("箠", "之壘", "章脂上三合", ``` ts\_wi ```, "微u", ``` kl_jul? ```, []), ("𨻌", "落猥", "來灰上一合", ``` lu_^oi ```, "微u", ``` g.ru_-l? ```, []), ) ), "𦎫": ( "pinyin": [chu2n], "zi-list": ( ("犉", "如勻", "日眞平三合", ``` _n_`_win ```, "文u", ``` ml_jun ```, []), ("諄", "章倫", "章眞平三合", ``` ts\_win ```, "文u", ``` t_jun ```, []), ("惇", "章倫", "章眞平三合", ``` ts\_win ```, "文u", ``` t_jun ```, []), ("𥇜", "章倫", "章眞平三合", ``` ts\_win ```, "文u", ``` t_jun ```, []), ("鶉", "常倫", "禪眞平三合", ``` dz\_win ```, "文u", ``` d_jun ```, []), ("𦎫", "常倫", "禪眞平三合", ``` dz\_win ```, "文u", ``` d_jun ```, []), ("淳", "常倫", "禪眞平三合", ``` dz\_win ```, "文u", ``` d_jun ```, []), ("焞", "常倫", "禪眞平三合", ``` dz\_win ```, "文u", ``` d_jun ```, []), ("錞", "常倫", "禪眞平三合", ``` dz\_win ```, "文u", ``` d_jun ```, []), ("醇", "常倫", "禪眞平三合", ``` dz\_win ```, "文u", ``` d_jun ```, []), ("埻", "之尹", "章眞上三合", ``` ts\_win ```, "文u", ``` t_jun? ```, []), ("綧", "主尹", "章眞上三合", ``` ts\_win ```, "文u", ``` t_jun? ```, []), ("蜳", "主尹", "章眞上三合", ``` ts\_win ```, "文u", ``` t_jun? ```, []), ("蜳", "柱允", "澄眞上三合", ``` d`_win ```, "文u", ``` dun? ```, []), ("諄", "之閏", "章眞去三合", ``` ts\_win ```, "文u", ``` t_juns ```, []), ("𥇜", "之閏", "章眞去三合", ``` ts\_win ```, "文u", ``` t_juns ```, []), ("敦", "都昆", "端魂平一合", ``` tu_^on ```, "文u", ``` tu_-n ```, []), ("惇", "都昆", "端魂平一合", ``` tu_^on ```, "文u", ``` tu_-n ```, []), ("弴", "都昆", "端魂平一合", ``` tu_^on ```, "文u", ``` tu_-n ```, []), ("蜳", "都昆", "端魂平一合", ``` tu_^on ```, "文u", ``` tu_-n ```, []), ("暾", "他昆", "透魂平一合", ``` t_hu_^on ```, "文u", ``` t_hu_-n ```, []), ("燉", "他昆", "透魂平一合", ``` t_hu_^on ```, "文u", ``` t_hu_-n ```, []), ("𪏆", "他昆", "透魂平一合", ``` t_hu_^on ```, "文u", ``` t_hu_-n ```, []), ("𧑒", "他昆", "透魂平一合", ``` t_hu_^on ```, "文u", ``` t_hu_-n ```, []), ("燉", "徒渾", "定魂平一合", ``` du_^on ```, "文u", ``` du_-n ```, []), ("啍", "徒渾", "定魂平一合", ``` du_^on ```, "文u", ``` du_-n ```, []), ("敦", "都困", "端魂去一合", ``` tu_^on ```, "文u", ``` tu_-ns ```, []), ("憞", "徒困", "定魂去一合", ``` du_^on ```, "文u", ``` du_-ns ```, []), ("敦", "都回", "端灰平一合", ``` tu_^oi ```, "微u", ``` tu_-l ```, []), ("䇏", "都罪", "端灰上一合", ``` tu_^oi ```, "微u", ``` tu_-l? ```, []), ("錞", "徒猥", "定灰上一合", ``` du_^oi ```, "微u", ``` du_-l? ```, []), ("錞", "徒對", "定灰去一合", ``` du_^oi ```, "微u", ``` du_-ls ```, []), ("憞", "徒對", "定灰去一合", ``` du_^oi ```, "微u", ``` du_-ls ```, []), ("憝", "徒對", "定灰去一合", ``` du_^oi ```, "微u", ``` du_-ls ```, []), ("鐓", "徒對", "定灰去一合", ``` du_^oi ```, "微u", ``` du_-ls ```, []), ("蜳", "敕轉", "徹仙上三合", ``` t`_h_wi_E_sn ```, "元o", ``` t_hon? ```, []), ("𪏆", "他端", "透寒平一合", ``` t_h_wAn ```, "元o", ``` t_ho_-n ```, []), ("敦", "度官", "定寒平一合", ``` d_wAn ```, "元o", ``` do_-n ```, []), ("鷻", "度官", "定寒平一合", ``` d_wAn ```, "元o", ``` do_-n ```, [《廣韻》作“𪆃”。]), ("弴", "都聊", "端蕭平四開", ``` teu ```, "幽i", ``` ti_-_w ```, []), ) ), "辵": ( "pinyin": [chuo4], "zi-list": ( ("辵", "丑略", "徹藥入三開", ``` t`_hiak ```, "鐸", ``` t_hag ```, []), ) ), "㲋": ( "pinyin": [chuo4], "zi-list": ( ("㲋", "丑略", "徹藥入三開", ``` t`_hiak ```, "鐸", ``` k_hlag ```, []), ("㚟", "勑畧", "徹藥入三開", ``` t`_hiak ```, "鐸", ``` k_hlag ```, []), ("𣔵", "闥各", "透鐸入一開", ``` t_hAk ```, "鐸", ``` k_hla_-g ```, []), ) ), "辭": ( "pinyin": [ci2], "zi-list": ( ("辭", "似兹", "邪之平三開", ``` z1 ```, "之", ``` sG\_lM ```, []), ) ), "此": ( "pinyin": [ci3], "zi-list": ( ("㧘", "奇寄", "群支去B開", ``` g1e ```, "佳", ``` g_r_tes ```, []), ("貲", "即移", "精支平三開", ``` tsie ```, "佳", ``` se ```, []), ("頿", "即移", "精支平三開", ``` tsie ```, "佳", ``` se ```, []), ("鴜", "即移", "精支平三開", ``` tsie ```, "佳", ``` se ```, []), ("𪕊", "即移", "精支平三開", ``` tsie ```, "佳", ``` se ```, []), ("鮆", "即移", "精支平三開", ``` tsie ```, "佳", ``` se ```, []), ("訾", "即移", "精支平三開", ``` tsie ```, "佳", ``` se ```, []), ("㠿", "即移", "精支平三開", ``` tsie ```, "佳", ``` se ```, []), ("㰣", "即移", "精支平三開", ``` tsie ```, "佳", ``` se ```, []), ("鈭", "即移", "精支平三開", ``` tsie ```, "佳", ``` se ```, []), ("姕", "即移", "精支平三開", ``` tsie ```, "佳", ``` se ```, []), ("䖪", "即移", "精支平三開", ``` tsie ```, "佳", ``` se ```, []), ("齜", "側宜", "莊支平三開", ``` ts`ie ```, "佳", ``` sre ```, []), ("㭰", "遵爲", "精支平三合", ``` ts_wie ```, "佳", ``` s_we ```, [《廣韻》作“𤟭”,可比較“觜”字。]), ("雌", "此移", "清支平三開", ``` ts_hie ```, "佳", ``` s_he ```, []), ("姕", "此移", "清支平三開", ``` ts_hie ```, "佳", ``` s_he ```, []), ("鈭", "此移", "清支平三開", ``` ts_hie ```, "佳", ``` s_he ```, []), ("𦍧", "此移", "清支平三開", ``` ts_hie ```, "佳", ``` s_he ```, []), ("𦙼", "此移", "清支平三開", ``` ts_hie ```, "佳", ``` s_he ```, []), ("疵", "疾移", "從支平三開", ``` dzie ```, "佳", ``` ze ```, []), ("骴", "疾移", "從支平三開", ``` dzie ```, "佳", ``` ze ```, []), ("玼", "疾移", "從支平三開", ``` dzie ```, "佳", ``` ze ```, []), ("茈", "疾移", "從支平三開", ``` dzie ```, "佳", ``` ze ```, []), ("胔", "疾移", "從支平三開", ``` dzie ```, "佳", ``` ze ```, []), ("飺", "疾移", "從支平三開", ``` dzie ```, "佳", ``` ze ```, []), ("鴜", "疾移", "從支平三開", ``` dzie ```, "佳", ``` ze ```, []), ("姕", "疾移", "從支平三開", ``` dzie ```, "佳", ``` ze ```, []), ("觜", "即委", "精支上三合", ``` ts_wie ```, "佳", ``` skol? ```, [即“觜”字“姊規切”的小稱。]), ("訾", "將此", "精支上三開", ``` tsie ```, "佳", ``` se? ```, []), ("紫", "將此", "精支上三開", ``` tsie ```, "佳", ``` se? ```, []), ("訿", "將此", "精支上三開", ``` tsie ```, "佳", ``` se? ```, []), ("啙", "將此", "精支上三開", ``` tsie ```, "佳", ``` se? ```, []), ("跐", "將此", "精支上三開", ``` tsie ```, "佳", ``` se? ```, []), ("茈", "將此", "精支上三開", ``` tsie ```, "佳", ``` se? ```, []), ("呰", "將此", "精支上三開", ``` tsie ```, "佳", ``` se? ```, []), ("㧗", "將此", "精支上三開", ``` tsie ```, "佳", ``` se? ```, []), ("跐", "側氏", "莊支上三開", ``` ts`ie ```, "佳", ``` sre? ```, []), ("㧗", "側氏", "莊支上三開", ``` ts`ie ```, "佳", ``` sre? ```, []), ("此", "雌氏", "清支上三開", ``` ts_hie ```, "佳", ``` s_he? ```, []), ("跐", "雌氏", "清支上三開", ``` ts_hie ```, "佳", ``` s_he? ```, []), ("佌", "雌氏", "清支上三開", ``` ts_hie ```, "佳", ``` s_he? ```, []), ("玼", "雌氏", "清支上三開", ``` ts_hie ```, "佳", ``` s_he? ```, []), ("泚", "雌氏", "清支上三開", ``` ts_hie ```, "佳", ``` s_he? ```, []), ("𩢑", "雌氏", "清支上三開", ``` ts_hie ```, "佳", ``` s_he? ```, []), ("𧺼", "雌氏", "清支上三開", ``` ts_hie ```, "佳", ``` s_he? ```, []), ("䳄", "淺氏", "清支上三開", ``` ts_hie ```, "佳", ``` s_he? ```, []), ("㰣", "子智", "精支去三開", ``` tsie ```, "佳", ``` ses ```, []), ("庛", "七賜", "清支去三開", ``` ts_hie ```, "佳", ``` s_hes ```, []), ("眥", "疾智", "從支去三開", ``` dzie ```, "佳", ``` zes ```, []), ("㧘", "疾智", "從支去三開", ``` dzie ```, "佳", ``` zes ```, []), ("骴", "疾智", "從支去三開", ``` dzie ```, "佳", ``` zes ```, []), ("胔", "疾智", "從支去三開", ``` dzie ```, "佳", ``` zes ```, []), ("啙", "祖稽", "精齊平四開", ``` tsei ```, "佳", ``` se_- ```, []), ("㧗", "子禮", "精齊上四開", ``` tsei ```, "佳", ``` se_-? ```, []), ("泚", "千禮", "清齊上四開", ``` ts_hei ```, "佳", ``` s_he_-? ```, []), ("玼", "千禮", "清齊上四開", ``` ts_hei ```, "佳", ``` s_he_-? ```, []), ("啙", "徂禮", "從齊上四開", ``` dzei ```, "佳", ``` ze_-? ```, []), ("些", "蘇計", "心齊去四開", ``` sei ```, "佳", ``` s_le_-s ```, []), ("眥", "在詣", "從齊去四開", ``` dzei ```, "佳", ``` ze_-s ```, []), ("柴", "士佳", "崇佳平二開", ``` dz`_M_tE ```, "佳", ``` zre_- ```, []), ("祡", "士佳", "崇佳平二開", ``` dz`_M_tE ```, "佳", ``` zre_- ```, []), ("茈", "士佳", "崇佳平二開", ``` dz`_M_tE ```, "佳", ``` zre_- ```, []), ("㧘", "士佳", "崇佳平二開", ``` dz`_M_tE ```, "佳", ``` zre_- ```, []), ("跐", "阻買", "莊佳上二開", ``` ts`_M_tE ```, "佳", ``` sre_-? ```, []), ("觜", "姊規", "精支平三合", ``` ts_wie ```, "歌o", ``` skol ```, [ “嘴”是後起字,本字爲“觜”。但是《說文》中的“觜”與古代的“嘴”並不同義,《說文》:“觜,鴟舊頭上角觜也。一曰觜觿也。从角此聲。”“觜”是鴟舊頭上的角狀物。“觜”還解釋爲“觿”,古代解繩結的角狀工具。古代星宿名“觜觿”,有三個星,合在一起爲角狀。所以,“觜”就是古人通指角狀物的詞。“觜”有平、上二讀,“即移切”爲通常的角狀義。上古上聲通常用於小稱變調,“觜”的“即委切”就是小角兒的意思。人的嘴巴有兩個部分,牙齒後面進食的地方就是“口”字,是象形字,讀#xs(``` _*_gk_ho_-? ```)。牙齒外面的主要部分爲“唇”,撮唇爲角狀曰“觜”,小稱讀上聲,即小觜,後寫作“嘴”。 #v(-0.4em) 上古的#xs(``` _*_gsk_-_o ```)變作#xs(``` _*_gts_-_o ```),#xs(``` _*_gol ```)變作#xs(``` _*_g_-_o_wel ```),合口介音#xs(``` w ```)在前高元音前容易失落,變作#xs(``` _-_oe ```)。所以,《說文》時代#xs(``` _*_gskol? ```)變作#xs(``` _*_gsk_wel ```)>#xs(``` _*_gts_we ```),這就是“觜”在《說文》變作#xs(``` _*_gts_we ```)以後,從“此”#xs(``` _*_gse? ```)得聲的原因。 #v(-0.4em) 接下來,我們再來讨论“觜”爲什麽有#xs(``` _*_gskol? ```)的上古讀音。古代有個星宿名稱叫“觜觿”,是雙聲疊韻的聯綿詞。“觿”支韻曉母,上古音#xs(``` _*_gq_hol ```)。“觜”精母支韻,上古是#xs(``` _*_gskol? ```)。 #v(-0.4em) “嘴”#xs(``` _*_gs_hol? ```)有以下的同詞族,都有相近的上古讀音:“喙”#xs(``` _*_gq_h_lods ```)、“咮”#xs(``` _*_gkl_jo ```)、“噣”#xs(``` _*_gklo_-g ```)、“啄”#xs(``` _*_gklo_-g ```)。我們還可比較藏緬語“嘴”的兩類讀音,一類如藏文的#xs(``` k_ha ```),與漢語的“口”#xs(``` _*_gk_ho_-? ```)對應。另一類可能對應於漢語的嘴#xs(``` _*_gskol? ```),如麻窩羌語#xs(``` s`qu ```),Dimasa語#xs(``` k_hu ```), Lalung語#xs(``` k_hu? ```)。]), ("㭰", "姊規", "精支平三合", ``` ts_wie ```, "歌o", ``` skol ```, [可比較“觜”字。]), ("㭰", "即委", "精支上三合", ``` ts_wie ```, "歌o", ``` skol? ```, [可比較“觜”字。]), ("寨", "犲夬", "崇佳去二開", ``` dz`_M_tE ```, "佳", ``` zre_- ```, [切語下字爲合口,但聲符爲開口。《韻镜》《七音略》等列入開口,且今音作開口,故依韻圖。原爲夬韻,但是根據諧聲系統應該爲佳韻,《切韻》音系二等有佳、夬的歷史層次。]), ) ), "朿": ( "pinyin": [ci4], "zi-list": ( ("積", "子智", "精支去三開", ``` tsie ```, "錫", ``` segs ```, []), ("𧂐", "子智", "精支去三開", ``` tsie ```, "錫", ``` segs ```, []), ("𦎸", "子智", "精支去三開", ``` tsie ```, "錫", ``` segs ```, []), ("朿", "七賜", "清支去三開", ``` ts_hie ```, "錫", ``` s_hegs ```, []), ("𧧒", "七賜", "清支去三開", ``` ts_hie ```, "錫", ``` s_hegs ```, []), ("莿", "七賜", "清支去三開", ``` ts_hie ```, "錫", ``` s_hegs ```, []), ("刺", "七賜", "清支去三開", ``` ts_hie ```, "錫", ``` s_hegs ```, []), ("漬", "疾智", "從支去三開", ``` dzie ```, "錫", ``` zegs ```, []), ("𦎸", "疾智", "從支去三開", ``` dzie ```, "錫", ``` zegs ```, []), ("𨖊", "資昔", "精昔入三開", ``` tsi_E_sk ```, "錫", ``` seg ```, []), ("𧐐", "資昔", "精昔入三開", ``` tsi_E_sk ```, "錫", ``` seg ```, []), ("跡", "資昔", "精昔入三開", ``` tsi_E_sk ```, "錫", ``` seg ```, [《廣韻》又同“迹”。]), ("積", "資昔", "精昔入三開", ``` tsi_E_sk ```, "錫", ``` seg ```, []), ("迹", "資昔", "精昔入三開", ``` tsi_E_sk ```, "錫", ``` seg ```, []), ("鰿", "資昔", "精昔入三開", ``` tsi_E_sk ```, "錫", ``` seg ```, []), ("蹟", "資昔", "精昔入三開", ``` tsi_E_sk ```, "錫", ``` seg ```, []), ("襀", "資昔", "精昔入三開", ``` tsi_E_sk ```, "錫", ``` seg ```, []), ("嫧", "七迹", "清昔入三開", ``` ts_hi_E_sk ```, "錫", ``` s_heg ```, []), ("䚍", "七迹", "清昔入三開", ``` ts_hi_E_sk ```, "錫", ``` s_heg ```, []), ("磧", "七迹", "清昔入三開", ``` ts_hi_E_sk ```, "錫", ``` s_heg ```, []), ("刺", "七迹", "清昔入三開", ``` ts_hi_E_sk ```, "錫", ``` s_heg ```, []), ("𧻕", "七迹", "清昔入三開", ``` ts_hi_E_sk ```, "錫", ``` s_heg ```, []), ("洓", "七迹", "清昔入三開", ``` ts_hi_E_sk ```, "錫", ``` s_heg ```, []), ("績", "則歷", "精錫入四開", ``` tsek ```, "錫", ``` se_-g ```, []), ("債", "側賣", "莊佳去二開", ``` ts`_M_tE ```, "錫", ``` sre_-gs ```, []), ("責", "側革", "莊麥入二開", ``` ts`_M_tEk ```, "錫", ``` sre_-g ```, []), ("簀", "側革", "莊麥入二開", ``` ts`_M_tEk ```, "錫", ``` sre_-g ```, []), ("幘", "側革", "莊麥入二開", ``` ts`_M_tEk ```, "錫", ``` sre_-g ```, []), ("嘖", "側革", "莊麥入二開", ``` ts`_M_tEk ```, "錫", ``` sre_-g ```, []), ("謮", "側革", "莊麥入二開", ``` ts`_M_tEk ```, "錫", ``` sre_-g ```, []), ("債", "側革", "莊麥入二開", ``` ts`_M_tEk ```, "錫", ``` sre_-g ```, []), ("𧐐", "側革", "莊麥入二開", ``` ts`_M_tEk ```, "錫", ``` sre_-g ```, []), ("嫧", "側革", "莊麥入二開", ``` ts`_M_tEk ```, "錫", ``` sre_-g ```, []), ("蓛", "色責", "生麥入二開", ``` s`_M_tEk ```, "錫", ``` s_r_te_-g ```, []), ("栜", "山責", "生麥入二開", ``` s`_M_tEk ```, "錫", ``` s_r_te_-g ```, []), ("茦", "測革", "初麥入二開", ``` ts`_h_M_tEk ```, "錫", ``` s_hre_-g ```, []), ("蓛", "測革", "初麥入二開", ``` ts`_h_M_tEk ```, "錫", ``` s_hre_-g ```, []), ("㩍", "測革", "初麥入二開", ``` ts`_h_M_tEk ```, "錫", ``` s_hre_-g ```, []), ("策", "楚革", "初麥入二開", ``` ts`_h_M_tEk ```, "錫", ``` s_hre_-g ```, []), ("嫧", "楚革", "初麥入二開", ``` ts`_h_M_tEk ```, "錫", ``` s_hre_-g ```, []), ("䶦", "楚革", "初麥入二開", ``` ts`_h_M_tEk ```, "錫", ``` s_hre_-g ```, []), ("筴", "楚革", "初麥入二開", ``` ts`_h_M_tEk ```, "錫", ``` s_hre_-g ```, []), ("憡", "楚革", "初麥入二開", ``` ts`_h_M_tEk ```, "錫", ``` s_hre_-g ```, []), ("皟", "楚革", "初麥入二開", ``` ts`_h_M_tEk ```, "錫", ``` s_hre_-g ```, []), ("賾", "士革", "崇麥入二開", ``` dz`_M_tEk ```, "錫", ``` zre_-g ```, []), ("鰿", "士革", "崇麥入二開", ``` dz`_M_tEk ```, "錫", ``` zre_-g ```, []), ("㣱", "士革", "崇麥入二開", ``` dz`_M_tEk ```, "錫", ``` zre_-g ```, []), ("嘖", "士革", "崇麥入二開", ``` dz`_M_tEk ```, "錫", ``` zre_-g ```, []), ) ), "次": ( "pinyin": [ci4], "zi-list": ( ("咨", "即夷", "精脂平三開", ``` tsi ```, "脂", ``` sli ```, []), ("資", "即夷", "精脂平三開", ``` tsi ```, "脂", ``` sli ```, []), ("粢", "即夷", "精脂平三開", ``` tsi ```, "脂", ``` sli ```, []), ("諮", "即夷", "精脂平三開", ``` tsi ```, "脂", ``` sli ```, []), ("姿", "即夷", "精脂平三開", ``` tsi ```, "脂", ``` sli ```, []), ("澬", "即夷", "精脂平三開", ``` tsi ```, "脂", ``` sli ```, []), ("趑", "取私", "清脂平三開", ``` ts_hi ```, "脂", ``` s_h_li ```, []), ("蠀", "取私", "清脂平三開", ``` ts_hi ```, "脂", ``` s_h_li ```, []), ("茨", "疾資", "從脂平三開", ``` dzi ```, "脂", ``` z_li ```, []), ("餈", "疾資", "從脂平三開", ``` dzi ```, "脂", ``` z_li ```, []), ("垐", "疾資", "從脂平三開", ``` dzi ```, "脂", ``` z_li ```, []), ("䆅", "疾資", "從脂平三開", ``` dzi ```, "脂", ``` z_li ```, []), ("瓷", "疾資", "從脂平三開", ``` dzi ```, "脂", ``` z_li ```, []), ("澬", "疾資", "從脂平三開", ``` dzi ```, "脂", ``` z_li ```, []), ("恣", "資四", "精脂去三開", ``` tsi ```, "脂", ``` slis ```, []), ("𣣌", "資四", "精脂去三開", ``` tsi ```, "脂", ``` slis ```, []), ("𥿩", "資四", "精脂去三開", ``` tsi ```, "脂", ``` slis ```, []), ("次", "七四", "清脂去三開", ``` ts_hi ```, "脂", ``` snis ```, [《說文》從“二”聲,從甲金文看,字形並非“二”。但從《說文》的讀音說明,“次”可構擬爲#xs(``` _*_gsnids ```)>#xs(``` _*_gsn_0ids ```)>中古#xs(``` ts_hi ```),也可比較“七”#xs(``` _*_gsnid ```)>#xs(``` _*_gsn_0id ```)>中古#xs(``` ts_hit ```)。但是從“次”得聲的許多字聲母爲精、從,很可能是後來從#xs(``` _*_gsn ```)變爲#xs(``` _*_gsl ```):#xs(``` _*_gs_l_-_o ```)>#xs(``` _*_gs_-_o ```)>#xs(``` ts_-_o ```),#xs(``` _*_gs_h_l_-_o ```)>#xs(``` _*_gs_h_-_o ```)>#xs(``` ts_h_-_o ```),#xs(``` _*_gz_l_-_o ```)>#xs(``` _*_gz_-_o ```)>#xs(``` dz_-_o ```)]), ("𣣌", "七四", "清脂去三開", ``` ts_hi ```, "脂", ``` s_h_lis ```, []), ("䯸", "七四", "清脂去三開", ``` ts_hi ```, "脂", ``` s_h_lis ```, []), ("䳐", "七四", "清脂去三開", ``` ts_hi ```, "脂", ``` s_h_lis ```, []), ("佽", "七四", "清脂去三開", ``` ts_hi ```, "脂", ``` s_h_lis ```, []), ("絘", "七四", "清脂去三開", ``` ts_hi ```, "脂", ``` s_h_lis ```, []), ("𨋰", "七四", "清脂去三開", ``` ts_hi ```, "質g", ``` s_h_ligs ```, []), ("㮞", "子結", "精屑入四開", ``` tset ```, "質g", ``` si_-g ```, []), ("扻", "子結", "精屑入四開", ``` tset ```, "質g", ``` si_-g ```, [王念孫《讀書雜誌·餘篇上·莊子》:“扻”當爲“#{ box(width: 9.8pt, height: 10pt, baseline: 2pt, inset: (top: 0pt, bottom: 0pt, x: 0pt), outset: 0pt, clip: true)[#image("./svg/⿰扌次.svg")] }”的譌字。]), ("楶", "子結", "精屑入四開", ``` tset ```, "質g", ``` si_-g ```, []), ("垐", "秦力", "從職入三開", ``` dz1k ```, "職", ``` z_lMg ```, []), ) ), )
https://github.com/waterlens/resume
https://raw.githubusercontent.com/waterlens/resume/main/template.typ
typst
MIT License
#import "@preview/fontawesome:0.2.0": * #let sepline() = { v(-10pt); line(length: 100%); v(-2pt) } #let iconlink(uri, text: "", icon: fa-link()) = { link(uri)[#icon #text] } #let entry( tl: lorem(2), tr: "2333/23 - 2333/23", bl: "", br: "", content ) = { set list(indent: 10pt) block( inset: (left: 0pt), strong(tl) + h(1fr) + tr + linebreak() + if bl != "" or br != "" { bl + h(1fr) + br + linebreak() } + content ) } #let resume(body) = { set par(justify: true) let sc(content) = { show regex("[A-Z]+"): it => text(font: "Charter", it) show regex("[a-z]+"): it => text(font: "Charter", size: 0.80em, upper(it)) content } show heading.where( level: 1 ): it => [ #set align(center) #set text(size: 22pt, font: ("Charter"), weight: "regular") #block(sc(it)) ] show heading.where( level: 2 ): it => [ #set align(left) #set text(size: 12pt, font: ("Charter"), weight: "regular") #block(sc(it) + sepline()) ] set text(font: "Charter") show link: it => underline(offset: 2pt, it) set page( height: auto, margin: (x: 0.9cm, y: 1.3cm), ) set par(justify: true) body }
https://github.com/wasyro/TypstPoster
https://raw.githubusercontent.com/wasyro/TypstPoster/main/main.typ
typst
#import "@preview/cetz:0.1.2": canvas, draw // Document #set document(title: "引力と斥力を制御可能なべき集合上の分布族", author: "<NAME>") // Text #let fcolor = rgb("#28282f") #let blue = rgb("#44aec6") #let transblue = rgb("#44aec64d") #let orange = rgb("#f5ab18") #let transorange = rgb("#f5ab184d") #set par(justify: true) #set text(font: "Hiragino Kaku Gothic Pro", fill: fcolor, weight: "regular") #set strong(delta: 200) #set highlight(fill: transblue, top-edge: 0.25em) // Equations //#set math.equation(numbering: "(1)") // Headings #show heading: set text(size: 1em, weight: "medium") #show heading: set block(above: 1.5em, below: 1em) // Lists #set list(tight: true, marker: strong("•")) #set enum(tight: true) // Commands #let etr = math.upright([etr]) // Figures #set figure.caption(separator: [. ]) // Poster #let poster(body) = { // Page set page(paper: "a4", flipped: false, margin: 0.75cm) // Social let social(url, logo, body) = { link(url, stack(dir: ltr, spacing: 0.5em, image(logo, height: 1.25em), text(size: 1.25em, body))) } // Layout grid( rows: (1.5cm, 1fr), row-gutter: 1.0cm, stack( dir:ttb, spacing: 1.0em, grid( //columns: (1fr, auto, 1fr), columns: (auto, 1fr), // Title align( horizon + center, stack( dir: ttb, spacing: 1em, text(size: 1.75em, weight: "medium", [引力と斥力を制御可能なべき集合上の分布族]), text(size: 1.2em, [川島貴大 (ZOZO Research),日野英逸(統数研・理研AIP)]), ) ), // Logos /* align( horizon + center, stack( dir: ltr, spacing: 1.5cm, image("imgs/next_ism_aip_.svg", height: 0.8cm), ), ), */ // Logos & Links align( horizon + center, stack( dir: ttb, spacing: 1.0em, image("imgs/next_ism_aip_.svg", height: 0.55cm), social("https://arxiv.org/abs/2408.01022", "imgs/arxiv.svg", `arXiv:2408.01022`), ), ), ), align(center, line(length: 80%, stroke: 1.5pt + fcolor)), ), columns(2, gutter: 0.5cm, body), ) } #show: poster // Body == #highlight[背景] 台集合 $cal(Y) = {1, dots.h, N}$ からランダムに部分集合をとりだすための確率モデルを考えたい\ #h(1em)#sym.triangle.stroked.small.r 実験計画,推薦システム,確率的最適化,#sym.dots.h#sym.dots.h\ #text(blue)[*引力*]と#text(blue)[*斥力*]が重要! #image("imgs/2d_samples.svg", width: 100%) 計算機的に扱いやすく,引力と斥力を制御可能な確率モデルはこれまでなかった\ #h(1em)#sym.triangle.stroked.small.r #highlight(fill: transorange)[これらを実現する分布族*DKPP*を提案!] #let theorem(body) = [#counter("theorem").step() *Theorem #counter("theorem").display().* #body] #let showcase(body) = { rect(fill: rgb("#f5f5f7"), inset: 0.25cm, radius: 0.15cm, width: 100%, body) } == #highlight[提案モデル:DKPP] #showcase( [*DKPP(離散カーネル点過程)* $ P_(phi)(cal(A); bold(L)) = (etr(phi(bold(L)[cal(A)]))) / (Z_(phi)(bold(L))) $ $phi$:連続関数\ $bold(L)$:$N times N$の正定値カーネル行列 ] ) #h(1em)#sym.triangle.stroked.small.r $bold(L)$ がアイテム間類似度を,$phi$ が引力・斥力を制御 === #highlight[モデルの包含関係] #align(center)[#image("imgs/dkpp_venn_diagram.svg", width: 70%)] 結合係数がすべて正or負のボルツマンマシン,行列式点過程 (DPP) を内包 === #highlight[DKPPの引力・斥力] 集合関数 $log P(cal(A))$ が #list( tight: true, indent: 1em, [優モジュラ #sym.arrow 引力], [劣モジュラ #sym.arrow 斥力] ) DKPPでは,$phi$ の導関数 $phi'$ が #list( tight: true, indent: 1em, [#highlight(fill: transorange)[作用素単調増加 #sym.arrow 優モジュラ #sym.arrow 引力]], [#highlight(fill: transorange)[作用素単調減少 #sym.arrow 劣モジュラ #sym.arrow 斥力]] ) #place( bottom + left, dx: 12em, dy: -7em, rect( radius: 0.25cm, inset: 7.5pt, stroke: 2pt + blue, text( size: 12pt, )[ *作用素単調増加性*:\ $bold(A) prec.eq bold(B) arrow.r.double f(bold(A)) prec.eq f(bold(B))$ ] ) ) #colbreak() == #highlight[DKPPの計算機上での扱い] /* === #highlight[サンプリング] MCMCでがんばる */ === #highlight[モード探索] $max_(cal(A) subset.eq cal(Y)) log P_(phi)(cal(A); bold(L))$ #list( tight: true, indent: 1em, [ $log P_(phi)$ が優モジュラ #sym.arrow #text(blue)[*劣モジュラ最小化問題*] #list( tight: true, marker: sym.triangle.stroked.small.r, [#highlight(fill: transorange)[多項式時間で解ける]] ) ], [ $log P_(phi)$ が劣モジュラ #sym.arrow #text(blue)[*劣モジュラ最大化問題*] #list( tight: true, marker: sym.triangle.stroked.small.r, [#highlight(fill: transorange)[貪欲法ベースのアルゴリズムで近似解が求まる]] ) ], ) === #highlight[周辺確率・条件付き確率] $bb(P)(cal(A)_(upright(i n)) subset.eq cal(A) subset.eq cal(A)_(upright(o u t)))$ や $bb(P)(|cal(A)| = k )$ のような周辺確率は #text(fill: blue)[*Rao--Blackwell化重点サンプリング*]で効率的に推定\ Box--Cox変換 $phi_lambda (x)$ の $lambda in [0, 2]$ を動かし条件付き確率 $P_(phi_lambda)(cal(A) | |cal(A)| = k; bold(L))$ を評価\ #h(1em)#sym.triangle.stroked.small.r $lambda in [0, 1]$ で斥力,$lambda in [1, 2]$ で引力 #grid( columns: (auto, 73%), column-gutter: 1.0em, stack( dir: ttb, spacing: 0.5em, image("imgs/grid_scatter_25_400.svg", width: 100%), image("imgs/grid_gather_25_400.svg", width: 100%), ), image("imgs/cond_probs_scatter_gather.svg", width: 100%) ) #place( top + right, dx: -1em, dy: 29em, rect( radius: 0.15cm, inset: 5.0pt, stroke: 1.0pt + blue, text( dir: ltr, size: 8pt, )[ $lambda = 1$ でスイッチ ] ) ) #h(1em)#sym.triangle.stroked.small.r #highlight(fill: transorange)[たしかに引力・斥力が制御されている!]\ === #highlight[正規化定数] $Z_phi (bold(L))$ は#text(blue)[*平均場近似 + 重点サンプリング*]で推定 #grid( columns: 2, column-gutter: 1.0em, image("imgs/DKPP_logZ_gaps_is.svg", width: 100%), image("imgs/DKPP_logZ_is_varlogZ_n64.svg", width: 100%), ) #h(1em)#sym.triangle.stroked.small.r #highlight(fill: transorange)[不偏性&低バリアンス性を実現] === #highlight[パラメータの学習] カーネル行列の学習には#text(blue)[*Ratio Matching*]が有効 #showcase( [*Ratio Matching による損失関数* $ J(bold(L)) = 1 / M sum^N_(n = 1) sum^M_(m = 1) frac(etr(phi(bold(L)[cal(A)^overline(n)_m])), etr(phi(bold(L)[cal(A)_m])) + etr(phi(bold(L)[cal(A)^overline(n)_m]))) $ ] ) #h(1em)#sym.triangle.stroked.small.r #highlight(fill: transorange)[正規化定数の計算を回避&ミニバッチ化]
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/lovelace/0.1.0/examples/goto.typ
typst
Apache License 2.0
#set page(width: auto, height: auto, margin: 1em) #import "../lib.typ": * #show: setup-lovelace #pseudocode( <line:eat>, [Eat], [Train], <line:sleep>, [Sleep], [*goto* @line:eat] ) @line:sleep is of particular importance.
https://github.com/typst-community/valkyrie
https://raw.githubusercontent.com/typst-community/valkyrie/main/src/types/dictionary.typ
typst
Other
#import "../base-type.typ": base-type #import "../assertions-util.typ": assert-base-type-dictionary, assert-base-type #import "../ctx.typ": z-ctx #import "../assertions-util.typ": * #let dictionary-type = type((:)) /// Valkyrie schema generator for dictionary types. Named arguments define validation schema for entries. Dictionaries can be nested. /// /// -> schema #let dictionary( dictionary-schema, name: "dictionary", default: (:), pre-transform: (self, it) => it, aliases: (:), ..args, ) = { assert-base-type-dictionary(dictionary-schema) base-type( name: name, default: default, types: (dictionary-type,), pre-transform: (self, it) => { it = pre-transform(self, it) for (src, dst) in aliases { let value = it.at(src, default: none) if (value != none) { it.insert(dst, value) let _ = it.remove(src) } } return it }, ..args.named() ) + ( dictionary-schema: dictionary-schema, handle-descendents: (self, it, ctx: z-ctx(), scope: ()) => { if (it.len() == 0 and self.optional) { return none } // Check `it` if strict if (ctx.strict == true) { for (key, value) in it { if (key not in self.dictionary-schema) { return (self.fail-validation)( self, it, ctx: ctx, scope: scope, message: "Unknown key `" + key + "` in dictionary", ) } } } for (key, schema) in self.dictionary-schema { let entry = ( schema.validate )( schema, it.at(key, default: none), // implicitly handles missing entries ctx: ctx, scope: (..scope, str(key)) ) if (entry != none or ctx.remove-optional-none == false) { it.insert(key, entry) } } return it }, ) }
https://github.com/satler-git/rrr
https://raw.githubusercontent.com/satler-git/rrr/main/example/pdfs/en-ipsum.typ
typst
MIT License
#set par(justify: true) #set page(columns: 2) #lorem(660)
https://github.com/lucannez64/Notes
https://raw.githubusercontent.com/lucannez64/Notes/master/Allemand_10_12_2023.typ
typst
#import "template.typ": * // Take a look at the file `template.typ` in the file panel // to customize this template and discover how it works. #show: project.with( title: "Allemand 10 12 2023", authors: ( "<NAME>", ), date: "10 Décembre, 2023", ) #set heading(numbering: "1.1.") === Zusammenfassung des Textes <zusammenfassung-des-textes> Deutschland hatte ab 1879 Kolonien, besonders in Tansania, Kamerun, Togo, Namibia und auf einigen Inseln in Ozeanien. In Namibia schlugen die deutschen Siedler die Rebellion der einheimischen Herero mit äußerster Gewalt um. Dieser Völkermord ist bis heute ein Streitfall zwischen Deutschland und Namibia. === Questions <questions> + Welche deutschen Kolonien sind erwähnt? Im Text werden folgende deutschen Kolonien erwähnt: - Tansania - Kamerun - Togo - Namibia - einige Inseln in Ozeanien #block[ #set enum(numbering: "1.", start: 2) + Ab wann hat Deutschland Kolonien gehabt? ] Deutschland hat ab 1879 Kolonien gehabt. #block[ #set enum(numbering: "1.", start: 3) + Wie hieß früher Namibia? ] Früher hieß Namibia Deutsch-Südwestafrika. #block[ #set enum(numbering: "1.", start: 4) + Was passierte in Namibia? ] In Namibia schlugen deutsche Siedler die Rebellion der einheimischen Herero mit extremer Gewalt nieder. Dieser Völkermord ist bis heute ein Streitfall zwischen Deutschland und Namibia.
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/vercanard/1.0.0/README.md
markdown
Apache License 2.0
# vercanard A colorful resume template for Typst. # What does it look like? The [demo](template/main.typ) file showcases what it is possible to do. You can see the result in [the corresponding PDF](demo.pdf). # Quick usage guide First of all, copy the template to your Typst project, and import it. ```typst #import "@preview/vercanard:1.0.0": * ``` Then, call the `resume` in a global `show` rule function to use it. This function takes a few arguments that we explain in comments below: ```typst #show: resume.with( // The title of your resume, generally your name name: "<NAME>", // The subtitle, which is the position you are looking for most of the time title: "What you are looking for", // The accent color to use (here a vibrant yellow) accent_color: rgb("f3bc54"), // the margins (only used for top and left page margins actually, // but the other ones are proportional) margin: 2.6cm, // The content to put in the right aside block aside: [ = Contact // lists in the aside are right aligned - #link("mailto:<EMAIL>") - +33 6 66 66 66 66 ] ) // And finally the main body of your resume can come here ``` When writing the body, you can use level-1 headings as section titles, and format an entry with the `entry` function (that takes three content blocks as arguments, for title, description and details). ```typst = Personal projects #entry[Vercanard][A resume template for Typst][2023 — Typst] ``` # A note on the licence This template is under the GPLv3 licence, but resume built using it are not considered binary derivatives, only output from another program, so you can keep full copyright on them and chose not to licence them under a free licence.
https://github.com/SWATEngineering/Docs
https://raw.githubusercontent.com/SWATEngineering/Docs/main/src/3_PB/VerbaliInterni/VerbaleInterno_240223/content.typ
typst
MIT License
#import "meta.typ": inizio_incontro, fine_incontro, luogo_incontro #import "functions.typ": glossary, team #let participants = csv("participants.csv") = Partecipanti / Inizio incontro: #inizio_incontro / Fine incontro: #fine_incontro / Luogo incontro: #luogo_incontro #table( columns: (3fr, 1fr), [*Nome*], [*Durata presenza*], ..participants.flatten() ) = Sintesi Elaborazione Incontro Nell'incontro si è discussa l'organizzazione del lavoro futuro stabilendo quanto riportato di seguito. == Nuovi ruoli Vengono stabiliti i seguenti i nuovi incarichi relativi allo sprint corrente: - <NAME>: Responsabile; - <NAME>: Progettista; - <NAME>: Progettista e Verificatore; - <NAME>: Verificatore e Amministratore; - <NAME>: Progettista; - <NAME>: Progettista. Per questo sprint il team ha deciso di concentrare gli sforzi sull'attività di progettazione, si è dunque deciso di impiegare molte ore del ruolo di Progettista. Risulta infatti necessario avanzare con la progettazione dell'architettura in modo tale da poter successivamente dedicare un maggior numero di risorse all'attività di codifica. Il team, per limitare il rischio di context switch, ha deciso di mantenere inalterato il ruolo dei Progettisti dello sprint precedente. == Aggiornamento NdP Il documento _Norme di Progetto_ dovrà essere aggiornato con l'aggiunta di una sezione relativa alle _Specifiche Tecniche_ similmente a quanto fatto per gli altri documenti. Quest'attività sarà compito dell'Amministratore <NAME>. == Sviluppo ST Si stabilisce di concentrare la maggior parte delle risorse nella stesura del documento _Specifiche Tecniche_, seguendo i consigli e le indicazioni suggerite dal Prof. Cardin durante il colloquio organizzato in data 22/02/2024. == Altre discussioni === Programmazione e gestione delle ore Il team, preso atto delle ore e del budget rimanenti, ha stabilito che nell'ultimo sprint sono state impiegate poche risorse rispetto a quelle che si sarebbero potute impiegare e che sarebbero servite. Dunque, è stata portata l'attenzione sulla gestione delle ore rimanenti per ciascun componente; in particolare, è stato sottolineato il problema rilevato portandolo all'attenzione del Responsabile attuale, il quale dovrà effettuare una pianificazione realistica che rispetti il budget a disposizione per gli sprint futuri. Si è anche preso nota del fatto che la possibilità di non effettuare la terza revisione CA, contrariamente a quanto pianificato inizialmente, deve essere argomento di discussione all'interno del gruppo. Si tratta chiaramente di una decisione da intraprendere il più presto possibile, vista la sua importanza; verrà quindi effettuata nel prossimo meeting interno, in cui dovranno essere presenti tutti i membri del team. L'urgenza è data dal fatto che la scelta influenzerà profondamente la gestione del budget e quindi la pianificazione futura. === Codifica Si è poi valutata la possibilità di riprendere l'attività di codifica. Si è stabilito di dover attendere che l'architettura venga definita all'interno delle ST, quantomeno in una sua forma iniziale, prima di iniziare lo sviluppo del MVP. Di conseguenza, verosimilmente il gruppo programma di iniziare l'attività di codifica del prodotto nello sprint 11.
https://github.com/AJMC2002/opt-methods
https://raw.githubusercontent.com/AJMC2002/opt-methods/main/minimization/report/main.typ
typst
#set page( paper: "a4", margin: (x: 1in, y: 1in), ) #set text(size: 12pt) #set align(center) #image("./fefu_logo.jpg", width: 4%) #text( size: 10pt, [ МИНИСТЕРСТВО НАУКИ И ВЫСШЕГО ОБРАЗОВАНИЯ И НАУКИ РОССИЙСКОЙ ФЕДЕРАЦИИ Федеральное государственное автономное образовательное учреждение высшего образования *«Дальневосточный федеральный университет»* (ДВФУ) ]) #v(0.5fr) #line(length: 100%, stroke: 2pt) #v(0.5fr) *ИНСТИТУТ МАТЕМАТИКИ И КОМПЬЮТЕРНЫХ ТЕХНОЛОГИЙ* #v(1fr) *Департамент математического и компьютерного моделирования* #v(1fr) *ЛАБОРАТОРНАЯ РАБОТА №1* По основной образовательной программе подготовки бакалавров направлению 01.03.02 Прикладная математика и информатика профиль «Системное программирование» #v(1fr) #grid( columns: (1fr,1fr), [], [ #set align(left) Студент группы Б9121-02.03.01сцт <NAME> <NAME> «24» октября 2023 г. #v(24pt) Преподаватель кандидат физико-математических наук #underline(" ") #text(size: 10pt, "(подпись)") <NAME> «#underline(" ")» #underline(" ") 2023 г. ] ) #v(1fr) г. Владивосток 2023 #v(1fr) #pagebreak() #set align(left) #set par( first-line-indent: 1em, justify: true, ) = Постановка задачи Минимизировать функцию $f(x)=1/2 x^T A x + b x$, где $x in RR^6$, $A_(6 times 6)$ --- произвольная положительно определенная матрица, A∈ {R} ^ {n×n} $b$ --- произвольный ненулевой вектор размерности 6, $b in RR^(n times 1)$ $x_0$ --- произвольный начальный ненулевой вектор размера 6, отдаленный от точного решения, $x in RR^(n times 1)$ $ A^\* = mat( 65.1140547, -26.7627461, -22.0076980, -82.7767129, 35.0062152, 75.5819058; -26.7627461, 229.0660173, 19.9323298, 11.3176738, -41.5887940, 27.5077199; -22.0076980, 19.9323298, 47.8558662, 92.3011760, -20.1879154, -18.1501243; -82.7767129, 11.3176738, 92.3011760, 231.2486741, -30.5692642, -103.3184336; 35.0062152, -41.5887940, -20.1879154, -30.5692642, 130.1539779, 82.9497276; 75.5819058, 27.5077199, -18.1501243, -103.3184336, 82.9497276, 189.0452850 ) $ #align(center)[ _\*Из-за нехватки места количество записываемых десятичных цифр сократилось до 7._ ] Процедура создания матрицы $A$ заключается в создании случайной обратимой матрицы $U$ (с определителем больше 0) и присвоении $A$ равного $M^T M$. Это гарантирует, что $A$ будет положительно определенной матрицей. Тем не менее, можно убедиться, что матрица $A$ является положительно определенной, получив ее собственные значения и проверив, все ли они положительны и что $A$ симметрична. Ниже приводится набор собственных значений $A$: $ lambda = { 1.172, 17.858, 60.389, 158.527, 245.585, 408.953 } $ #grid( columns: (1fr,1fr), align(center)[$ b = vec( 9.814255243856422, -0.3400832138148502, -4.2742798826246275, 0.5729798470675629, 1.0452978781511018, -6.258477409122025 ) $], align(center)[$ x_0 = vec( -6.998099039133139, -5.532602553195874, 5.222094920523634, 3.71860843139695, -5.88821505753657, 4.175398532986163 ) $], ) $ x_("точ") = -A^(-1) b = vec( -1.550648425654797, -0.22570089760570633, 3.4869725406369905, -2.0145864008544634, 0.6327463127507499, -0.3579729727467522 ) $ = Метод градиента $ x_(k+1) = x_k - lambda f'(x_k), " где " lambda = 10^(-4) $ Первая производная функции: $f'(x) = 1/2 (A^T + A) x + b$ Приравнивая производную к нулю, получаем вектор $x_("точ") in RR^(n times 1)$ $ x_("точ") = -A^(-1) b = vec( -1.550648425654797, -0.22570089760570633, 3.4869725406369905, -2.0145864008544634, 0.6327463127507499, -0.3579729727467522 ) $ Алгоритм отработал за 44056 шагов. Условие выхода из цикла: $||x_(k+1)-x_k|| < epsilon = 10^(-6)$ _Промежуточные результаты:_ #grid( columns: (1fr,1fr), align(center)[ $ x_(m/4) = x_11014 = vec( -1.4500716845146187, -0.21372494883641005, 3.149656567106423, -1.8261452637548543, 0.5627670907322275, -0.29824844259492495 ) $ $ x_(m/2) = x_22028 = vec( -1.522979104642089, -0.22240623510501134, 3.394174723062603, -1.9627450178015173, 0.6134945745565712, -0.3415423686210524 ) $ ], align(center)[ $ x_((3 m)/4) = x_33042 = vec( -1.5430364154445284, -0.224794514518707, 3.4614432573364637, -2.0003244991282827, 0.6274500343335033, -0.35345280666431583 ) $ $ x_m = x_44056 = vec( -1.5485543121268701 , -0.22545154572209924 , 3.479949268723115 , -2.0106628589103823 , 0.6312892721038167 , -0.35672944565203696 ) $ ], ) _Промежуточные значения функционала:_ $ f(x_(m/4)) = f(x_11014) = -14.050838476532975 $ $ f(x_(m/2)) = f(x_22028) = -14.141821367913384 $ $ f(x_((3m)/2)) = f(x_33042) = -14.148707279698524 $ $ f(x_m) = f(x_44056) = -14.149228430218033 $ Значение функционала в точке $x_("точ")$: $f(x_("точ")) = -14.149271102339297$ (точное решение) _Погрешности метода градиента:_ $ Delta(x_m, x_("точ")) = vec( |x_(m 1) - x_("точ" 1)|, dots.v, |x_(m 6) - x_("точ" 6)|, ) = vec( |-1.54855431 - (-1.55064842)|, |-0.22545154 - (-0.22570089)|, |3.47994926 - 3.48697254|, |-2.01066285 - (-2.01458640)|, |0.63128927 - 0.63274631|, |-0.35672944 - (-0.35797297)| ) = vec( 0.0020941135279268774, 0.00024935188360708516, 0.007023271913875639, 0.003923541944081066, 0.0014570406469331942, 0.0012435270947152577 ) $ $ Delta(f(x_m), f(x_("точ"))) = 0.00004267212126407571 $ #figure( image("../plots/2023-11-08 13:17:18.png", width: 80%), caption: "График зависимости значения функции от номера шага методом градиентного спуска", supplement: "Рисунок" ) Следует отметить, что график не точно отражает реальное значение $f(x_("точ"))$ при приближении к точному значению. Вот почему было явно определено значение $f(x_("точ"))$, которое составляет примерно -14.149271102339297, и это значение, к которому сходится функция. = Приложения (Я.П.: Rust) Приложение для этой работы было разделено на две части. Сначала была создана библиотека общего назначения, содержащая модуль под названием «lab1», содержащий все функции алгоритма. Затем основной файл бинарного файла содержит вызовы функций для генерации матрицы, расчета и регистрации необходимых значений, а также создания графика рассчитанных значений. Весь исходный код этого приложения можно найти по адресу https://github.com/AJMC2002/opt-methods/tree/main. == Зависимости - chrono = "0.4.31" --- для регистрации в логгере времени каждого запуска. - log2 = "0.1.10" --- библиотека ведения логов. - nalgebra = "0.32.3" --- библиотека линейной алгебры. - plotters = "0.3.5" --- библиотека построения графиков. - utils = { path = "../utils" } --- пользовательская библиотека с алгоритмами, используемыми для этой работы. == Библиотека Библиотека использует три пользовательских враппер-типа: ```rust type FloatingType```, ```rust type __GenericSquareMatrix<const N: usize>``` и ```rust type __GenericVector<const N: usize>```. Они определяют общую степень точности, которой будут обладать наши значения, и быстрый способ записи универсальных типов матриц постоянного размера и векторов соответственно. Первая функция ```rust fn new_positive_definite_matrix``` генерирует случайную обратимую матрицу $M$, для которой все ее элементы ограничены аргументами `min` и `max`, затем возвращает положительно определенную матрицу $M^T M$. Далее ```rust fn gradient_method``` принимает наш начальный вектор $x_0$, параметры итерации и функцию первой производной от $f(x)$, чтобы вернуть вектор всех векторов $x_i$, полученных в нашем итерационном процессе. ```rust // utils/src/lib.rs pub type FloatingType = f64; pub mod lab1 { use nalgebra::{ArrayStorage, Const, DimMin, SquareMatrix, Vector}; use crate::FloatingType; pub type __GenericSquareMatrix<const N: usize> = SquareMatrix<FloatingType, Const<N>, ArrayStorage<FloatingType, N, N>>; pub type __GenericVector<const N: usize> = Vector<FloatingType, Const<N>, ArrayStorage<FloatingType, N, 1>>; pub fn new_positive_definite_matrix<const N: usize>( min: FloatingType, max: FloatingType, ) -> __GenericSquareMatrix<N> where Const<N>: DimMin<Const<N>, Output = Const<N>>, { loop { let m = (max - min) * __GenericSquareMatrix::<N>::new_random() + __GenericSquareMatrix::<N>::from_element(min); if m.determinant() > 0 as FloatingType { return m.transpose() * m; } } } pub fn gradient_method<const N: usize, F>( x0: &__GenericVector<N>, lambda: FloatingType, epsilon: FloatingType, f_prime: F, ) -> Vec<__GenericVector<N>> where F: Fn(&__GenericVector<N>) -> __GenericVector<N>, { let mut x_log = vec![*x0]; loop { let x = x_log.last().unwrap(); let x_next = x - lambda * f_prime(x); if (x_next - x).norm() < epsilon { break; } else { x_log.push(x_next) } } x_log } } ``` == Бинарный Для наших вычислений нам нужно получить $f(x), f'(x), (f')^(-1)(x)$. Была определена структура для хранения этих различных определений функций с учетом их параметров $A$ и $b$. ```rs // minimization/src/main.rs struct Function<const N: usize> { a: __GenericSquareMatrix<N>, b: __GenericVector<N>, } impl<const N: usize> Function<N> { fn new(a: __GenericSquareMatrix<N>, b: __GenericVector<N>) -> Self { Self { a, b } } pub fn f(&self, x: &__GenericVector<N>) -> FloatingType { (x.transpose() * self.a * x)[(0, 0)] / 2 as FloatingType + self.b.dotc(x) } pub fn f_prime(&self, x: &__GenericVector<N>) -> __GenericVector<N> { (self.a + self.a.transpose()) * x / 2 as FloatingType + self.b } pub fn f_prime_inv(&self, f_prime_val: __GenericVector<N>) -> __GenericVector<N> { 2 as FloatingType * (self.a.transpose() + self.a).try_inverse().unwrap() * (f_prime_val - self.b) } } ``` Следующая основная функция в конечном итоге оказывается довольно простой. Мы получаем нашу случайную матрицу $A$ и векторы $b$ и $x_0$, получаем нужные нам результаты, регистрируем их и генерируем наш график \*. \* _Была написана пользовательская функция ```rs fn plot_steps```, но поскольку ее реализация на самом деле не входит в рамки данной работы, она не будет обсуждаться подробно._ ```rs // minimization/src/main.rs use chrono::Local; use log2::{debug, info}; use nalgebra::{matrix, vector, Vector6}; use plotters::prelude::*; use std::error::Error; use utils::{ lab1::{__GenericSquareMatrix, __GenericVector, gradient_method, new_positive_definite_matrix}, FloatingType, }; const MIN: FloatingType = -10.0; const MAX: FloatingType = 10.0; const LAMBDA: FloatingType = 0.0001; const EPSILON: FloatingType = 0.000001; fn main() -> Result<(), Box<dyn Error>> { let _log2 = log2::open("output.log").start(); let a = new_positive_definite_matrix::<6>(MIN, MAX); let b = (MAX - MIN) * Vector6::new_random() + Vector6::from_element(MIN); let x0 = (MAX - MIN) * Vector6::new_random() + Vector6::from_element(MIN); let function = Function::new(a, b); let x_steps = gradient_method(&x0, LAMBDA, EPSILON, |x| function.f_prime(x)); let x_exact = function.f_prime_inv(Vector6::zeros()); let steps = x_steps.len() - 1; let intermediate_results = [ x_steps[0], x_steps[steps / 4], x_steps[steps / 2], x_steps[3 * steps / 4], x_steps[steps], ]; info!("a {}", a); info!("b {}", b); info!("x0 {}", x0); info!("tochnoe {}", x_exact); info!("xm {}", x_steps.last().unwrap()); info!("m (steps) {}", steps); info!( "intermediate steps\n{}", intermediate_results .iter() .enumerate() .map(|(i, it)| format!("x_{{{}m/{}}}\n{}", i, intermediate_results.len() - 1, it)) .collect::<Vec<String>>() .join("") ); info!("x (exact solution) {}", x_exact); info!( "f(intermediate steps)\n{}", intermediate_results .iter() .enumerate() .map(|(i, it)| format!( "f(x_{{{}m/{}}}) = {}\n", i, intermediate_results.len() - 1, function.f(it) )) .collect::<Vec<String>>() .join("") ); info!("f(x) (exact solution) = {}", function.f(&x_exact)); info!( "abs diff x vector = {}", (x_steps.last().unwrap() - x_exact).map(FloatingType::abs) ); info!( "abs diff f(x) = {}", (function.f(x_steps.last().unwrap()) - function.f(&x_exact)).abs() ); plot_steps( x_steps .iter() .map(|x| function.f(x)) .collect::<Vec<FloatingType>>(), )?; Ok(()) } ```
https://github.com/ChristophVanDeest/FH-Kiel-Typst-Template
https://raw.githubusercontent.com/ChristophVanDeest/FH-Kiel-Typst-Template/main/README.md
markdown
MIT License
# FH Kiel Typst Template This is an **`unofficial`** template for writing a report or thesis in the `FH Kiel` department of `Computer Science` design using [Typst](https://github.com/typst/typst). ## Required Fonts To correctly render this template please make sure that the `New Computer Modern` font is installed on your system. ## Usage To use this package just add the following code to your [Typst](https://github.com/typst/typst) document: ### Report ```typst #import "@preview/fh-kiel:1.0.0": report #show: report.with( language: "en", title: "Example title", author:"<NAME>", faculty: "Engineering and Computer Science", department: "Computer Science", include-declaration-of-independent-processing: true, ) ``` ### Bachelor Thesis ```typst #import "@preview/fh-kiel:1.0.0": bachelor-thesis #show: bachelor-thesis.with( language: "en", title-de: "Beispiel Titel", keywords-de: ("Stichwort", "Wichtig", "Super"), abstract-de: "Beispiel Zusammenfassung", title-en: "Example title", keywords-en: ("Keyword", "Important", "Super"), abstract-en: "Example abstract", author: "<NAME>", faculty: "Engineering and Computer Science", department: "Computer Science", study-course: "Bachelor of Science Informatik Technischer Systeme", supervisors: ("Prof. Dr. Example", "Prof. Dr. Example"), submission-date: datetime(year: 1948, month: 12, day: 10), include-declaration-of-independent-processing: true, ) ``` ### Master Thesis ```typst #import "@preview/fh-kiel:1.0.0": master-thesis #show: master-thesis.with( language: "en", title-de: "Beispiel Titel", keywords-de: ("Stichwort", "Wichtig", "Super"), abstract-de: "Beispiel Zusammenfassung", title-en: "Example title", keywords-en: ("Keyword", "Important", "Super"), abstract-en: "Example abstract", author: "The Computer", faculty: "Engineering and Computer Science", department: "Computer Science", study-course: "Master of Science Computer Science", supervisors: ("Prof. Dr. Example", "Prof. Dr. Example"), submission-date: datetime(year: 1948, month: 12, day: 10), include-declaration-of-independent-processing: true, ) ``` ## How to Compile This project contains an example setup that splits individual chapters into different files.\ This can cause problems when using references etc.\ These problems can be avoided by following these steps: - Make sure to always compile your `main.typ` file which includes all of your chapters for references to work correctly. - VSCode: - Install the [Tinymist Typst](https://marketplace.visualstudio.com/items?itemName=myriad-dreamin.tinymist) extension. - Make sure to start the `PDF` or `Live Preview` only from within your `main.typ` file. - If problems occur it usually helps to close the preview and restart it from your `main.typ` file. ## Examples Examples can be found inside of the [examples](https://github.com/ChristophVanDeest/FH-Kiel-Typst-Template/tree/main/examples) directory - For Bachelor theses see: [Bachelor thesis example](https://github.com/ChristophVanDeest/FH-Kiel-Typst-Template/tree/main/examples/bachelor-thesis) - For Master theses see: [Master thesis example](https://github.com/ChristophVanDeest/FH-Kiel-Typst-Template/tree/main/examples/master-thesis) - For reports see: [Report example](https://github.com/ChristophVanDeest/FH-Kiel-Typst-Template/tree/main/examples/report)
https://github.com/binhtran432k/ungrammar-docs
https://raw.githubusercontent.com/binhtran432k/ungrammar-docs/main/contents/system-design/index.typ
typst
= System Design #include "system-architecture.typ" #include "user-interface-design.typ"
https://github.com/Blezz-tech/math-typst
https://raw.githubusercontent.com/Blezz-tech/math-typst/main/Варианты/Демо вариант 2024.typ
typst
#import "/lib/my.typ": * = Демо вариант 2024 // == Задание 1.1 // #task("Задание") // Треугольник ABC вписан в окружность с центром O. Угол BAC равен $32 degree$. Найдите угол BOC. Ответ дайте в градусах. // #include "/Картинки/Демо вариант 2024/Задание 01.1.typ" // #answer("Решение") // $angle "ABC" = 1/2 ⌒ "BC" $ // $⌒ "BC" = 64degree$ // $angle "BOC" = ⌒ "BC" $ // Ответ: $64 degree$ // === Задание 1.2 // #task("Задание") // Площадь треугольника ABC равна $24$, DE - средняя линия, паралельная стороне AB. Найдите площадь треугольника CDE. // #include "/Картинки/Демо вариант 2024/Задание 01.2.typ" // #answer("Решение") // $angle$ BAC - Общий // $D E = 1/2 A B$ // $k = 1/2$ // $S_"CDE" dot S_"ABC" = k^2 = (1/2)^2$ // $S_"CDE" = S_"ABC"/4 = 24/4 = 6$ // Ответ: $6$ // == Задание 1.3 // #task("Задание") // Площадь треугольника ABC равна $24$, DE - средняя линия, паралельная стороне AB. Найдите площадь треугольника CDE. // #include "/Картинки/Демо вариант 2024/Задание 01.3.typ" // #answer("Решение") // $angle "ABC" = angle "DBA" + angle D B C = 13 degree + 13 degree = 26 degree$ // $angle "BCD" = 180 degree - angle A B C = 180 degree - 26 degree = 154 degree$ // Ответ: $154 degree$ // == Задание 1.4 (Сделать картинки) // #task("Задание") // Площадь треугольника ABC равна $24$, DE - средняя линия, паралельная стороне AB. Найдите площадь треугольника CDE. // // #include "/Картинки/Демо вариант 2024/Задание 01.4.typ" // #image("/Картинки/Демо вариант 2024/Задание 01.4.png", width: 50%) // #answer("Решение") // $S = 18 dot 24 = 27 dot h$ // $h = (18 dot 24) / 27 = 16$ // Ответ: $154 degree$ // == Задание 2.1 // #task("Задание") // На координатной плоскости изображены векторы $arrow(a)$ и $arrow(b)$. Найдите скалярное произведение $arrow(a) dot arrow(b)$. // #include "/Картинки/Демо вариант 2024/Задание 02.1-1.typ" // #answer("Решение") // #include "/Картинки/Демо вариант 2024/Задание 02.1-2.typ" // $ // overline(|a|) &= (5-1;8-2) = (4;6) \ // overline(|b|) &= (11-5;3-5) = (6;-2) \ // overline(a) dot overline(b) &= x_1 dot x_2 + y_1 dot y_2 = 4 dot 6 + 6 dot (-2) = 24 - 12 = 12 // $ // Ответ: $12$ // == Задание 2.2 // #task("Задание") // Даны векторы $arrow(a)(1;2), arrow(b)(-3;6), arrow(c)(4;-2)$. Найдите длину вектора $arrow(a) - arrow(b) + arrow(c)$. // #answer("Решение") // 1. $arrow(a) - arrow(b) + arrow(c)$ \ // $arrow(d)(1+3+4;2-6-2)$ \ // $arrow(d)(9;-6)$ // 2. $arrow(|d|) = sqrt(x^2 + y^2) = sqrt(8^2 + (-6)^2) = sqrt(100) = 10$ // Ответ: $10$ // == Задание 3.1 // #task("Задание") // B первом цилиндрическом сосуде уровень жидкости достигает $16$ см. Эту жидкость перелили во второй цилиндрический сосуд, диаметр основания которого в $2$ раза больше диаметра основания первого. На какой высоте будет находиться уровень жидкости во втором сосуде? Ответ дайте в сантиметрах. // #include "/Картинки/Демо вариант 2024/Задание 03.1.typ" // #answer("Решение") // $V = S_"Осн" dot h = pi R^2 dot 16 = pi (2R)^2 dot h$ // $R^2 dot 16 = 4 R^2 h$ // $h=4$ // Ответ: $4$ // == Задание 3.2 (Сделать картинки) // #task("Задание") // Площадь боковой поверхности треугольной призмы равна 24. Через среднюю линию основания призмы проведена плоскость, параллельная боковому ребру. Найдите площадь боковой поверхности отсечённой треугольной призмы. // // #include "/Картинки/Демо вариант 2024/Задание 03.1.typ" // #image("/Картинки/Демо вариант 2024/Задание 03.2-1.png", width: 50%) // #answer("Решение") // // #include "/Картинки/Демо вариант 2024/Задание 03.2.typ" // #image("/Картинки/Демо вариант 2024/Задание 03.2-2.png", width: 50%) // $S_"бок" = S_1 + S_2 + S_3 = 2a h + 2b h + 2c h = 2h (a + b + c) = 24$ // $h (a + b + c) = 12$ // $S_"бок отс" = a h + b h + c h = h(a+b+c+) = 12$ // Ответ: $12$ // == Задание 3.3 (Сделать картинки) // #task("Задание") // Через точку, лежащую на высоте прямого кругового конуса и делящую её в отношении $1:2$, считая от вершины конуса, проведена плоскость, параллельная его основанию и делящая конус на две части. Каков объём той части конуса, которая примыкает к его основанию, если объём всего конуса равен $54$? // // #include "/Картинки/Демо вариант 2024/Задание 03.3-1.typ" // #image("/Картинки/Демо вариант 2024/Задание 03.3-1.png", width: 50%) // #answer("Решение") // // #include "/Картинки/Демо вариант 2024/Задание 03.3-1.typ" // #image("/Картинки/Демо вариант 2024/Задание 03.3-2.png", width: 50%) // $(S O_1)/(O O_1) = 1 / 2$ // $h_1/h = 1 / 3 = k$ // $V_1 / V = k^3 = 1/27$ // $V_1 = V / 27 = 54 / 27 = 2$ // $V_"ниж" = V - V_1 = 54 - 2 = 52$ // Ответ: $52$ // == Задание 4.1 // #task("Задание") // В сборнике билетов по биологии всего $25$ билетов. Только в двух билетах встречается вопрос о грибах. На экзамене выпускнику достаётся один случайно выбранный билет из этого сборника. Найдите вероятность того, что в этом билете будет вопрос о грибах. // #answer("Решение") // $2/25 = 8/100= 0,08$ // Ответ: $0,08$ // == Задание 4.2 (Сделать картинки) // #task("Задание") // Вероятность того, что мотор холодильника прослужит более $1$ года, равна $0,8$. авероятность того, что он прослужит более $2$ лет, равна $0,6$. Какова вероятность того, что мотор прослужит более $1$ года, но не более $2$ лет? // #answer("Решение") // // #include "/Картинки/Демо вариант 2024/Задание 04.2.typ" // #image("/Картинки/Демо вариант 2024/Задание 04.2.png", width: 50%) // $P = 0,2 + x + 0,6 = 1$ // $x = 1 - 0,8 = 0,2$ // Ответ: $0,2$ // == Задание 5.1 // #task("Задание") // Симметричную игральную кость бросили $3$ раза. Известно, что в сумме выпало $6$ очков. Какова вероятность события «хотя бы раз выпало $3$ очка»? // #answer("Решение") // $A in {1,2,3,4,5,6}$ // $overline(a b c) - "число", "где" a, b, c in A$ // Причем $a + b + c = 6$ // Исключим числа 5, 6, так как // $cases( delim: "[", // 5 + 1 + 1 > 6, // 6 + 1 + 1 > 6 // )$ // Перечислим все комбинации, где $a + b + c equiv 0 (mod 6)$: // #table( // [312, 321, 123, 132, 213, 231], // [222], // [411, 141, 114] // ) // Всего чисел 10 // Нужных нам 6 // $P = 6/10 = 0,6$ // Ответ: $0,6$ // == Задание 5.2 // #task("Задание") // В городе $48%$ взрослого населения – мужчины. Пенсионеры составляют $12,6%$ // взрослого населения, причём доля пенсионеров среди женщин равна $15%$. Для // социологического опроса выбран случайным образом мужчина, проживающий // в этом городе. Найдите вероятность события «выбранный мужчина является // пенсионером». // #answer("Решение") // Пусть в городе 1000 человек. // 1. $48%$ м $arrow 480$ чел \ // $52%$ ж $arrow 520$ чел // 2. $12,6%$ м + ж $arrow 126$ чел пенсионеров всего // 3. $15%$ ж $arrow 78$ чел пенсионеров женщин // 4. $126-78 = 48$ чел пенсионеров мужчин // 5. $48/480 = 1/10 = 0,1$ // Ответ: $0,1$ // == Задание 6.1 // #task("Задание") // Найдите корень уравнения $3^(x-5) = 81$. // #answer("Решение") // $ // 3^(x-5) &= 3^4 \ // x - 5 &= 4 \ // x &= 9 // $ // Ответ: $9$ // == Задание 6.2 // #task("Задание") // Найдите корень уравнения $sqrt(3x + 49) = 10$. // #answer("Решение") // $ // 3x + 49 &= 100 \ // 3x &= 51 \ // x &= 17 // $ // Ответ: $17$ // == Задание 6.3 // #task("Задание") // Найдите корень уравнения $log_8(5x + 47) = 3$. // #answer("Решение") // $ // log_8(5x+47) &= 3 dot log_8 8 = log_8 8^2 \ // 5x + 47 &= 8^3 = 512 \ // 5x &= 465 \ // x &= 93 // $ // Ответ: $93$ // == Задание 6.4 // #task("Задание") // Решите уравнение $sqrt(2x+3) = х$. Если корней окажется несколько, то в ответе запишите наименьший из них. // #answer("Решение") // ОДЗ: $x gt.eq.slant 0$ // $ // 2x + 3 &= x^2 \ // x^2 -2x -3 &= 0 \ // x_(1;2) &= cases( delim: "[" // , -&1\, - "посторонний" // , &3\;) // $ // Ответ: $3$ // == Задание 7.1 // #task("Задание") // Найдите $sin 2 alpha$, если $cos alpha = 0,6$ и $pi < alpha < 2pi$. // #answer("Решение") // $ // sin^2 alpha + cos^2 alpha &= 1 \ // sin^2 alpha &= 0,64 \ // sin alpha &= 0,8 \ // sin 2alpha &= 2 dot (-0,8) dot 0,6 = -0,96 // $ // Ответ: $-0,96$ // == Задание 7.2 // #task("Задание") // Найдите значение выражения $16log_7 root(4, 7)$. // #answer("Решение") // $16log_7 4^(1/4) = 16 dot 1/4 log_7 7 = 4$ // Ответ: $4$ // == Задание 7.3 // #task("Задание") // Найдите значение выражение $4^(1/5) dot 16^(9/10)$. // #answer("Решение") // $4^(2/10) dot 4^(18/10) = 4^(20/10) = 4^2 = 16$ // Ответ: $16$ // == Задание 8.1 (сделать картинки) // #task("Задание") // На рисунке изображён график дифференцируемой функции $y=f(x)$. // На оси абсцисс отмечены девять точек $x_1,x_2,dots, x_9$. // // #include "/Картинки/Демо вариант 2024/Задание 8.1-1.typ" // #image("/Картинки/Демо вариант 2024/Задание 8.1-1.png", width: 50%) // Найдите все отмеченные точки, в которых производная функции $f(x)$ отрицательна. В ответе укажите количество этих точек. // #answer("Решение") // // #include "/Картинки/Демо вариант 2024/Задание 08.1-2.typ" // #image("/Картинки/Демо вариант 2024/Задание 08.1-2.png", width: 50%) // Ответ: $4$ // == Задание 8.2 (сделать и доделать картинки) // #task("Задание") // На рисунке изображён график функции $y=f(x)$ и касательаня к нему в точке с абсциссой $x_0$. Найдите значение производной функции $f(x)$ в точке $x_0$. // #include "/Картинки/Демо вариант 2024/Задание 08.2-1.typ" // #answer("Решение") // // #include "/Картинки/Демо вариант 2024/Задание 08.2-2.typ" // Написать решение // 1. Тангенс угла // 2. $dots$ // Ответ: $-1,75$ // == Задание 9.1 // #task("Задание") // Локатор батискафа, равномерно погружающегося вертикально вниз, испускает ультразвуковой сигнал частотой $749$ МГц. Приёмник регистрирует частоту сигнала, отражённого от дна океана. Скорость погружения батискафа (в м/с) и частоты связаны соотношением $ nu = c dot (f - f_0)/(f + f_0), $ где $c = 1500$ м/с – скорость звука в воде, $f_0$ – частота испускаемого сигнала (в МГц), $f$ – частота отражённого сигнала (в МГц). Найдите частоту отражённого сигнала (в МГц), если батискаф погружается со скоростью $2$ м/с. // #answer("Решение") // $ // cancel(2) &= cancel(1500) dot (f - 749) / (f + 729) \ // f + 749 &= 750 (f - 749) \ // f + 749 &= 750f - 749 dot 750 \ // cancel(749f) &= 751 dot cancel(749f) \ // f = 751 // $ // Ответ: $751$ // == Задание 10.1 // #task("Задание") // Весной катер идёт против течения реки в $1 2/3$ раза медленнее, чем по течению. Летом течение становится на $1$ км/ч медленнее. Поэтому летом катер идёт против течения в $1 1/2$ раза медленнее, чем по течению. Найдите скорость течения весной (в км/ч). // #answer("Решение") // #table( // columns: (1fr, 1fr, 1fr, 1fr), // inset: 10pt, // align: horizon, // [], [*По течению*], [*Против течения*], [*Течение*], // [Скорость Весной], [ $x+y$ ], [ $x-y$ ], [ $y$ ], // [Скорость Летом], [ $x+y-1$ ], [ $x-y+1$ ], [ $y-1$ ] // ) // $ // cases( // x+y = 5/3 (x-y), // x+y-1=3/2 (x-y+1) // ) // $ // 1. $3x+3y=5x-5y$ \ // $2x = 8y$ \ // $x = 4y$ // 2. $4y + y - 1 = 3/2 (4y-y+1)$ \ // $5y-1 = 3/2 (3y+1)$ \ // $10y-2=9y+3$ \ // $y=5$ \ // $x=20$ \ // Ответ: $5$ // == Задание 10.2 // #task("Задание") // Смешав $45%$-ный и $97%$-ный растворы кислоты и добавив $10$ кг чистой воды, получили $62%$-ный раствор кислоты. Если бы вместо $10$ кг воды добавили $10$ кг $50%$-ного раствора той же кислоты, то получили бы $72%$-ный раствор кислоты. Сколько килограммов 45%-ного раствора использовали для получения смеси? // #answer("Решение") // $ // k_1 dot & m_1 + k_2 dot & m_2 +& dots = k_3 dot & m_3 \ // & m_1 + & m_2 +& dots = & m_3 // $ // $ // cases( // 0\,45 dot m_1 + 0\,97 * m_2 + 0\,10 &= 0\,62 dot (m_1 + m_2 + 10) " " (1), // 0\,45 dot m_1 + 0\,97 * m_2 + 0\,5 dot 10 &= 0\,72 dot (m_1 + m_2 + 10) " " (2) // ) // $ // 1. $5 = 0,1 dot (m_1 + m_2 + 10)$ \ // $10 + m_1 + m_2 = 50$ \ // $m_1 + m_2 = 40$ \ // $m_2 = 40 - m_1$ // 2. $0,45 dot m_1 + 0,97 dot (40 - m_1) = 0,62 dot 50$ \ // $0,45 dot m_1 + 38,8 - 0,97 m_1 = 31$ \ // $7,8 = 0,52 m_1$ \ // $52 m_1 = 780$ \ // $m_1 = 15$ // Ответ: $15$ // == Задание 10.3 // #task("Задание") // Автомобиль, движущийся с постоянной скоростью $70$ км/ч по прямому шоссе, обгоняет другой автомобиль, движущийся в ту же сторону с постоянной скоростью $40$ км/ч. Каким будет расстояние (в километрах) между этими автомобилями через $15$ минут после обгона? // #answer("Решение") // #table( // columns: (1fr, 1fr, 1fr, 1fr), // inset: 10pt, // align: horizon, // [*№*], [*Скорость, км/ч*], [*Время, ч*], [*Расстояние, км*], // [ $1$ ], [ $70$ ], [ $1/4$ ], [ $S_1$ ], // [ $2$ ], [ $40$ ], [ $1/4$ ], [ $S_2$ ] // ) // $Delta S$ - ? // 1. $S_1 = 70/4=17,5$ // 2. $S-2 = 40/4 = 10$ // 3. $Delta S = S_1 - S_2 = 17,5 - 10 = 7,5$ // Ответ: $7,5$ // == Задание 11.1 // #task("Задание") // На рисунке изображён график функции вида $f(x) = a x^2 + b x + c,$ где числа $a,$ $b$ и $c$ — целые. Найдите значение $f(12)$. // #image("/Картинки/Демо вариант 2024/Задание 11.1-1.png", width: 30%) // #answer("Решение") // #image("/Картинки/Демо вариант 2024/Задание 11.1-2.png", width: 30%) // $ // y & = (x+4)^2 - 3 \ // y(12) &= (4 - 12)^2 -3 = 64-3 = 61 // $ // Ответ: $61$ // == Задание 12.1 // #task("Задание") // Найдите наименьшее значение функции $ y = 9x - 9 ln(x + 11) + 7 $ на отрезке $[ -10,5; 0 ]$. // #answer("Решение") // 1. $y^' = 9-9(x+11)^' 1/(x+11)$ \ // $y^' = 9-9/(x+11) = 0$ // 2. $9=9/(x+11)$ \ // $x+11 = 1$ \ // $x = -10 in [-10,5;0]$ // 3. $f(-10,5) = 9 dot (-10,5) - 9 dot ln(11 - 10,5) + 7 = -94,5 - 9 ln 1/2 + 7$ - не вычисляется \ // $f(-10) = 9 dot (-10) - 9 ln(11 - 10) + 7 = - 90 - 9 ln 1 + 7 = -83 $ \ // $f(0) = 0 - 9 ln (0 + 11) + 7$ - не вычисляется // Ответ: $-83$ // == Задание 12.2 // #task("Задание") // Найдите точку максимума функции $y = (x + 8)^2 dot e^(3 - x)$. // #answer("Решение") // 1. $y^' = ( (x^2 + 16x + 64) dot e^(3 - x) )^'$ \ // $y^' = (2x + 16) dot e^(3 - x) + e^(3 - x) dot (-1) dot (x^2 + 16x + 64)$ \ // $y^' = e^(3 - x) dot ( 2x + 16 - (x^2 + 16x + 64) )$ \ // $y^' = e^(3 - x) dot ( -x^2 - 14x - 48 ) = 0$ // 2. // #grid( // columns: (..(2, 2).map(x => (100% - 0.5em)/2)), // gutter: 0.5em, // box[ // $ // & e^(3-x) = 0 \ // & x in emptyset.normal // $ // ], // box[ // $ // -x^2 - 14x - 48 &= 0 \ // x^2 + 14x + 48 &= 0 \ // (x + 6)(x + 8) &= 0 \ // x_(1;2) = -6 ; -8 // $ // ] // ) // #image("/Картинки/Демо вариант 2024/Задание 12.2.png", width: 60%) // Ответ: $-6$ // == Задание 12.3 // #task("Задание") // Найдите точку минимума функции $y = - x / (x^2 + 256)$. // #answer("Решение") // 1. $y^' = ( (-x) / (x^2 + 256) )^' // = (-1 dot (x^2 + 256) - 2x dot x) / (x^2 + 256)^2 // = (2x^2 - x^2 - 256) / (x^2 + 256) // = (x^2 - 256) / (x^2 + 256) // = 0$ // 2. $x^2 -256 = 0$ \ // $x^2 = 256$ \ // $x = plus.minus 16$ // #image("/Картинки/Демо вариант 2024/Задание 12.3.png", width: 80%) // Ответ: $16$ // == Задание 13 // #task("Задание") // #enum(numbering: ru_alph())[ Решите уравнение $ 2sin(x+3/pi) + cos(2x) = sqrt(3) cos(x) + 1, $ // ][ Укажите корни этого уравнения, принадлежащие отрезку $[-3pi;- (3pi)/2],$ // ] // #answer("Решение") // $ // 2sin x cos pi/3 + 2cos x sin pi/3 + cos 2x &= sin x + sqrt(3) cos x \ // sin x + cancel(sqrt(3) cos x) + cos 2x &= cancel(sqrt(3) cos x) + 1 \ // sin x + cos 2x &= 1 \ // sin x + cancel(1) - sin^2 x - sin^2 x &= cancel(1) \ // 2sin^2 x - sin x &= 0 \ // sin x (2 sin x - 1) &= 0 // $ // #align(center)[ // #image("/Картинки/Демо вариант 2024/Задание 13-1.png", width: 60%) // ] // #grid( // columns: (..(2, 2).map(x => (100% - 0.5em)/2)), // gutter: 0.5em, // box[ $ sin x = 0 $ ], // box[ $ sin x = 1/2 $ ], // box[ $ x = pi n, n in Zeta $ ], // box[ // $ x in cases(delim: "[", // pi/6 + 2 pi n\;, // (5pi)/6 + 2pi n. // ) n in Z $ // ] // ) // #align(center)[ // #image("/Картинки/Демо вариант 2024/Задание 13-2.png", width: 60%) // ] // $(-2pi)/1 + pi/6 = (-11pi)/6$ // Ответ: // #enum(numbering: ru_alph())[ $pi n, pi/6 + 2 pi n, (5pi)/6 + 2pi n , n in Zeta$ // ][ $-3pi; -2pi; - (11pi)/6$ // ] // == Задание 14 // #task("Задание") // В пирамиде $A B C D$ рёбра $D A$, $D B$ и $D C$ попарно перпендикулярны, а $A B = B C = A C = 5 2$. // #enum(numbering: ru_alph())[ Докажите, что $B D = C D$. // ][ На рёбрах $D A$ и $D C$ отмечены точки $M$ и $N$ соответственно, причём $D M : M A = D N : N C = 2:3$. Найдите площадь сечения $M N B$. // ] // #answer("Решение") // #image("/Картинки/Демо вариант 2024/Задание 14-1.png", width: 30%) // #enum(numbering: ru_alph())[ // Доказать: $B D = C D$ // #enum[ // Рассмотрим $triangle.t A D C, triangle.t A D B$ // $A D perp C D, A D perp B D => triangle.t A D C, triangle.t A D B - "Прямоугольные"$ // $ cases( delim: "|", reverse: #true, // A B = A C "по условию", // A D - "общий катет" // ) => triangle.t A D C = triangle.t A D B => B D = C D$ // ч.т.д. // ] // ][ // Отметим точки $M$ и $N$ по условию $D M : M A = D N : N C = 2 : 3$. // Построим сечение, соединив точки $M$, $N$ и $B$. // $triangle.t M N B - $ сечение $A B C D$. // $S_(triangle.t B N M) - ?$. // #enum[ // Рассмотрим равнобедренный прямоугольный $triangle.t B D C$. // #image("/Картинки/Демо вариант 2024/Задание 14-2.png", width: 30%) // По теореме Пифагора // $ // a^2 + a^2 &= (5sqrt(2))^2 \ // 2a^2 &= 50 \ // a &= 5 \ // $ // $B D = D C = 5 => D N = 2; N C = 3$ // Аналогично для $triangle.t A D B => D M = 2; A M = 3 $ // ][ // Рассмотрим прямоугольный $triangle.t B D N$ // По теореме Пифагора // $B N^2 = 5^2 + 2^2$ // $B N = sqrt(29)$ // Аналогично для $triangle.t B D M => B M = sqrt(29)$ // ][ // Рассмотрим равнобедренный прямоугольный $triangle.t M D N$. // $M N = 2sqrt(2)$ // #image("/Картинки/Демо вариант 2024/Задание 14-3.png", width: 30%) // $triangle.t B M N - $ равнобедренный // $B H - $ высота, медиана // По теореме Пифагора // $B H^2 = 29 - 2$ // $B H = sqrt(27) = 3sqrt(3)$ // $S_(B M N) = 1/2 B H dot M N = 1/2 3sqrt(3) dot 2sqrt(2) = 3sqrt(6)$ // ] // ] // Ответ: $3sqrt(6)$ // == Задание 15 // #task("Задание") // Решите неравенство $log_11 (8x^2+7) - log_11 (x^2+x+1) gt.slant log_11 (x/(x+5) + 7)$ // #answer("Решение") // #enum[ // $8x^2 + 7 > 0, x in R$ // $x^2 + x + 1 = (x + 0,5)^2 + 0,75 > 0, x in R$ // $log_11 ((8x^2+7)/(x^2 + x + 1)) gt.slant log_11 (x/(x+5) + 7)$ // ][ // $ // cases( (8x^2 + 7)/(x^2+x+1) gt.slant x/(x+5) + 7 // , x/(x+5) + 7 > 0) // $ // ][ // $ // log_11 (8x^2+7)/(x^2+x+1) &gt.slant log_11 (x/(x+5) + 7) \ // (8x^2+7)/(x^2+x+1) &gt.slant (8x+35)/(x+5) \ // (8x^2+7)/(x^2+x+1) - (8x+35)/(x+5} &gt.slant 0 \ // ((8x^2+7)(x+5) - (8x+35)(x^2+x+1))/((x^2+x+1)(x+5)) &gt.slant 0 \ // (8x^3 + 40x^2 + 7x + 35 - 8x^3 - 8x^2 - 8x - 35x^2 - 35x - 35)/((x^2+x+1)(x+5)) &gt.slant 0 \ // (8x^3 + 40x^2 + 7x + 35 - 8x^3 - 43x^2 - 43x - 35)/((x^2+x+1)(x+5)) &gt.slant 0 \ // (cancel(8x^3) + 40x^2 + 7x + cancel(inverted: #true, 35) - cancel(8x^3) - 43x^2 - 43x - cancel(inverted: #true, 35))/((x^2+x+1)(x+5)) &gt.slant 0 \ // (-3x^2-36x)/((x^2+x+1)(x+5)) &gt.slant 0 \ // x(x+12)/((x^2+x+1)(x+5)) &lt.slant 0 // $ // #image("/Картинки/Демо вариант 2024/Задание 15-1.png", width: 80%) // $x_1 in (-inf; -12] union (-5; 0)$ // ][ // $ // x/(x+5) + 7 &> 0 \ // (8x+35)/(x+5) &> 0 // $ // #image("/Картинки/Демо вариант 2024/Задание 15-2.png", width: 80%) // $x_2 in (-inf; -5) union [-35/8; +inf)$ // ][ // #image("/Картинки/Демо вариант 2024/Задание 15-3.png", width: 80%) // $x_1 sect x_2$ // ] // Ответ: $(-inf; -12] union [-35/8;0]$ == Задание 16 #task("Задание") #answer("Решение") Ответ: $$ == Задание 17 #task("Задание") #answer("Решение") Ответ: $$ == Задание 18 #task("Задание") #answer("Решение") Ответ: $$ == Задание 19 #task("Задание") #answer("Решение") Ответ: $$ == Задание 20 #task("Задание") #answer("Решение") Ответ: $$
https://github.com/infolektuell/gradle-typst
https://raw.githubusercontent.com/infolektuell/gradle-typst/main/CHANGELOG.md
markdown
MIT License
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] ## [0.4.0] - 2024-10-22 ### Added - Support for generating documents of a source set in multiple output formats (PDF, PNG, and SVG). - Target file names in Typst tasks became a task input. - Typst tasks have optional `packagePath` and `packageCachePath` inputs. The plugin tries to set them if possible. - `localPackages` property in `TypstExtension` which is configured with a platform-dependent convention where local Typst packages are installed. ### Changed - `TypstSourceSet.merged` was moved to PDF output configuration. - Tracking files in local packages and passing to Typst CLI is opt-out now and must be disabled for older Typst versions. Package directory is tracked in Gradle only if it exists. ### Removed - `useLocalPackages` function in `TypstSourceSet` ## [0.3.0] - 2024-10-19 ### Added - `TypstCompileTask` now takes creation date as an optional task input, also configurable via extension. See [SOURCE_DATE_EPOCH specification] for more information. - Utility value source that queries the date from a git revision as a UNIX timestamp that can be passed to `typst.creationTimestamp` extension property [SOURCE_DATE_EPOCH specification]: https://reproducible-builds.org/specs/source-date-epoch/ ## [0.2.0] - 2024-10-19 ### Changed - System fonts are ignored by default. For Typst versions older than 0.12.0 to run successfully, the `useSystemFonts` property of `TypstCompileTask` must be set to `true`. ## [0.1.0] - 2024-10-15 ### Added - Task to compile multiple Typst documents in parallel - Task to merge multiple PDF files - Task to convert images using ImageMagick - Tasks to download and install Typst from GitHub releases - DSL extension to configure Typst version and multiple source sets - Some auxiliary value sources for git has and latest GitHub release [unreleased]: https://github.com/infolektuell/gradle-typst/compare/v0.4.0...HEAD [0.4.0]: https://github.com/infolektuell/gradle-typst/compare/v0.3.0...v0.4.0 [0.3.0]: https://github.com/infolektuell/gradle-typst/compare/v0.2.0...v0.3.0 [0.2.0]: https://github.com/infolektuell/gradle-typst/compare/v0.1.0...v0.2.0 [0.1.0]: https://github.com/infolektuell/gradle-typst/releases/tag/v0.1.0
https://github.com/paugarcia32/CV
https://raw.githubusercontent.com/paugarcia32/CV/main/modules_es/event.typ
typst
Apache License 2.0
#import "../brilliant-CV/template.typ": * #cvSection("Eventos") #cvEvent( title: "HackBCN", date: "2024", url: "https://www.hackbcn.com/en", logo: "../src/logos/hackbcn.png", description: list( [Hackathon con temática de IA], [Equipos de 3 integrantes], ), ) #cvEvent( title: "HackUPC", date: "2024", url: "https://hackupc.com/", logo: "../src/logos/hackupc.jpeg", description: list( [Hackathon de estudiantes], [Equipos de 4 integrantes], [Desarrollo de un proyecto de sensorización en tiempo real], ), )
https://github.com/LDemetrios/Typst4k
https://raw.githubusercontent.com/LDemetrios/Typst4k/master/src/test/resources/suite/visualize/square.typ
typst
// Test the `square` function. --- square --- // Default square. #box(square()) #box(square[hey!]) --- square-auto-sized --- // Test auto-sized square. #square(fill: eastern)[ #set text(fill: white, weight: "bold") Typst ] --- square-relatively-sized-child --- // Test relative-sized child. #square(fill: eastern)[ #rect(width: 10pt, height: 5pt, fill: conifer) #rect(width: 40%, height: 5pt, stroke: conifer) ] --- square-contents-overflow --- // Test text overflowing height. #set page(width: 75pt, height: 100pt) #square(fill: conifer)[ But, soft! what light through yonder window breaks? ] --- square-height-limited --- // Test that square does not overflow page. #set page(width: 100pt, height: 75pt) #square(fill: conifer)[ But, soft! what light through yonder window breaks? ] --- square-size-width-and-height --- // Size wins over width and height. // Error: 09-20 unexpected argument: width #square(width: 10cm, height: 20cm, size: 1cm, fill: rgb("eb5278")) --- square-relative-size --- // Test relative width and height and size that is smaller // than default size. #set page(width: 120pt, height: 70pt) #set align(bottom) #let centered = align.with(center + horizon) #stack( dir: ltr, spacing: 1fr, square(width: 50%, centered[A]), square(height: 50%), stack( square(size: 10pt), square(size: 20pt, centered[B]) ), ) --- square-circle-alignment --- // Test alignment in automatically sized square and circle. #set text(8pt) #box(square(inset: 4pt)[ Hey there, #align(center + bottom, rotate(180deg, [you!])) ]) #box(circle(align(center + horizon, [Hey.]))) --- square-circle-overspecified --- // Test that minimum wins if both width and height are given. #stack( dir: ltr, spacing: 2pt, square(width: 20pt, height: 40pt), circle(width: 20%, height: 40pt), ) --- square-height-limited-stack --- // Test square that is limited by region size. #set page(width: 20pt, height: 10pt, margin: 0pt) #stack(dir: ltr, square(fill: forest), square(fill: conifer)) --- square-overflow --- // Test that square doesn't overflow due to its aspect ratio. #set page(width: 40pt, height: 25pt, margin: 5pt) #square(width: 100%) #square(width: 100%)[Hello there] --- square-size-relative-invalid --- // Size cannot be relative because we wouldn't know // relative to which axis. // Error: 15-18 expected length or auto, found ratio #square(size: 50%) --- square-rect-rounded --- #set square(size: 20pt, stroke: 4pt) // no radius for non-rounded corners #stack( dir: ltr, square(), h(10pt), square(radius: 0pt), h(10pt), square(radius: -10pt), ) #stack( dir: ltr, square(), h(10pt), square(radius: 0%), h(10pt), square(radius: -10%), ) // small values for small radius #stack( dir: ltr, square(radius: 1pt), h(10pt), square(radius: 5%), h(10pt), square(radius: 2pt), ) // large values for large radius or circle #stack( dir: ltr, square(radius: 8pt), h(10pt), square(radius: 10pt), h(10pt), square(radius: 12pt), ) #stack( dir: ltr, square(radius: 45%), h(10pt), square(radius: 50%), h(10pt), square(radius: 55%), ) --- square-base --- // Test that square sets correct base for its content. #set page(height: 80pt) #square(width: 40%, rect(width: 60%, height: 80%))
https://github.com/andymeneely/examify.typst
https://raw.githubusercontent.com/andymeneely/examify.typst/master/examples/full/example_exam.typ
typst
MIT License
#import "@local/exam:0.1.0": * #import "./questions/hello_world.typ" as hello_world #import "./questions/lorem_ipsum.typ" as lorem_ipsum #cover_sheet[ = Introduction to Exams = Final Exam = Professor Plum #v(3cm) Name: $underline(#h(12cm))$ #v(3cm) - Answer the questions in the spaces provided. - This exam has #num_questions() questions and totals to #total_points() points ] #pagebreak() #hello_world #lorem_ipsum
https://github.com/typst/packages
https://raw.githubusercontent.com/typst/packages/main/packages/preview/cineca/0.1.0/lib.typ
typst
Apache License 2.0
#import "/util/utils.typ": minutes-to-datetime, events-to-calendar-items, default-header-style, default-item-style, default-time-style // Make a calendar with events. #let calendar( // Event list. // Each element is a four-element array: // // - Index of day. Start from 0. // - Float-style start time. // - Float-style end time. // - Event body. Can be anything. Passed to the template.body to show more details. // // Float style time: a number representing 24-hour time. The integer part represents the hour. The fractional part represents the minute. events, // Then range of hours, affacting the range of the calendar. hour-range: (8, 20), // Height of per minute. Each minute occupys a row. This number is to control the height of each row. minute-height: 0.8pt, // Templates for headers, times, or events. It takes a dictionary of the following entries: `header`, `time`, and `event`. template: (:), // A stroke style to control the style of the default stroke, or a function taking two parameters `(x, y)` to control the stroke. The first row is the dates, and the first column is the times. stroke: none ) = { let items = events-to-calendar-items(events, hour-range.at(0)) let days = items.keys().len() let hours = hour-range.at(1) - hour-range.at(0) let style = ( header: default-header-style, time: default-time-style, event: default-item-style, ..template ) let minutes-offset = hour-range.at(0) * 60 let stroke-shape = if type(stroke) == "stroke" { stroke } else { 0.1pt + black } let stroke-rule = if type(stroke) == "function" { stroke } else { (x, y) => ( right: if y < (hours * 60 + 1) { stroke-shape } else { 0pt }, top: if x > 0 { if y < 1 { stroke-shape } else if calc.fract((y - 1) / 60) == 0 { stroke-shape } else { 0pt } } ) } grid( columns:(auto,) + (1fr,)*days, rows: (auto, ) + (minute-height,) * hours * 60 + (8pt,), fill: white, stroke: stroke-rule, [], ..array.range(days).map(d => (style.header)(d)), ..array.range(hours * 60 + 1).map(y => { array.range(days + 1).map(x => { if x == 0 { if calc.fract(y / 60) == 0 { let hour = calc.trunc(y / 60) + hour-range.at(0) let t = datetime(hour: hour, minute: 0, second: 0) (style.time)(t) } else [] } else { if items.keys().contains(str(x)) { if items.at(str(x)).keys().contains(str(y)) { let (last, body) = items.at(str(x)).at(str(y)) show: block.with(inset: (x: 2pt, y: 0pt), width: 100%) place({ block( width: 100%, height: (last) * minute-height, { (style.event)(..(minutes-to-datetime(y + minutes-offset), body)) } ) }) } } } }) }).flatten() ) }
https://github.com/mitinarseny/invoice
https://raw.githubusercontent.com/mitinarseny/invoice/main/invoice.typ
typst
#import "./src/invoice.typ": invoice #import "./src/utils.typ": parse_date, start_of_month #let data = yaml(sys.inputs.at("config", default: "./invoice.yaml")) #{ data.issue_date = if "issue_date" in data { parse_date(data.issue_date) } else { datetime.today() } data.due_date = if "due_date" in data { parse_date(data.due_date) } else { data.issue_date + duration(days: 15) } data.id = data.at("id", default: data.issue_date.display("[month]/[year]")) data.service.period = data.service.at("period", default: (:)) data.service.period.from = if "from" in data.service.period { parse_date(data.service.period.from) } else { start_of_month(data.issue_date) } if "to" in data.service.period { data.service.period.to = parse_date(data.service.period.to) } if "dated" in data.service.at("contract", default: (:)) { data.service.contract.dated = parse_date(data.service.contract.dated) } data.signature.date = if "date" in data.signature { parse_date(data.signature.date) } else { data.issue_date } if "sign" in data.signature { data.signature.sign = image(data.signature.sign) } } #set document( title: [ Invoice #if "id" in data [№#data.id], ], author: data.contractor.name, date: data.signature.date, ) #set text(font: "Arial", size: 10pt, lang: "en") #invoice( id: data.at("id", default: none), issue_date: data.issue_date, due_date: data.due_date, contractor: data.contractor, billed_to: data.billed_to, service: data.service, additional_items: data.at("additional_items", default: ()), payment: data.payment, signature: data.signature, )
https://github.com/Pablo-Gonzalez-Calderon/chic-header-package
https://raw.githubusercontent.com/Pablo-Gonzalez-Calderon/chic-header-package/main/chic-hdr.typ
typst
MIT License
/* * Chic-header - A package for Typst * <NAME> (c) 2023 * * chic-hdr.typ -- The package's main file containing * the chic() function * * This file is under the MIT license. For more * information see LICENSE on the package's main folder. */ #import "lib/props.typ": * #import "lib/functions.typ": * // Import public functions /* * chic * * Chic-header package main function. It receives all the * parameters to modify the header and the footer of the document * * Parameters: * - width: Width of headers and footers * - skip: Which pages must not have a header and footer * - even: Header and footer for even pages * - odd: Header and footer for odd pages * - options: Header and footer for all non-specified pages, and * general header and footer options for all pages. */ #let chic(width: 100%, skip: (), even: none, odd: none, ..options) = { // both-options is used in case `even` is specified or `odd` is specified, but not both, or when none of them are specified let both-options = chic-generate-props(width, options.pos()) let even-options = none let odd-options = none // Final properties let page-options = ( header: none, footer: none, margin: both-options.margin, header-ascent: both-options.header-ascent, footer-descent: both-options.footer-descent ) // Load even and odd properties if even != none { even-options = chic-generate-props(width, even) } if odd != none { odd-options = chic-generate-props(width, odd) } // Sometimes users give an integer value inside parenthesis // instead of an array. So, handle this cases to avoid unwanted // user reports of bugs/errors in the package if type(skip) == int { skip = array((skip,)) } // Load header and footer for option in ("header", "footer") { page-options.at(option) = locate(loc => { // Convert 'skip' negative indexes to positive indexes let positive-skip = skip.map((index) => { if index >= 0{ index } else { let last-page = counter(page).final(loc).last() + 1 last-page + index } }) if loc.page() not in positive-skip { // Skip given pages if calc.odd(loc.page()) { // Odd pages if odd != none { odd-options.at(option) } else { both-options.at(option) } } else { // Even pages if even != none { even-options.at(option) } else { both-options.at(option) } } } }) } set page( ..page-options ) // Rest of the document options.pos().last() }
https://github.com/jgm/typst-hs
https://raw.githubusercontent.com/jgm/typst-hs/main/test/typ/compute/foundations-14.typ
typst
Other
#eval("[_Hello" + " World!_]")
https://github.com/ngyngcphu/tick3d-docs
https://raw.githubusercontent.com/ngyngcphu/tick3d-docs/main/referrences.typ
typst
Apache License 2.0
#align(center, text(15pt)[*Tài liệu tham khảo*])
https://github.com/jasmerri/tsumo
https://raw.githubusercontent.com/jasmerri/tsumo/main/src/frontend.typ
typst
MIT License
#import "./display.typ": display #import "./parser.typ" #let mahjong(input, ..args, parser: parser.mpsz) = { let parser = if parser == none { a => a } else { parser } return display(parser(input), ..args) }
https://github.com/rabotaem-incorporated/algebra-conspect-1course
https://raw.githubusercontent.com/rabotaem-incorporated/algebra-conspect-1course/master/sections/04-linear-algebra/13-linear-mappings.typ
typst
Other
#import "../../utils/core.typ": * == Линейные отображения #ticket[Линейные отображения. Примеры. Ядро и образ] #def[ Пусть $V, W$ --- линейные пространства над полем $K$. Отображение $Aa: V --> W$ называется линейным, если: + $forall v, v' in V: Aa(v + v') = Aa v + Aa v'$ + $forall v in V space forall alpha in K: Aa(alpha v) = alpha Aa v$ ] #example[ + $K[x] --> K[x]$, $f maps f'$ + $M_(m, n)(K) --> M_(n, m)(K)$, $A maps A^T$ + $C in M_(n, p)(K):$ $M_(m, n) --> M_(m, p)(K) space A maps A C$ + $E = (e_1, ..., e_n)$ --- базис $V$, тогда: \ $K^n --> V$ \ $b maps E mul b$ ] #def[ Множество всех линейных отображений $V --> W$ обозначается $Hom(V, W).$ _Образ линейного отображения_ --- $Im Aa = {Aa v bar v in V}$. _Ядро линейного отображения_ --- $Ker Aa = {v bar v in V space Aa v = 0}$. ] #lemma[ $Aa in Hom(V, W) ==> Aa(0) = 0$ ] #proof[ $Aa(0) = Aa(0 + 0) = Aa(0) + Aa(0) ==> Aa(0) = 0.$ ] #pr[ $Im Aa < W$, $Ker Aa < V$ ] #proof[ В образе лежит линейная комбинация: $ alpha underbrace(Aa v, in Im Aa) + beta underbrace(Aa u, in Im Aa) = Aa(alpha v + beta u) in Im Aa. $ В ядре лежит линейная комбинация: $ Aa v = 0 and Aa u = 0 ==> Aa(alpha v + beta u) = 0 ==> alpha v + beta u in Ker Aa. $ ] #notice[ Если имеется система линейных уравнений $A x = b$, то ее можно рассматривать как отображение $A: K^n limits(-->)^Aa K^n$ ($x maps A x$). ${x bar A x = b} = {x bar Aa(x) = b} = Aa^(-1)(b)$. В частности, ${x bar A x = 0} = Ker A$. ] #pr[ Пусть $Aa in Hom(V, W)$. Тогда $Aa$ инъективно $iff$ $Ker Aa = 0$ ] #proof[ + #["$==>$": #h(1fr) $ cases(Ker Aa = Aa^(-1)(0), 0 in Ker Aa, Aa #[--- инъективно]) ==> Ker Aa = 0. $] + "$<==$": \ пусть $Aa v_1 = Aa v_2 ==> Aa(v_1 - v_2) = Aa v_1 - Aa v_2 = 0 ==> v_1 - v_2 in Ker Aa = 0 ==> v_1 = v_2 $ ] #ticket[Связь между размерностями ядра и образа] #pr[ Пусть $Aa in Hom(V, W)$, $dim V = n < oo$. Тогда $Im Aa$ конечномерен и $ underbrace(dim Ker Aa, #[Дефект $Aa$, $space.thin delta(Aa)$]) + underbrace(dim Im Aa, #[Ранг $Aa$, $rk Aa$]) = n. $ ] #proof[ $d = dim Ker Aa$, $sq(e, d)$ --- базис $Ker Aa$, $sq(e, d)$ --- ЛНС в $V$. $sq(e, d + 1, n)$ --- дополнение ее до базиса $V$. Докажем, что $Aa e_(d + 1), ..., Aa e_n$ --- базис $Im Aa$. Рассмотрим $w in Im Aa$. $w = Aa(v), v = alpha e_1 + ... + alpha_n e_n$. Значит $ w = underbrace(alpha_1 Aa(e_1) + ... + alpha_d Aa(e_d), #[$0$, так как $e_1, ..., e_n in Ker Aa$]) + alpha_(d+1) Aa(e_(d+1)) + ... + alpha_n Aa(e_n) ==> w in Lin(e_(d + 1), ..., e_n). $ Пусть какая-то линейная комбинация оказалась нулевой: $ lambda_(1) Aa e_(d + 1) + ... + lambda_(n - d) Aa e_n = 0 ==> Aa(lambda_(1) e_(d + 1) + ... + lambda_(n - d) e_n) = 0. $ Значит $lambda_1 e_(d+1) + ... + lambda_(n - d)e_n in Ker Aa ==> lambda_1 e_(d+1) + ... + lambda_(n-d)e_n = alpha_1e_1 + ... + alpha_d e_d$ для некоторых $alpha_1, ..., alpha_d$. Перенеся все налево, $ (-alpha_1)e_1 + ... + (-alpha_d)e_d + lambda_1e_(d+1) + ... + lambda_(n-d)e_n = 0 $ Значит $lambda_1e_(d+1) + ... + lambda_(n-d)e_n = 0$. Таким образом, $dim Im Aa = n - d$. ] #follow[ Рассмотрим однородную систему линейных уравнений $A x = 0$. $A in M_(m, n)(K)$. Тогда $dim {x bar A x = 0} = n - rk A$. ] #proof[ Рассмотрим $Aa: K^n --> K^m$ ($x maps A x$). $ dim Ker Aa &= dim K^n - dim Im Aa = n - dim {A x bar x in K^n} =\ &= n - dim Lin(mcol(A, 1), ..., mcol(A, n)) = n - rk A. $ ]
https://github.com/maxgraw/bachelor
https://raw.githubusercontent.com/maxgraw/bachelor/main/apps/document/src/4-concept/definition.typ
typst
Nachdem die Zielgruppen- und Anforderungsanalyse abgeschlossen ist, wird im Folgenden auf Grundlage der zuvor gesammelten Informationen eine kurze Definition der Anwendung sowie eine Abgrenzung des Konzepts zu bereits bestehenden Anwendungen vorgenommen. Die Anwendung stellt eine Konstruktionsumgebung für Möbelsysteme auf Basis von WebXR dar. Als Möbelsystem wird hierbei ein System von Möbelstücken verstanden, die miteinander kombiniert und erweitert werden können. Im Zuge dieser Arbeit wird das Möbelsystem "Stackcubes" verwendet, um die Implementierung der Anwendung zu demonstrieren. Das Hauptmerkmal der Anwendung liegt in der Interaktion mit diesem System. Hierbei kann aus bereitgestellten Möbelstücken ein individuelles Möbelstück zusammengestellt werden. Die Anbindung oder Einbindung von Augmented Reality ist in vielen Anwendungen bereits vorhanden. Im @applications-chapter wurden exemplarisch Anwendungen von IKEA und Wayfair vorgestellt. Allerdings beschränken sich viele Anwendungen auf die reine Darstellung von Objekten wie in diesem Fall Möbelstücken. Die Anwendung dieser Arbeit geht, wie zuvor festgestellt, einen Schritt weiter und stellt die Interaktion mit diesen Objekten in den Vordergrund.
https://github.com/chamik/gympl-skripta
https://raw.githubusercontent.com/chamik/gympl-skripta/main/cj-dila/22-bajecna-leta.typ
typst
Creative Commons Attribution Share Alike 4.0 International
#import "/helper.typ": dilo, hrule #dilo("Báječná léta pod psa", "pes", "<NAME>", "<NAME>", "2. pol. 20. st. současná literatura", "ČSR", "1992", "epika", "román") #columns(2, gutter: 1em)[ *Téma*\ Dětství a dospívání během normalizace *Motivy*\ normalizace, komunismus, rodina, dětství *Časoprostor*\ 1968--1989 (přesně normalizace)\ Praha, Sázava *Postavy* \ _Kvido_ -- hlavní hrdina, tlustý, neohrabaný, inteligentní, zamilovaný do Jarušky, uměl číst a psát velmi brzo, všechny šokoval; autorovo alter-ego\ _Jaruška_ -- nejlepší kamarádka, přítelkyně a žena Kvida, nechala se sbalit z lítosti po smrti kvídova dědečka, alergická\ _matka_ -- herečka, právnička, ochotná, milá; bojí se psů, jeden ji napadl při těhotenství\ _otec_ -- inteligentní, z chudých poměrů, antikomunista, ekonom, rád pracuje se dřevem\ _bratr Paco_ -- ve škole průměrný, spí pod širákem, hraje si na kovboje\ _spousta vedlejších postav_ -- je to román\ *Kompozice* -- fascinující\ retrospektivní, úryvky ze "současnosti", občas úryvky básní, občas drama, občas deník (ich-forma); někdy vyprávění, někdy rozhovory s nakladatelem; kapitoly pouze očíslovány #colbreak() *Vypravěč*\ er-forma, ale ne objektivní, ale z pohledu Kvida *Jazykové prostředky*\ ironie, satira, humor, nadsázka; jazyk živý, spisovný i hovorový; vulgarismy, dialogy; anglicismy, germanismy *Obsah*\ Vyprávění o dětství, mládí a dospívání Kvida během normalizace. Narození v divadle. Okupace, nucené odstěhování do Posázaví. Ve škole potká lásku Jarušku. Ředitelka obdivuje jeho inteligenci, tak jim zařídí vlastní bydlení. Otec nechce vstoupit do strany, tak mu nezvednou plat. Kvido je pověřen zajistit vnuka. *Literárně historický kontext*\ Autor v době normalizace sám žil, proto je částečně autobiografická. Knihu nikdo nechtěl vydat, že je napsaná "divně". Viewegh za ni dostal Ortenovu cenu (literární 30 pod 30). Volné pokračování Báječná léta s Klausem. <NAME> byla reálně jeho žena. 1997 zfilmováno, hraje zarytý pravičák <NAME> a Libuše Šafránková. ] #pagebreak() *Ukázka* *5. října 1968*\ Dneska jsem se ve školce zřekl moučníku ve prospěch Jarušky Mackové. (Včera byl pomeranč.) Při odpoledním spaní mi na oplátku ukázala pohlaví. *6. října 1968*\ Macková chtěla vidět mé pohlaví! Řekl jsem jí, že jí dám zítra moučník. Matka je čím dál nervóznější. Otec jí večer navrhl, aby si někam vyšli, ale za čtvrt hodiny byli zpátky, protože ve tmě spadli do odpadního kanálu u Polské ubytovny. Smrděli jako dlouho nemytí tchoři. Což jsem jim také řekl. #hrule() Kvido si schůzky s redaktorem domlouval tak, aby se jejich datum shodovalo se dny, kdy Jaruška jezdívala za Zitou; vypravovali se potom do Prahy společně. „Víte, že zrovna O’Neill si vymínil, že jeho _autobiografické_ drama nesmí vyjít dříve než čtvrt století po jeho smrti?“ smál se redaktor, když mu Kvido pověděl o matčině dopisu. „Už v době, kdy si tuhle podmínku kladl, nikdo z jeho rodiny dávno nežil! Váš problém je, že to chcete vydat ještě v čase, kdy žijou úplně všichni.“ „Babička má údajně rakovinu a otec už si dělá rakev,“ řekl suše Kvido. „Vypadá to nadějně.“ „Ironie bude vaše parketa,“ smál se redaktor. „Pořád vám to říkám.“ #pagebreak()
https://github.com/JamesWilmot/cheatsheets
https://raw.githubusercontent.com/JamesWilmot/cheatsheets/main/solidjs/main.typ
typst
// https://github.com/quarto-dev/quarto-cli/discussions/9530 #set page( paper: "a4", flipped: false, margin: 2cm, header: align(right)[ SolidJS Cheatsheet ], numbering: "1", ) #set text(font: "Arial", size: 11pt) #outline() == Template Bindings ```tsx export default function App() { const name = "<NAME>"; const count = 1; const toggled = true; const html = "<strong>Highlighted</strong>"; return ( <> <p>Hello {name}</p> <p>{`Hello ${name}`}</p> <p>Count: {count}, Doubled {count * 2}</p> <p>Toggled: {toggled ? "👀" : "🙈"}</p> <p innerHTML="<em>Emphasized</em>"></p> <p innerHTML={html}></p> </> ); } ``` #pagebreak() == Reactivity ```tsx import { createSignal } from "solid-js"; export default function App() { const [count, setCount] = createSignal(0); const [numbers, setNumbers] = createSignal([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]); const [profile, setProfile] = createSignal({ name: "<NAME>", active: true }); return ( <> {/* Update primitive type */} <button onClick={() => setCount((count) => count + 1)}>Count: {count()}</button> {/* Update array */} <button onClick={() => setNumbers((numbers) => [...numbers, numbers.length + 1]) } > {JSON.stringify(numbers())} </button> {/* Update object */} <button onClick={() => setProfile((profile) => ({ ...profile, active: !profile.active })) } > {JSON.stringify(profile())} </button> </> ); } ``` == Computed/Derived Values ```tsx import { createMemo, createSignal } from "solid-js"; export default function App() { const [count, setCount] = createSignal(0); const doubled = count() * 2; // ...or cache results if doing expensive computations: // const doubled = createMemo(() => count() * 2); return ( <button onClick={() => setCount((count) => count + 1)}> Count: {count} Doubled: {doubled} </button> ); } ``` #pagebreak() == Loops ```tsx import { createSignal, Index, For } from "solid-js"; export default function App() { const [todos, setTodos] = createSignal([ { id: 1, title: "Clean room" }, { id: 2, title: "Wash dishes" }, { id: 3, title: "Buy milk" } ]) return ( <ul> {/* This works similar to React (non-keyed) */} {todos().map((todo, index) => ( <li> {index}: {todo.title} </li> ))} {/* ..but this is the recommended method (keyed by reference) */} <For each={todos()}> {(todo, index) => <li> {index()}: {todo.title} </li> } </For> {/* ..or this (keyed by index) */} <Index each={todos()}> {(todo, index) => <li> {index}: {todo().title} </li> } </Index> </ul> ); } ``` #pagebreak() == Conditional Rendering ```tsx import { createSignal, Show } from "solid-js"; import { createSignal, Match, Show, Switch } from "solid-js"; export default function App() { const [toggled, setToggled] = createSignal(false); const [count, setCount] = createSignal(0); return ( <> <button onClick={() => setToggled((toggled) => !toggled)}> Toggle </button> {/* This works similar to React */} {toggled && <p>Visible</p>}f {toggled() ? <p>Toggle: On</p> : <p>Toggle: Off</p>} {/* ..but this is the recommended method */} <Show when={toggled()}><p>Visible</p></Show> <Show when={toggled()} fallback={<p>Toggle: Off</p>}><p>Toggle: On</p></Show> <button onClick={() => setCount(count => count + 1)}> Count: {count()} </button> {/* For multiple mutually exclusive conditions */} <Switch fallback={<p>Not divisible by either 2 or 3</p>}> <Match when={count() % 2 === 0}> <p>Divisible by 2</p> </Match> <Match when={count() % 3 === 0}> <p>Divisible by 3</p> </Match> </Switch> </> ); } ``` #pagebreak() == Component Props ```tsx import { mergeProps } from "solid-js"; const BookCard = (props) => { props = mergeProps({ title: "Unknown", author: "Unknown"}, props); return ( <div> <p>Title: {props.title}</p> <p>Author: {props.author}</p> </div> ) } const ProfileCard = (props) => { return ( <div> <p>Name: {props.profile.name}</p> <p>Location: {props.profile.location}</p> </div> ); } export default function App() { const book = { title: "<NAME> #2", author: "<NAME>" }; const profile = { name: "<NAME>", location: "USA" }; return ( <> {/* Use default values for props */} <BookCard /> {/* Use static values for props */} <BookCard title="<NAME> #1" author="<NAME>" /> {/* Use dynamic values for props */} <BookCard title={book.title} author={book.author} /> <ProfileCard profile={profile} /> </> ); } ``` #pagebreak() == Component Slots ```tsx import { Show } from "solid-js"; const Layout = (props) => { return ( <div> <div>{props.header}</div> <Show when={props.sidebar}>{props.sidebar}</Show> <div>{props.children}</div> <Show when={props.footer} fallback={<p>Powered by SolidJS</p>}>{props.footer}</Show> </div> ); }; export default function App() { return ( <Layout header={<h1>Title</h1>}> Lorem ipsum dolor sit amet... </Layout> ); } ``` == Component Lifecycle ```tsx import { createSignal, onMount, onCleanup, Show } from "solid-js"; const Message = () => { onMount(() => console.log("Mounted")); onCleanup(() => console.log("Unmounted")); return <p>Hello</p>; }; export default function App() { const [toggled, setToggled] = createSignal(false); return ( <> <button onClick={() => setToggled((toggled) => !toggled)}>Toggle</button> <Show when={toggled()}><Message /></Show> </> ); } ``` #pagebreak() == DOM Events ```tsx import { createSignal } from "solid-js"; export default function App() { const [count, setCount] = createSignal(0); const increment = (e) => setCount((count) => count + 1); return ( <> {/* Handle event inline */} <button onClick={() => setCount((count) => count + 1)}>Count: {count()}</button> {/* Handle event in function */} <button onClick={increment}>Count: {count}</button> </> ); } ``` #pagebreak() == Custom Events ```tsx import { createSignal } from "solid-js"; const Counter = (props) => { const [count, setCount] = createSignal(0); const increment = () => { setCount((count) => count + 1); // Not really a custom event, more of a callback. props.onIncremented && props.onIncremented({ count }); }; return <button onClick={increment}>Count: {count}</button>; }; export default function App() { const [count, setCount] = createSignal(0); const handleIncremented = (e) => { setCount(e.count); }; return ( <> <p>Count: {count()}</p> <Counter onIncremented={handleIncremented} /> </> ); } ``` #pagebreak() == Form Input Bindings ```tsx import { createSignal } from "solid-js"; export default function App() { const [name, setName] = createSignal("<NAME>"); const [isActive, setIsActive] = createSignal(true); const [gender, setGender] = createSignal("M"); const [rating, setRating] = createSignal(5); const [notes, setNotes] = createSignal("Lorem ipsum dolor sit amet"); return ( <form> <div> <label> Name <input type="text" value={name()} onInput={(e) => setName(e.target.value)} /> </label> </div> <div> <label> Active <input type="checkbox" checked={isActive()} onChange={(e) => setIsActive(e.target.checked)} /> </label> </div> <div> <label> Gender <select value={gender()} onChange={(e) => setGender(e.target.value)} > <option value="M">Male</option> <option value="F">Female</option> </select> </label> </div> <div> Level <label> <input type="radio" name="rating" value={1} checked={rating() === 1} onChange={(e) => setRating(+e.target.value)} />{" "} 1 </label> <label> <input type="radio" name="rating" value={2} checked={rating() === 2} onChange={(e) => setRating(+e.target.value)} />{" "} 2 </label> <label> <input type="radio" name="rating" value={3} checked={rating() === 3} onChange={(e) => setRating(+e.target.value)} />{" "} 3 </label> <label> <input type="radio" name="rating" value={4} checked={rating() === 4} onChange={(e) => setRating(+e.target.value)} />{" "} 4 </label> <label> <input type="radio" name="rating" value={5} checked={rating() === 5} onChange={(e) => setRating(+e.target.value)} />{" "} 5 </label> </div> <div> <label> Notes <textarea value={notes()} onInput={(e) => setNotes(e.target.value)} /> </label> </div> </form> ); } ``` #pagebreak() == State Management ```tsx import { render } from "solid-js/web"; import { createStore, produce } from "solid-js/store"; const createCountStore = () => { const [state, setState] = createStore({ count: 0 }); return { state: state, increment: () => setState(({ count }) => ({ count: count + 1})), // ...can also be written as // increment: () => setState("count", (count) => count + 1), decrement: () => setState(({ count }) => ({ count: count - 1})) // ...can also be written as // decrement: () => setState("count", (count) => count - 1) } } const store = createCountStore(); const CountDisplay = () => { return <p>Count: {store.state.count}</p>; }; const CountIncrement = () => { return ( <button onClick={() => store.increment()}> Increment </button> ); }; const CountDecrement = () => { return ( <button onClick={() => store.decrement()}> Decrement </button> ); }; export default function App() { return ( <> <CountDisplay /> <CountIncrement /> <CountDecrement /> </> ); } ``` == References https://hackmd.io/@fendaya/rkMxmLRR_#React-Vue-3-Svelte-and-SolidJS-Cheatsheets
https://github.com/eigenein/typst-templates
https://raw.githubusercontent.com/eigenein/typst-templates/main/example.typ
typst
MIT License
#import "letter.typ": letter #show: doc => letter( doc, from: ( ( name: "Dhr. <NAME>", email: "<EMAIL>", phone: "0123456789", meta: (BSN: "12345678"), ), ( name: "<NAME>", email: "<EMAIL>", phone: "0123456789", ), ), reply: (address: "Straat 24", zip: "2345 BC", city: "Den Haag"), to: ( name: "<NAME>", department: "Consectetur adipiscing elit", address: "Straat 1", zip: [1234 AB], city: "Amsterdam", ), date: [22 maart 2023], subject: [Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt], ) #lorem(100) #lorem(50) #lorem(50)
https://github.com/TypstApp-team/typst
https://raw.githubusercontent.com/TypstApp-team/typst/master/tests/typ/compiler/repr.typ
typst
Apache License 2.0
// Test representation of values in the document. --- // Literal values. #auto \ #none (empty) \ #true \ #false --- // Numerical values. #1 \ #1.0e-4 \ #3.15 \ #1e-10 \ #50.368% \ #0.0000012345pt \ #4.5cm \ #12e1pt \ #2.5rad \ #45deg \ #1.7em \ #(1cm + 0em) \ #(2em + 10pt) \ #2.3fr --- // Colors and strokes. #set text(0.8em) #rgb("f7a205") \ #(2pt + rgb("f7a205")) // Strings and escaping. #raw(repr("hi"), lang: "typc") #repr("a\n[]\"\u{1F680}string") // Content. #raw(lang: "typc", repr[*Hey*]) // Functions. #let f(x) = x #f \ #rect \ #(() => none) // Types. #int \ #type("hi") \ #type((a: 1))
https://github.com/vmysak/modern-cv-typst
https://raw.githubusercontent.com/vmysak/modern-cv-typst/main/src/definitions/cv-page-items.typ
typst
Apache License 2.0
#import "../my-config.typ": * #let _defaultSize = (left: 1fr, right: 1fr); #let _textBlock(items, body) = { grid( columns: (1fr), rows: (auto), ..items.enumerate().map(((i, item)) => { return grid.cell(inset: inset-row(i), align(left)[#item]) }) ) body } #let _keyValueBlock(items, body) = { let size = items.at("size", default: _defaultSize) let align-to = items.at("align-to", default: left) let inset-row(i) = { ( top: if i > 1 { 5pt } else { 0pt }, ) } [#grid( columns: (size.left, size.right), rows: (auto), ..items.data.enumerate().map(((i, item)) => { if calc.even(i) { return grid.cell(inset: inset-row(i), align(left)[#item]) } else { return grid.cell(inset: inset-row(i), align(align-to)[#item]) } }) )<keyValueBlock>] body } #let _experienceBlock(project, body) = { let position = project.at("position", default: "") let name = project.at("name", default: "") let company = project.at("company", default: "") let dates = project.at("dates", default: "") let description = project.at("description", default: ([],)) show: _keyValueBlock.with(( size: size50x50, align-to: right, data: ( [=== #position], [#company<bold-desat>], [#name<bold-desat>], [#dates], ), )) show: _textBlock.with(description) body } #let cvItem = ( keyValueBlock: _keyValueBlock, textBlock: _textBlock, experienceBlock: _experienceBlock, )
https://github.com/Shuenhoy/citext
https://raw.githubusercontent.com/Shuenhoy/citext/master/example.typ
typst
MIT License
#import "package/lib.typ": * #let bib = init_citation(read("test.bib")) #show: show-extcite.with(bib: bib) @texbook @zjugradthesisrules @latex2e @zjugradthesisrules<citeauthor> @zjugradthesisrules<citep> @lesk:1977<citet> @latex:companion<citep> // #show bibliography: none #bibliography("test.bib", style: "gb-7714-2015-numeric") = 参考文献 #extbib(bib)