A report template for Monash students, specially for FIT. Not affiliated with the university.
- Clone this repository:
git clone https://github.com/yunfenglong/monash-report.git
cd monash-report- Create your Typst document:
#import "src/lib.typ": report
#show: report.with(
// Your report parameters here
)- Compile your document:
# Generate PDF
typst compile --root . template/main.typ
# Watch for changes (optional) -> hot reload
typst watch --root . template/main.typinstitution: the institution logo for the report."unlp": National University of La Plata (default)- If you want to use a different logo, just write the logo path
academic-unit: the academic unit logo for the report.- If you want to use a different logo, just write the logo path
- If the Monash academic unit is not in the list, create an issue with the logo link and we'll add it to the template.
subject: the subject name (str).title(content, optional): the more formal title of the report, like[ASSIGNMENT REPORT].team(content): the team name, like[Group Monash].authors(array): the project authors. Each author hasname(str): the author's name in the formatSurname, Name;email(str, optional): an email;student-id(str, optional): a student ID;notes(arrayorstr, optional): other notes, like"Report responsible author".
descriptive-title(str): the project title itself, like"Sample Report".summary(content, optional): a summary of what the report is about or the project objective. It's a free field to write with the desired format.date(dateorstr): the report submission date, can be written as"2023-10-01"(October 1, 2023).format(dict, optional): other report settings:typography(str, optional): the report typography, New Computer Modern by default;margins(optional): can be"symmetric": same margins on each side (default),"bound": wider margins where the binding would go.
To add appendices to the report, you can use the appendix command where the appendices begin. For example:
#import "../src/lib.typ": report, appendix
#show: report.with(
// report parameters
)
// ... report content
#show: appendix
= Data Tables // Appendix A
// ...
= Other Information // Appendix B
// ...To add a symbols/nomenclature table to the report, you can use the nomenclature command where the table begins. For example:
#import "../src/lib.typ": report, nomenclature
#show: report.with(
// report parameters
)
#nomenclature(
($S_1$, [Symbol 1]),
($S_2$, [Symbol 2]),
($S_3$, [Symbol 3]),
)To generate the main.pdf document and the cover image thumbnails/1.png, you need to change
# Generate PDF
typst compile --root . --pdf-standard a-2b template/main.typ
# Generate thumbnail.png
typst compile --root . --format png template/main.typ "thumbnails/{p}.png"
oxipng -o 2 --strip safe thumbnails/*.png