Skip to content

LDMX-Software/logo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LDMX Logo Source Code

Source code for creating the LDMX logo with Typst.

Credit

  • Orignal black+white design by Nhan Tran, available as PDF and in Keynote on LDMX DocDB #5808
  • Using the Aileron font

Set Up

Install typst

There are a bunch of ways to do this, so I'm just going to refer you to their installation documentation.

Install Aileron Font

just install-fonts

Development

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.

Adding a New Variation

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.

Usage

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.

Implementation

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.

To Do

  • 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?)

About

source code for creating the LDMX logo

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •