fix: reviewer field

This commit is contained in:
2026-02-24 14:46:05 +02:00
parent c97aaca839
commit d33c6f3145
3 changed files with 16 additions and 19 deletions

View File

@@ -18,7 +18,7 @@
// location, and email. Everything but but the `name` and `code` is optional.
authors: (),
advisors: (),
reviewer: (name: ""),
reviewer: (title: "", name: ""),
// The paper's abstract. Can be omitted if you don't have one.
abstract: (
primary: (
@@ -93,13 +93,11 @@
set math.equation(numbering: "(1)")
show math.equation: set block(spacing: 0.65em)
// Configure lists and terms.
set list(marker: ([], [--], [\*], [·]))
set enum(numbering: "1aiA)")
set terms(separator: [ -- ])
// Headings
set heading(numbering: "1.1.")
show heading: set block(spacing: 0.65em * 2, sticky: true)
@@ -112,7 +110,6 @@
}
}
// Style bibliography.
set std.bibliography(title: "Izmantotā literatūra un avoti")
@@ -157,7 +154,6 @@
show figure.where(kind: "attachment"): set figure(numbering: "1.")
show figure.where(kind: "attachment"): set figure.caption(separator: ". ")
// Adapt supplement in caption independently from supplement used for references.
show figure: fig => {
let numbers = numbering(fig.numbering, ..fig.counter.at(fig.location()))
@@ -173,7 +169,6 @@
fig
}
// Custom show rule for references
show ref: it => {
let el = it.element
@@ -233,7 +228,6 @@
it
}
// Code blocks
show raw: set text(
font: (
@@ -248,7 +242,6 @@
spacing: 100%,
)
make-title(
title,
authors,
@@ -264,7 +257,6 @@
// Start page numbering
set page(numbering: "1", number-align: center)
// Display abstract and keywords.
if abstract != none {
make-abstract("primary", abstract.primary)

View File

@@ -127,16 +127,15 @@
#set par(spacing: 2em)
#thesis-type "*#title*" ir
izstrādāts Latvijas Universitātes Eksakto zinātņu un tehnoloģiju fakultātē,
Datorikas nodaļā.
#thesis-type "*#title*" izstrādāts Latvijas Universitātes Eksakto zinātņu un
tehnoloģiju fakultātē.
Ar savu parakstu apliecinu, ka darbs izstrādāts patstāvīgi, izmantoti tikai
tajā norādītie informācijas avoti un iesniegtā darba elektroniskā kopija
atbilst izdrukai un/vai recenzentam uzrādītajai darba versijai.
atbilst izdrukai.
#set par(hanging-indent: 1cm)
#v(0.5fr)
#v(0.2fr)
#if authors.len() > 1 { "Autori: " } else { "Autors: " }
#(
@@ -146,7 +145,7 @@
#v(1fr)
Rekomendēju darbu aizstāvēšanai\
#if advisors.len() > 0 [
Darba #if advisors.len() > 1 { "vadītāji:" } else { "vadītājs:" }
#if advisors.len() > 1 { "Vadītāji:" } else { "Vadītājs:" }
#(
advisors.map(advisor => [*#advisor.title #advisor.name*]).join("\n")
) ~ #formatted-date
@@ -154,12 +153,18 @@
#v(1fr)
Recenzents: *#reviewer.name*
#if reviewer != none {
[Recenzents: *#reviewer.title #reviewer.name*]
v(1fr)
}
Darbs iesniegts Datorikas nodaļā #formatted-date \
Pilnvarotā persona: vecākā metodiķe: Ārija Sproģe #line(length: 10%, stroke: 0.5pt)
#v(1fr)
Darbs iesniegts #formatted-date \
#thesis-type.replace("darbs", "darbu") pārbaudīja komisijas sekretārs (elektronisks paraksts)
Darbs aizstāvēts bakalaura gala pārbaudījuma komisijas sēdē
#v(1fr)
]

View File

@@ -1,6 +1,6 @@
[package]
name = "solo-lu-df"
version = "1.0.0"
version = "1.1.0"
entrypoint = "src/lib.typ"
authors = ["Kristofers Solo <dev@kristofers.xyz>"]
license = "MIT-0"