Forced Stylistic Changes
This commit is contained in:
@@ -52,7 +52,12 @@
|
||||
#include "Chapter4.typ"
|
||||
#include "Chapter5.typ"
|
||||
|
||||
#bibliography("References.yaml", title: "บรรณานุกรม", full: true, style: "chicago-author-date")
|
||||
#bibliography(
|
||||
"References.yaml",
|
||||
title: "บรรณานุกรม",
|
||||
full: true,
|
||||
style: "nong-khai-technical-college-project-guidelines.csl",
|
||||
)
|
||||
|
||||
#pagebreak()
|
||||
|
||||
@@ -61,16 +66,24 @@
|
||||
#let image-credits() = context {
|
||||
let figures = query(figure.where(kind: "i-figured-image"))
|
||||
let attributions = query(<afig>)
|
||||
let offset = 0
|
||||
|
||||
for (idx, f) in figures.enumerate() {
|
||||
if (idx >= attributions.len()) {
|
||||
return
|
||||
}
|
||||
|
||||
if attributions.at(idx).body.body == [] {
|
||||
offset += 1
|
||||
|
||||
if attributions.at(idx + offset).body.body == [] {
|
||||
continue
|
||||
}
|
||||
}
|
||||
|
||||
f.caption
|
||||
// f.counter.display(f.numbering)
|
||||
h(2.2em)
|
||||
attributions.at(idx).body.body
|
||||
attributions.at(idx + offset).body.body
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user