Content update
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user