typst-itmo/probability-theory/hw/hw-template.typ

44 lines
806 B
Text
Raw Normal View History

#let hw(
num: 0,
doc
) = [
#set document(
2024-09-19 12:20:43 +00:00
title: "Егор_Капралов_ДЗ_" + str(num),
author: "Капралов Егор"
)
#set page(
paper: "a4",
margin: (left: 30mm, right: 15mm, top: 20mm, bottom: 20mm),
numbering: "1"
)
#set text(
font: "Liberation Serif",
size: 12pt,
lang: "ru",
region: "RU"
)
#set par(
justify: true,
)
#show heading: it => {
set text(size: 14pt, weight: "bold")
block(above: 1.5em, below: 1.5em, it)
}
#import "../../title.typ": itmo_title
#itmo_title(
type: [Домашняя работа №#num],
name: none,
subject: [Теория вероятностей]
)
#doc
]