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
just is used to share common recipes similar to how we use it for ldmx-sw development.
There are a bunch of ways to do this, so I'm just going to refer you to their installation documentation.
- Download Aileron Font
- Install into this repo for development
just install-font path/to/aileron.zip
If you wish to develop the central logo.typ file (to add some additional feature
for example), please install tytanic
which is used here to organize the different variations and make sure edits to
the logo.typ file do not alter variations already in use (or at least we know
that the logo has changed).
- Start a new template logo variation with
just new-variation NAME - Edit the file template now located at
tests/NAME/test.typ - Update the test reference with
just tt update- View the logo at
tests/NAME/ref/1.png
- View the logo at
git add tests/NAMEwhen you are happy with the new logo variation
The other "tests" are just the other logo variations and should always "pass"
unless you are editing logo.typ itself. Edits to logo.typ that change
the logo variations should be considered breaking changes and should be
done with care.
You can print a PDF, PNG, or SVG of any of the variations with
just print-{pdf,png,svg} <variation>
The output is written into a file of the same name (but with the correct extension)
in the variations directory.
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.