phd-typst/main.typ

81 lines
1.6 KiB
Plaintext
Raw Normal View History

2024-07-09 10:45:16 +01:00
#import "@preview/chic-hdr:0.4.0": *
2024-07-09 11:07:16 +01:00
#import "@preview/i-figured:0.2.4"
2023-05-02 16:57:14 +01:00
#import "template.typ"
2023-04-20 10:44:45 +01:00
2023-05-02 16:57:14 +01:00
#show: doc => template.phd(doc)
2023-04-14 17:27:59 +01:00
2023-05-02 16:57:14 +01:00
#include "cover.typ"
2023-05-02 22:55:48 +01:00
2023-05-02 16:57:14 +01:00
#include "abstracts/main.typ"
2023-05-02 22:55:48 +01:00
#pagebreak()
2023-04-18 19:11:20 +01:00
#include "acknowledgments.typ"
2023-05-02 22:55:48 +01:00
#pagebreak()
#[
#set par(first-line-indent: 0em, justify: true, leading: 1em)
#outline(indent: true, depth: 3)
]
2023-04-20 10:44:45 +01:00
#include "introduction/main.typ"
2024-07-09 11:07:16 +01:00
#show heading: i-figured.reset-counters
#show figure: i-figured.show-figure
2024-07-09 10:45:16 +01:00
#show: chic.with(
odd: (
chic-footer(
right-side: chic-page-number(),
),
chic-header(
right-side: context {
[ #counter(heading).display((..args) => {
let arr = args.pos()
if arr.len() == 1 {
arr.at(0)
} else {
str(arr.at(0)) + "." + str(arr.at(1))
}
})
#chic-heading-name(fill: true, level: 2, dir: "prev") ]
},
),
chic-separator(1pt),
chic-offset(7pt),
chic-height(1.5cm)
),
even: (
chic-footer(
left-side: chic-page-number(),
),
chic-header(
left-side: context {
[ Chapter #counter(heading).get().at(0) #chic-heading-name(fill: true, level: 1, dir: "prev") ]
},
),
chic-separator(1pt),
chic-offset(7pt),
chic-height(1.5cm)
),
)
2023-04-14 17:27:59 +01:00
#include "foreword/main.typ"
2023-04-22 16:26:54 +01:00
#include "related-work/main.typ"
2023-04-27 16:47:00 +01:00
#include "preliminary-work/main.typ"
2023-04-22 16:26:54 +01:00
2023-05-11 10:59:37 +01:00
#include "dash-3d/main.typ"
2023-06-12 16:32:45 +01:00
#include "mobile/main.typ"
2024-07-09 10:45:16 +01:00
#show: doc => { set page(header: [], footer: []); doc }
2023-04-22 16:26:54 +01:00
#pagebreak()
#bibliography("bib.bib", style: "chicago-author-date")
#pagebreak()
2023-05-02 16:57:14 +01:00
#include "abstracts/fourth.typ"
2023-04-22 16:26:54 +01:00