more refactor

central pdf dir
This commit is contained in:
2025-04-28 17:15:19 +02:00
parent 05c830c8e2
commit 0ec44376b6
34 changed files with 7 additions and 27 deletions

37
data/courses.txt Normal file
View File

@@ -0,0 +1,37 @@
# Physikbachelor GAU Goettingen
## S1
AGLA Analytische Geometrie und Lineare Algebra 9CP
DiffI Differential und Integralrechnung I 9CP
ExPhyI Experimentalphysik I 6C
ReMe Rechenmethoden 6CP
GdCP Grundlagen der C-Programmierung 6CP
GdE Grundlagen des Experimentierens 0CP
PraktikumI Physikalisches Praktikum I 3CP
## S2
ExPhyII Experimentalphysik II 6C
PraktikumII Praktikum zur Experimentalphysik II 3C
DiffII Differential und Integralrechnung II 9C
AnaMech Analytische Mechanik 8C
CWR Computergestuetztes Wissenschaftliches Rechnen 6C
CompNeu Computational Neuroscience Basics 3C
## S3
ExPhyIII Experimentalphysik III
MaPhyIII Mathematik fuer Physikstudierende III
QP Quantenphysik
## S4
ExPhyIV Experimentalphysik IV
## S5
## S6
BaAr Bachelorarbeit 30CP

47
data/default.typ Normal file
View File

@@ -0,0 +1,47 @@
#import "@preview/equate:0.2.1": equate
#import "@preview/quick-maths:0.2.1": shorthands
#import "./theorems.typ": *
#let default(body) = {
// page setup
//set page(margin: 2cm, numbering: "1")
set text(lang: "de", hyphenate: false)
set align(left)
// For now no automatic numbering
// set heading(numbering: "1.1")
set par(justify: true)
// set par(justify: true)
// equation setup
show ref: equate
show: equate.with(number-mode: "label", breakable: false)
set math.equation(numbering: "(1)", supplement: "Gl.", number-align: bottom)
show math.equation.where(block: false): it => box(it)
// shorthands setup
show: shorthands.with(
($*$, $dot.op$),
($\\$, $without$),
($+-$, $plus.minus$),
($=>$, $arrow.r.double.long$),
($=<$, $arrow.l.double.long$),
($<=>$, $arrow.l.r.double.long$),
($..$, $quad$),
)
// shiroa/zeta setup
body
}
// symbol shortcuts
#let cmt = align(right, $wide |$)
#let Abb = math.op("Abb")
#let rel = math.op("R")
#let lin = math.op("lin")
#let arccot = math.op("arccot")
// flashcards
#let flashcard(id, front, back) = {
back
}

7
data/template.typ Normal file
View File

@@ -0,0 +1,7 @@
// AGLA template
#import "../preamble.typ": *
#show: conf.with(num: 1)
= Uebersicht

55
data/theorems.typ Normal file
View File

@@ -0,0 +1,55 @@
#import "@preview/ctheorems:1.1.3": *
// What is this for?
// #show: thmrules.with(qed-symbol: $square$)
// Use this to format the size: inset: (x: 1.2em, top: 1em, bottom: 1em)
// TODO: fix the alignment
// TODO: make the numbering good dnd manual and insert the title at the top (from the first line)
#let theorem = thmbox( //tem
"theorem",
"Theorem",
fill: rgb("#eeffdd")
).with(
numbering: none
)
#let corollary = thmplain( //cor
"corollary",
"Corollary",
base: "theorem",
titlefmt: strong
)
#let definition = thmbox( //def
"definition",
"Definition",
fill: rgb("#eedebb")
)
#let example = thmplain( //exa
"example",
"Example"
).with(
numbering: none
)
#let proof = thmproof( //pro
"proof",
"Proof"
)
#let remark = thmbox( //rem
"remark",
"Remark"
)
#let axiom = thmbox( //axi
"axiom",
"Axiom"
)
#let lemma = thmbox( //lem
"lemma",
"Lemma",
fill: rgb("#cddfff")
)
#let note = thmbox( //nte
"note",
"Note"
)