Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions packages/preview/simple-thesis-ger-host/1.0.1/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 compera24

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
30 changes: 30 additions & 0 deletions packages/preview/simple-thesis-ger-host/1.0.1/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
## Purpose:
A simple, clean thesis templete with a wide range of functionality.

## Usage

The template can be initialized via `typst init`.
E.g.:

```bash
typst init @preview/simple-thesis-ger-host:1.0.1
```


## How to Start:

Importing all files.

The main file is: 0_main.typ
In the main file you can see every implementet file, and the main (global) layout settings.
Use the implementet file as example to implement your own chapters.
It is only dependent from glosasarium so you possibly have to install it first (if you use typst offline on your maschiene)

change the bib file which your own (for example export from zotero)

## Newest Version:
1.0.0 29.1.2026 uncensored version, not published
1.0.1 29.1.2026 censored version (image), public

## Dependencies
- glossarium (MIT License)
102 changes: 102 additions & 0 deletions packages/preview/simple-thesis-ger-host/1.0.1/header.typ
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
// ===== Imports (package responsibility)
#import "@preview/glossarium:0.5.10": make-glossary, register-glossary, print-glossary, gls, glspl
#import "template/chapter/glossar.typ":entry-list

// ===== Layout Config and glossary setup
// import "header" everything what is defined globally, except glossarium because its not working than (print-glossary funktion is missing)

//======== Glossary printing in main dokument
#let show-glossary(body) = {
print-glossary(entry-list)
body
}

//=========== Thesis Title Page setup
#let thesis-layout(
thesis-title: [],
subject: [],
author: [],
street: [],
city: [],
examiner-first: [],
examiner-second: [],
company: [],
degree: [],
faculty: [],
body
)= {
set text(lang: "de")
set page(paper: "a4")
set par(justify: true)
set page( margin: (top: 0cm, bottom: 0cm, left: 0cm, right: 0cm ))
register-glossary(entry-list)
show: make-glossary

align(center)[
#v(1cm) // Vertikal zentrieren (oben)

// ---------- Logo ----------
#image("template/dat/HOSTLogo.png", width: 8cm)
#v(0.5cm)

// ---------- Hauptblock (zentriert, schmale Spalte) ----------
#block(width: 75%)[
#align(center)[
#text(size: 16pt, weight: "bold")[#degree]
#v(0.5cm)
#text(size: 12pt, weight: "bold")[#subject]
#v(0.5cm)

// Linie
//#hline()
#v(0.2cm)

// ---------- Titel ----------
#line(length: 100%)
#text(size: 24pt, weight: "bold")[#thesis-title]
#line(length: 100%)
#v(0.2cm)

// Linie
//#hline()
#v(0.5cm)

#text(size: 11pt)[von]
#text(size: 12pt, weight: "bold")[#author]
]
]
]
v(2cm)

block(width: 100%)[
#set align(center)


#table(
columns: (auto, auto),
stroke: none,
align: (left),
[Erstprüfer:], [#examiner-first],
[Zweitprüfer:], [#examiner-second],
[durchgeführt in der:], [#faculty],
[durchgeführt für:], [#company],
[Verfasser:], [#author],
[], [#street],
[], [#city],

[Arbeit vorgelegt am:], [#datetime.today().display("[year]-[month]-[day]")],

)

#v(1fr) // Vertikal zentrieren (unten)
]
set page(margin: (top: 2.5cm, bottom: 2.5cm, left: 3cm, right: 2.5cm))
pagebreak()
set heading(numbering: "1.")
set page(numbering: "I")
outline(title: "Inhaltsverzeichnis ")
outline( title: "Abbildungsverzeichnis", target: figure.where(kind: image))
set page(numbering: "1")
counter(page).update(1)
body
}
48 changes: 48 additions & 0 deletions packages/preview/simple-thesis-ger-host/1.0.1/template/0_main.typ
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
//Import the header.typ with the layout settings and definitions
// you can make changes to the layout in the header.typ file
#import "@preview/simple-thesis-ger-host:1.0.1": thesis-layout, show-glossary
// ====================
// Deckblatt & Outline & layout
// ====================
// If you want to change something else on the title page Layout pls do so in the header.typ file
#show: thesis-layout.with(
degree: [Abschlussarbeit],
subject: [Studiengang Elektrotechnik Bachelor],
thesis-title: [Titel der Abschlussarbeit, der viel zu lang ist, sowie sich das für eine Ordentliche Abschlussarbeit, die was aufsich hält, gehört],
author: [Vorname Nachname],
street: [Beispiel Straße 15],
city: [18435 Stralsund],
examiner-first: [Prof. Dr. Ing. Beispielname],
examiner-second: [Prof. Dr. Zweitprüfer],
faculty: [Fakultät Elektrotechnik und Informatik],
company: [Beispiel GmbH],

)

//==================
//content
//==================
#include "./chapter/vorwort.typ"
= Chapter 1
#lorem(20) @host #lorem(60) @hostWebsite #lorem(800)
= Chapter 2
#lorem(20) @host #lorem(60) @hostWebsite #lorem(80) @hostWebsite #lorem(200)
= Chapter 3
#lorem(500)
//Glossar
#pagebreak()
= Glossar
#show: show-glossary
// Originally here whould be #print-glossary(entry-list), but the glossary is implementet via. header.typ so it changed


//Quellen
= Quellenverzeichniss
#bibliography("./bib/Abschlussarbeit.bib", title: none)
//Anhang
= Anhang





Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@misc{hostWebsite,
title = {Startseite - {{Hochschule Stralsund}}},
urldate = {2026-01-29},
howpublished = {https://www.hochschule-stralsund.de/},
file = {https://www.hochschule-stralsund.de/}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@


// ---------- Danach normale Seitenränder wiederherstellen ----------



Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#let entry-list = (
(
key: "host",
short: "HOST",
long: "Hochschule Stralsund",
description: [
Eine Hochschule in Stralsund mit den Fachbereichen Wirtschaft, Maschienbau, Elektrotechnik und Informatik.
]
),

)
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
= Vorwort
Echtes Logo fehlt aufgrund unklarer Copyright lage.
@host #lorem(60) @hostWebsite


#figure( image("../dat/HOSTLogo.png", width: 8cm, ), caption: [
example
],)


Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions packages/preview/simple-thesis-ger-host/1.0.1/typst.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[package]
name = "simple-thesis-ger-host"
version = "1.0.1"
entrypoint = "header.typ"
authors = ["compera24"]
license = "MIT"
description = "simple clean Thesis Template, Language DE, with Bibliography, Glossar etc."
repository = "https://github.com/compera24/thesis-template-typst"
keywords = ["abschlussarbeit", "Thesis","deutsch","german","ger","Bachelor","Master"]
categories = ["layout","thesis"]
exclude = []

[template]
path = "template"
entrypoint = "0_main.typ"
thumbnail = "thumbnail.png"