Universe

Create project in app

A clean and professional letter template for Typst, designed for academic use.

  • Extremely concise, no additional dependencies
  • Professional layout
  • Customizable margins and spacing
  • Customizable main color
THU letter template preview UESTC letter template preview HITSZ letter template preview
THU UESTC HIT

Click the image to view source code

Usage

Use the following CLI command to directly install and start this template. Typst will automatically create the relevant directories and default to the THU template.

typst init @preview/basic-academic-letter

Or you can also search and use this template in Typst Universe in an online manner.

Configuration

#show: basic-academic-letter.with(
  // Institutional information
  main-color: rgb("#641C78"),
  logo-img: image("assets/logo.jpg", width: 80%),
  signature-img: image("assets/signature.png", height: 30pt),
  school: [School of Computer Science],
  university: [Your University],
  site: [123 University Ave, City, State 12345],
  phone: [+1 234 567 8900],
  website: [https://university.edu],

  // Personal information
  per-name: "Dr. Jane Smith",
  per-homepage: "https://university.edu/faculty/jane-smith",
  per-title: "Professor",
  per-school: "School of Computer Science",
  per-university: "Your University",
  per-email: "jane.smith@university.edu",

  // Letter content
  salutation: [To the Admission Committee,],
  closing: [Sincerely,],

  // ... other parameters ...

  // Spacing customization
  header-bottom-margin: 0cm,      // Space after header
  date-bottom-margin: 0.8cm,      // Space after date
  salutation-bottom-margin: 0.6cm, // Space after salutation
  body-bottom-margin: 0.8cm,      // Space after body
  closing-bottom-margin: 0cm,     // Space after closing
  signature-bottom-margin: 0cm,   // Space after signature
)

// Your letter content goes here
I am pleased to recommend [Student Name] for admission to your graduate program...

Parameters Reference

Required Parameters

Parameter Type Description
logo-img image Institution logo
signature-img image Personal signature
school content or none School/department name, or none to hide it
university content or none University name, or none to hide it
site content or none Address, or none to hide it
phone content or none Phone number, or none to hide it
website content or none Website URL, or none to hide it
per-name str Your name
per-homepage str or none Your homepage URL, or none to show plain text name
per-title str or none Your title, or none to hide it
per-school str or none Your school, or none to hide it
per-university str or none Your university, or none to hide it
per-email str or none Your email, or none to hide it

Optional Parameters

Parameter Type Default Description
main-color color navy Primary color for text highlights
logo-frac fraction 1.2fr Logo column width
info-frac fraction 1fr Info column width
date content today Letter date
salutation str “To Whom It May Concern,” Letter opening
closing str “Sincerely,” Letter closing
header-bottom-margin length 0cm Space after header
date-bottom-margin length 0.5cm Space after date
salutation-bottom-margin length 0.5cm Space after salutation
body-bottom-margin length 0.5cm Space after body
closing-bottom-margin length 0cm Space after closing
signature-bottom-margin length 0cm Space after signature

Contributing

Contributions are welcome! Please feel free to submit issues and pull requests.