This commit is contained in:
Le_Foucheur committed 2025-03-15 23:59:07 +01:00
1 parent c22e2ebb8b
commit e1556d397a
7 files changed
+520 -478

No files matched your search

+158 -108
View File
@@ -1,16 +1,16 @@
//chiffre
#let fe = text(font: "FreeMono")[#str.from-unicode(0x16A0)] + h(0.5pt)
#let ur = text(font: "FreeMono")[#str.from-unicode(0x16A2)] + h(0.5pt)
#let tur = text(font: "FreeMono")[#str.from-unicode(0x16A6)]+ h(0.5pt)
#let an = text(font: "FreeMono")[#str.from-unicode(0x16A8)]+ h(0.5pt)
#let rai = text(font: "FreeMono")[#str.from-unicode(0x16B1)]+ h(0.5pt)
#let kau = text(font: "FreeMono")[#str.from-unicode(0x16B2)]+ h(0.5pt)
#let geb = text(font: "FreeMono")[#str.from-unicode(0x16B7)]+ h(0.5pt)
#let wun = text(font: "FreeMono")[#str.from-unicode(0x16B9)]+ h(0.5pt)
#let hag = text(font: "FreeMono")[#str.from-unicode(0x16BA)]+ h(0.5pt)
#let nau = text(font: "FreeMono")[#str.from-unicode(0x16BE)]+ h(0.5pt)
#let je = text(font: "FreeMono")[#str.from-unicode(0x16C3)]+ h(0.5pt)
#let ei = text(font: "FreeMono")[#str.from-unicode(0x16C7)]+ h(0.5pt)
#let tur = text(font: "FreeMono")[#str.from-unicode(0x16A6)] + h(0.5pt)
#let an = text(font: "FreeMono")[#str.from-unicode(0x16A8)] + h(0.5pt)
#let rai = text(font: "FreeMono")[#str.from-unicode(0x16B1)] + h(0.5pt)
#let kau = text(font: "FreeMono")[#str.from-unicode(0x16B2)] + h(0.5pt)
#let geb = text(font: "FreeMono")[#str.from-unicode(0x16B7)] + h(0.5pt)
#let wun = text(font: "FreeMono")[#str.from-unicode(0x16B9)] + h(0.5pt)
#let hag = text(font: "FreeMono")[#str.from-unicode(0x16BA)] + h(0.5pt)
#let nau = text(font: "FreeMono")[#str.from-unicode(0x16BE)] + h(0.5pt)
#let je = text(font: "FreeMono")[#str.from-unicode(0x16C3)] + h(0.5pt)
#let ei = text(font: "FreeMono")[#str.from-unicode(0x16C7)] + h(0.5pt)
//symbole math
#let ing = math.class("relation", text(font: "FreeMono")[#str.from-unicode(0x16DD)])
#let ti = math.class("vary", text(font: "FreeMono")[#str.from-unicode(0x16CF)])
@@ -23,11 +23,17 @@
#let per = math.class("unary", text(font: "FreeMono")[#str.from-unicode(0x16C8)])
#let ber = math.class("unary", text(font: "FreeMono")[#str.from-unicode(0x16D2)])
#let uber = math.class("unary", [!] + h(-1pt) + text(font: "FreeMono")[#str.from-unicode(0x16D2)])
#let naing = math.class("relation",text(font: "FreeMono")[#str.from-unicode(0x16DC)])
#let ehwing = math.class("relation", text(font: "FreeMono")[#str.from-unicode(0x16D6)] + text(font: "FreeMono")[#str.from-unicode(0x16DD)])
#let maning = math.class("relation", text(font: "FreeMono")[#str.from-unicode(0x16D7)] + text(font: "FreeMono")[#str.from-unicode(0x16DD)])
#let naing = math.class("relation", text(font: "FreeMono")[#str.from-unicode(0x16DC)])
#let ehwing = math.class(
"relation",
text(font: "FreeMono")[#str.from-unicode(0x16D6)] + text(font: "FreeMono")[#str.from-unicode(0x16DD)],
)
#let maning = math.class(
"relation",
text(font: "FreeMono")[#str.from-unicode(0x16D7)] + text(font: "FreeMono")[#str.from-unicode(0x16DD)],
)
#let suz = math.class("relation", h(2pt) + text(font: "FreeMono")[#str.from-unicode(0x16AD)] + h(2pt))
#let zus = math.class("relation", h(2pt) + rotate(180deg)[#text(font: "FreeMono")[#str.from-unicode(0x16AD)]]+ h(2pt))
#let zus = math.class("relation", h(2pt) + rotate(180deg)[#text(font: "FreeMono")[#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)]
@@ -44,21 +50,21 @@
#let rac(body) = context {
let taille = measure(dm(body))
line(start: (-1pt,5.6pt), end: (-1pt, -taille.height), stroke: 0.5pt)
line(start: (-1pt, 5.6pt), end: (-1pt, -taille.height), stroke: 0.5pt)
body
line(start: (1pt,5.6pt), end: (1pt, -taille.height), stroke: 0.5pt)
line(start: (-taille.width -2pt,-taille.height+2pt), end: (0pt, -taille.height -2.34pt), stroke: 0.5pt)
line(start: (-taille.width -2pt,-taille.height -2.34pt), end: (0pt, -taille.height +2pt), stroke: 0.5pt)
line(start: (1pt, 5.6pt), end: (1pt, -taille.height), stroke: 0.5pt)
line(start: (-taille.width - 2pt, -taille.height + 2pt), end: (0pt, -taille.height - 2.34pt), stroke: 0.5pt)
line(start: (-taille.width - 2pt, -taille.height - 2.34pt), end: (0pt, -taille.height + 2pt), stroke: 0.5pt)
}
#let nrac(body, n) = context {
let taille = measure(dm(body))
let taillen = measure(dm(n))
line(stroke: 0.5pt, start: (-1pt,5.6pt), end: (-1pt, -taille.height))
line(stroke: 0.5pt, start: (-1pt, 5.6pt), end: (-1pt, -taille.height))
body
line(stroke: 0.5pt, start: (1pt,5.6pt), end: (1pt, -taille.height))
line(stroke: 0.5pt, start: (-taille.width -2pt,-taille.height+2pt), end: (0pt, -taille.height -2.34pt))
line(stroke: 0.5pt, start: (-taille.width -2pt,-taille.height -2.34pt), end: (0pt, -taille.height +2pt))
move(text(taille.height/1.4)[#n], dx: 0pt - (taille.width + taillen.width/2)/2 , dy: -taille.height -3.5pt)
line(stroke: 0.5pt, start: (1pt, 5.6pt), end: (1pt, -taille.height))
line(stroke: 0.5pt, start: (-taille.width - 2pt, -taille.height + 2pt), end: (0pt, -taille.height - 2.34pt))
line(stroke: 0.5pt, start: (-taille.width - 2pt, -taille.height - 2.34pt), end: (0pt, -taille.height + 2pt))
move(text(taille.height / 1.4)[#n], dx: 0pt - (taille.width + taillen.width / 2) / 2, dy: -taille.height - 3.5pt)
h(-taillen.width + 1.5pt)
}
@@ -66,123 +72,167 @@
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 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],
$sqrt(a)$,$rac(a)$,[naz],
$root(n,a)$,$nrac(a,n)$,[$n$-naz],
$in$,$so$,[so],
$forall$,$per$,[per],
$exists$,$ber$,[ber],
$exists!$,$uber$,[uber],
$>$,$man$,[man],
$<$,$eh$,[e],
$>=$,$man ing$,[maning],
$<=$,$eh ing$,[ehwing],
$!=$,$naing$, [naing/na i ng],
$subset$,$suz$, [suz],
$supset$,$zus$, [zus],
$=$,
$ing$,
[ing/i ng],
$+$,
$ti$,
[ti],
$-$,
$al$,
[al],
$times$,
$dag$,
[dag],
$div$,
$lag$,
[lag],
$sqrt(a)$,
$rac(a)$,
[naz],
$root(n, a)$,
$nrac(a, n)$,
[$n$-naz],
$in$,
$so$,
[so],
$forall$,
$per$,
[per],
$exists$,
$ber$,
[ber],
$exists!$,
$uber$,
[uber],
$>$,
$man$,
[man],
$<$,
$eh$,
[e],
$>=$,
$man ing$,
[maning],
$<=$,
$eh ing$,
[ehwing],
$!=$,
$naing$,
[naing/na i ng],
$subset$,
$suz$,
[suz],
$supset$,
$zus$,
[zus],
)
$
ur ti ur ing tur
$
#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"
#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)
}
else{
rep = rep + str(tmp)
rep = str.rev(rep)
let i = 0
while rep.first() == "0" {
rep = rep.slice(1, rep.len())
}
n = calc.quo(n,12)
}
rep = str.rev(rep)
let i = 0
while rep.first() == "0"{
rep = rep.slice(1, rep.len())
}
rep
rep
}
}
#let na(n) ={ let rep = b12(n)
#let na(n) = {
let rep = b12(n)
let r = ""
for i in range(rep.len()){
for i in range(rep.len()) {
if rep.at(i) == "b" {
r = r + ei
}
else if rep.at(i) == "a" {
} else if rep.at(i) == "a" {
r = r + je
}
else if rep.at(i) == "9" {
} else if rep.at(i) == "9" {
r = r + nau
}
else if rep.at(i) == "8" {
} else if rep.at(i) == "8" {
r = r + hag
}
else if rep.at(i) == "7" {
} else if rep.at(i) == "7" {
r = r + wun
}
else if rep.at(i) == "6" {
r = r +geb
}
else if rep.at(i) == "5" {
} else if rep.at(i) == "6" {
r = r + geb
} else if rep.at(i) == "5" {
r = r + kau
}
else if rep.at(i) == "4" {
} else if rep.at(i) == "4" {
r = r + rai
}
else if rep.at(i) == "3" {
} else if rep.at(i) == "3" {
r = r + an
}
else if rep.at(i) == "2" {
} else if rep.at(i) == "2" {
r = r + tur
}
else if rep.at(i) == "1" {
} else if rep.at(i) == "1" {
r = r + ur
}
else if rep.at(i) == "0" {
} else if rep.at(i) == "0" {
r = r + fe
}
}
r
}
#pagebreak()
#set par(leading: -3pt)
#let oui(s,n) = for i in range(s,n+1){
#let oui(s, n) = for i in range(s, n + 1) {
($#i _10 = #b12(i)_(12) ing #nrac(na(i), na(i))$,)
}
#grid(
columns: 1,
gutter: 5pt,
..oui(0,300)
)
#grid(columns: 1, gutter: 5pt, ..oui(0, 300))