aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-30 21:16:08 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-30 21:16:08 +0100
commit9423be583305c5f0221df62dba94c2fb23eb9055 (patch)
tree4f18fc915518c8451b222af281dab9b19e2993b2
parentbf805640104c282113a791caba81567cbfe44132 (diff)
add comments + update TODOs
-rw-r--r--README.md3
-rw-r--r--lib.typ4
2 files changed, 6 insertions, 1 deletions
diff --git a/README.md b/README.md
index 31b58f6..8bc6bfa 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,8 @@ Typeset LaTeX compiler logos in [typst](https://github.com/typst/typst).
- document `metalogo()` command
- write a manual
-- fix latex2e logo
+- fix TODOs
+- check everything for packaging
## usage
diff --git a/lib.typ b/lib.typ
index 213c33d..d3e2b61 100644
--- a/lib.typ
+++ b/lib.typ
@@ -24,6 +24,7 @@
})
}
+// TODO: how to write this so `drop(1mm)[content]` works?
#let drop(body, distance: 0pt) = box[#move(dy: distance)[#body]]
#let mirror(body) = scale(x: -100%)[#body]
@@ -48,6 +49,8 @@
[L]
h(cfg.kern-la)
+ // TODO: factor out `A` component and add spacing parameters to config
+ // TODO: `A` is too far to the left compared to real LaTeX
drop(distance: -.2em)[#text(0.7em)[A]]
h(cfg.kern-at)
TeX
@@ -74,6 +77,7 @@
#let LaTeXe = context[#box[#{
LaTeX
+ // TODO: both of these are separate components in LaTeX's metalogo
[2]
sym.epsilon
}]]