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

43 lines
806 B
Text
Raw 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.

#let hw(
num: 0,
doc
) = [
#set document(
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
]