Source code for creating the LDMX logo with Typst.
- Orignal black+white design by Nhan Tran, available as PDF and in Keynote on LDMX DocDB #5808
- Using the Aileron font
There are a bunch of ways to do this, so I'm just going to refer you to their installation documentation.
just install-fonts
just watch
This will compile (and re-compile) test.typ
as you edit it or logo.typ
and produce
the multi-page test.pdf
where each page is a different version of the logo.
I would suggest opening test.pdf
with "Continuous Mode" in your PDF viewer so you can
see multiple logo versions at once.
There are a few examples already in the variations directory, so that should get you started. Please also include your variation in test.typ so that it can be rendered with the others while the parent function is being developed.
You can print a PDF, PNG, or SVG of any of the variations in variations with
just print-{pdf,png,svg} <variation>
The output is written into a file of the same name but with a different extension.
Specifically, I am using the Typst package fletcher to create this logo as a "diagram". flecter uses CeTZ under-the-hood so that might be helpful for more fine-tuning as well.
- mimic original logo
- control over colors of the different pieces (text, particles, background)
- add prefix and suffix text
- square page and center logo (e.g. for profile pictures)
- different color DM from L and X (
dm-text-color
argument) - end electron on D (like in original?)