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

114 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",
2024-08-12 16:09:14 +00:00
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",
2024-08-12 16:09:14 +00:00
keywords: ("IT", "other stuff"),
bibliography: bibliography("refs.bib"),
2024-07-08 12:25:56 +00:00
glossary: yaml("glossary.yml"),
2024-08-12 16:09:14 +00:00
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) \
2024-08-12 16:09:14 +00:00
&= a_1 b_1 + a_2 b_2 + ... a_n b_n \
&= sum_(i=1)^n a_i b_i.
2024-07-01 14:02:42 +00:00
$
#lorem(140)
#wrap-content(
figure(image("assets/digitaldog.jpg", width: 200pt), caption: [ Some image caption ]),
2024-08-12 16:09:14 +00:00
lorem(200),
)
2024-07-01 14:02:42 +00:00
#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-08-12 16:09:14 +00:00
[2023-03-18], [Yoga], [200],
),
caption: [ Some table ],
)
2024-07-01 14:02:42 +00:00
#pagebreak()
2024-07-19 13:08:11 +00:00
#lorem(100)
2024-08-14 09:57:27 +00:00
#inline-color("#ff0000", "red") @HTTP
2024-07-19 13:08:11 +00:00
2024-07-01 14:02:42 +00:00
#figure(
```rust
2024-08-12 16:09:14 +00:00
use std::env;
use std::fs::OpenOptions;
use std::io::Write;
fn main() {
println!("Hello, World!!!");
}
```,
caption: [Some code],
)
2024-07-01 14:02:42 +00:00
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
2024-08-12 16:07:44 +00:00
#lorem(320)