mirror of
https://github.com/JustAnyones/ktu-paper.git
synced 2026-06-20 22:11:56 +00:00
Simplify report API
This commit is contained in:
@@ -11,7 +11,7 @@ The following is an example on how to apply the report style for a document
|
||||
```typst
|
||||
#import "template.typ": ataskaita
|
||||
|
||||
#show: doc => ataskaita(
|
||||
#show: ataskaita.with(
|
||||
"Kompiuterinis raštingumas",
|
||||
(
|
||||
[Technologinis projektas],
|
||||
@@ -22,8 +22,7 @@ The following is an example on how to apply the report style for a document
|
||||
"lekt. Petras Petraitis",
|
||||
),
|
||||
authorRole: "Studentas",
|
||||
recipientRole: "Dėstytojas",
|
||||
document: doc,
|
||||
recipientRole: "Dėstytojas"
|
||||
)
|
||||
|
||||
= Įvadas
|
||||
|
||||
Binary file not shown.
+2
-3
@@ -1,6 +1,6 @@
|
||||
#import "../template.typ": ataskaita, bibl
|
||||
|
||||
#show: doc => ataskaita(
|
||||
#show: ataskaita.with(
|
||||
"Kompiuterinis raštingumas",
|
||||
(
|
||||
[Technologinis projektas],
|
||||
@@ -11,8 +11,7 @@
|
||||
"lekt. Petras Petraitis",
|
||||
),
|
||||
authorRole: "Studentas",
|
||||
recipientRole: "Dėstytojas",
|
||||
document: doc,
|
||||
recipientRole: "Dėstytojas"
|
||||
)
|
||||
|
||||
= Įvadas
|
||||
|
||||
+2
-2
@@ -7,7 +7,7 @@
|
||||
recipients: none,
|
||||
recipientRole: none,
|
||||
authorRole: none,
|
||||
document: none
|
||||
body
|
||||
) = {
|
||||
|
||||
// Setup page properties
|
||||
@@ -146,7 +146,7 @@
|
||||
|
||||
#pagebreak()
|
||||
|
||||
#document
|
||||
#body
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user