diff options
| author | Denis Chevalier <perso@denischevalier.fr> | 2026-08-07 23:34:44 +0200 |
|---|---|---|
| committer | Denis Chevalier <perso@denischevalier.fr> | 2026-08-07 23:34:44 +0200 |
| commit | 1a0dad31d924cfeaa5f98100eff24f36623d5131 (patch) | |
| tree | 7dd6a73d3745520c1a5ecea067dfc4b8cb59896f /main.typ | |
| download | same-1a0dad31d924cfeaa5f98100eff24f36623d5131.tar.gz same-1a0dad31d924cfeaa5f98100eff24f36623d5131.tar.bz2 same-1a0dad31d924cfeaa5f98100eff24f36623d5131.zip | |
Start writing specification
Diffstat (limited to 'main.typ')
| -rw-r--r-- | main.typ | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/main.typ b/main.typ new file mode 100644 index 0000000..41d166d --- /dev/null +++ b/main.typ @@ -0,0 +1,79 @@ +#set document( + title: [SAME Analog Modular Ecosystem], + author: "Denis Chevalier", + description: [SAME Analog Modular Ecosystem Specification], + date: auto, +) + +#set page( + paper: "a4", + header: context { + if counter(page).get().first() > 1 { + grid( + columns: (1fr, 1fr), + align(left, text(8pt)[SAME Analog Modular Ecosystem]), + align(right, text(8pt)[CC BY-SA 4.0 - CERN-OHL-S-2.0+]), + ) + } + }, + + footer: context { + let pg = counter(page).get().first() + if pg > 1 { + v(4pt) + grid( + columns: (1fr, 1fr, 1fr), + align(left, text(8pt)[© 2026 Denis Chevalier]), + align(center, text(8pt)[Page #pg]), + align(right, text(8pt)[Draft]), + ) + } + }, +) + +#set heading(numbering: "1.") +#show heading.where(depth: 1): body => { + pagebreak(weak: true) + body +} + +#set par( + justify: true, +) + +// Title page +#title() + +- SPDX-FileCopyrightText: 2026 Denis Chevalier \<perso\@denischevalier.fr> +- SPDX-License-Identifier: CC-BY-SA-4.0 +- SPDX-License-Identifier: CERN-OHL-S-2.0+ + +The text, figures, tables, and mathematical content of this specification are +licensed under CC BY-SA 4.0. If a later version of CC BY-SA is published, the +author grants permission to distribute this work under that later version as +well. + +Hardware designs contained herein (schematics, PCB layouts, mechanical +drawings) are licensed under CERN-OHL-S-2.0+. + +// Toc +#outline( + title: [Table of Contents], + indent: auto, +) + +#outline( + title: [List of Tables], + target: figure.where(kind: table), +) + +#outline( + title: [List of Listings], + target: figure.where(kind: raw), +) + +#include "introduction.typ" + +#include "electrical-specifications.typ" + +#include "mechanical-specifications.typ" |
