summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraragami3070 <smirnov17612@gmail.com>2025-03-02 19:58:40 +0400
committeraragami3070 <smirnov17612@gmail.com>2025-03-02 19:58:40 +0400
commitf55dbd5971aa4f6e5da6d846de5395e56e3e28b3 (patch)
tree202fde0c1f1ac34862dc9104dae86bca272132db
parente775bec932179f54f00733c3da205ad9357d9b79 (diff)
Fix: indentation again
Ah shit, here we go again)))))
-rw-r--r--conf.typ21
1 files changed, 5 insertions, 16 deletions
diff --git a/conf.typ b/conf.typ
index 386f77b..961c1b1 100644
--- a/conf.typ
+++ b/conf.typ
@@ -194,7 +194,7 @@
_default_header:
() => {
set align(center)
- set text(font: "Tempora")
+ // set text(font: "Tempora")
text(strings.title.minobrnauki)
v(0.2em)
text(weight: "bold", strings.title.sgu)
@@ -415,9 +415,11 @@
show heading: self.document.apply_heading_styles
- // Выравнивание по ширине
set par(
- justify: true
+ // Выравнивание по ширине
+ justify: true,
+ // отвечает за красные строки там, где их нет, но они должны быть
+ first-line-indent: (amount: indent, all: true),
)
// Вывод содержания
@@ -438,19 +440,6 @@
set figure(supplement: "Рис.")
set quote(block: true)
- // todo проверить надёжность
- // отвечает за красные строки там, где их нет, но они должны быть
- show heading: it => {
- it
- ""
- context v(-par.spacing - measure("").height)
- }
- show selector.or(heading, table, grid, figure): it => {
- it
- ""
- context v(-par.spacing - measure("").height)
- }
-
// Вывод самого документа
doc
},