mirror of
https://github.com/kristoferssolo/LU-DF-Typst-Template.git
synced 2026-03-22 00:26:23 +00:00
fix: reviewer field
This commit is contained in:
10
src/lib.typ
10
src/lib.typ
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user