@dataimago/css 0.1.0-alpha.20 → 0.1.0-alpha.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +171 -0
- package/dist/bin/dataimago-figures.mjs +703 -0
- package/dist/bin/dataimago-sync.mjs +281 -19
- package/dist/dataimago.css +9 -3
- package/dist/dataimago.min.css +1 -1
- package/dist/dataviz/dataimago-dataviz.css +1 -1
- package/dist/dataviz/dataimago-dataviz.json +2 -2
- package/dist/dataviz/dataimago-dataviz.tex +1 -1
- package/dist/dataviz/dataimago_dataviz.R +1 -1
- package/dist/figures/NotoSans-Bold.otf +0 -0
- package/dist/figures/NotoSans-BoldItalic.otf +0 -0
- package/dist/figures/NotoSans-Italic.otf +0 -0
- package/dist/figures/NotoSans-Regular.otf +0 -0
- package/dist/figures/NotoSansMath-Regular.ttf +0 -0
- package/dist/figures/OFL-NotoSans.txt +93 -0
- package/dist/figures/OFL-NotoSansMath.txt +93 -0
- package/dist/figures/dataimago-figure.sty +105 -0
- package/dist/figures/dataimago-tokens.sty +134 -0
- package/dist/fonts/cyrillic/OFL-NotoSans.txt +93 -0
- package/dist/fonts/cyrillic/OFL-NotoSansMono.txt +93 -0
- package/dist/fonts/cyrillic/fonts.css +27 -0
- package/dist/fonts/cyrillic/noto-sans-italic.woff2 +0 -0
- package/dist/fonts/cyrillic/noto-sans-mono.woff2 +0 -0
- package/dist/fonts/cyrillic/noto-sans.woff2 +0 -0
- package/dist/fonts/cyrillic-ext/OFL-NotoSans.txt +93 -0
- package/dist/fonts/cyrillic-ext/OFL-NotoSansMono.txt +93 -0
- package/dist/fonts/cyrillic-ext/fonts.css +27 -0
- package/dist/fonts/cyrillic-ext/noto-sans-italic.woff2 +0 -0
- package/dist/fonts/cyrillic-ext/noto-sans-mono.woff2 +0 -0
- package/dist/fonts/cyrillic-ext/noto-sans.woff2 +0 -0
- package/dist/fonts/greek/OFL-NotoSans.txt +93 -0
- package/dist/fonts/greek/OFL-NotoSansMono.txt +93 -0
- package/dist/fonts/greek/fonts.css +27 -0
- package/dist/fonts/greek/noto-sans-italic.woff2 +0 -0
- package/dist/fonts/greek/noto-sans-mono.woff2 +0 -0
- package/dist/fonts/greek/noto-sans.woff2 +0 -0
- package/dist/fonts/greek-ext/OFL-NotoSans.txt +93 -0
- package/dist/fonts/greek-ext/OFL-NotoSansMono.txt +93 -0
- package/dist/fonts/greek-ext/fonts.css +27 -0
- package/dist/fonts/greek-ext/noto-sans-italic.woff2 +0 -0
- package/dist/fonts/greek-ext/noto-sans-mono.woff2 +0 -0
- package/dist/fonts/greek-ext/noto-sans.woff2 +0 -0
- package/dist/fonts/josefin/OFL-JosefinSans.txt +93 -0
- package/dist/fonts/josefin/fonts.css +8 -0
- package/dist/fonts/josefin/josefin-sans.woff2 +0 -0
- package/dist/fonts/lang.css +181 -0
- package/dist/fonts/latin/OFL-NotoSans.txt +93 -0
- package/dist/fonts/latin/OFL-NotoSansMono.txt +93 -0
- package/dist/fonts/latin/fonts.css +27 -0
- package/dist/fonts/latin/noto-sans-italic.woff2 +0 -0
- package/dist/fonts/latin/noto-sans-mono.woff2 +0 -0
- package/dist/fonts/latin/noto-sans.woff2 +0 -0
- package/dist/fonts/latin-ext/OFL-NotoSans.txt +93 -0
- package/dist/fonts/latin-ext/OFL-NotoSansMono.txt +93 -0
- package/dist/fonts/latin-ext/fonts.css +27 -0
- package/dist/fonts/latin-ext/noto-sans-italic.woff2 +0 -0
- package/dist/fonts/latin-ext/noto-sans-mono.woff2 +0 -0
- package/dist/fonts/latin-ext/noto-sans.woff2 +0 -0
- package/dist/fonts/math/OFL-NotoSansMath.txt +93 -0
- package/dist/fonts/math/fonts.css +8 -0
- package/dist/fonts/math/noto-sans-math.woff2 +0 -0
- package/dist/fonts/pkg/GFL.txt +29 -0
- package/dist/fonts/pkg/README-lm.txt +27 -0
- package/dist/fonts/pkg/fonts.css +8 -0
- package/dist/fonts/pkg/lmsans10-regular.woff2 +0 -0
- package/dist/fonts/vietnamese/OFL-NotoSans.txt +93 -0
- package/dist/fonts/vietnamese/OFL-NotoSansMono.txt +93 -0
- package/dist/fonts/vietnamese/fonts.css +27 -0
- package/dist/fonts/vietnamese/noto-sans-italic.woff2 +0 -0
- package/dist/fonts/vietnamese/noto-sans-mono.woff2 +0 -0
- package/dist/fonts/vietnamese/noto-sans.woff2 +0 -0
- package/dist/latex/dataimago-tokens.sty +14 -2
- package/dist/latex/dataimago.sty +6 -1
- package/dist/outputs.json +105 -21
- package/dist/quarto/_extensions/dataimago/monograph/_extension.yml +35 -0
- package/dist/quarto/_extensions/dataimago/monograph/dataimago-base.sty +275 -0
- package/dist/quarto/_extensions/dataimago/monograph/dataimago-monograph.sty +270 -0
- package/dist/quarto/_extensions/dataimago/monograph/dataimago-tokens.sty +134 -0
- package/dist/quarto/_extensions/dataimago/monograph/filters/figure-plate.lua +52 -0
- package/dist/quarto/_extensions/dataimago/monograph/filters/matter.lua +170 -0
- package/dist/quarto/_extensions/dataimago/monograph/filters/pkg-name.lua +17 -0
- package/dist/quarto/_extensions/dataimago/monograph/fonts/GFL.txt +29 -0
- package/dist/quarto/_extensions/dataimago/monograph/fonts/JosefinSans-VF.ttf +0 -0
- package/dist/quarto/_extensions/dataimago/monograph/fonts/NotoSans-Italic-VF.ttf +0 -0
- package/dist/quarto/_extensions/dataimago/monograph/fonts/NotoSans-VF.ttf +0 -0
- package/dist/quarto/_extensions/dataimago/monograph/fonts/NotoSansMath-Regular.ttf +0 -0
- package/dist/quarto/_extensions/dataimago/monograph/fonts/NotoSansMono-VF.ttf +0 -0
- package/dist/quarto/_extensions/dataimago/monograph/fonts/OFL-JosefinSans.txt +93 -0
- package/dist/quarto/_extensions/dataimago/monograph/fonts/OFL-NotoSans.txt +93 -0
- package/dist/quarto/_extensions/dataimago/monograph/fonts/OFL-NotoSansMath.txt +93 -0
- package/dist/quarto/_extensions/dataimago/monograph/fonts/OFL-NotoSansMono.txt +93 -0
- package/dist/quarto/_extensions/dataimago/monograph/fonts/README-lm.txt +27 -0
- package/dist/quarto/_extensions/dataimago/monograph/fonts/lmsans10-regular.otf +0 -0
- package/dist/quarto/_extensions/dataimago/monograph/partials/before-body.tex +16 -0
- package/dist/quarto/_extensions/dataimago/monograph/partials/title.tex +27 -0
- package/dist/quarto/components.scss +14 -1
- package/dist/quarto/dataimago-dark.scss +23 -6
- package/dist/quarto/dataimago-light.scss +17 -6
- package/dist/tailwind-preset.js +4 -4
- package/dist/templates/KNOWLEDGE-explorer.md +1 -1
- package/dist/templates/KNOWLEDGE-framework.md +1 -1
- package/dist/templates/KNOWLEDGE-research.md +1 -1
- package/dist/templates/quarto_website/README.md +1 -1
- package/dist/templates/quarto_website/_quarto.yml.template +4 -2
- package/dist/templates/quarto_website/about.qmd.template +1 -1
- package/dist/templates/quarto_website/assets/css/lang.css +181 -0
- package/dist/templates/quarto_website/assets/js/custom-anchors.js +1 -1
- package/dist/templates/quarto_website/assets/js/logo-switch.js +1 -1
- package/dist/templates/quarto_website/assets/js/scroll.js +1 -1
- package/dist/templates/quarto_website/ethics.qmd.template +1 -1
- package/dist/templates/quarto_website/index.qmd.template +1 -1
- package/dist/tokens.css +3 -3
- package/dist/tokens.scss +3 -3
- package/package.json +6 -3
package/dist/outputs.json
CHANGED
|
@@ -1,26 +1,110 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "@dataimago/css",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.22",
|
|
4
4
|
"files": {
|
|
5
|
-
"dataviz/dataimago-dataviz.css": "
|
|
6
|
-
"dataviz/dataimago-dataviz.json": "
|
|
7
|
-
"dataviz/dataimago-dataviz.tex": "
|
|
8
|
-
"dataviz/dataimago_dataviz.R": "
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
5
|
+
"dataviz/dataimago-dataviz.css": "e2bd44cf1cb6fc2afc0c8386203c95e5b39fdc88644591c8227166788d94fce7",
|
|
6
|
+
"dataviz/dataimago-dataviz.json": "b07def7b471cc14465e31171bf7438a6929862f527a6924796b31b38a6a67cb5",
|
|
7
|
+
"dataviz/dataimago-dataviz.tex": "53f580089845ef39eabd1a120cf886a627d96b03f43171f3db093f0b2af2b6f6",
|
|
8
|
+
"dataviz/dataimago_dataviz.R": "d3d24c1886a1a929e1c1070823d33ce1f928561b5992216d238fb6e1eb79b648",
|
|
9
|
+
"figures/NotoSans-Bold.otf": "8c16b061b1142e9935e56841e22c51d3236fdbcf7bad3e1c4b218fc36ad3325a",
|
|
10
|
+
"figures/NotoSans-BoldItalic.otf": "896aae9f0758809438e81541d1822feaeb1af6be4fa45340b64b3654e94c0a79",
|
|
11
|
+
"figures/NotoSans-Italic.otf": "7407004c418d6c3b8d6943d9561ea90e3abf79565a85022f7b6f07d25c186f3c",
|
|
12
|
+
"figures/NotoSans-Regular.otf": "76c021109ac1edf3134ea9ce3d3af9495a5fec01212892a77b315619900c6d45",
|
|
13
|
+
"figures/NotoSansMath-Regular.ttf": "b127e84699212b6b2ef50aff58e0ebebeec04ffe6db1b9eb9e209c8c3d97b4aa",
|
|
14
|
+
"figures/OFL-NotoSans.txt": "cee9892f9f0cc8fe882c9e9537ee6a89621d86ee7ceaf70b02e2b2b1c25c061a",
|
|
15
|
+
"figures/OFL-NotoSansMath.txt": "c9c63b8ed6cf76b2ce0c58b241acfc1195c2c928334c989c7047cbdac58773d9",
|
|
16
|
+
"figures/dataimago-figure.sty": "0007a7342e90bbb09f860e4d458191224da58c8e05481f0c7212d7502cbccc75",
|
|
17
|
+
"figures/dataimago-tokens.sty": "c93eb5f04c1e9ce9c31c1cfc9becb44b224a571c6a8c7b42fdb28088988a9665",
|
|
18
|
+
"fonts/cyrillic-ext/OFL-NotoSans.txt": "cee9892f9f0cc8fe882c9e9537ee6a89621d86ee7ceaf70b02e2b2b1c25c061a",
|
|
19
|
+
"fonts/cyrillic-ext/OFL-NotoSansMono.txt": "cee9892f9f0cc8fe882c9e9537ee6a89621d86ee7ceaf70b02e2b2b1c25c061a",
|
|
20
|
+
"fonts/cyrillic-ext/fonts.css": "0bf5f38879add3d21727a9247bfb2c16a0108f0195ce0657ea9351fca3ffb350",
|
|
21
|
+
"fonts/cyrillic-ext/noto-sans-italic.woff2": "e43ef19dd130cf6564cc06d68a8567a8f323047584f81e251a46e2b15a2f1d49",
|
|
22
|
+
"fonts/cyrillic-ext/noto-sans-mono.woff2": "4f62d4266b525554838d2e19d581710ee0f4963612310c8552c6f15e21ff309a",
|
|
23
|
+
"fonts/cyrillic-ext/noto-sans.woff2": "b6a3b92bc2e7ff8d0692c2ad266f06e40e2b1ec388f3e90234af957a3272316a",
|
|
24
|
+
"fonts/cyrillic/OFL-NotoSans.txt": "cee9892f9f0cc8fe882c9e9537ee6a89621d86ee7ceaf70b02e2b2b1c25c061a",
|
|
25
|
+
"fonts/cyrillic/OFL-NotoSansMono.txt": "cee9892f9f0cc8fe882c9e9537ee6a89621d86ee7ceaf70b02e2b2b1c25c061a",
|
|
26
|
+
"fonts/cyrillic/fonts.css": "6e31e449bc51fbb96d3f841710ab0c00681cd492dbd70fd57b3d935366fba39e",
|
|
27
|
+
"fonts/cyrillic/noto-sans-italic.woff2": "ef6d4e10370334dc2f19230350c6008b528998abc474deb908d3ed4ae9d951c2",
|
|
28
|
+
"fonts/cyrillic/noto-sans-mono.woff2": "e5b0c11fb6cc4c39dd406d17b7a1afe512264f27d58ec5b21e05c72f9347c43e",
|
|
29
|
+
"fonts/cyrillic/noto-sans.woff2": "ee4d2c2b38b5ba72dadb0fb56ce6e152d6fcb39ee49955245e80c7b4a9d42a6e",
|
|
30
|
+
"fonts/greek-ext/OFL-NotoSans.txt": "cee9892f9f0cc8fe882c9e9537ee6a89621d86ee7ceaf70b02e2b2b1c25c061a",
|
|
31
|
+
"fonts/greek-ext/OFL-NotoSansMono.txt": "cee9892f9f0cc8fe882c9e9537ee6a89621d86ee7ceaf70b02e2b2b1c25c061a",
|
|
32
|
+
"fonts/greek-ext/fonts.css": "6d72dc9d9d7412c8fcdc26b5d75d82ee187d3e69e4b8bc8d1e67bec62ef6755d",
|
|
33
|
+
"fonts/greek-ext/noto-sans-italic.woff2": "efbc584896c29627152d47b5b8975d72d7e1b9dfda4ef0e0a79d61cea84a99b8",
|
|
34
|
+
"fonts/greek-ext/noto-sans-mono.woff2": "59d4726f29ea68cc31bae66f8f5d936c26b9f6e2e4f75a8640cb4a9934ff6d98",
|
|
35
|
+
"fonts/greek-ext/noto-sans.woff2": "eff6e032b0aebb4f6220f50b6afb13fcea3b68a0beb31f1796447854baab667e",
|
|
36
|
+
"fonts/greek/OFL-NotoSans.txt": "cee9892f9f0cc8fe882c9e9537ee6a89621d86ee7ceaf70b02e2b2b1c25c061a",
|
|
37
|
+
"fonts/greek/OFL-NotoSansMono.txt": "cee9892f9f0cc8fe882c9e9537ee6a89621d86ee7ceaf70b02e2b2b1c25c061a",
|
|
38
|
+
"fonts/greek/fonts.css": "1a937f93a38d2799433bd3dd82f3868bc3f4d9e44362641503383d7e8410dbb2",
|
|
39
|
+
"fonts/greek/noto-sans-italic.woff2": "b786720515691eaac7642f6e0e7824359511770d37594067bcf9c06db7c100ce",
|
|
40
|
+
"fonts/greek/noto-sans-mono.woff2": "b73c27885be7a02aea7dbfc6ed91e9c8791ff7f455bc24344aadd4a492465950",
|
|
41
|
+
"fonts/greek/noto-sans.woff2": "5236e246865e7a26bb8839ba1350d43db176c2e8e8fd986da8dd30b8623d9be0",
|
|
42
|
+
"fonts/josefin/OFL-JosefinSans.txt": "aee5a4081e8a52f80428b30f178b719d115f18dad3e1fa15a986163e1078a85b",
|
|
43
|
+
"fonts/josefin/fonts.css": "4dd7086effd164d9439831033d882d9ed5cceb05a8038be9fcc86f9eacde6a68",
|
|
44
|
+
"fonts/josefin/josefin-sans.woff2": "85f4e1dce320d633ee55f8c51c74286188a376074df7e629ad15ab07d1ed062f",
|
|
45
|
+
"fonts/lang.css": "82427730e66cd2fad741f4ce4e4afd037059e147e2e23c49249b1d7cf8eb1a77",
|
|
46
|
+
"fonts/latin-ext/OFL-NotoSans.txt": "cee9892f9f0cc8fe882c9e9537ee6a89621d86ee7ceaf70b02e2b2b1c25c061a",
|
|
47
|
+
"fonts/latin-ext/OFL-NotoSansMono.txt": "cee9892f9f0cc8fe882c9e9537ee6a89621d86ee7ceaf70b02e2b2b1c25c061a",
|
|
48
|
+
"fonts/latin-ext/fonts.css": "7660bb576c54ad157759d2e4108ec94d811f0f869058e99760ba8cb90299480d",
|
|
49
|
+
"fonts/latin-ext/noto-sans-italic.woff2": "73d821b043f17020a0332cbc56a31bea59d8346a53c03777f66889a0ad718997",
|
|
50
|
+
"fonts/latin-ext/noto-sans-mono.woff2": "3f87ba62a12d4659b5bd91aa6cc12c5f111377152e8ed4010251af7dedea4e06",
|
|
51
|
+
"fonts/latin-ext/noto-sans.woff2": "25713d5d56b03ad45105b83b51a62e119122d7949df1769d34fad9ed1993d9d5",
|
|
52
|
+
"fonts/latin/OFL-NotoSans.txt": "cee9892f9f0cc8fe882c9e9537ee6a89621d86ee7ceaf70b02e2b2b1c25c061a",
|
|
53
|
+
"fonts/latin/OFL-NotoSansMono.txt": "cee9892f9f0cc8fe882c9e9537ee6a89621d86ee7ceaf70b02e2b2b1c25c061a",
|
|
54
|
+
"fonts/latin/fonts.css": "4c23f39842501f4f48120ce8bd6596d63873cba84c9d630dc24f74de48340d30",
|
|
55
|
+
"fonts/latin/noto-sans-italic.woff2": "ad80ce4e76242569275e70e68331b798255afb91ed358238d9125039dd75c23b",
|
|
56
|
+
"fonts/latin/noto-sans-mono.woff2": "e169c8d2afe6cdb60a2fd0fded8d51883a94d24019825d59cb98c0475a6d1b20",
|
|
57
|
+
"fonts/latin/noto-sans.woff2": "039e8aa65c7d0b18d5685136302b207c0c8a6f180ca610bcd07a24425ecca296",
|
|
58
|
+
"fonts/math/OFL-NotoSansMath.txt": "c9c63b8ed6cf76b2ce0c58b241acfc1195c2c928334c989c7047cbdac58773d9",
|
|
59
|
+
"fonts/math/fonts.css": "3c213efc523d274af2aeee084828c22c3b2ac1ec46d42a473d801c557c5d840d",
|
|
60
|
+
"fonts/math/noto-sans-math.woff2": "30f85f333343fc8a5fb4d93c4b66886544cd6fbe338bda0109ebed23df254df0",
|
|
61
|
+
"fonts/pkg/GFL.txt": "5eb61bb836bb1845ef668717cb15b382e997748ce2629e4388cc5e4c3fa4e433",
|
|
62
|
+
"fonts/pkg/README-lm.txt": "14e49b3012214c5602d380e0ceb29903ac143d0f65352b169790436f14b33e95",
|
|
63
|
+
"fonts/pkg/fonts.css": "c99bcef644c822b8f66c5b10e1e0e2535b16943a1da6420ec3100c712d895a56",
|
|
64
|
+
"fonts/pkg/lmsans10-regular.woff2": "6b616a1e37d5b3bba7aeaeb5d43ea3875dc00364f82981a2a3c76853b0e0ee87",
|
|
65
|
+
"fonts/vietnamese/OFL-NotoSans.txt": "cee9892f9f0cc8fe882c9e9537ee6a89621d86ee7ceaf70b02e2b2b1c25c061a",
|
|
66
|
+
"fonts/vietnamese/OFL-NotoSansMono.txt": "cee9892f9f0cc8fe882c9e9537ee6a89621d86ee7ceaf70b02e2b2b1c25c061a",
|
|
67
|
+
"fonts/vietnamese/fonts.css": "2ef568287fbbe6e11aad881f7d273d549ff5f93c251f53c665843ef11330c056",
|
|
68
|
+
"fonts/vietnamese/noto-sans-italic.woff2": "449fa7963dd8e53c7a1d47fe696464df59627bf7585eae4bc96a4cb72c98bd64",
|
|
69
|
+
"fonts/vietnamese/noto-sans-mono.woff2": "4cf1643290fefa9d0b2f8a6a6df076d3ba226db90c1954c42e27735b3b6e8075",
|
|
70
|
+
"fonts/vietnamese/noto-sans.woff2": "0d3eb41e600702e4415b8860cd248ce3bcb710b2d81e18517a02048836cdc88e",
|
|
71
|
+
"latex/dataimago-tokens.sty": "7e04ac65b9224eb1f901d357eeedc7c629fedd5639a9b7909c3ccffdc1ed5f78",
|
|
72
|
+
"latex/dataimago.sty": "fc7e955879366707adb4081baab7c82e50ac8ecc57dbefc29fe396ba6e4a36ee",
|
|
73
|
+
"quarto/_extensions/dataimago/monograph/_extension.yml": "ca06efb904922ba931b8b75b1dd97875cd76c65b4e2145a6fbe82ec8ab21b12d",
|
|
74
|
+
"quarto/_extensions/dataimago/monograph/dataimago-base.sty": "95b92a7712e439a3e2a6fcc92f064fc16d23dd15719c18d616def0aec5f11f17",
|
|
75
|
+
"quarto/_extensions/dataimago/monograph/dataimago-monograph.sty": "f40c2363bee6aa9c92e6fe06d60e89662364357b55a067c54153c7800133ac68",
|
|
76
|
+
"quarto/_extensions/dataimago/monograph/dataimago-tokens.sty": "f5777ec534fdfc4fd8038515e06ea0fdd9eaccc734bc2b67e146fbb48ac18dce",
|
|
77
|
+
"quarto/_extensions/dataimago/monograph/filters/figure-plate.lua": "f8773c26100144d1bbf6d38411ae3c46092c8c8ae1c47e84c73ff116227cb387",
|
|
78
|
+
"quarto/_extensions/dataimago/monograph/filters/matter.lua": "7724a0d8e098b5ddde3d289ac4aa343ab665247d83df463539fdff1fae6b75a9",
|
|
79
|
+
"quarto/_extensions/dataimago/monograph/filters/pkg-name.lua": "2d680140c2bf9ccdc29c90c4df3e9826ac6a89db5fdaa5df9e6470a27066f5bd",
|
|
80
|
+
"quarto/_extensions/dataimago/monograph/fonts/GFL.txt": "5eb61bb836bb1845ef668717cb15b382e997748ce2629e4388cc5e4c3fa4e433",
|
|
81
|
+
"quarto/_extensions/dataimago/monograph/fonts/JosefinSans-VF.ttf": "9255abdb5f393bc51e101abbd07a716a977fd3e15472b1b84b260f426a342bfd",
|
|
82
|
+
"quarto/_extensions/dataimago/monograph/fonts/NotoSans-Italic-VF.ttf": "0c9c7620381d710ac16269b1f1756f9ee05fa4c3bf7293ff04ef6723fcddbe9f",
|
|
83
|
+
"quarto/_extensions/dataimago/monograph/fonts/NotoSans-VF.ttf": "511cc04b442ffcc3b24d65c2cc780bdffaf482b20ba0aebdc8f27b37017ff0f5",
|
|
84
|
+
"quarto/_extensions/dataimago/monograph/fonts/NotoSansMath-Regular.ttf": "b127e84699212b6b2ef50aff58e0ebebeec04ffe6db1b9eb9e209c8c3d97b4aa",
|
|
85
|
+
"quarto/_extensions/dataimago/monograph/fonts/NotoSansMono-VF.ttf": "8b8b934f600dbd1da306eb4018e7406a4510cccd011a686c16680bcaeacb6617",
|
|
86
|
+
"quarto/_extensions/dataimago/monograph/fonts/OFL-JosefinSans.txt": "aee5a4081e8a52f80428b30f178b719d115f18dad3e1fa15a986163e1078a85b",
|
|
87
|
+
"quarto/_extensions/dataimago/monograph/fonts/OFL-NotoSans.txt": "cee9892f9f0cc8fe882c9e9537ee6a89621d86ee7ceaf70b02e2b2b1c25c061a",
|
|
88
|
+
"quarto/_extensions/dataimago/monograph/fonts/OFL-NotoSansMath.txt": "c9c63b8ed6cf76b2ce0c58b241acfc1195c2c928334c989c7047cbdac58773d9",
|
|
89
|
+
"quarto/_extensions/dataimago/monograph/fonts/OFL-NotoSansMono.txt": "cee9892f9f0cc8fe882c9e9537ee6a89621d86ee7ceaf70b02e2b2b1c25c061a",
|
|
90
|
+
"quarto/_extensions/dataimago/monograph/fonts/README-lm.txt": "14e49b3012214c5602d380e0ceb29903ac143d0f65352b169790436f14b33e95",
|
|
91
|
+
"quarto/_extensions/dataimago/monograph/fonts/lmsans10-regular.otf": "d431b786b9b603662718e79cfe9b441f47a8b0b3e854dde89d5acb3ed7cfd682",
|
|
92
|
+
"quarto/_extensions/dataimago/monograph/partials/before-body.tex": "c89657035f8c0bdeabcac763c3347a18a1c209fe6ad1fe36cf2bead4309d7cda",
|
|
93
|
+
"quarto/_extensions/dataimago/monograph/partials/title.tex": "1d28c1515c25ce737354989f3c35c754bef87e92cf6ece8b2dceeb594c2a7b0b",
|
|
94
|
+
"quarto/components.scss": "ac2f02281cc093eaa6715cbcf75a1c3cdbe7e8ce2ecd378b6fd89570b539f11d",
|
|
95
|
+
"quarto/dataimago-dark.scss": "d6e8141982fb006cdf8c6c75e659bffbee97f3621eca5fd0ac0a5c3aae5e1b1a",
|
|
96
|
+
"quarto/dataimago-light.scss": "6f2b0209af178eced1efba738071039025aab8ccd747ae968713b8b8991b043e",
|
|
97
|
+
"templates/KNOWLEDGE-explorer.md": "0d9b0265eee2c99389dc2e27355cf5b48169ee48032748d7f8fd48ee07c7e41e",
|
|
98
|
+
"templates/KNOWLEDGE-framework.md": "fc9fe73d6703b4f576c0bf58ba60b22a48689251c75ad0221e4f69612da7e82d",
|
|
99
|
+
"templates/KNOWLEDGE-research.md": "d42b910418ad1bae53fd920fa72bc356a3529dcba5d2bd56f4b77f47c75d29ee",
|
|
100
|
+
"templates/quarto_website/README.md": "c4d560c6f3c20cf8e2a9e85f992ac7047cfd7e205da93e3ee129077710425d01",
|
|
101
|
+
"templates/quarto_website/_quarto.yml.template": "3f4e3ae34f0d0943425a5514996c70c8a2ec17c314a7cd5822635c368d257569",
|
|
102
|
+
"templates/quarto_website/about.qmd.template": "9ed27fe91c746d49098d4935e73a2009c5bb2805dc1d52fc283d2eb12061499c",
|
|
103
|
+
"templates/quarto_website/assets/css/lang.css": "a6a46d4fa1e44906644e47af6ae4374e47be21e87de45384528bb4b9a34c7e44",
|
|
104
|
+
"templates/quarto_website/assets/js/custom-anchors.js": "4171ed90b0bf012aa9be587da4219dde8afc0a5b8431cbe8b00711d1969870af",
|
|
105
|
+
"templates/quarto_website/assets/js/logo-switch.js": "af68d37467dadec7a0eb0896e5885ddc86ecc46997a04b7ba2969462aae15040",
|
|
106
|
+
"templates/quarto_website/assets/js/scroll.js": "88c03621cd9233c4fec5a52922c7351c76afe88b8fe5540965af53fd5a8168be",
|
|
107
|
+
"templates/quarto_website/ethics.qmd.template": "339b5986911a997ba44f0397f48162694feb47cc87560b923b30b43ea505efe6",
|
|
108
|
+
"templates/quarto_website/index.qmd.template": "0988039ab1baa4e2187c7d0a900bd58275a756e2806d066e8c796b00cf13f2e2"
|
|
25
109
|
}
|
|
26
110
|
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# @dataimago/css@0.1.0-alpha.22 dist/quarto/_extensions/dataimago/monograph/_extension.yml · sha256:da1b2c8c61f33891c741b5b94a6e6544c13e110d6fcc9bfb689f53e51c4e8b88 · generated from tokens; do not edit · restore: npx -p @dataimago/css@0.1.0-alpha.22 dataimago-sync
|
|
2
|
+
title: dataimago monograph
|
|
3
|
+
author: dataimago
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
quarto-required: ">=1.8.0"
|
|
6
|
+
contributes:
|
|
7
|
+
formats:
|
|
8
|
+
pdf:
|
|
9
|
+
pdf-engine: lualatex
|
|
10
|
+
documentclass: memoir
|
|
11
|
+
classoption:
|
|
12
|
+
- oneside
|
|
13
|
+
- 11pt
|
|
14
|
+
- openany
|
|
15
|
+
top-level-division: chapter
|
|
16
|
+
number-sections: true
|
|
17
|
+
number-depth: 3
|
|
18
|
+
tbl-cap-location: top
|
|
19
|
+
colorlinks: true
|
|
20
|
+
include-in-header:
|
|
21
|
+
- text: |
|
|
22
|
+
\usepackage{dataimago-base}
|
|
23
|
+
\usepackage{dataimago-monograph}
|
|
24
|
+
template-partials:
|
|
25
|
+
- partials/title.tex
|
|
26
|
+
- partials/before-body.tex
|
|
27
|
+
filters:
|
|
28
|
+
- filters/pkg-name.lua
|
|
29
|
+
- filters/figure-plate.lua
|
|
30
|
+
- filters/matter.lua
|
|
31
|
+
format-resources:
|
|
32
|
+
- dataimago-base.sty
|
|
33
|
+
- dataimago-monograph.sty
|
|
34
|
+
- dataimago-tokens.sty
|
|
35
|
+
- fonts
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
% @dataimago/css@0.1.0-alpha.22 dist/quarto/_extensions/dataimago/monograph/dataimago-base.sty · sha256:c57fb2c8b25051e0e3e6f06d3ff7adaea9f084ececbffbd9a00d7cdad7cf8bf5 · generated from tokens; do not edit · restore: npx -p @dataimago/css@0.1.0-alpha.22 dataimago-sync
|
|
2
|
+
%%%
|
|
3
|
+
%%% dataimago-base.sty - the dataimago PDF base style (LuaLaTeX only)
|
|
4
|
+
%%%
|
|
5
|
+
%%% Typography, token colours and the layout every dataimago PDF shares. The monograph and article layers
|
|
6
|
+
%%% build on this file. It does not load hyperref (Quarto's template does) and sets nothing that is a
|
|
7
|
+
%%% title page or a chapter style.
|
|
8
|
+
%%%
|
|
9
|
+
%%% Engine: LuaLaTeX. The faces are variable fonts and fontspec only selects their instances through
|
|
10
|
+
%%% HarfBuzz, which XeLaTeX cannot do. Any other engine stops here with an error.
|
|
11
|
+
%%%
|
|
12
|
+
%%% Fonts are found by path, ./fonts/ next to the .tex (that is where Quarto's format-resources land), so
|
|
13
|
+
%%% nothing is installed system-wide. The files are the unmodified upstream variable fonts renamed to drop
|
|
14
|
+
%%% the comma in "[wdth,wght]", which fontspec misreads.
|
|
15
|
+
%%%
|
|
16
|
+
%%% Faces (house faces only): Noto Sans 400 with bold 700 (never ExtraBold), Noto Sans Mono without TeX
|
|
17
|
+
%%% ligatures, Noto Sans Math through unicode-math, Josefin Sans at the weight each heading asks for, and
|
|
18
|
+
%%% Latin Modern Sans inside \diPkg only. Computer Modern is never used.
|
|
19
|
+
%%%
|
|
20
|
+
%%% Macros the layers use:
|
|
21
|
+
%%% \diSans \diMono \diPkg font switches
|
|
22
|
+
%%% \diHeadingFont{<wght>} Josefin Sans at that weight (100-700), letterspaced, lowercase matched
|
|
23
|
+
%%% \diFigurePlate{<box>} the figure plate and frame (maintainer decision 2026-10-31)
|
|
24
|
+
%%% ContentPrimary ... FigureBoxBg the CamelCase colour names LIwLD content uses, aliased to di-* tokens
|
|
25
|
+
%%%
|
|
26
|
+
\NeedsTeXFormat{LaTeX2e}
|
|
27
|
+
\ProvidesPackage{dataimago-base}[2026/10/31 dataimago PDF base style]
|
|
28
|
+
|
|
29
|
+
%% ---- Engine ------------------------------------------------------------------------------------------
|
|
30
|
+
\RequirePackage{iftex}
|
|
31
|
+
\ifluatex\else
|
|
32
|
+
\PackageError{dataimago-base}{%
|
|
33
|
+
This style needs LuaLaTeX, not \ifPDFTeX pdfTeX\else\ifXeTeX XeLaTeX\else this engine\fi\fi}{%
|
|
34
|
+
The dataimago faces are variable fonts; their weights are selected through HarfBuzz, which only LuaLaTeX offers.\MessageBreak
|
|
35
|
+
Render with pdf-engine: lualatex (format: dataimago/monograph-pdf in Quarto, or lualatex file.tex).}
|
|
36
|
+
\expandafter\@@end
|
|
37
|
+
\fi
|
|
38
|
+
|
|
39
|
+
\makeatletter
|
|
40
|
+
|
|
41
|
+
%% ---- Tokens ------------------------------------------------------------------------------------------
|
|
42
|
+
% Options for packages a document (or Quarto's template) may already have loaded: passed, never
|
|
43
|
+
% requested at load time, so a second load cannot raise an option clash.
|
|
44
|
+
\PassOptionsToPackage{svgnames}{xcolor}
|
|
45
|
+
\PassOptionsToPackage{obeyspaces,hyphens}{url}
|
|
46
|
+
\RequirePackage{dataimago-tokens}
|
|
47
|
+
|
|
48
|
+
% The shipped files are loaded by path, so the family names in the tokens are not what selects a face.
|
|
49
|
+
% Check they still say what the file mapping below assumes, so a renamed token family is not silent.
|
|
50
|
+
\def\di@checkfamily#1#2{%
|
|
51
|
+
\def\di@want{#2}\edef\di@have{#1}%
|
|
52
|
+
\ifx\di@want\di@have\else
|
|
53
|
+
\PackageError{dataimago-base}{Token family #1 is not #2}{The font files in dataimago-base.sty assume #2; update the file mapping.}%
|
|
54
|
+
\fi}
|
|
55
|
+
\di@checkfamily{\diFontFamilySans}{Noto Sans}
|
|
56
|
+
\di@checkfamily{\diFontFamilyMono}{Noto Sans Mono}
|
|
57
|
+
\di@checkfamily{\diFontFamilyDisplay}{Josefin Sans}
|
|
58
|
+
\di@checkfamily{\diFontFamilyMath}{Noto Sans Math}
|
|
59
|
+
|
|
60
|
+
%% ---- Packages, in an order that is safe under Quarto's template -------------------------------------
|
|
61
|
+
% amsmath before unicode-math. amssymb is NOT loaded here: unicode-math supplies those symbols and a later
|
|
62
|
+
% amssymb redefines \eth. If the template loaded amssymb first, unicode-math is told to keep going.
|
|
63
|
+
\RequirePackage{amsmath}
|
|
64
|
+
\RequirePackage{amsthm}
|
|
65
|
+
% Both are loaded BARE: Quarto's template loads unicode-math (and with it fontspec) before header-includes,
|
|
66
|
+
% so any option given here would be an option clash. The maths options go through \unimathsetup.
|
|
67
|
+
\RequirePackage{fontspec}
|
|
68
|
+
\RequirePackage{unicode-math}
|
|
69
|
+
\unimathsetup{math-style=ISO,bold-style=ISO}
|
|
70
|
+
\RequirePackage{xcolor}
|
|
71
|
+
\RequirePackage{url}
|
|
72
|
+
\RequirePackage{graphicx,bm,indentfirst,xspace,newunicodechar}
|
|
73
|
+
\RequirePackage{caption}
|
|
74
|
+
\RequirePackage{enumitem}
|
|
75
|
+
\RequirePackage{tcolorbox}
|
|
76
|
+
\tcbuselibrary{skins,breakable}
|
|
77
|
+
|
|
78
|
+
%% ---- Fonts -------------------------------------------------------------------------------------------
|
|
79
|
+
% fontspec's Path= takes the fonts from ./fonts/. Weights are the token numbers; width is pinned at 100.
|
|
80
|
+
\defaultfontfeatures{Path=./fonts/,Renderer=HarfBuzz}
|
|
81
|
+
|
|
82
|
+
% \di@axis{<wght>}{<extra raw features>} : the raw feature string for one instance.
|
|
83
|
+
\newcommand\di@axis[1]{axis={wght=#1,wdth=100}}
|
|
84
|
+
\newcommand\di@axisw[1]{axis={wght=#1}}
|
|
85
|
+
|
|
86
|
+
% Numbers=OldStyle on the main font only, as the LIwLD fork does; sans and \diSans keep lining figures.
|
|
87
|
+
\setmainfont{NotoSans-VF.ttf}[
|
|
88
|
+
Scale=1.0,
|
|
89
|
+
Ligatures=TeX,
|
|
90
|
+
Numbers=OldStyle,
|
|
91
|
+
UprightFont = NotoSans-VF.ttf,
|
|
92
|
+
ItalicFont = NotoSans-Italic-VF.ttf,
|
|
93
|
+
BoldFont = NotoSans-VF.ttf,
|
|
94
|
+
BoldItalicFont = NotoSans-Italic-VF.ttf,
|
|
95
|
+
UprightFeatures = {RawFeature={\expanded{\di@axis{\diFontWeightRegular}}}},
|
|
96
|
+
ItalicFeatures = {RawFeature={\expanded{\di@axis{\diFontWeightRegular}}}},
|
|
97
|
+
BoldFeatures = {RawFeature={\expanded{\di@axis{\diFontWeightBold}}}},
|
|
98
|
+
BoldItalicFeatures = {RawFeature={\expanded{\di@axis{\diFontWeightBold}}}},
|
|
99
|
+
]
|
|
100
|
+
\setsansfont{NotoSans-VF.ttf}[
|
|
101
|
+
Scale=1.0,
|
|
102
|
+
Ligatures=TeX,
|
|
103
|
+
ItalicFont = NotoSans-Italic-VF.ttf,
|
|
104
|
+
BoldFont = NotoSans-VF.ttf,
|
|
105
|
+
BoldItalicFont = NotoSans-Italic-VF.ttf,
|
|
106
|
+
UprightFeatures = {RawFeature={\expanded{\di@axis{\diFontWeightRegular}}}},
|
|
107
|
+
ItalicFeatures = {RawFeature={\expanded{\di@axis{\diFontWeightRegular}}}},
|
|
108
|
+
BoldFeatures = {RawFeature={\expanded{\di@axis{\diFontWeightBold}}}},
|
|
109
|
+
BoldItalicFeatures = {RawFeature={\expanded{\di@axis{\diFontWeightBold}}}},
|
|
110
|
+
]
|
|
111
|
+
\newfontfamily\diSans{NotoSans-VF.ttf}[
|
|
112
|
+
Ligatures=TeX,
|
|
113
|
+
ItalicFont = NotoSans-Italic-VF.ttf,
|
|
114
|
+
BoldFont = NotoSans-VF.ttf,
|
|
115
|
+
BoldItalicFont = NotoSans-Italic-VF.ttf,
|
|
116
|
+
UprightFeatures = {RawFeature={\expanded{\di@axis{\diFontWeightRegular}}}},
|
|
117
|
+
ItalicFeatures = {RawFeature={\expanded{\di@axis{\diFontWeightRegular}}}},
|
|
118
|
+
BoldFeatures = {RawFeature={\expanded{\di@axis{\diFontWeightBold}}}},
|
|
119
|
+
BoldItalicFeatures = {RawFeature={\expanded{\di@axis{\diFontWeightBold}}}},
|
|
120
|
+
]
|
|
121
|
+
|
|
122
|
+
% Mono: TeX text ligatures (tlig) are off. In code they turn " into a curly quote and -- into an en dash,
|
|
123
|
+
% and the PDF's ToUnicode records the substitute, so pasted code no longer parses (LIwLD's -tlig).
|
|
124
|
+
% The mono family has no italic file; italics reuse the upright instance.
|
|
125
|
+
\setmonofont{NotoSansMono-VF.ttf}[
|
|
126
|
+
Scale=0.95,
|
|
127
|
+
RawFeature={-tlig},
|
|
128
|
+
ItalicFont = NotoSansMono-VF.ttf,
|
|
129
|
+
BoldFont = NotoSansMono-VF.ttf,
|
|
130
|
+
BoldItalicFont = NotoSansMono-VF.ttf,
|
|
131
|
+
UprightFeatures = {RawFeature={\expanded{\di@axis{\diFontWeightRegular}}}},
|
|
132
|
+
ItalicFeatures = {RawFeature={\expanded{\di@axis{\diFontWeightRegular}}}},
|
|
133
|
+
BoldFeatures = {RawFeature={\expanded{\di@axis{\diFontWeightBold}}}},
|
|
134
|
+
BoldItalicFeatures = {RawFeature={\expanded{\di@axis{\diFontWeightBold}}}},
|
|
135
|
+
]
|
|
136
|
+
\newfontfamily\diMono{NotoSansMono-VF.ttf}[
|
|
137
|
+
Scale=0.95,
|
|
138
|
+
RawFeature={-tlig},
|
|
139
|
+
ItalicFont = NotoSansMono-VF.ttf,
|
|
140
|
+
BoldFont = NotoSansMono-VF.ttf,
|
|
141
|
+
BoldItalicFont = NotoSansMono-VF.ttf,
|
|
142
|
+
UprightFeatures = {RawFeature={\expanded{\di@axis{\diFontWeightRegular}}}},
|
|
143
|
+
ItalicFeatures = {RawFeature={\expanded{\di@axis{\diFontWeightRegular}}}},
|
|
144
|
+
BoldFeatures = {RawFeature={\expanded{\di@axis{\diFontWeightBold}}}},
|
|
145
|
+
BoldItalicFeatures = {RawFeature={\expanded{\di@axis{\diFontWeightBold}}}},
|
|
146
|
+
]
|
|
147
|
+
|
|
148
|
+
% Maths in Noto Sans Math (OpenType MATH table).
|
|
149
|
+
\setmathfont{NotoSansMath-Regular.ttf}[Path=./fonts/]
|
|
150
|
+
|
|
151
|
+
% Josefin Sans headings. One family per weight, made the first time it is asked for. LetterSpace and
|
|
152
|
+
% MatchLowercase are LIwLD's tuned values (dataimago-no-ai-logo.sty). Weights are asked for by number so a
|
|
153
|
+
% layer can use any instance of the variable font (the layer names the heading-to-weight table).
|
|
154
|
+
\newcommand\diHeadingFont[1]{%
|
|
155
|
+
\ifcsname di@hf@#1\endcsname\else
|
|
156
|
+
\expandafter\newfontfamily\csname di@hf@#1\endcsname{JosefinSans-VF.ttf}[
|
|
157
|
+
Scale=MatchLowercase,
|
|
158
|
+
LetterSpace=0.5,
|
|
159
|
+
UprightFont=JosefinSans-VF.ttf,
|
|
160
|
+
BoldFont=JosefinSans-VF.ttf,
|
|
161
|
+
UprightFeatures={RawFeature={\expanded{\di@axisw{#1}}}},
|
|
162
|
+
BoldFeatures={RawFeature={\expanded{\di@axisw{#1}}}},
|
|
163
|
+
]%
|
|
164
|
+
\fi
|
|
165
|
+
\csname di@hf@#1\endcsname}
|
|
166
|
+
|
|
167
|
+
% The package-name face: Latin Modern Sans, regular and upright whatever surrounds it, scaled so its
|
|
168
|
+
% lowercase matches the Noto Sans body. The one sanctioned exception to the house faces.
|
|
169
|
+
\newfontfamily\diPkg{lmsans10-regular.otf}[
|
|
170
|
+
Scale=MatchLowercase,
|
|
171
|
+
BoldFont=lmsans10-regular.otf,
|
|
172
|
+
ItalicFont=lmsans10-regular.otf,
|
|
173
|
+
BoldItalicFont=lmsans10-regular.otf,
|
|
174
|
+
]
|
|
175
|
+
\let\pkgfamily\diPkg
|
|
176
|
+
|
|
177
|
+
%% ---- Colours -----------------------------------------------------------------------------------------
|
|
178
|
+
% The CamelCase names the LIwLD content uses, as aliases of the token colours.
|
|
179
|
+
\colorlet{SurfacePage}{di-surface-page}
|
|
180
|
+
\colorlet{SurfaceCode}{di-surface-code}
|
|
181
|
+
\colorlet{SurfaceElevated}{di-surface-elevated}
|
|
182
|
+
\colorlet{ContentPrimary}{di-content-primary}
|
|
183
|
+
\colorlet{ContentSecondary}{di-content-secondary}
|
|
184
|
+
\colorlet{BorderCode}{di-border-code}
|
|
185
|
+
\colorlet{BorderModerate}{di-border-moderate}
|
|
186
|
+
\colorlet{DataimagoPrimary}{di-interactive-primary}
|
|
187
|
+
\colorlet{DataimagoAccent}{di-interactive-accent}
|
|
188
|
+
\colorlet{DataimagoEthical}{di-functional-error}
|
|
189
|
+
\colorlet{InfoColor}{di-functional-info}
|
|
190
|
+
\colorlet{WarningColor}{di-functional-warning}
|
|
191
|
+
\colorlet{ErrorColor}{di-functional-error}
|
|
192
|
+
\colorlet{SuccessColor}{di-functional-success}
|
|
193
|
+
\colorlet{FigureBoxBg}{di-figure-plate}
|
|
194
|
+
\colorlet{FigureBoxFrame}{di-figure-frame}
|
|
195
|
+
|
|
196
|
+
\pagecolor{SurfacePage}
|
|
197
|
+
|
|
198
|
+
% Body text is content.primary, and it is the document's default colour (not only the colour in force at the
|
|
199
|
+
% start): \normalcolor, which floats, footnotes, captions and page furniture return to, follows too.
|
|
200
|
+
% Set at \begin{document}, after every package that may have set \default@color itself.
|
|
201
|
+
\AtBeginDocument{\color{ContentPrimary}\let\default@color\current@color}
|
|
202
|
+
|
|
203
|
+
% Figure plate and frame: a 0.4pt rule with 3pt padding (the HTML side is 1px and 4px).
|
|
204
|
+
% Scoped inside the macro so a document's own \fbox settings are untouched.
|
|
205
|
+
\newcommand\diFigurePlate[1]{{\setlength{\fboxrule}{0.4pt}\setlength{\fboxsep}{3pt}%
|
|
206
|
+
\fcolorbox{di-figure-frame}{di-figure-plate}{#1}}}
|
|
207
|
+
|
|
208
|
+
%% ---- Hyperref (loaded by the template; set once it is) ------------------------------------------------
|
|
209
|
+
% Links ContentPrimary, citations interactive.accent, URLs interactive.primary.
|
|
210
|
+
% Running-text links (\href, \url) also get a thin underline, a non-colour cue (WCAG 1.4.1; the HTML format
|
|
211
|
+
% underlines them). lua-ul's \underLine is a rule that breaks across lines; it needs luacolor to keep the
|
|
212
|
+
% link colour. Cross-references and citations stay colour only. \url is set in the mono face.
|
|
213
|
+
\RequirePackage{luacolor}
|
|
214
|
+
\RequirePackage{lua-ul}
|
|
215
|
+
\AtBeginDocument{%
|
|
216
|
+
\@ifpackageloaded{hyperref}{%
|
|
217
|
+
\hypersetup{colorlinks=true,linkcolor=ContentPrimary,citecolor=DataimagoAccent,urlcolor=DataimagoPrimary}%
|
|
218
|
+
\let\di@linkurl\hyper@linkurl
|
|
219
|
+
\def\hyper@linkurl#1#2{\di@linkurl{\underLine{#1}}{#2}}%
|
|
220
|
+
\urlstyle{tt}%
|
|
221
|
+
}{}}
|
|
222
|
+
\newcommand{\sref}[1]{\hyperref[#1]{\S\ref*{#1}}}
|
|
223
|
+
|
|
224
|
+
%% ---- Maths operators and the arrow fallback ----------------------------------------------------------
|
|
225
|
+
\DeclareMathOperator*{\argmin}{arg\,min}
|
|
226
|
+
\DeclareMathOperator*{\argmax}{arg\,max}
|
|
227
|
+
|
|
228
|
+
% U+2192 is in neither text face (Noto Sans, Josefin Sans) and prints as a box; set it from the maths
|
|
229
|
+
% font wherever it appears in text. Bookmarks get a plain arrow.
|
|
230
|
+
\newunicodechar{→}{\texorpdfstring{\ensuremath{\rightarrow}}{\textrightarrow}}
|
|
231
|
+
|
|
232
|
+
% Pandoc writes every Markdown table as a longtable: bodies one step smaller than text.
|
|
233
|
+
\AddToHook{env/longtable/begin}{\small}
|
|
234
|
+
|
|
235
|
+
%% ---- Captions and lists ------------------------------------------------------------------------------
|
|
236
|
+
\captionsetup{font=small,labelfont=bf,textfont=normal,justification=justified,skip=8pt}
|
|
237
|
+
\setlist[enumerate]{font=\normalfont,leftmargin=*,itemsep=0.5em,parsep=0.25em}
|
|
238
|
+
\setlist[itemize]{font=\normalfont,leftmargin=*,itemsep=0.5em,parsep=0.25em}
|
|
239
|
+
|
|
240
|
+
%% ---- Boxes, proof, abstract ---------------------------------------------------------------------------
|
|
241
|
+
\newtcolorbox{theorembox}[2][]{enhanced,breakable,colback=SurfaceCode,colframe=BorderCode,boxrule=0.6pt,
|
|
242
|
+
arc=3pt,left=10pt,right=10pt,top=8pt,bottom=8pt,before skip=12pt,after skip=12pt,
|
|
243
|
+
title={#2},fonttitle=\diHeadingFont{400},coltitle=ContentPrimary,#1}
|
|
244
|
+
\newtcolorbox{definitionbox}[2][]{enhanced,breakable,colback=SurfaceElevated,colframe=BorderModerate,boxrule=0.8pt,
|
|
245
|
+
arc=4pt,left=10pt,right=10pt,top=8pt,bottom=8pt,before skip=12pt,after skip=12pt,
|
|
246
|
+
title={#2},fonttitle=\diHeadingFont{400},coltitle=ContentPrimary,#1}
|
|
247
|
+
|
|
248
|
+
% proof: the body font, not the heading font; the end mark is Noto Sans Math's U+25A0 (no MSAM, no amssymb).
|
|
249
|
+
% The optional title is honoured: \begin{proof}[Proof of Lemma 1]. Redefined only if the template defined it (amsthm does).
|
|
250
|
+
\AtBeginDocument{%
|
|
251
|
+
\@ifundefined{proof}{}{%
|
|
252
|
+
\renewenvironment{proof}[1][\proofname]{\par\noindent{\normalfont\bfseries\color{ContentPrimary}#1.}\hspace{0.5em}}%
|
|
253
|
+
{\hfill\ensuremath{\mdlgblksquare}\par}}}
|
|
254
|
+
|
|
255
|
+
% abstract: Quarto's own abstract block is swallowed (the format sets the abstract as a front-matter
|
|
256
|
+
% chapter). A layer that wants the stock environment calls \diKeepAbstract before \begin{document}.
|
|
257
|
+
% Skipped when the class has no abstract or the comment package owns it.
|
|
258
|
+
\newcommand\diKeepAbstract{\let\di@keepabstract\relax}
|
|
259
|
+
\AtBeginDocument{%
|
|
260
|
+
\@ifundefined{di@keepabstract}{%
|
|
261
|
+
\@ifpackageloaded{comment}{}{%
|
|
262
|
+
\@ifundefined{abstract}{}{%
|
|
263
|
+
\renewenvironment{abstract}{\setbox\z@\vbox\bgroup}{\egroup}}}}{}}
|
|
264
|
+
|
|
265
|
+
%% ---- Code blocks (Pandoc Shaded, as LIwLD styles them) ------------------------------------------------
|
|
266
|
+
% Pandoc defines Shaded only when the document has highlighted code; restyle it only then.
|
|
267
|
+
\AtBeginDocument{%
|
|
268
|
+
\@ifundefined{Shaded}{}{%
|
|
269
|
+
\renewenvironment{Shaded}{%
|
|
270
|
+
\begin{tcolorbox}[enhanced,breakable,colback=white,opacityback=0.92,colframe=BorderCode,
|
|
271
|
+
boxrule=0.4pt,arc=2pt,left=8pt,right=8pt,top=8pt,bottom=8pt,before skip=8pt,after skip=8pt]%
|
|
272
|
+
}{\end{tcolorbox}}}}
|
|
273
|
+
|
|
274
|
+
\makeatother
|
|
275
|
+
\endinput
|