Compare commits
No commits in common. "73ab4702e6e9d58d7f378e6543fcc51a709b5456" and "fcd3a4f031372657cda3d140032b4760e4d780f7" have entirely different histories.
73ab4702e6
...
fcd3a4f031
@ -40,7 +40,10 @@ Example usage (this is test.typ in the above tree:)
|
|||||||
#source_code("test")
|
#source_code("test")
|
||||||
```
|
```
|
||||||
|
|
||||||
Fonts should be included in Typst itself.
|
Need fonts:
|
||||||
|
- Fira Math
|
||||||
|
- JetBrains Mono
|
||||||
|
- Roboto
|
||||||
|
|
||||||
Some settings are available in `main.typ`.
|
Some settings are available in `main.typ`.
|
||||||
|
|
||||||
|
9
main.typ
9
main.typ
@ -8,9 +8,10 @@
|
|||||||
|
|
||||||
#let me = "dogeystamp"
|
#let me = "dogeystamp"
|
||||||
|
|
||||||
#let font = "IBM Plex Sans"
|
#let font = "Roboto"
|
||||||
#let heading_font = "IBM Plex Sans"
|
#let heading_font = "Roboto"
|
||||||
#let mono_font = "DejaVu Sans Mono"
|
#let math_font = "Fira Math"
|
||||||
|
#let mono_font = "JetBrains Mono"
|
||||||
|
|
||||||
#let gen_title(
|
#let gen_title(
|
||||||
title: none,
|
title: none,
|
||||||
@ -55,7 +56,7 @@
|
|||||||
) = {
|
) = {
|
||||||
set text(size: normal-size, font: font, weight: "light")
|
set text(size: normal-size, font: font, weight: "light")
|
||||||
show link: body => text(fill: rgb("#777777"), weight: "bold", body)
|
show link: body => text(fill: rgb("#777777"), weight: "bold", body)
|
||||||
show math.equation: eq => eq
|
show math.equation: eq => text(font: math_font, eq)
|
||||||
set table(inset: 10pt)
|
set table(inset: 10pt)
|
||||||
show heading: set text(font: heading_font, weight: "black")
|
show heading: set text(font: heading_font, weight: "black")
|
||||||
show raw.where(block: true): txt => pad(
|
show raw.where(block: true): txt => pad(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user