94 lines
2.8 KiB
Typst
94 lines
2.8 KiB
Typst
#import "../NLI-doc-template.typ": cover, conf
|
|
|
|
#let mark-unit = 1.2cm
|
|
#let mark-blue = rgb("#4FC3F7")
|
|
#let mark-font = "SimHei"
|
|
|
|
// 大号 ITRAC:横向填满标识右侧至页面右缘,纵向精确拉伸至 6 格高。
|
|
// 顶部对齐,第 7 行(三角形收尾行)保持留白。
|
|
#let nitrac-mark = context {
|
|
let mark-x = 3.3 * mark-unit
|
|
let mark-width = 21cm - mark-x - 0.3 * mark-unit
|
|
let mark-height = 6 * mark-unit
|
|
let i-left-indent = 0.1 * mark-unit
|
|
let i-right-indent = 0.15 * mark-unit
|
|
let i-width = 1.2 * mark-unit - i-left-indent - i-right-indent
|
|
let trac-width = mark-width - 1.2 * mark-unit
|
|
let trac-offset = 1.2 * mark-unit
|
|
let probe-size = 100pt
|
|
let i = text(font: mark-font, weight: "bold", size: probe-size, fill: mark-blue)[I]
|
|
let trac = text(font: mark-font, weight: "bold", size: probe-size, fill: mark-blue)[TRAC]
|
|
let i-size = probe-size * (i-width / measure(i).width)
|
|
let trac-size = probe-size * (trac-width / measure(trac).width)
|
|
let i-mark = text(
|
|
font: mark-font,
|
|
weight: "bold",
|
|
size: i-size,
|
|
fill: mark-blue,
|
|
stroke: (paint: mark-blue, thickness: 1pt),
|
|
)[I]
|
|
let trac-mark = text(
|
|
font: mark-font,
|
|
weight: "bold",
|
|
size: trac-size,
|
|
fill: mark-blue,
|
|
)[TRAC]
|
|
let i-stretch-y = mark-height / measure(i-mark).height * 100%
|
|
let trac-stretch-y = mark-height / measure(trac-mark).height * 100%
|
|
place(
|
|
top + left,
|
|
dx: mark-x,
|
|
dy: 0pt,
|
|
box(
|
|
width: mark-width,
|
|
height: mark-height,
|
|
inset: 0pt,
|
|
scale(x: 100%, y: 100%, reflow: false, {
|
|
place(top + left, dx: i-left-indent, dy: 0pt, box(
|
|
width: i-width,
|
|
height: mark-height,
|
|
align(center + horizon, scale(x: 300%, y: i-stretch-y, reflow: false, i-mark)),
|
|
))
|
|
place(top + left, dx: trac-offset, dy: 0pt, box(
|
|
width: trac-width,
|
|
height: mark-height,
|
|
align(center + horizon, scale(x: 100%, y: trac-stretch-y, reflow: false, trac-mark)),
|
|
))
|
|
}),
|
|
),
|
|
)
|
|
}
|
|
|
|
#cover(
|
|
title: "确定性自动化 实时与集成",
|
|
title-en: "Deterministic Automation Real-time and Integration",
|
|
logo: nitrac-mark,
|
|
number: "NITRAC-DOC-1",
|
|
author: "Nitload Industry",
|
|
classification: "MID[中秘]SEC",
|
|
date: "2026 年 9 月",
|
|
sub_title: "第一册:总则与基本原则",
|
|
sub_title_en: "Part 1: Overview and fundamental principles",
|
|
)
|
|
|
|
#show: conf.with(number-pages: true)
|
|
|
|
= 第一章 总则
|
|
|
|
本文档为 NITRAC 系列标准文档第一册草案。
|
|
|
|
== 1.1 范围
|
|
|
|
本节规定文档的适用范围。
|
|
|
|
== 1.2 规范性引用文件
|
|
|
|
本节列出编制和实施本标准所需的规范性引用文件。
|
|
|
|
= 第二章 术语和定义
|
|
|
|
本节规定本文档使用的术语和定义。
|
|
|
|
= 第三章 技术要求
|
|
|
|
本节规定 NITRAC 的技术要求。 |