summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanilasar <danila.sar@yandex.ru>2025-01-03 01:04:42 +0400
committerdanilasar <danila.sar@yandex.ru>2025-01-03 01:04:42 +0400
commit4b6e5e25c236c09075d93b4a29afcf2e50529646 (patch)
tree440e0da6f9e4bd3ab92ed5c1170b2d2e6f02a661
parent02d227ab4b81b6e67c2b87cc24aaf8bdf6b54f56 (diff)
фикс: титульный лист учитывается в счётчике страниц по просьбе Егора
-rw-r--r--conf.typ3
-rw-r--r--test.typ2
2 files changed, 2 insertions, 3 deletions
diff --git a/conf.typ b/conf.typ
index 77610f3..c5f857e 100644
--- a/conf.typ
+++ b/conf.typ
@@ -386,7 +386,7 @@
}
if strings.caps_headings.contains(it.body) {
set align(center)
- counter(heading).update(i => i - 1)
+ //counter(heading).update(i => i - 1)
upper(it.body)
} else {
it
@@ -448,6 +448,7 @@
set page(numbering: "1")
set math.equation(numbering: "(1)", supplement: [])
set figure(supplement: "Рис.")
+ set quote(block: true)
// Вывод самого документа
(self.document.first_line_indentation)(self, doc)
diff --git a/test.typ b/test.typ
index 67a1c47..59c4c13 100644
--- a/test.typ
+++ b/test.typ
@@ -24,8 +24,6 @@
)
)
-#set quote(block: true)
-
= Введение
Шаблон автоматически определяет и оформляет особенным образом соответствующие секции:
- Содержание