mirror of
https://github.com/JustAnyones/ktu-paper.git
synced 2026-11-04 00:30:18 +00:00
refactor: update to codly 2.0.0, move code configuration to ktu-paper instead of setup-code
This commit is contained in:
4 files changed
+60
-17
No files matched your search
+11
-2
@@ -1,5 +1,5 @@
|
||||
#import "../src/lib.typ": (
|
||||
ktu-paper, setup-code,
|
||||
ktu-paper,
|
||||
ktu-table-of-contents, ktu-picture-list, ktu-table-list, ktu-code-list,
|
||||
ktu-heading-page-normal,
|
||||
ktu-table,
|
||||
@@ -13,8 +13,17 @@
|
||||
figureKinds: (
|
||||
veryCustomKind: (supplement: "komanda", ref-name: "komanda"),
|
||||
),
|
||||
// Code blocks, optional, `code: none` disables styling
|
||||
code: (
|
||||
font: "Hack",
|
||||
spacing: 80%,
|
||||
fill: white,
|
||||
stroke: 0.5pt + black,
|
||||
numbers: true,
|
||||
display-name: false,
|
||||
display-icon: false,
|
||||
),
|
||||
)
|
||||
#show: setup-code.with()
|
||||
|
||||
#show math.equation: it => {
|
||||
show regex("\d+\.\d+"): it => {show ".": {","+h(0pt)}
|
||||
|
||||
+1
-2
@@ -1,5 +1,5 @@
|
||||
#import "@local/ktu-paper:0.4.1": (
|
||||
ktu-paper, setup-code,
|
||||
ktu-paper,
|
||||
ktu-table-of-contents, ktu-picture-list, ktu-table-list,
|
||||
ktu-heading-page-normal,
|
||||
ktu-table,
|
||||
@@ -9,7 +9,6 @@
|
||||
#show: ktu-paper.with(
|
||||
font: "Times New Roman",
|
||||
)
|
||||
#show: setup-code.with()
|
||||
|
||||
#show math.equation: it => {
|
||||
show regex("\d+\.\d+"): it => {show ".": {","+h(0pt)}
|
||||
|
||||
+1
-2
@@ -1,5 +1,5 @@
|
||||
#import "@local/ktu-paper:0.4.1": (
|
||||
ktu-paper, setup-code,
|
||||
ktu-paper,
|
||||
ktu-table-of-contents, ktu-picture-list, ktu-table-list,
|
||||
ktu-heading-page-normal,
|
||||
ktu-table,
|
||||
@@ -10,7 +10,6 @@
|
||||
#show: ktu-paper.with(
|
||||
font: "Times New Roman",
|
||||
)
|
||||
#show: setup-code.with()
|
||||
|
||||
#show figure: it => {
|
||||
set block(breakable: true)
|
||||
|
||||
Reference in new issue
Block a user