-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.typ
More file actions
103 lines (51 loc) · 1.58 KB
/
Copy pathmain.typ
File metadata and controls
103 lines (51 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#import "lib/template.typ": conf
#import "lib/stringformat.typ": stringstyle
#import "lib/helpers.typ": Quiz_answers_table, Code
#import "@preview/zebraw:0.6.3": *
#set document(author: "Xenia Herr", description: "Python Programmierkurs der Fachschaft MathPhysInfo " )
#let title = "Programmiervorkurs"
#let subtitle = "Fachschaft MathPhysInfo"
#show: conf
#show: zebraw
#show: stringstyle
//TITLEPAGE
#[
#set align(center)
#image("Assets/SadEmoji.jpg") //TODO: Platzhalter entfernen
//#set align(center)
#text(size: 36pt, weight: "bold")[#title]
#v(2cm)
#text(size: 24pt, style: "italic")[#subtitle]
#v(1fr)
#datetime.today().display("[month repr:long] [day], [year]")
]
#pagebreak()
#include "vorwort.typ"
= Intro
#include "Lektionen/vorbereitung.typ"
= Unix artige Betriebssysteme
#include "Lektionen/helloworld.typ"
#include "Lektionen/shell.typ"
#include "Lektionen/manpages.typ"
// Anatomie eines Shell befehls. Hilfe zur selbsthilge
// Shell crashkurs, cp, ls, mv, find, grep, whoami,...
#include "Lektionen/rechte.typ" // Erweitern auf chown chgrp
= Python
// Hello World + erweitert mit einlesen
// Variablen und Arithmetik
// Kontrollfluss
// Schleifen
// Funktionen
// das Python repl
// list
// stl, Multifile programs
// Abschlussprojekt
#let codesnippet(path, name) = {
[#set align(center)
#text(gray, style: "italic")[
#name]]
rect(stroke: gray, width: 100%)[
#raw(lang: "Python", read(path), block: true)]
}
//#zebraw(raw(lang: "Python", code, block: true))
#Code("helloworld.py")