add localization option
This commit is contained in:
parent
7e9ee7e756
commit
4257b35b7e
@ -10,4 +10,5 @@ fi
|
||||
cat <<EOF > $1
|
||||
prefix: "$TYPST_ROOT"
|
||||
me: "$USER"
|
||||
lang: "en"
|
||||
EOF
|
||||
|
9
main.typ
9
main.typ
@ -1,5 +1,12 @@
|
||||
// main template that everything inherits from
|
||||
|
||||
#import "@preview/tablex:0.0.6": tablex
|
||||
|
||||
#let tablef = tablex.with(
|
||||
align: center + horizon,
|
||||
auto-vlines: false
|
||||
)
|
||||
|
||||
#let script-size = 9pt
|
||||
#let footnote-size = 8pt
|
||||
#let small-size = 8pt
|
||||
@ -93,7 +100,7 @@
|
||||
// Content to wrap
|
||||
body,
|
||||
) = {
|
||||
set text(size: normal-size, font: font, weight: "regular")
|
||||
set text(size: normal-size, font: font, weight: "regular", lang: settings.lang)
|
||||
show link: body => text(fill: rgb("#777777"), weight: "bold", body)
|
||||
show math.equation: eq => eq
|
||||
show figure: fig => {
|
||||
|
Loading…
Reference in New Issue
Block a user