Compare commits

..

1 Commits

Author SHA1 Message Date
583c46429c Feat: add header and page number 2025-04-14 09:19:38 +08:00
2 changed files with 3 additions and 15 deletions

View File

@@ -1 +0,0 @@
#let code = raw.with(block: true)

View File

@@ -1,6 +1,4 @@
#import "functions/code.typ": code #let document(
#let default(
title: "This is a title", title: "This is a title",
authors: (( authors: ((
name: "Yi-Ting Shih", name: "Yi-Ting Shih",
@@ -34,20 +32,11 @@
numbering: "1." numbering: "1."
) )
// Raw default // Code section default
show raw: set text( show raw: set text(
font: "Consolas", font: "Consolas",
size: 8pt, size: 8pt
) )
// Code section default
show raw.where(block: true): self => {
block(
fill: luma(240),
inset: 8pt,
radius: 2pt,
self
)
}
{ // Title { // Title
set align(center) set align(center)