From 5131d4382635a76df757566308b43e562c5f14d2 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 30 Sep 2026 23:14:49 -0300 Subject: 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 --- docs/typ/cheatsheet-a4.typ | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/typ/cheatsheet-a4.typ') 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" -- cgit v1.3