dhbw-abb-typst-template/template/main.typ

104 lines
2.1 KiB
Plaintext
Raw Normal View History

2024-07-08 07:55:38 +00:00
#import "../src/lib.typ": *
2024-07-01 14:02:42 +00:00
#import "abstract.typ": abstract, summary
#show: dhbw-template.with((
lang: "en",
region: "en",
2024-07-19 13:08:11 +00:00
draft: false,
author: (
name: "Sven Vogel",
semester: 4,
program: "Informationtechnology",
course: "TINF19IT1",
faculty: "Technik",
university: "DHBW Mannheim",
company: "ABB AG",
supervisor: "Benny Goodman",
matriculation-number: 123456789),
thesis: (
title: "Unofficial ABB/DHBW Typst template",
subtitle: "for reports and thesises",
submission-date: "23rd march 2020",
timeframe: "1st january 2020 - 20th march 2020",
kind: "T2000",
summary: summary,
abstract: abstract,
preface: include "preface.typ",
keywords: ( "IT", "other stuff" ),
bibliography: bibliography("refs.bib"),
2024-07-08 12:25:56 +00:00
glossary: yaml("glossary.yml"),
appendices: include "appendix.typ")))
2024-07-01 14:02:42 +00:00
#import "@preview/wrap-it:0.1.0": wrap-content
= Lorem Ipsum
2024-07-08 07:55:38 +00:00
#text(fill: ABB-RED, "Hello ABB branding")
2024-07-01 14:02:42 +00:00
#lorem(25)
@oidc
2024-07-08 11:49:04 +00:00
@potato
2024-07-01 14:02:42 +00:00
#lorem(100)
@Anhang-A
== Lorem Ipsum 2
#lorem(200)
@einstein
= Lorem Ipsum 3
#lorem(15) t `Hello, World!` #lorem(50)
2024-07-01 14:02:42 +00:00
$
angle.l a, b angle.r &= arrow(a) dot arrow(b) \
&= a_1 b_1 + a_2 b_2 + ... a_n b_n \
&= sum_(i=1)^n a_i b_i.
$
#lorem(140)
#wrap-content(
figure(image("assets/digitaldog.jpg", width: 200pt), caption: [ Some image caption ]),
lorem(200))
#figure(
table(
2024-07-08 07:34:33 +00:00
columns: 3,
table.header[Date][Exercise Type][Calories Burned],
[2023-03-15], [Swimming], [400],
[2023-03-17], [Weightlifting], [250],
[2023-03-18], [Yoga], [200],
[2023-03-15], [Swimming], [400],
[2023-03-17], [Weightlifting], [250],
[2023-03-18], [Yoga], [200],
[2023-03-15], [Swimming], [400],
[2023-03-17], [Weightlifting], [250],
2024-07-08 07:34:33 +00:00
[2023-03-18], [Yoga], [200]),
2024-07-01 14:02:42 +00:00
caption: [ Some table ])
#pagebreak()
2024-07-19 13:08:11 +00:00
#lorem(100)
2024-07-01 14:02:42 +00:00
#figure(
```rust
use std::env;
use std::fs::OpenOptions;
use std::io::Write;
fn main() {
2024-07-19 13:08:11 +00:00
println!("Hello, World!!!");
2024-07-01 14:02:42 +00:00
}
```, caption: [Some code])
2024-07-19 13:08:11 +00:00
#lorem(100)
2024-07-17 13:48:15 +00:00
#pagebreak()
2024-07-01 14:02:42 +00:00
= Conclusion
#lorem(320)