-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ae63080
commit 09baab2
Showing
5 changed files
with
126 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,26 @@ | ||
#import "../../../utils.typ" | ||
|
||
#let glossary() = utils.print-glossary( | ||
glossary => { | ||
stack( | ||
dir: ttb, | ||
spacing: 15pt, | ||
..for entry in glossary {([ | ||
#box(inset: 0.5em, fill: gray)[== #entry.word] | ||
#h(5pt) | ||
#box(baseline: -10pt, width: 1fr, line(length: 100%)) | ||
#import "/utils.typ" | ||
|
||
#entry.definition | ||
],)} | ||
) | ||
} | ||
) | ||
#let glossary = utils.make-glossary(glossary => { | ||
stack( | ||
dir: ttb, | ||
spacing: 15pt, | ||
..for entry in glossary { | ||
( | ||
[ | ||
#box( | ||
inset: 0.5em, | ||
fill: gray, | ||
)[== #entry.word] | ||
#h(5pt) | ||
#box( | ||
baseline: -10pt, | ||
width: 1fr, | ||
line(length: 100%), | ||
) | ||
|
||
#entry.definition | ||
], | ||
) | ||
}, | ||
) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters