s

scholarly-tauthesis

@preview

A template for writing Tampere University theses.

v0.9.0
MIT
Template

Package Information

Last Updated
Minimum Typst Version
0.12.0
Categories
thesis
Disciplines
education

Preview

Template preview

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/scholarly-tauthesis:0.9.0

2. Initialize from template

Create a new project from this template:

typst init @preview/scholarly-tauthesis:0.9.0

Version History

0.9.00.12.0
0e6ac1415905...
0.8.00.12.0
d129e5ad5d03...
0.7.00.11.1
fb02abf86909...
0.6.20.11.0
97bff5c26e49...
0.5.00.11.0
1320157b9c38...
0.4.10.11.0
05b0322f697d...
0.4.00.11.0
ec8a722a9154...
0.22.00.15.0
ab910230cfb9...
0.21.00.14.0
96c9a3a27658...
0.20.00.14.0
e79864106242...
0.19.30.14.0
bd179dd1dcdc...
0.19.10.14.0
1f18b40fe4c9...
0.18.00.14.0
e330f2a93e2b...
0.17.60.14.0
87998c4a1ebf...
0.17.40.14.0
7addec28bd13...
0.17.20.14.0
191356ae7718...
0.17.10.14.0
f08a224eef13...
0.16.30.13.1
83565da94f1a...
0.15.20.13.1
125cf939e2f9...
0.15.00.13.1
c630146362b9...
0.14.30.13.1
8d2afb61be1e...
0.14.20.13.1
af78b1441703...
0.14.10.13.1
67cefe76b431...
0.14.00.13.1
f5fea88502f2...
0.13.20.13.1
37654f0ad5f2...
0.12.00.13.1
3071e59b55e9...
0.11.20.13.0
0ed46d000758...
0.11.00.13.0
1ec9ddd2366d...
0.10.20.13.0
66b6fd62b99a...
0.10.00.13.0
d65379cb72d3...

Tampere University Thesis Template

This is a TAU thesis template written in the typst
typesetting language, a potential successor to LaTeΧ. The
version of typst used to test this template is
0.12.0.

Using the template on typst.app

This template is also available on Typst Universe as
scholarly-tauthesis. Simply create an account on
https://typst.app/ and start a new scholarly-tauthesis project by clicking
on Start from template and searching for scholarly-tauthesis.

If you have initialized your project with an older stable version of this
template and wish to upgrade to a newer release, the simplest way to do it is
to change the value of $VERSION0.9.0 in the import statements

#import "@preview/scholarly-tauthesis:$VERSION" as tauthesis

to correspond to a newer released version. Alternatively, you could download
the tauthesis.typ file from the thesis template repository, and
upload it into you project on https://typst.app/. Then use

#import "path/to/tauthesis.typ" as tauthesis

instead of

#import "@preview/scholarly-tauthesis:$VERSION" as tauthesis

to import the tauthesis module.

Note

Versions of this template before 0.9.0 do not actually work with typst.app due
to a packaging issue.

Local installation

If Typst Universe is online, this template will be downloaded automatically
to

$CACHEDIR/typst/packages/preview/scholarly-tauthesis/$VERSION/

when one runs the command

typst init @preview/scholarly-tauthesis:$VERSION mythesis

Here $VERSION should be ≥ 0.9.0. The value $CACHEDIR for your OS can be
discovered from https://docs.rs/dirs/latest/dirs/fn.cache_dir.html.

For a manual installation, download the contents of this repository via Git or
as a ZIP file from the template tags page. Then, make a symbolic link

$DATADIR/typst/packages/preview/scholarly-tauthesis/$VERSION/ → /path/to/root/of/tauthesis/

so that a local installation of typst can discover the
tauthesis.typ file no matter where you are running it from. To
find out the value $DATADIR for your operating system, see
https://docs.rs/dirs/latest/dirs/fn.data_dir.html. The value
$VERSION is the version A.B.C0.9.0 of this template you
wish to use.

Once the package has been installed, the command

typst init @preview/scholarly-tauthesis:$VERSION mythesis

creates a folder mythesis with the template files in place. Simply make the
mythesis folder you current working directory and run

typst compile main.typ

in the shell of your choice to compile the document from scratch.
Alternatively, type

typst watch main.typ &> typst.log &

to have a typst process watch the file for changes and
compile it when a file is changed. Possible error messages can
then be viewed by checking the contents of the mentioned file
typst.log.

This template can also be uploaded to the typst online editor at
https://typst.app/. However, the file paths related to the
tauthesis file will need to be changed if this is done
manually. See the tutorial at https://typst.app/docs/tutorial/
to learn the basics of the language. Some examples are also given
in the template itself.

Archiving the final version of your work

Before submitting your thesis to the university archives, it needs to be
converted to PDF/A format. Typst versions ≥ 0.12.0 should support the creation
of PDF/A-2b files, when run with the command

typst compile --pdf-standard a-2b template/main.typ

If a verification program such as veraPDF
still complains that the file template/main.pdf does not conform to the
standard, the Muuntaja-service of Tampere University should be used to do the
final conversion. See the related instructions (link) for
how to do it. Basically it boils down to feeding your compiled PDF document to
the converter at https://muuntaja.tuni.fi. Remember to check that the
output of the converter is not corrupted, before submitting your thesis to the
archives.

Usage

You can either write your entire main matter in the
main.typ file, or more preferrably, split it into
multiple chapter-specific files and place those in the
contents/ folder, which this template tries to
demonstrate. If you choose to write your own commands (functions) in the
preamble.typ file, this needs to be imported at
the start of each chapter you plan to use the commands in. Sections that come
before the main matter, like the Finnish and English abstracts
(tiivistelmä.typ|abstract.typ)
and preface.typ must not be removed from
the contents folder, as the automation supposes that
they are located there.

You should probably not modify the file tauthesis.typ, unless there is a bug
that needs fixing right now, and not when the maintainer of this project manages to find the time to
do it.

Contributing

Issues may be created in the issue tracker on the template GitLab
repository
, if one has a GitLab account. Merge requests may
also be performed after GitLab account creation, and forking the project. See
GitLab's documentation on this to find out how to do it link.

License

This project itself uses the MIT license. See the LICENSE file for details.