summaryrefslogtreecommitdiff
path: root/docs/typ/cheatsheet-a4.typ
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-30 23:14:49 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:17 -0300
commit5131d4382635a76df757566308b43e562c5f14d2 (patch)
tree0beac202bbaa931ba2c29f413ee92a5451aac604 /docs/typ/cheatsheet-a4.typ
parent9155fb6632c1337ed077b76e06e9d176b5b4889f (diff)
downloadpardes-5131d4382635a76df757566308b43e562c5f14d2.tar.gz
pardes-5131d4382635a76df757566308b43e562c5f14d2.zip
The book and the HTML set #pairs tables roomy, the A4 sheet tight
A pairs-density state, set to tight by cheatsheet-a4.typ and roomy otherwise, gives book and HTML tables more row padding and room between the key and the meaning. The book sets its body at 10pt with more space around sections and between paragraphs and list items. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docs/typ/cheatsheet-a4.typ')
-rw-r--r--docs/typ/cheatsheet-a4.typ3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/typ/cheatsheet-a4.typ b/docs/typ/cheatsheet-a4.typ
index 26f19f9d..5ae8b4be 100644
--- a/docs/typ/cheatsheet-a4.typ
+++ b/docs/typ/cheatsheet-a4.typ
@@ -2,7 +2,7 @@
// cheatsheet.typ and the elements' look in style.typ; this is page,
// type and headings only.
// typst compile --ignore-system-fonts docs/typ/cheatsheet-a4.typ
-#import "style.typ": palette, mono
+#import "style.typ": palette, mono, pairs-density
#set page(paper: "a4", fill: palette.paper, margin: (x: 9mm, y: 8mm), columns: 3)
#set columns(gutter: 4.5mm)
@@ -36,4 +36,5 @@
#show heading.where(level: 3): it => block(above: 0.6em, below: 0.35em, sticky: true,
text(size: 8.4pt, weight: "bold", fill: palette.grip, it.body))
+#pairs-density.update("tight")
#include "cheatsheet.typ"