This repository provides a LaTeX template for creating JB2 (Jupyter Book 2) books using MyST Markdown, specifically configured for bachelor’s and master’s thesis layouts.
Add the following code to the myst.yml file:
downloads:
- id: output-pdf
exports:
- format: pdf
output: exports/output_file.pdf
template: { - TODO: replace with published link - }
id: output-pdf
This will automatically apply the template when running jupyter book build --pdf in the command line.
There are multiple additional settings which can be used to further customise the output PDF (e.g. cover, logo, margins). These can be seen in the export.yml file of the example found here
The first two pages show to general layout of the template:
|
|
The table of contents can be turned off via the settings in export.yml.

