Content update

This commit is contained in:
2026-02-27 10:55:24 +07:00
parent 3b1d18b001
commit 9b3e813327
53 changed files with 1549 additions and 698 deletions
+65 -17
View File
@@ -36,7 +36,7 @@
grid(
columns: 3,
column-gutter: 1fr,
it.indented(it.prefix(), it.body()),
[#h(3.25em * (it.level - 1)) #it.prefix() #it.body()],
h(1em),
context page-numbering(counter(page).at(it.element.location()).first()),
),
@@ -55,39 +55,84 @@
if current-page > outline-pages {
fake-h1("สารบัญ (ต่อ)")
v(1em)
h(1fr)
[หน้า]
}
}
}
#outline(depth: 2, indent: 3.75em)
#place(center, heading()[สารบัญ])
#linebreak()
#linebreak()
#h(1fr)
หน้า
#outline(title: none, depth: 2, indent: 3.75em)
]
#pagebreak()
#import "@preview/i-figured:0.2.4"
#i-figured.outline(target-kind: table, title: [สารบัญตาราง])
#[
#show outline.entry: it => {
show linebreak: [ ]
link(
it.element.location(),
grid(
columns: 3,
column-gutter: 1fr,
[#h(3.25em * (it.level - 1)) #it.prefix().children.at(2) #it.body()],
h(1em),
context page-numbering(
counter(page).at(it.element.location()).first(),
),
),
)
}
#pagebreak()
#place(center, heading[สารบัญตาราง])
#linebreak()
#linebreak()
ตารางที่
#h(1fr)
หน้า
#i-figured.outline(
title: [สารบัญภาพ],
)
#i-figured.outline(target-kind: table, title: none)
#pagebreak()
#place(center, heading[สารบัญรูป])
#linebreak()
#linebreak()
รูปที่
#h(1fr)
หน้า
#i-figured.outline(
title: none,
)
]
#show heading: i-figured.reset-counters
#show figure: i-figured.show-figure
#include "Chapter1.typ"
#include "Chapter2/Chapter2.typ"
#include "Chapter3/Chapter3.typ"
#include "Chapter4.typ"
#include "Chapter5.typ"
#[
#show figure.caption.where(position: bottom): it => place(
center,
it,
dy: 2em,
)
#include "Chapter1.typ"
#include "Chapter2/Chapter2.typ"
#include "Chapter3/Chapter3.typ"
#include "Chapter4.typ"
#include "Chapter5.typ"
]
#bibliography(
"References.yaml",
title: "บรรณานุกรม",
full: true,
style: "nong-khai-technical-college-project-guidelines.csl",
style: "nktc-style.csl",
)
#pagebreak()
@@ -117,8 +162,12 @@
}
f.caption
linebreak()
h(2.2em)
h(3.8em)
if (idx + offset >= 9) {
h(0.5em)
}
attributions.at(idx + offset).body.body
linebreak()
}
@@ -128,4 +177,3 @@
]
#include "ภาคผนวก/ภาคผนวก.typ"
#include "History.typ"