summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEtienne Collin <collin.etienne.media@gmail.com>2024-04-02 04:13:13 -0400
committerGitHub <noreply@github.com>2024-04-02 08:13:13 +0000
commitf461b2059d6733621630f07bc1c9ee039408c9be (patch)
tree551ec34abcf210fd106f310ec50b467ced1634b5 /tests
parent1e645b396429a976fa4c34dffaa578e5c8347f25 (diff)
Fixed interaction of first_line_indent with outline (#3745)
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/meta/outline-first-par-indent.pngbin0 -> 28062 bytes
-rw-r--r--tests/typ/meta/outline-first-par-indent.typ15
2 files changed, 15 insertions, 0 deletions
diff --git a/tests/ref/meta/outline-first-par-indent.png b/tests/ref/meta/outline-first-par-indent.png
new file mode 100644
index 00000000..f6e4ffe8
--- /dev/null
+++ b/tests/ref/meta/outline-first-par-indent.png
Binary files differ
diff --git a/tests/typ/meta/outline-first-par-indent.typ b/tests/typ/meta/outline-first-par-indent.typ
new file mode 100644
index 00000000..77396634
--- /dev/null
+++ b/tests/typ/meta/outline-first-par-indent.typ
@@ -0,0 +1,15 @@
+#set par(first-line-indent: 1.5em)
+#set heading(numbering: "1.1.a.")
+#show outline.entry.where(level: 1): it => {
+ v(0.5em, weak: true)
+ strong(it)
+}
+
+#outline()
+
+= Introduction
+= Background
+== History
+== State of the Art
+= Analysis
+== Setup