A clean and simple Typst template for academic reports and assignments with automatic formatting, headers, and citation support.
β¨ Clean Title Page with customizable logo, title, author, course, and date
π Optional Table of Contents on a separate page
π Numbered Headings with navy blue styling (toggle)
π Figure & Table Support with automatic captions and numbering
π» Syntax-Highlighted Code Blocks with light background
π APA Bibliography integration with .bib files
π Smart Cross-References - Figures display as "Fig. X"
π Auto Headers/Footers - Author and course in header, page numbers in footer
π¨ Customizable - Adjust styling and toggle table of contents
πΌοΈ Default Placeholder Logo included - replace with your own
![]() |
![]() |
![]() |
![]() |
Before installing this template, you need to have Typst installed on your machine.
Install Typst: Visit the official Typst installation page and follow the instructions for your operating system.
-
Create the necessary directories for Typst local packages:
Windows:
C:\Users\YourUsername\AppData\Roaming\typst\packages\local\academic-template\0.1.0
macOS/Linux:
~/.local/share/typst/packages/local/academic-template/0.1.0
NOTE: You may need to create the
typst,packages,local,academic-template, and0.1.0folders if they don't exist.
-
Download this repository (click the green "Code" button β "Download ZIP") or clone it
-
Copy the following files into the
0.1.0folder you just created:main.typ(the template file)typst.toml(package configuration)assets/folder (contains the default placeholder logo)
-
Your final structure should look like this:
typst/packages/local/academic-template/0.1.0/
βββ main.typ
βββ typst.toml
βββ assets/
βββ logoipsum-404.svg # Default placeholder logo
- Done! You can now import the template in any Typst project using:
#import "@local/academic-template:0.1.0": reportIf you're comfortable with Git, you can clone directly into the local packages directory:
macOS/Linux:
git clone https://github.com/Cobos-Bioinfo/Typst-Report-Template.git \
~/.local/share/typst/packages/local/academic-template/0.1.0Windows (PowerShell):
git clone https://github.com/Cobos-Bioinfo/Typst-Report-Template.git `
"$env:APPDATA\typst\packages\local\academic-template\0.1.0"If you don't want to install the template globally, copy the repository into your project:
my-report/
βββ report.typ
βββ academic-template/
βββ main.typ
βββ typst.toml
βββ assets/
Then import it using a relative path:
#import "academic-template/main.typ": reportHere's an example of how to use the template in your document:
#show: report.with(
title: "Comprehensive Analysis of Machine Learning in Genomics",
course: "CS 589 - Bioinformatics",
author: "John Doe",
supervisor: "Supervised by: Prof. Alejandro Cobos",
show-toc: true,
heading-numbering: true,
bibliography-file: bibliography("references.bib", style: "apa"),
)See the Demo/report-preview.typ file for a complete example.
The template includes a placeholder logo by default. To use your own:
Option 1 - Override in your document (recommended):
#show: report.with(
logo: image("path/to/your-logo.png"), // or .svg, .jpg
// ... other parameters
)Option 2 - Replace the default in the template:
Navigate to the template installation and replace assets/logoipsum-404.svg with your logo file.
Option 3 - Disable the logo:
#show: report.with(
logo: none, // No logo on title page
// ... other parameters
)| Parameter | Type | Default | Description |
|---|---|---|---|
title |
string | "Report Title" |
Main document title |
author |
string | "Your Name" |
Author name (appears in header) |
course |
string | "Course Module" |
Course or module name (appears in header) |
supervisor |
string/none | none |
Optional role line below course (e.g., "Tutor: Name") |
logo |
content/none | image("assets/logoipsum-404.svg") |
Logo on title page (use image("path") to customize or none to disable) |
show-toc |
boolean | false |
Show table of contents on separate page |
heading-numbering |
boolean | true |
Toggle automatic numbering for all headings |
bibliography-file |
content/none | none |
Bibliography (use bibliography("file.bib", title: "References", style: "apa") to load) |
- Level 1: 18pt, bold, navy blue (#1e3a8a)
- Level 2: 14pt, bold, navy blue
- Level 3: 12pt, bold, navy blue
- Level 4: 11pt, bold, navy blue
All headings are numbered (e.g., 1., 1.1., 1.1.1.)
- Paper: A4
- Margins: 2.5cm all sides
- Font: New Computer Modern (similar to Times New Roman), 11pt
- Paragraph: Justified with 0.65em leading
- Light gray background (#f3f4f6)
- 9pt font size
- Rounded corners
- Syntax highlighting support
- Centered alignment and automatic numbering.
- Table captions are positioned above the table.
- Cross-references display as "Fig. X" or "Table X" in blue text.
my-report/
βββ report.typ # Your main document
βββ references.bib # Bibliography file
βββ logo.png # Your custom logo (optional)
βββ images/
βββ chart1.png
βββ diagram.svg
- Typst 0.12.0 or later
- Works with Typst CLI, Typst web app, and VS Code Typst extension
Contributions are welcome! Feel free to:
- Report bugs or issues
- Suggest new features
- Submit pull requests
MIT License - See LICENSE file for details
Alejandro Cobos
- GitHub: @Cobos-Bioinfo
- LinkedIn: Alejandro Cobos Filloy
Built with Typst - A modern alternative to LaTeX
β If you find this template useful, please consider giving it a star!



