Files
2026-10-09 04:24:38 +00:00

88 lines
2.6 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.
#import "/.template/lib/api.typ": document, bibliography-section
#import "/.template/lib/presentation/profiles/report.typ": report-profile
#import "/.template/lib/presentation/components.typ": corp_table, formula
#import "/.template/lib/presentation/references.typ": vref, vrefs, eqref
#let appendices = (
path("appendix.typ"),
)
#let bibliographies = (
bibliography-section(
"normative",
path("normative.bib"),
title: [НОРМАТИВНЫЕ ИСТОЧНИКИ],
group: "report-sources",
),
bibliography-section(
"science",
path("science.bib"),
title: [НАУЧНЫЕ ИСТОЧНИКИ],
group: "report-sources",
),
)
#show: document.with(
company: "test-company",
profile: report-profile(
title: "Новый модульный отчёт",
theme: "Проверка DDD-профиля",
udk: "000.000",
director_date: "«26» августа 2026 г.",
is_research: true,
is_intermediate: true,
stage_number: 1,
volume_number: 1,
contract_number: "DDD-001",
contract_date: "«26» августа 2026",
city: "Пример",
year: 2026,
executors: (
("Ответственный исполнитель", "Тестов И.И.", path("/.template/companies/test-company/sign.svg"), 0.5cm),
),
appendices: appendices,
appendix_numbering: "cyrillic",
appendix_start: 1,
bibliographies: bibliographies,
),
)
#heading(numbering: none)[ВВЕДЕНИЕ]
Профиль отчёта использует нормативный источник @normative-test и научную публикацию @science-test.
Тестовое содержимое вынесено в #vref(<new-test-appendix>).
= ПРОВЕРКА ССЫЛОК
#figure(
rect(width: 3cm, height: 1.5cm, fill: rgb("fbb20d")),
caption: [Первый тестовый рисунок],
) <new-figure-a>
#figure(
circle(radius: 0.7cm, fill: rgb("e39f49")),
caption: [Второй тестовый рисунок],
) <new-figure-b>
Одна ссылка: #vref(<new-figure-a>, grammatical-case: "предл").
Несколько ссылок: #vrefs((<new-figure-a>, <new-figure-b>), grammatical-case: "вин").
#figure(
corp_table(
columns: 2,
[Параметр], [Значение],
[Архитектура], [Изолированная],
),
caption: [Проверочная таблица],
)
#formula($x^2 + y^2 = z^2$) <new-equation>
Формула: #eqref(<new-equation>).
#heading(numbering: none)[ЗАКЛЮЧЕНИЕ]
Новый отчёт собирается через `document` и `report-profile`.