alice-in-metamorpov/title-page.typ

116 lines
1.8 KiB
Plaintext

#import "variables.typ": *
#import "spiral.typ"
#set page("us-trade", margin: 0in)
#place(
image("title-page.png")
)
#let title = upper(name) + "'S ADVENTURES IN WONDERLAND"
#set align(center)
#set align(horizon)
#set text(size: 35pt)
// author
#place(
bottom + center,
dy: -45pt,
[
#set text(
font: font-title,
weight: "semibold",
size: 30pt
)
Lewis Caroll
]
)
// first letter
#place(
center + horizon,
dx: -170pt,
dy: -45pt,
[
#set text(
font: font-title,
weight: "bold",
size: 60pt
)
#title.at(0)
]
)
// title dark
#place(
center + horizon,
dx: -5pt,
dy: 5pt,
spiral.spiral-text(
title.slice(1),
15pt, // small size
60pt, // beeg size
1.25 * calc.pi,
3 * calc.pi, // end angel 👼
offset-from-center: 4.5,
font: font-title,
weight: "bold"
)
)
// subtitle
#place(
center + horizon,
dx: -10pt,
dy: 0pt,
spiral.spiral-text(
"AND THROUGH THE LOOKING GLASS",
16pt, // small size
18pt, // beeg size
2.2 * calc.pi, //2.1
2.8 * calc.pi, // end angel 👼
offset-from-center: 9,
font: font-title,
weight: "semibold",
use-variable-spacing: false
)
)
// first letter
#place(
center + horizon,
dx: 170pt,
dy: 45pt,
rotate(180deg,
[
#set text(
font: font-title,
weight: "bold",
fill: luma(192),
size: 60pt
)
#title.at(0)
]
)
)
// title red
#place(
center + horizon,
dx: 5pt,
dy: -5pt,
rotate(180deg, spiral.spiral-text(
title.slice(1),
15pt, // small size
60pt, // beeg size
1.25 * calc.pi,
3 * calc.pi, // end angel 👼
offset-from-center: 4.5,
font: font-title,
weight: "bold",
color: luma(192)
)
)
)
#pagebreak()