2024-09-17 16:23:12 +00:00
|
|
|
|
#let hw(
|
|
|
|
|
num: 0,
|
|
|
|
|
doc
|
|
|
|
|
) = [
|
|
|
|
|
|
|
|
|
|
#set document(
|
2024-09-19 12:20:43 +00:00
|
|
|
|
title: "Егор_Капралов_ДЗ_" + str(num),
|
2024-09-17 16:23:12 +00:00
|
|
|
|
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
|
|
|
|
|
]
|
|
|
|
|
|