update README and bump version
This commit is contained in:
parent
71410d794e
commit
393b8eaeea
4 changed files with 13 additions and 15 deletions
|
|
@ -19,7 +19,7 @@ typship download -n local https://imsc.uni-graz.at/git/gjankowiak/typst-kfu-slid
|
||||||
```bash
|
```bash
|
||||||
mkdir -p ~/.local/share/typst/packages/local/definitely-not-kfu-slides/
|
mkdir -p ~/.local/share/typst/packages/local/definitely-not-kfu-slides/
|
||||||
cd ~/.local/share/typst/packages/local/definitely-not-kfu-slides/
|
cd ~/.local/share/typst/packages/local/definitely-not-kfu-slides/
|
||||||
curl https://imsc.uni-graz.at/git/gjankowiak/typst-kfu-slides-template/archive/1.0.1.tar.gz | tar zx --xform 's/typst-kfu-slides-template/1.0.1/'
|
curl https://imsc.uni-graz.at/git/gjankowiak/typst-kfu-slides-template/archive/1.0.2.tar.gz | tar zx --xform 's/typst-kfu-slides-template/1.0.2/'
|
||||||
```
|
```
|
||||||
|
|
||||||
## Quickstart (CLI)
|
## Quickstart (CLI)
|
||||||
|
|
|
||||||
22
src/lib.typ
22
src/lib.typ
|
|
@ -154,15 +154,14 @@
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
|
|
||||||
#v(-0.5cm)
|
#v(-0.5cm) #h(1.5cm)
|
||||||
#box(circle-icon) #h(0.1cm) #self.store.institute
|
#box(circle-icon) #h(0.1cm) #self.store.institute
|
||||||
]
|
]
|
||||||
|
|
||||||
set page(footer: footer-kfu, header: none)
|
self.page.footer = footer-kfu
|
||||||
set block(below: 0pt, above: 0pt)
|
|
||||||
|
|
||||||
place(center + horizon, dx: -15em, [
|
let dl = 11.5cm; place(center + horizon, dx: -dl, [
|
||||||
#circle(stroke: self.colors.primary + 13em, radius: 32em)
|
#circle(stroke: self.colors.primary + 0.86*dl, radius: 2.13*dl)
|
||||||
])
|
])
|
||||||
|
|
||||||
// Top-right icon + text
|
// Top-right icon + text
|
||||||
|
|
@ -220,7 +219,7 @@
|
||||||
v(0.95cm)
|
v(0.95cm)
|
||||||
|
|
||||||
block(width: 70%)[
|
block(width: 70%)[
|
||||||
#info.extra
|
#text(size: 15pt)[#info.extra]
|
||||||
]
|
]
|
||||||
|
|
||||||
if (
|
if (
|
||||||
|
|
@ -485,7 +484,7 @@
|
||||||
set cite(style: "alphanumeric")
|
set cite(style: "alphanumeric")
|
||||||
show bibliography: set par(spacing: 0.4cm)
|
show bibliography: set par(spacing: 0.4cm)
|
||||||
show bibliography: set grid(align: top + left)
|
show bibliography: set grid(align: top + left)
|
||||||
show bibliography: set text(17pt)
|
show bibliography: set text(1.1em)
|
||||||
show bibliography: t => {
|
show bibliography: t => {
|
||||||
show grid.cell.where(x: 0): set text(fill: self.colors.secondary)
|
show grid.cell.where(x: 0): set text(fill: self.colors.secondary)
|
||||||
show grid.cell.where(x: 0): set align(top + left)
|
show grid.cell.where(x: 0): set align(top + left)
|
||||||
|
|
@ -504,16 +503,16 @@
|
||||||
)
|
)
|
||||||
set enum(
|
set enum(
|
||||||
numbering: n => {
|
numbering: n => {
|
||||||
circle(stroke: self.colors.primary + 2pt, radius: 0.3cm)[
|
move(dy: -0.1em, circle(stroke: self.colors.primary + 2pt, radius: 0.4em, fill: self.colors.primary)[
|
||||||
#align(center + horizon)[ #text(size: 12pt, fill: black)[#n] ]
|
#align(center + horizon)[ #text(size: 0.7em, fill: black)[#n] ]
|
||||||
]
|
])
|
||||||
},
|
},
|
||||||
body-indent: 0.6cm
|
body-indent: 0.6cm
|
||||||
)
|
)
|
||||||
|
|
||||||
// Code blocks
|
// Code blocks
|
||||||
show: codly-init.with()
|
show: codly-init.with()
|
||||||
show raw.where(block: true): set text(size: 13pt)
|
show raw.where(block: true): set text(size: 1em)
|
||||||
|
|
||||||
// Hotfixes, the messy part
|
// Hotfixes, the messy part
|
||||||
|
|
||||||
|
|
@ -524,7 +523,6 @@
|
||||||
}),
|
}),
|
||||||
..args,
|
..args,
|
||||||
)
|
)
|
||||||
|
|
||||||
body
|
body
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#import "@local/definitely-not-kfu-slides:1.0.1": *
|
#import "@local/definitely-not-kfu-slides:1.0.2": *
|
||||||
|
|
||||||
#show: definitely-not-kfu-theme.with(
|
#show: definitely-not-kfu-theme.with(
|
||||||
aspect-ratio: "16-9",
|
aspect-ratio: "16-9",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "definitely-not-kfu-slides"
|
name = "definitely-not-kfu-slides"
|
||||||
version = "1.0.1"
|
version = "1.0.2"
|
||||||
entrypoint = "src/lib.typ"
|
entrypoint = "src/lib.typ"
|
||||||
authors = ["Ernesto Martínez <https://ecomaikgolf.com>", "Gaspard Jankowiak"]
|
authors = ["Ernesto Martínez <https://ecomaikgolf.com>", "Gaspard Jankowiak"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue