mirror of
https://github.com/typst/typst
synced 2025-05-13 20:46:23 +08:00
Update 3-advanced.md (#4208)
This commit is contained in:
parent
4f8bbb01ce
commit
a24052cb80
@ -338,7 +338,7 @@ a way to set any of that, we need to write our own heading show rule.
|
|||||||
>>> )
|
>>> )
|
||||||
#show heading: it => [
|
#show heading: it => [
|
||||||
#set align(center)
|
#set align(center)
|
||||||
#set text(12pt, weight: "regular")
|
#set text(13pt, weight: "regular")
|
||||||
#block(smallcaps(it.body))
|
#block(smallcaps(it.body))
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -417,7 +417,7 @@ differentiate between section and subsection headings:
|
|||||||
level: 1
|
level: 1
|
||||||
): it => block(width: 100%)[
|
): it => block(width: 100%)[
|
||||||
#set align(center)
|
#set align(center)
|
||||||
#set text(12pt, weight: "regular")
|
#set text(13pt, weight: "regular")
|
||||||
#smallcaps(it.body)
|
#smallcaps(it.body)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user