Compare commits
1 Commits
5a290913a2
...
583c46429c
| Author | SHA1 | Date | |
|---|---|---|---|
|
583c46429c
|
@@ -1 +0,0 @@
|
|||||||
#let code = raw.with(block: true)
|
|
||||||
@@ -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)
|
||||||
Reference in New Issue
Block a user