Files
cschem-lab1/main.typ
dboyarov 6d53a2451e lab1
2026-09-24 18:31:50 +03:00

55 lines
1.3 KiB
Typst
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#set par(
first-line-indent: 1.25cm,
justify: true,
leading: 0.65em,
)
#set page(
"a4",
numbering: "1",
number-align: center,
footer: context {
let page-num = counter(page).get().first()
if page-num > 1 {
align(center, counter(page).display("1"))
}
}
)
#set text(font: "Times New Roman", lang: "ru", 14pt)
#show raw: set text(font: ("Consolas", "DejaVu Sans Mono", "Liberation Mono"), size: 9.5pt)
#show math.equation: set text(font: ("Cambria Math", "New Computer Modern Math"))
#show heading: set align(center)
#show figure.where(kind: image): set figure(supplement: [Рис.])
#set figure(gap: 0.6em)
#show figure.where(kind: table): set figure.caption(position: top)
#show figure.caption: it => {
set text(size: 12pt)
set par(first-line-indent: 0pt)
if it.kind == table { align(left, it) } else { it }
}
#set figure.caption(separator: [ – ])
#show figure: set block(breakable: true)
#set table(stroke: 0.5pt, inset: (x: 5pt, y: 4pt))
#show table: set text(size: 12pt)
#show table: set par(justify: false, first-line-indent: 0pt)
#show heading: it => {
it
par(first-line-indent: 1.25cm)[#text()[]]
}
#include "pages/title_page.typ"
#pagebreak()
#outline(
title: [Содержание],
depth: 1,
)
#pagebreak()
#include "pages/content.typ"