summaryrefslogtreecommitdiff
path: root/test.typ
diff options
context:
space:
mode:
authorAndrew Guschin <guschin@altlinux.org>2025-04-05 17:12:33 +0400
committerAndrew Guschin <guschin@altlinux.org>2025-04-05 17:12:33 +0400
commit94ea9b8d5003473761fd010e0c7de2e808586915 (patch)
treee1bc1b4d3d6029c8a9959eb02a0f76e1cfaaceee /test.typ
parent70a49f1b5a9e7a8af2248d855f70b84b7f8ebb0d (diff)
feat: add core document markup typesetting parameters
- set correct(-ish) line spacing - add proper #intro and #conclusion directives - add theorem enviroments - correct code blocks styling - correct supplements for figures
Diffstat (limited to 'test.typ')
-rw-r--r--test.typ7
1 files changed, 4 insertions, 3 deletions
diff --git a/test.typ b/test.typ
index 9e3c3c2..added7a 100644
--- a/test.typ
+++ b/test.typ
@@ -1,4 +1,4 @@
-#import "conf.typ": conf
+#import "conf.typ": conf, intro, conclusion
#show: conf.with(
title: [Применение шаблона для typst],
type: "referat",
@@ -24,7 +24,8 @@
),
)
-= Введение
+#intro
+
Шаблон автоматически определяет и оформляет особенным образом соответствующие секции:
- Содержание
- Введение
@@ -65,7 +66,7 @@
attribution: [Даня],
)[Если я прямо на паре начну изучать новый вариант русской раскладки, пожалею ли я об этом?]
-= Заключение
+#conclusion
Пример заключения