main.typ: use liberation sans font
it's like helvetica wow
This commit is contained in:
parent
ece62fe2ca
commit
e584382183
@ -17,6 +17,10 @@ docs/
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
Install dependencies:
|
||||||
|
|
||||||
|
- `ttf-liberation`
|
||||||
|
|
||||||
Set up `docs/` as a git repo.
|
Set up `docs/` as a git repo.
|
||||||
|
|
||||||
mkdir docs
|
mkdir docs
|
||||||
@ -62,8 +66,6 @@ Example usage (this is test.typ in the above tree:)
|
|||||||
#source_code("test")
|
#source_code("test")
|
||||||
```
|
```
|
||||||
|
|
||||||
Fonts should be included in Typst itself.
|
|
||||||
|
|
||||||
Some settings are available in `main.typ`.
|
Some settings are available in `main.typ`.
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
8
main.typ
8
main.typ
@ -6,8 +6,8 @@
|
|||||||
#let normal-size = 9pt
|
#let normal-size = 9pt
|
||||||
#let large-size = 9pt
|
#let large-size = 9pt
|
||||||
|
|
||||||
#let font = "IBM Plex Sans"
|
#let font = "Liberation Sans"
|
||||||
#let heading_font = "IBM Plex Sans"
|
#let heading_font = "Liberation Sans"
|
||||||
#let mono_font = "DejaVu Sans Mono"
|
#let mono_font = "DejaVu Sans Mono"
|
||||||
|
|
||||||
#let settings = yaml("/settings.yml")
|
#let settings = yaml("/settings.yml")
|
||||||
@ -114,9 +114,9 @@
|
|||||||
show raw.where(block: true): txt => pad(
|
show raw.where(block: true): txt => pad(
|
||||||
left: 0.5em,
|
left: 0.5em,
|
||||||
block(
|
block(
|
||||||
radius: 0.5em,
|
radius: 0em,
|
||||||
stroke: luma(230),
|
stroke: luma(230),
|
||||||
fill: luma(245),
|
fill: luma(250),
|
||||||
pad(
|
pad(
|
||||||
left: 1em,
|
left: 1em,
|
||||||
right: 1em,
|
right: 1em,
|
||||||
|
BIN
preview.jpg
BIN
preview.jpg
Binary file not shown.
Before Width: | Height: | Size: 147 KiB After Width: | Height: | Size: 103 KiB |
Loading…
Reference in New Issue
Block a user