From 9423be583305c5f0221df62dba94c2fb23eb9055 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Sat, 30 Nov 2024 21:16:08 +0100 Subject: add comments + update TODOs --- README.md | 3 ++- lib.typ | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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 }]] -- cgit v1.2.3