aboutsummaryrefslogtreecommitdiff
path: root/main.typ
blob: 41d166d60021b7cce49b6a28b732641c01b55411 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
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"