new fonts location
This commit is contained in:
15
Main.typ
15
Main.typ
@@ -1,5 +1,3 @@
|
||||
#import "preramble.typ": *
|
||||
|
||||
#import "@preview/cetz:0.4.0": canvas, draw
|
||||
#import "@preview/cades:0.3.1": qr-code
|
||||
#import "@preview/zebra:0.1.0": datamatrix, qrcode
|
||||
@@ -9,16 +7,17 @@
|
||||
#let FeatureColor = rgb("292929")
|
||||
#let BackgroundColor = rgb("#fcfcfc")
|
||||
|
||||
#set text(font: { "Helvetica" }, size: 11pt)
|
||||
#let titlefont = { "LibreCaslonDisplay" }
|
||||
#let font = { "Helvetica" }
|
||||
|
||||
#let titlefont = { "Libre Caslon Text" }
|
||||
#set text(font: font)
|
||||
|
||||
#let section2(body) = {
|
||||
v(15pt)
|
||||
grid(
|
||||
columns: (1fr, auto, 1fr),
|
||||
column-gutter: 5pt,
|
||||
[#v(5pt) #line(length: 100%)], [#text(font: titlefont, size: 14pt, body)],[#v(5pt) #line(length: 100%)]
|
||||
[#v(5pt) #line(length: 100%)], [#text(size: 16pt, body)],[#v(5pt) #line(length: 100%)]
|
||||
)
|
||||
}
|
||||
|
||||
@@ -33,7 +32,7 @@
|
||||
|
||||
#let section3(body) = {
|
||||
v(0.8cm)
|
||||
text(size:16pt, weight: "extralight",)[#body]
|
||||
text(size:16pt, weight: "extralight", font: titlefont)[#body]
|
||||
}
|
||||
|
||||
#show heading: set text(
|
||||
@@ -69,8 +68,8 @@
|
||||
#v(0.5cm)
|
||||
#stack(
|
||||
spacing: 8pt,
|
||||
[#text(size: 82pt, weight: 500, font: "Libre Caslon Text")[#align(start)[Samantha]]],
|
||||
[#text(size: 41pt, weight: 500, font: "Libre Caslon Text")[#align(start)[Vero Friis]]]
|
||||
[#text(size: 82pt, weight: 500, font: titlefont)[#align(start)[Samantha]]],
|
||||
[#text(size: 41pt, weight: 500, font: titlefont)[#align(start)[Vero Friis]]]
|
||||
)
|
||||
|
||||
#set text(size: 12pt)
|
||||
|
||||
Reference in New Issue
Block a user