aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2024-03-16 10:25:54 -0700
committerJohn MacFarlane <[email protected]>2024-03-16 10:26:14 -0700
commit2514ad25311a68d8244a77e4bfc4fd6e26b6848e (patch)
treeb6c9b68714293e9d3778c193383b2fee9a55fb97
parentea3719818b4d70577623c9a81e31b6baa5ea9e2f (diff)
Typst template: set table inset globally.
-rw-r--r--data/templates/default.typst4
-rw-r--r--test/writer.typst4
2 files changed, 8 insertions, 0 deletions
diff --git a/data/templates/default.typst b/data/templates/default.typst
index 935ae602c..25f105db2 100644
--- a/data/templates/default.typst
+++ b/data/templates/default.typst
@@ -9,6 +9,10 @@ $definitions.typst()$
.join()
}
+#set table(
+ inset: 6pt
+)
+
$if(template)$
#import "$template$": conf
$else$
diff --git a/test/writer.typst b/test/writer.typst
index 6ce17d339..3367ee602 100644
--- a/test/writer.typst
+++ b/test/writer.typst
@@ -15,6 +15,10 @@
.join()
}
+#set table(
+ inset: 6pt
+)
+
#let conf(
title: none,
authors: (),