Skip to content

Commit

Permalink
Add styling test document
Browse files Browse the repository at this point in the history
  • Loading branch information
quachpas committed Nov 11, 2024
1 parent 08d2df8 commit 6153f84
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
Binary file added tests/styling/styling.pdf
Binary file not shown.
20 changes: 20 additions & 0 deletions tests/styling/styling.typ
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#import "../../themes/default.typ": *

#show: make-glossary
#show link: set text(fill: red)
#let entry-list = (
(
key: "potato",
short: "potato",
long: "long potato",
plural: "potatoes",
longplural: "long potatoes",
description: [#lorem(5)],
),
)
#register-glossary(entry-list)
#show figure.caption.where(kind: "glossarium_entry"): it => {
align(center, it)
}

#print-glossary(entry-list, show-all: true)

0 comments on commit 6153f84

Please sign in to comment.