157 lines
4.2 KiB
Typst
157 lines
4.2 KiB
Typst
//chiffre
|
|
#let fe = str.from-unicode(0x16A0) + h(0.5pt)
|
|
#let ur = str.from-unicode(0x16A2) + h(0.5pt)
|
|
#let tur = str.from-unicode(0x16A6)+ h(0.5pt)
|
|
#let an = str.from-unicode(0x16A8)+ h(0.5pt)
|
|
#let rai = str.from-unicode(0x16B1)+ h(0.5pt)
|
|
#let kau = str.from-unicode(0x16B2)+ h(0.5pt)
|
|
#let geb = str.from-unicode(0x16B7)+ h(0.5pt)
|
|
#let wun = str.from-unicode(0x16B9)+ h(0.5pt)
|
|
#let hag = str.from-unicode(0x16BA)+ h(0.5pt)
|
|
#let nau = str.from-unicode(0x16BE)+ h(0.5pt)
|
|
#let je = str.from-unicode(0x16C3)+ h(0.5pt)
|
|
#let ei = str.from-unicode(0x16C7)+ h(0.5pt)
|
|
//symbole math
|
|
#let ing = h(2pt) + str.from-unicode(0x16DD) + h(2pt)
|
|
#let ti = h(2pt) + str.from-unicode(0x16CF) + h(2pt)
|
|
#let al = h(2pt) + str.from-unicode(0x16C9) + h(2pt)
|
|
#let dag = h(2pt) + str.from-unicode(0x16DE) + h(2pt)
|
|
#let lag = h(2pt) + str.from-unicode(0x16DA) + h(2pt)
|
|
#let so = h(2pt) + str.from-unicode(0x16CA) + h(2pt)
|
|
#let man = h(2pt) + str.from-unicode(0x16D7) + h(2pt)
|
|
#let eh = h(2pt) + str.from-unicode(0x16D6) + h(2pt)
|
|
#let per = h(2pt) + str.from-unicode(0x16C8) + h(2pt)
|
|
#let ber = h(2pt) + str.from-unicode(0x16D2) + h(2pt)
|
|
#let uber = h(2pt) + "!" + str.from-unicode(0x16D2) + h(2pt)
|
|
#let naing = h(2pt) + str.from-unicode(0x16DC) + h(2pt)
|
|
#let ehwing = h(2pt) + str.from-unicode(0x16D6) + str.from-unicode(0x16DD) + h(2pt)
|
|
#let maning = h(2pt) + str.from-unicode(0x16D7) + str.from-unicode(0x16DD) + h(2pt)
|
|
#let suz = h(2pt) + str.from-unicode(0x16AD) + h(2pt)
|
|
#let zus =h(2pt) + rotate(180deg)[#str.from-unicode(0x16AD)]+ h(2pt)
|
|
//variable
|
|
#let inc = text(font: "Noto Sans Phoenician")[#str.from-unicode(0x10901) #h(0.5pt)]
|
|
#let v1 = text(font: "Noto Sans Phoenician")[#str.from-unicode(0x10907) #h(0.5pt)]
|
|
#let com = text(font: "Noto Sans Phoenician")[#str.from-unicode(0x10900) #h(0.5pt)]
|
|
#let ens = text(font: "Noto Sans Phoenician")[#str.from-unicode(0x10988) #h(0.5pt)]
|
|
#let v2 = text(font: "Noto Sans Phoenician")[#str.from-unicode(0x1090C) #h(0.5pt)]
|
|
#let v3 = text(font: "Noto Sans Phoenician")[#str.from-unicode(0x10919) #h(0.5pt)]
|
|
#let pol1 = text(font: "Noto Sans Phoenician")[#str.from-unicode(0x178D) #h(0.5pt)]
|
|
#let pol2 = text(font: "Noto Sans Phoenician")[#str.from-unicode(0x1788) #h(0.5pt)]
|
|
#let v4 = text(font: "Noto Sans Phoenician")[#str.from-unicode(0x1090E) #h(0.5pt)]
|
|
|
|
#table(
|
|
columns: 3,
|
|
align: center,
|
|
//chiffre
|
|
[symbole usuel],[symbole du DM],[prononciation],
|
|
[0],$fe$,[fé],
|
|
[1],$ur$,[ur],
|
|
[2],$tur$,[tur],
|
|
[3],$an$,[an],
|
|
[4],$rai$,[rai],
|
|
[5],$kau$,[kau],
|
|
[6],$geb$,[gèb],
|
|
[7],$wun$,[wun],
|
|
[8],$hag$,[hag],
|
|
[9],$nau$,[nau],
|
|
[10],$je$,[je],
|
|
[11],$ei$,[ei],
|
|
//symbole math
|
|
$=$,$ing$,[ing/i ng],
|
|
$+$,$ti$,[ti],
|
|
$-$,$al$,[al],
|
|
$times$,$dag$,[dag],
|
|
$div$,$lag$,[lag],
|
|
$in$,$so$,[so],
|
|
$forall$,$per$,[per],
|
|
$exists$,$ber$,[ber],
|
|
$>$,$man$,[man],
|
|
$<$,$eh$,[e],
|
|
$>=$,$man ing$,[maning],
|
|
$<=$,$eh ing$,[ehwing],
|
|
$!=$,$naing$, [naing/na i ng],
|
|
$subset$,$suz$, [suz],
|
|
$supset$,$zus$, [zus],
|
|
)
|
|
|
|
#let b12(n) ={ let rep = ""
|
|
let tmp = 0
|
|
if n == 1 {"1"}
|
|
else if n == 0 {"0"}
|
|
else{
|
|
for i in range(calc.ceil(calc.log(n,base :10))){
|
|
tmp = calc.rem(n,12)
|
|
if tmp == 11 {
|
|
rep = rep + "b"
|
|
}
|
|
else if tmp == 10 {
|
|
rep = rep + "a"
|
|
}
|
|
else{
|
|
rep = rep + str(tmp)
|
|
}
|
|
n = calc.quo(n,12)
|
|
}
|
|
rep = str.rev(rep)
|
|
let i = 0
|
|
while rep.first() == "0"{
|
|
rep = rep.slice(1, rep.len())
|
|
}
|
|
rep
|
|
}
|
|
}
|
|
|
|
#let na(n) ={ let rep = b12(n)
|
|
let r = ""
|
|
for i in range(rep.len()){
|
|
if rep.at(i) == "b" {
|
|
r = r + ei
|
|
}
|
|
else if rep.at(i) == "a" {
|
|
r = r + je
|
|
}
|
|
else if rep.at(i) == "9" {
|
|
r = r + nau
|
|
}
|
|
else if rep.at(i) == "8" {
|
|
r = r + hag
|
|
}
|
|
else if rep.at(i) == "7" {
|
|
r = r + wun
|
|
}
|
|
else if rep.at(i) == "6" {
|
|
r = r +geb
|
|
}
|
|
else if rep.at(i) == "5" {
|
|
r = r + kau
|
|
}
|
|
else if rep.at(i) == "4" {
|
|
r = r + rai
|
|
}
|
|
else if rep.at(i) == "3" {
|
|
r = r + an
|
|
}
|
|
else if rep.at(i) == "2" {
|
|
r = r + tur
|
|
}
|
|
else if rep.at(i) == "1" {
|
|
r = r + ur
|
|
}
|
|
else if rep.at(i) == "0" {
|
|
r = r + fe
|
|
}
|
|
}
|
|
r
|
|
}
|
|
|
|
#pagebreak()
|
|
|
|
#let oui(s,n) = for i in range(s,n+1){
|
|
($#i _10 = #b12(i)_(12) ing #na(i)_#na(12)$,)
|
|
}
|
|
|
|
#grid(
|
|
columns: 1,
|
|
gutter: 5pt,
|
|
..oui(0,100)
|
|
) |