Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
manjavacas committed Oct 28, 2024
1 parent 2c14ce3 commit 7ec4dbb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ _Minimalistic [typst](https://typst.app/) slides!_
This is a simple usage example:

```typst
#import "@preview/typslides:1.1.0": *
#import "@preview/typslides:1.1.1": *
// Project configuration
#show: typslides.with(
Expand Down
7 changes: 3 additions & 4 deletions typslides.typ
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@

#let stress(body) = (
context {
text(fill: theme-color.get(), weight: "semibold")[
#body
]
text(fill: theme-color.get(), weight: "semibold")[#body]
}
)

Expand All @@ -49,7 +47,7 @@

set block(
width: 100%,
inset: (x: .55cm, top: .5cm, bottom: .5cm),
inset: (x: .4cm, top: .5cm, bottom: .5cm),
breakable: false,
above: .1cm,
below: .1cm,
Expand Down Expand Up @@ -242,6 +240,7 @@

set text(size: 20pt)
set par(justify: true)
set align(horizon)

body
}
Expand Down
2 changes: 1 addition & 1 deletion typst.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "typslides"
version = "1.1.0"
version = "1.1.1"
entrypoint = "lib.typ"
compiler = "0.12.0"
authors = ["Antonio Manjavacas <https://github.com/manjavacas>"]
Expand Down
2 changes: 1 addition & 1 deletion utils.typ
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
5%
},
inset: .55cm,
text(white, weight: "semibold", size: 24pt)[#h(1cm) #title],
text(white, weight: "semibold", size: 24pt)[#h(.2cm) #title],
)
}

Expand Down

0 comments on commit 7ec4dbb

Please sign in to comment.