-
Notifications
You must be signed in to change notification settings - Fork 470
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
haw-hamburg-bachelor-thesis:0.4.0, haw-hamburg-master-thesis:0.4.0, h…
…aw-hamburg-report:0.4.0 and haw-hamburg:0.4.0 (#1779)
- Loading branch information
1 parent
cd39f95
commit b30f6e4
Showing
54 changed files
with
3,595 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
packages/preview/haw-hamburg-bachelor-thesis/0.4.0/LICENSE
This file contains 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) 2024 Lasse Rosenow | ||
|
||
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. |
47 changes: 47 additions & 0 deletions
47
packages/preview/haw-hamburg-bachelor-thesis/0.4.0/README.md
This file contains 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,47 @@ | ||
# HAW Hamburg Typst Template | ||
|
||
This is an **`unofficial`** template for writing a bachelor thesis in the `HAW Hamburg` department of `Computer Science` design using [Typst](https://github.com/typst/typst). | ||
|
||
## Required Fonts | ||
|
||
To correctly render this template please make sure that the `New Computer Modern` font is installed on your system. | ||
|
||
## Usage | ||
|
||
To use this package just add the following code to your [Typst](https://github.com/typst/typst) document: | ||
|
||
```typst | ||
#import "@preview/haw-hamburg:0.4.0": bachelor-thesis | ||
#show: bachelor-thesis.with( | ||
language: "en", | ||
title-de: "Beispiel Titel", | ||
keywords-de: ("Stichwort", "Wichtig", "Super"), | ||
abstract-de: "Beispiel Zusammenfassung", | ||
title-en: "Example title", | ||
keywords-en: ("Keyword", "Important", "Super"), | ||
abstract-en: "Example abstract", | ||
author: "Example author", | ||
faculty: "Engineering and Computer Science", | ||
department: "Computer Science", | ||
study-course: "Bachelor of Science Informatik Technischer Systeme", | ||
supervisors: ("Prof. Dr. Example", "Prof. Dr. Example"), | ||
submission-date: datetime(year: 1948, month: 12, day: 10), | ||
include-declaration-of-independent-processing: true, | ||
) | ||
``` | ||
|
||
## How to Compile | ||
|
||
This project contains an example setup that splits individual chapters into different files.\ | ||
This can cause problems when using references etc.\ | ||
These problems can be avoided by following these steps: | ||
|
||
- Make sure to always compile your `main.typ` file which includes all of your chapters for references to work correctly. | ||
- VSCode: | ||
- Install the [Tinymist Typst](https://marketplace.visualstudio.com/items?itemName=myriad-dreamin.tinymist) extension. | ||
- Make sure to start the `PDF` or `Live Preview` only from within your `main.typ` file. | ||
- If problems occur it usually helps to close the preview and restart it from your `main.typ` file. |
This file contains 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 @@ | ||
// This file is redundant, but required by the Typst packaging system |
7 changes: 7 additions & 0 deletions
7
packages/preview/haw-hamburg-bachelor-thesis/0.4.0/src/abbreviations.typ
This file contains 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,7 @@ | ||
#let abbreviations-entry-list = ( | ||
( | ||
key: "cpu", | ||
short: "CPU", | ||
long: "Central Processing Unit", | ||
), | ||
) |
8 changes: 8 additions & 0 deletions
8
packages/preview/haw-hamburg-bachelor-thesis/0.4.0/src/bibliography.bib
This file contains 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,8 @@ | ||
@book{UN, | ||
author = {{United Nations}}, | ||
title = {Universal Declaration of Human Rights}, | ||
year = {1948}, | ||
month = dec, | ||
venue = {Paris}, | ||
month_numeric = {12} | ||
} |
19 changes: 19 additions & 0 deletions
19
packages/preview/haw-hamburg-bachelor-thesis/0.4.0/src/chapters/01_introduction.typ
This file contains 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,19 @@ | ||
#import "../dependencies.typ": * | ||
|
||
= Introduction | ||
|
||
== How to Use Abbreviations | ||
|
||
This is how to call an abbreviation such as @cpu for the first time. | ||
|
||
After that it will look different: @cpu. | ||
|
||
And for plurals: @cpu:pl. | ||
|
||
It is also call it using a different syntax: #gls("cpu") and #glspl("cpu"). | ||
|
||
== How to Use Glossary Entries | ||
|
||
Glossary entries can be called the same way: @freedom or #gls("freedom"). | ||
|
||
It is also possible to call plurals: @freedom:pl or #glspl("freedom"). |
11 changes: 11 additions & 0 deletions
11
packages/preview/haw-hamburg-bachelor-thesis/0.4.0/src/chapters/02_background.typ
This file contains 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 @@ | ||
#import "../dependencies.typ": * | ||
|
||
= Background | ||
|
||
== Subsection | ||
|
||
#lorem(400) | ||
|
||
== Another Subsection | ||
|
||
#lorem(300) |
1 change: 1 addition & 0 deletions
1
packages/preview/haw-hamburg-bachelor-thesis/0.4.0/src/dependencies.typ
This file contains 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 @@ | ||
#import "@preview/glossarium:0.5.3": * |
7 changes: 7 additions & 0 deletions
7
packages/preview/haw-hamburg-bachelor-thesis/0.4.0/src/glossary.typ
This file contains 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,7 @@ | ||
#let glossary-entry-list = ( | ||
( | ||
key: "freedom", | ||
short: "freedom", | ||
description: "Freedom is the power or right to speak, act and change as one wants without hindrance or restraint. Freedom is often associated with liberty and autonomy in the sense of \"giving oneself one's own laws\"", | ||
), | ||
) |
Oops, something went wrong.