Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions eckelmeckel-playground-03.typ
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ In cases where the context does not provide sufficient clarity, the following ru
[Reach out to #link("mailto:admin@trustedcomputinggroup.org") with any questions about this document.],
)

= TODO

+ Fira Mono
+ "Code style" for informative text
+ Pull request

#pagebreak()


Expand Down Expand Up @@ -865,7 +871,9 @@ Intro text.

Intro text.

#informative-eckelmeckel-03([This text fits into a single line.])
#informative-eckelmeckel-03([
#rect(fill: tcg-color-shade, width: 100%)[This text fits into a single line.]
])

#informative-eckelmeckel-03([
This text fits into multiple lines.
Expand Down Expand Up @@ -1258,7 +1266,8 @@ Code is taken from #link("https://github.com/tpm2-software/tpm2-tss/blob/master/
row-gutter: 0.5em,
sorted: "up",
outlined: true,
title: "Abbreviations",
title: "Acronyms",
// title: "Abbreviations",
)


Expand Down
40 changes: 33 additions & 7 deletions templates/eckelmeckel-04.tpl.typ
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,20 @@

/* --- fonts ---------------------------------------------------------------- */

#let font-head-face = "Signika"
#let font-head-face = "Inter"
// #let font-head-face = "Signika"
// #let font-head-face = "Alegreya Sans"
#let font-head-size = 24pt
#let font-text-face = "Literata"
// #let font-text-face = "Alegreya Sans"
// #let font-text-face = "Manuale"
// #let font-text-face = "Gentium Book"
// #let font-text-face = "Libre Baskerville"
// #let font-text-face = "Yrsa"
#let font-text-size = 10.5pt
#let font-mono-face = "Fira Code"
// #let font-text-size = 12.0pt
// #let font-mono-face = "Fira Code"
#let font-mono-face = "Fira Mono"
#let font-mono-size = (font-text-size * 0.95)
// #let font-mono-size = (font-text-size * 1.0)
// #let font-mono-size = (font-text-size * 0.89)
Expand All @@ -45,6 +50,9 @@
#let tcg-color-light-blue = rgb("#3e75c4ff")
#let tcg-color-light-green = rgb("#8dc73fff")

/* footer */
#let color-code-footer = tcg-color-black.lighten(30%)

/* element colors */
#let color-code-fg = tcg-color-black
#let color-code-bg = tcg-color-shade
Expand Down Expand Up @@ -595,7 +603,7 @@
doc,
) = context {
/* --- font settings ------------------------------------------------------ */
/* normal text */
/* normal text */
set text(
font: font-text-face,
size: font-text-size,
Expand Down Expand Up @@ -651,8 +659,9 @@
set text(font: font-mono-face, size: font-mono-size * 0.89, fill: rgb(color-code-fg))
set block(
fill: rgb(color-code-bg),
stroke: (thickness: 0.5pt, paint: tcg-color-gray),
inset: 1em,
radius: 0.5em,
// radius: 0.5em,
)
it
}
Expand Down Expand Up @@ -812,20 +821,37 @@
// Front matter
//
let foot = (
line(length: 100%, stroke: 0.5pt)
line(
length: 100%,
stroke: (
thickness: 0.5pt,
paint: tcg-color-black.lighten(30%),
),
)
+ grid(
align: (left, center, right),
columns: (1in, 5.5in, 1in),
rows: 0.5in,
text(sym.copyright + " " + year + " TCG", font: font-head-face, weight: "light"),
text(title + if subtitle != none { [ -- ] + subtitle }, font: font-head-face, weight: "light"),
text(
sym.copyright + " " + year + " TCG",
font: font-head-face,
weight: "light",
fill: tcg-color-black.lighten(30%),
),
text(
title + if subtitle != none { [ -- ] + subtitle },
font: font-head-face,
weight: "light",
fill: tcg-color-black.lighten(30%),
),
text(
context counter(page).display(
"1",
both: false,
),
font: font-head-face,
weight: "light",
fill: tcg-color-black.lighten(30%),
),
)
)
Expand Down