-
Notifications
You must be signed in to change notification settings - Fork 903
simple-thesis-ger-host:1.0.1 #4012
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
compera24
wants to merge
20
commits into
typst:main
Choose a base branch
from
compera24:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
67f2809
add simple-thesis-ger-HOST
compera24 95c1b15
Fix for accidentally submodul. (I hope.)
compera24 0ae292e
implement recommendet changes: name lowercase, version number,how to …
compera24 fb9811d
changed jpeg with png
compera24 a212d60
rename folder to all lower case (try2)
compera24 03121b7
changged entry point, extractet commands from the main.typ to it
compera24 21e89d6
pdf deletet, fixed uncomplett commit (hopefully)
compera24 bb9f946
try fix lowercase readme, tmp
compera24 6055df4
fix lowercase README
compera24 d0da9af
fix caps ..-HOST , tmp
compera24 d33a5b0
fix ..-host file rename
compera24 947d3cf
reference change
compera24 779ad8c
refernce correction
compera24 25240c5
bib casesensitivity fix
compera24 096f39c
titlepage in header file
compera24 550887f
every styling in the header
compera24 e8b6be6
renaming - kebab-case names- as the bot is recommending
compera24 509f62b
more kebap, less pdf
compera24 211dd35
step to find the argument which are part of public function
compera24 8d2d31f
true kebab
compera24 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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
102
packages/preview/simple-thesis-ger-host/1.0.1/header.typ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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
48
packages/preview/simple-thesis-ger-host/1.0.1/template/0_main.typ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | ||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
6 changes: 6 additions & 0 deletions
6
packages/preview/simple-thesis-ger-host/1.0.1/template/bib/Abschlussarbeit.bib
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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/} | ||
| } |
6 changes: 6 additions & 0 deletions
6
packages/preview/simple-thesis-ger-host/1.0.1/template/chapter/TitlePage.typ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
|
|
||
|
|
||
| // ---------- Danach normale Seitenränder wiederherstellen ---------- | ||
|
|
||
|
|
||
|
|
11 changes: 11 additions & 0 deletions
11
packages/preview/simple-thesis-ger-host/1.0.1/template/chapter/glossar.typ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. | ||
| ] | ||
| ), | ||
|
|
||
| ) |
10 changes: 10 additions & 0 deletions
10
packages/preview/simple-thesis-ger-host/1.0.1/template/chapter/vorwort.typ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | ||
| ],) | ||
|
|
||
|
|
Binary file added
BIN
+15.3 KB
packages/preview/simple-thesis-ger-host/1.0.1/template/dat/HOSTLogo.png
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.