Compare commits
No commits in common. "main" and "fix/ci-failing-on-github" have entirely different histories.
main
...
fix/ci-fai
17
README.md
17
README.md
|
@ -40,7 +40,7 @@
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
> ⚠️ **Notice** <br>
|
> ⚠️ **Notice** <br>
|
||||||
> Typst ist under active development and thus may lack features an experienced LaTeX is used to.
|
> Typst ist under active development and thus may lack features an experienced LaTeX is used to.
|
||||||
|
|
||||||
This template includes designs for a titlepage, confidantiality statement, declaration of authorship and more with a consistent design inspired by various unofficial works made by students at DHBW. Layout and the choise fonts are based on the unofficial [supercharged-dhbw](https://github.com/DannySeidel/typst-dhbw-template) Typst template. It comes with automatic generation of outlines for figures, tables, code snippets and appendices.
|
This template includes designs for a titlepage, confidantiality statement, declaration of authorship and more with a consistent design inspired by various unofficial works made by students at DHBW. Layout and the choise fonts are based on the unofficial [supercharged-dhbw](https://github.com/DannySeidel/typst-dhbw-template) Typst template. It comes with automatic generation of outlines for figures, tables, code snippets and appendices.
|
||||||
The template can generate sections for a glossary, combinging acronyms and technical terms into a singular section.
|
The template can generate sections for a glossary, combinging acronyms and technical terms into a singular section.
|
||||||
|
@ -57,7 +57,7 @@ A short overview of all features the template is capable of:
|
||||||
- Watermark for draft versions
|
- Watermark for draft versions
|
||||||
- Automatic form filling for data provided via configuration
|
- Automatic form filling for data provided via configuration
|
||||||
- Styles for captions, tables and equations
|
- Styles for captions, tables and equations
|
||||||
- ABB branding inspired code theme
|
- ABB branding inspired code theme
|
||||||
|
|
||||||
## Preview
|
## Preview
|
||||||
|
|
||||||
|
@ -131,10 +131,9 @@ Complies with ABB branding guidelines such as:
|
||||||
|
|
||||||
## Fonts
|
## Fonts
|
||||||
|
|
||||||
Both fonts used in the document are licensed under the [Open Font License](https://openfontlicense.org/) and can be used for non-commercial as well as commercial purposes:
|
Both fonts used in the document are licensed under the [Open Font License](https://openfontlicense.org/) and can be used for non-commercial as well as commercial purposes. They can be downloaded from google fonts:
|
||||||
- [Fira Sans](https://github.com/bBoxType/FiraSans)
|
- [Montserrat](https://fonts.google.com/specimen/Montserrat)
|
||||||
- [Fira Math](https://github.com/firamath/firamath)
|
- [Open Sans](https://fonts.google.com/specimen/Open+Sans)
|
||||||
- [Fira Code NF](https://www.nerdfonts.com/font-downloads)
|
|
||||||
|
|
||||||
Consider giving the creators of the font credit for their amazing work!
|
Consider giving the creators of the font credit for their amazing work!
|
||||||
|
|
||||||
|
@ -145,8 +144,8 @@ The developers around Typst have made pretty handy comparison guide between LaTe
|
||||||
## Legal
|
## Legal
|
||||||
|
|
||||||
This template and its content is in no way officially affiliaterd with either DHBW or ABB AG.
|
This template and its content is in no way officially affiliaterd with either DHBW or ABB AG.
|
||||||
Its only purpose is to simplify the process of getting started with the typsetting language Typst for writing a university report or thesis.
|
Its only purpose is to simplify the process of getting started with the typsetting language Typst for writing a university report or thesis.
|
||||||
As author and owner of the reposity I claim no copyright of the logos used in the document, the software used to compile the source or the documents based on this template.
|
As author and owner of the reposity I claim no copyright of the logos used in the document, the software used to compile the source or the documents based on this template.
|
||||||
|
|
||||||
## FAQ
|
## FAQ
|
||||||
|
|
||||||
|
@ -167,4 +166,4 @@ Typst in comparison is serval orders of magnitudes faster and has native support
|
||||||
|
|
||||||
The logos for both ABB AG and DHBW are freely available at Wikimedia Commons:
|
The logos for both ABB AG and DHBW are freely available at Wikimedia Commons:
|
||||||
- [ABB logo as svg](https://commons.wikimedia.org/wiki/File:ABB_logo.svg)
|
- [ABB logo as svg](https://commons.wikimedia.org/wiki/File:ABB_logo.svg)
|
||||||
- [DHBW logo as svg](https://upload.wikimedia.org/wikipedia/de/1/1d/DHBW-Logo.svg)
|
- [DHBW logo as svg](https://upload.wikimedia.org/wikipedia/de/1/1d/DHBW-Logo.svg)
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,93 +0,0 @@
|
||||||
Copyright (c) 2014, The Fira Code Project Authors (https://github.com/tonsky/FiraCode)
|
|
||||||
|
|
||||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
||||||
This license is copied below, and is also available with a FAQ at:
|
|
||||||
http://scripts.sil.org/OFL
|
|
||||||
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
PREAMBLE
|
|
||||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
||||||
development of collaborative font projects, to support the font creation
|
|
||||||
efforts of academic and linguistic communities, and to provide a free and
|
|
||||||
open framework in which fonts may be shared and improved in partnership
|
|
||||||
with others.
|
|
||||||
|
|
||||||
The OFL allows the licensed fonts to be used, studied, modified and
|
|
||||||
redistributed freely as long as they are not sold by themselves. The
|
|
||||||
fonts, including any derivative works, can be bundled, embedded,
|
|
||||||
redistributed and/or sold with any software provided that any reserved
|
|
||||||
names are not used by derivative works. The fonts and derivatives,
|
|
||||||
however, cannot be released under any other type of license. The
|
|
||||||
requirement for fonts to remain under this license does not apply
|
|
||||||
to any document created using the fonts or their derivatives.
|
|
||||||
|
|
||||||
DEFINITIONS
|
|
||||||
"Font Software" refers to the set of files released by the Copyright
|
|
||||||
Holder(s) under this license and clearly marked as such. This may
|
|
||||||
include source files, build scripts and documentation.
|
|
||||||
|
|
||||||
"Reserved Font Name" refers to any names specified as such after the
|
|
||||||
copyright statement(s).
|
|
||||||
|
|
||||||
"Original Version" refers to the collection of Font Software components as
|
|
||||||
distributed by the Copyright Holder(s).
|
|
||||||
|
|
||||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
||||||
or substituting -- in part or in whole -- any of the components of the
|
|
||||||
Original Version, by changing formats or by porting the Font Software to a
|
|
||||||
new environment.
|
|
||||||
|
|
||||||
"Author" refers to any designer, engineer, programmer, technical
|
|
||||||
writer or other person who contributed to the Font Software.
|
|
||||||
|
|
||||||
PERMISSION & CONDITIONS
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining
|
|
||||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
||||||
redistribute, and sell modified and unmodified copies of the Font
|
|
||||||
Software, subject to the following conditions:
|
|
||||||
|
|
||||||
1) Neither the Font Software nor any of its individual components,
|
|
||||||
in Original or Modified Versions, may be sold by itself.
|
|
||||||
|
|
||||||
2) Original or Modified Versions of the Font Software may be bundled,
|
|
||||||
redistributed and/or sold with any software, provided that each copy
|
|
||||||
contains the above copyright notice and this license. These can be
|
|
||||||
included either as stand-alone text files, human-readable headers or
|
|
||||||
in the appropriate machine-readable metadata fields within text or
|
|
||||||
binary files as long as those fields can be easily viewed by the user.
|
|
||||||
|
|
||||||
3) No Modified Version of the Font Software may use the Reserved Font
|
|
||||||
Name(s) unless explicit written permission is granted by the corresponding
|
|
||||||
Copyright Holder. This restriction only applies to the primary font name as
|
|
||||||
presented to the users.
|
|
||||||
|
|
||||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
||||||
Software shall not be used to promote, endorse or advertise any
|
|
||||||
Modified Version, except to acknowledge the contribution(s) of the
|
|
||||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
||||||
permission.
|
|
||||||
|
|
||||||
5) The Font Software, modified or unmodified, in part or in whole,
|
|
||||||
must be distributed entirely under this license, and must not be
|
|
||||||
distributed under any other license. The requirement for fonts to
|
|
||||||
remain under this license does not apply to any document created
|
|
||||||
using the Font Software.
|
|
||||||
|
|
||||||
TERMINATION
|
|
||||||
This license becomes null and void if any of the above conditions are
|
|
||||||
not met.
|
|
||||||
|
|
||||||
DISCLAIMER
|
|
||||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
||||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
||||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
||||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
||||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
||||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
||||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
|
@ -1,48 +0,0 @@
|
||||||
# Nerd Fonts
|
|
||||||
|
|
||||||
This is an archived font from the Nerd Fonts release v3.2.1.
|
|
||||||
|
|
||||||
For more information see:
|
|
||||||
* https://github.com/ryanoasis/nerd-fonts/
|
|
||||||
* https://github.com/ryanoasis/nerd-fonts/releases/latest/
|
|
||||||
|
|
||||||
# Fira Code
|
|
||||||
|
|
||||||
**Fira Code** is a free monospaced font with programming ligatures.
|
|
||||||
|
|
||||||
For more information have a look at the upstream website: https://github.com/tonsky/FiraCode
|
|
||||||
|
|
||||||
Version: 6.2
|
|
||||||
|
|
||||||
## Which font?
|
|
||||||
|
|
||||||
### TL;DR
|
|
||||||
|
|
||||||
* Pick your font family:
|
|
||||||
* If you are limited to monospaced fonts (because of your terminal, etc) then pick a font with `Nerd Font Mono` (or `NFM`).
|
|
||||||
* If you want to have bigger icons (usually around 1.5 normal letters wide) pick a font without `Mono` i.e. `Nerd Font` (or `NF`). Most terminals support this, but ymmv.
|
|
||||||
* If you work in a proportional context (GUI elements or edit a presentation etc) pick a font with `Nerd Font Propo` (or `NFP`).
|
|
||||||
|
|
||||||
### Ligatures
|
|
||||||
|
|
||||||
Ligatures are generally preserved in the patched fonts.
|
|
||||||
Nerd Fonts `v2.0.0` had no ligatures in the `Nerd Font Mono` fonts, this has been dropped with `v2.1.0`.
|
|
||||||
If you have a ligature-aware terminal and don't want ligatures you can (usually) disable them in the terminal settings.
|
|
||||||
|
|
||||||
### Explanation
|
|
||||||
|
|
||||||
Once you narrow down your font choice of family (`Droid Sans`, `Inconsolata`, etc) and style (`bold`, `italic`, etc) you have 2 main choices:
|
|
||||||
|
|
||||||
#### `Option 1: Download already patched font`
|
|
||||||
|
|
||||||
* For a stable version download a font package from the [release page](https://github.com/ryanoasis/nerd-fonts/releases)
|
|
||||||
* Or download the development version from the folders here
|
|
||||||
|
|
||||||
#### `Option 2: Patch your own font`
|
|
||||||
|
|
||||||
* Patch your own variations with the various options provided by the font patcher (i.e. not include all symbols for smaller font size)
|
|
||||||
|
|
||||||
For more information see: [The FAQ](https://github.com/ryanoasis/nerd-fonts/wiki/FAQ-and-Troubleshooting#which-font)
|
|
||||||
|
|
||||||
[SIL-RFN]:http://scripts.sil.org/cms/scripts/page.php?item_id=OFL_web_fonts_and_RFNs#14cbfd4a
|
|
||||||
|
|
Binary file not shown.
|
@ -1,92 +0,0 @@
|
||||||
Copyright (C) 2018--2023 by Xiangdong Zeng <xdzeng96@gmail.com>
|
|
||||||
|
|
||||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
||||||
This license is copied below, and is also available with a FAQ at:
|
|
||||||
http://scripts.sil.org/OFL
|
|
||||||
|
|
||||||
-----------------------------------------------------------
|
|
||||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
||||||
-----------------------------------------------------------
|
|
||||||
|
|
||||||
PREAMBLE
|
|
||||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
||||||
development of collaborative font projects, to support the font creation
|
|
||||||
efforts of academic and linguistic communities, and to provide a free and
|
|
||||||
open framework in which fonts may be shared and improved in partnership
|
|
||||||
with others.
|
|
||||||
|
|
||||||
The OFL allows the licensed fonts to be used, studied, modified and
|
|
||||||
redistributed freely as long as they are not sold by themselves. The
|
|
||||||
fonts, including any derivative works, can be bundled, embedded,
|
|
||||||
redistributed and/or sold with any software provided that any reserved
|
|
||||||
names are not used by derivative works. The fonts and derivatives,
|
|
||||||
however, cannot be released under any other type of license. The
|
|
||||||
requirement for fonts to remain under this license does not apply
|
|
||||||
to any document created using the fonts or their derivatives.
|
|
||||||
|
|
||||||
DEFINITIONS
|
|
||||||
"Font Software" refers to the set of files released by the Copyright
|
|
||||||
Holder(s) under this license and clearly marked as such. This may
|
|
||||||
include source files, build scripts and documentation.
|
|
||||||
|
|
||||||
"Reserved Font Name" refers to any names specified as such after the
|
|
||||||
copyright statement(s).
|
|
||||||
|
|
||||||
"Original Version" refers to the collection of Font Software components as
|
|
||||||
distributed by the Copyright Holder(s).
|
|
||||||
|
|
||||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
||||||
or substituting -- in part or in whole -- any of the components of the
|
|
||||||
Original Version, by changing formats or by porting the Font Software to a
|
|
||||||
new environment.
|
|
||||||
|
|
||||||
"Author" refers to any designer, engineer, programmer, technical
|
|
||||||
writer or other person who contributed to the Font Software.
|
|
||||||
|
|
||||||
PERMISSION AND CONDITIONS
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining
|
|
||||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
||||||
redistribute, and sell modified and unmodified copies of the Font
|
|
||||||
Software, subject to the following conditions:
|
|
||||||
|
|
||||||
1) Neither the Font Software nor any of its individual components,
|
|
||||||
in Original or Modified Versions, may be sold by itself.
|
|
||||||
|
|
||||||
2) Original or Modified Versions of the Font Software may be bundled,
|
|
||||||
redistributed and/or sold with any software, provided that each copy
|
|
||||||
contains the above copyright notice and this license. These can be
|
|
||||||
included either as stand-alone text files, human-readable headers or
|
|
||||||
in the appropriate machine-readable metadata fields within text or
|
|
||||||
binary files as long as those fields can be easily viewed by the user.
|
|
||||||
|
|
||||||
3) No Modified Version of the Font Software may use the Reserved Font
|
|
||||||
Name(s) unless explicit written permission is granted by the corresponding
|
|
||||||
Copyright Holder. This restriction only applies to the primary font name as
|
|
||||||
presented to the users.
|
|
||||||
|
|
||||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
||||||
Software shall not be used to promote, endorse or advertise any
|
|
||||||
Modified Version, except to acknowledge the contribution(s) of the
|
|
||||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
||||||
permission.
|
|
||||||
|
|
||||||
5) The Font Software, modified or unmodified, in part or in whole,
|
|
||||||
must be distributed entirely under this license, and must not be
|
|
||||||
distributed under any other license. The requirement for fonts to
|
|
||||||
remain under this license does not apply to any document created
|
|
||||||
using the Font Software.
|
|
||||||
|
|
||||||
TERMINATION
|
|
||||||
This license becomes null and void if any of the above conditions are
|
|
||||||
not met.
|
|
||||||
|
|
||||||
DISCLAIMER
|
|
||||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
||||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
||||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
||||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
||||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
||||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
||||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
10
run-ci.sh
10
run-ci.sh
|
@ -44,10 +44,10 @@ function enter-section() {
|
||||||
}
|
}
|
||||||
|
|
||||||
enter-section "Typstyle checking" "./run-fmt.sh --check src/lib.typ" 0
|
enter-section "Typstyle checking" "./run-fmt.sh --check src/lib.typ" 0
|
||||||
enter-section "Compiling template..." "typst compile template/main.typ --root . --font-path fonts example.pdf"
|
enter-section "Compiling template..." "typst compile template/main.typ --root . example.pdf"
|
||||||
enter-section "TEST: local template import" "typst compile tests/local-import/main.typ --root . --font-path fonts"
|
enter-section "TEST: local template import" "typst compile tests/local-import/main.typ --root ."
|
||||||
enter-section "TEST: invalid config case 1" "typst compile tests/invalid-config/test-case-1.typ --root . --font-path fonts" "should fail"
|
enter-section "TEST: invalid config case 1" "typst compile tests/invalid-config/test-case-1.typ --root ." "should fail"
|
||||||
enter-section "TEST: invalid config case 2" "typst compile tests/invalid-config/test-case-2.typ --root . --font-path fonts"
|
enter-section "TEST: invalid config case 2" "typst compile tests/invalid-config/test-case-2.typ --root ."
|
||||||
enter-section "TEST: invalid config case 3" "typst compile tests/invalid-config/test-case-3.typ --root . --font-path fonts" "should fail"
|
enter-section "TEST: invalid config case 3" "typst compile tests/invalid-config/test-case-3.typ --root ." "should fail"
|
||||||
|
|
||||||
log "INFO" "CI completed successfully"
|
log "INFO" "CI completed successfully"
|
||||||
|
|
|
@ -47,8 +47,7 @@
|
||||||
header: (
|
header: (
|
||||||
content-padding: 1.5em,
|
content-padding: 1.5em,
|
||||||
underline-top-padding: 0pt,
|
underline-top-padding: 0pt,
|
||||||
logo-height: 3em,
|
logo-height: 3em),
|
||||||
logo-image: "res/ABB.svg"),
|
|
||||||
footer: (
|
footer: (
|
||||||
content-padding: 1.5em),
|
content-padding: 1.5em),
|
||||||
page: (
|
page: (
|
||||||
|
@ -60,9 +59,9 @@
|
||||||
bottom: 2.5cm)),
|
bottom: 2.5cm)),
|
||||||
text: (
|
text: (
|
||||||
size: 12pt,
|
size: 12pt,
|
||||||
font: "Fira Sans"),
|
font: "Open Sans"),
|
||||||
heading: (
|
heading: (
|
||||||
font: "Fira Sans"),
|
font: "Montserrat"),
|
||||||
code: (
|
code: (
|
||||||
theme: "res/abb.tmTheme",
|
theme: "res/abb.tmTheme",
|
||||||
font: "FiraCode Nerd Font",
|
font: "FiraCode Nerd Font",
|
||||||
|
|
|
@ -13,9 +13,7 @@
|
||||||
#import "glossary.typ": glossary
|
#import "glossary.typ": glossary
|
||||||
#import "pages/titlepage.typ": new_title_page
|
#import "pages/titlepage.typ": new_title_page
|
||||||
#import "pages/declaration-of-authorship.typ": new_declaration_of_authorship
|
#import "pages/declaration-of-authorship.typ": new_declaration_of_authorship
|
||||||
#import "pages/confidentiality-statement.typ": (
|
#import "pages/confidentiality-statement.typ": new_confidentiality_statement_page
|
||||||
new_confidentiality_statement_page,
|
|
||||||
)
|
|
||||||
#import "pages/prerelease-note.typ": new_prerelease_note
|
#import "pages/prerelease-note.typ": new_prerelease_note
|
||||||
#import "pages/outline.typ": new_outline
|
#import "pages/outline.typ": new_outline
|
||||||
#import "pages/abstract.typ": new_abstract
|
#import "pages/abstract.typ": new_abstract
|
||||||
|
|
|
@ -16,20 +16,18 @@
|
||||||
|
|
||||||
// title
|
// title
|
||||||
#v(2cm)
|
#v(2cm)
|
||||||
#par(justify: false, leading: 1.5em)[
|
#set par(justify: false)
|
||||||
#text(size: 2em, weight: "bold", hyphenate: false, thesis.title)
|
#text(size: 2em, weight: "semibold", hyphenate: false, thesis.title)
|
||||||
#linebreak()
|
|
||||||
// subtitle
|
|
||||||
#text(size: 2em, weight: "light", thesis.subtitle)
|
|
||||||
]
|
|
||||||
|
|
||||||
#set align(center + horizon)
|
// subtitle
|
||||||
|
#text(size: 1.5em, thesis.subtitle)
|
||||||
|
|
||||||
// type of paper
|
// type of paper
|
||||||
#text(size: 1.5em, weight: "medium", thesis.kind)
|
#v(1cm)
|
||||||
|
#text(size: 1.5em, weight: "bold", thesis.kind)
|
||||||
|
|
||||||
// faculty
|
// faculty
|
||||||
#pad()[
|
#pad(top: 0.5cm)[
|
||||||
#if text.lang == "de" [
|
#if text.lang == "de" [
|
||||||
Praxisphase des #author.semester Semesters an der Fakultät für #author.faculty
|
Praxisphase des #author.semester Semesters an der Fakultät für #author.faculty
|
||||||
#linebreak()
|
#linebreak()
|
||||||
|
@ -44,7 +42,7 @@
|
||||||
]
|
]
|
||||||
|
|
||||||
// university
|
// university
|
||||||
#pad()[
|
#pad(top: 0.5cm)[
|
||||||
#if text.lang == "de" [
|
#if text.lang == "de" [
|
||||||
an der
|
an der
|
||||||
] else if text.lang == "en" [
|
] else if text.lang == "en" [
|
||||||
|
@ -56,7 +54,7 @@
|
||||||
#author.university
|
#author.university
|
||||||
]
|
]
|
||||||
|
|
||||||
#set align(bottom + left)
|
#set align(horizon + left)
|
||||||
|
|
||||||
#if text.lang == "de" [
|
#if text.lang == "de" [
|
||||||
#table(
|
#table(
|
||||||
|
|
|
@ -75,7 +75,7 @@
|
||||||
|
|
||||||
show heading: set text(
|
show heading: set text(
|
||||||
font: style.heading.font,
|
font: style.heading.font,
|
||||||
weight: "bold",
|
weight: "semibold",
|
||||||
)
|
)
|
||||||
|
|
||||||
let header-supplement = if config.lang == "de" {
|
let header-supplement = if config.lang == "de" {
|
||||||
|
@ -87,7 +87,6 @@
|
||||||
set heading(supplement: [#header-supplement])
|
set heading(supplement: [#header-supplement])
|
||||||
|
|
||||||
set math.equation(numbering: "(1)")
|
set math.equation(numbering: "(1)")
|
||||||
show math.equation: set text(font: "Fira Math", size: 12pt)
|
|
||||||
|
|
||||||
// Set header spacing
|
// Set header spacing
|
||||||
show heading.where(level: 1): it => v(2em) + it + v(1em)
|
show heading.where(level: 1): it => v(2em) + it + v(1em)
|
||||||
|
@ -183,7 +182,7 @@
|
||||||
// based on: https://github.com/typst/typst/discussions/3871
|
// based on: https://github.com/typst/typst/discussions/3871
|
||||||
show figure.caption: c => [
|
show figure.caption: c => [
|
||||||
#if c.body.fields().len() > 0 {
|
#if c.body.fields().len() > 0 {
|
||||||
text(weight: "medium")[
|
text(weight: "semibold")[
|
||||||
#c.supplement #c.counter.display("1.1.1")
|
#c.supplement #c.counter.display("1.1.1")
|
||||||
]
|
]
|
||||||
c.separator
|
c.separator
|
||||||
|
@ -300,7 +299,7 @@
|
||||||
// we need two, so make both half the page width
|
// we need two, so make both half the page width
|
||||||
columns: (50%, 50%),
|
columns: (50%, 50%),
|
||||||
// left align logo of ABB
|
// left align logo of ABB
|
||||||
align(left, image(style.header.logo-image, height: style.header.logo-height)),
|
align(left, image("res/ABB.svg", height: style.header.logo-height)),
|
||||||
// right align logo of DHBW
|
// right align logo of DHBW
|
||||||
align(right, image("res/DHBW.svg", height: style.header.logo-height)))
|
align(right, image("res/DHBW.svg", height: style.header.logo-height)))
|
||||||
|
|
||||||
|
|
|
@ -58,8 +58,7 @@
|
||||||
$
|
$
|
||||||
angle.l a, b angle.r &= arrow(a) dot arrow(b) \
|
angle.l a, b angle.r &= arrow(a) dot arrow(b) \
|
||||||
&= a_1 b_1 + a_2 b_2 + ... a_n b_n \
|
&= a_1 b_1 + a_2 b_2 + ... a_n b_n \
|
||||||
&= sum_(i=1)^n a_i b_i. \
|
&= sum_(i=1)^n a_i b_i.
|
||||||
integral_2^4(3x + 4x^2)
|
|
||||||
$
|
$
|
||||||
|
|
||||||
#lorem(140)
|
#lorem(140)
|
||||||
|
|
Loading…
Reference in New Issue