initial project commit
This commit is contained in:
11
.gitignore
vendored
Normal file
11
.gitignore
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
*.aux
|
||||
*.kilepr
|
||||
*.bbl
|
||||
*.blg
|
||||
*.log
|
||||
*.lof
|
||||
*.out
|
||||
*.toc
|
||||
*~
|
||||
*.backup
|
||||
*.pytxcode
|
||||
7
Erklaerung.txt
Normal file
7
Erklaerung.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
Erklärung
|
||||
|
||||
Ich versichere hiermit, dass ich meine Bachelorarbeit selbständig und unter Beachtung der Satzung der Universität Karlsruhe (TH) zur Sicherung guter wissenschaftlicher Praxis in der aktuellen Fassung angefertigt habe. Ich habe keine anderen als die angegebenen Quellen und Hilfsmittel benutzt und wörtlich oder inhaltlich übernommene Stellen als solche kenntlich gemacht.
|
||||
|
||||
|
||||
Datum: Unterschrift der Kandidatin/des Kandidaten
|
||||
|
||||
29
abbreviations.tex
Normal file
29
abbreviations.tex
Normal file
@@ -0,0 +1,29 @@
|
||||
% This file provides Abbreviations
|
||||
|
||||
\section{Abbreviations}
|
||||
\begin{acronym}[TROLL]
|
||||
\acro{ESA}[ESA]{European Space Agency}
|
||||
\acro{NASA}[NASA]{National Aeronautics and Space Administration}
|
||||
\acro{LDPC}[LDPC]{Low-Density Parity-Check}
|
||||
\acro{SIMD}[SIMD]{Single Instruction Multiple Data}
|
||||
\acro{VOLK}[VOLK]{Vector-Optimized Library of Kernels}
|
||||
\acro{BDMC}[BDMC]{symmetric binary discrete memoryless channel}
|
||||
\acro{BSC}[BSC]{Binary Symmetric Channel}
|
||||
\acro{BEC}[BEC]{Binary Erasure Channel}
|
||||
\acro{CPU}[CPU]{Central Processing Unit}
|
||||
\acro{KIT}[KIT]{Karlsruhe Institute of Technology}
|
||||
\acro{CEL}[CEL]{Communications Engineering Lab}
|
||||
\acro{LTE}[LTE]{Long Term Evolution}
|
||||
\acro{SDR}[SDR]{Software-Defined Radio}
|
||||
\acro{AGC}[AGC]{Automatic Gain Control}
|
||||
\acro{AWGN}[AWGN]{Additive White Gaussian Noise}
|
||||
\acro{AKF}[AKF]{Autokorrelationsfunktion}
|
||||
\acro{BPSK}[BPSK]{Binary Phase Shift Keying}
|
||||
\acro{CDMA}[CDMA]{Code Division Multiple Access}
|
||||
\acro{DFT}[DFT]{Discrete Fourier Transform}
|
||||
\acro{IDFT}[IDFT]{Inverse Discrete Fourier Transform}
|
||||
\acro{KKF}[KKF]{Kreuzkorrelationsfunktion}
|
||||
\acro{OFDM}[OFDM]{Orthogonal Frequency Division Multiplex}
|
||||
\acro{PAPR}[PAPR]{Peak-to-Average Power Ratio}
|
||||
\acro{QAM}[QAM]{Quadrature Amplitude Modulation}
|
||||
\end{acronym}
|
||||
5
abstract.tex
Normal file
5
abstract.tex
Normal file
@@ -0,0 +1,5 @@
|
||||
\chapter*{Zusammenfassung}
|
||||
|
||||
Hier steht auf 3-5 Seiten die Arbeit zusammengefasst. Nicht mit der Einleitung zu verwechseln! M\"oglichst viele Bilder.
|
||||
|
||||
|
||||
9
anhang.tex
Normal file
9
anhang.tex
Normal file
@@ -0,0 +1,9 @@
|
||||
\chapter{Name des Anhangs}
|
||||
|
||||
In den Anhang kommen u.a.:
|
||||
\begin{enumerate}
|
||||
\item Längere Herleitungen
|
||||
\item Längere Codestellen, falls überhaupt (Code einfach abdrucken ist überflüssig!)
|
||||
\item Beschreibungen von APIs
|
||||
\end{enumerate}
|
||||
|
||||
66
bibliography.bib
Normal file
66
bibliography.bib
Normal file
@@ -0,0 +1,66 @@
|
||||
@Comment Eintr{\"a}ge k{\"o}nnen komfortabel {\"u}ber das (X)Emacs-Menu "Entry-Types"
|
||||
@Comment gemacht werden.
|
||||
@Comment
|
||||
@Comment Zur Verwendung von BibTeX siehe auch
|
||||
@Comment file:/tools/misc/teTeX/share/texmf/doc/bibtex/base/btxdoc.dvi
|
||||
|
||||
@Comment Mama-Paper
|
||||
|
||||
@INPROCEEDINGS{sha49,
|
||||
author = {Claude E. Shannon},
|
||||
title = {{Communication in the Presence of Noise}},
|
||||
booktitle = {Proceedings of the IRE},
|
||||
year = {1949},
|
||||
month = {January}
|
||||
}
|
||||
|
||||
@Comment Paper zur Arbeit, Studienarbeit
|
||||
|
||||
@Comment Berichte von Regulierungsbehoerden
|
||||
|
||||
@TECHREPORT{itu,
|
||||
title = {{Radio Regulations}},
|
||||
institution = {International Telecommunication Union - Radiocommunication},
|
||||
note = {},
|
||||
year = {2006}
|
||||
}
|
||||
|
||||
|
||||
@Comment software radio ...
|
||||
|
||||
@ARTICLE{mit92,
|
||||
title = {{Software radios-survey, critical evaluation and future directions}},
|
||||
author = {Joseph Mitola},
|
||||
journal = {National Telesystems Conference},
|
||||
month = May,
|
||||
year = {1992}
|
||||
}
|
||||
|
||||
|
||||
@ARTICLE{hay05,
|
||||
title = {{Cognitive radio: brain-empowered wireless communications}},
|
||||
author = {Haykin, S.},
|
||||
journal = {IEEE Journal on Selected Areas in Communications},
|
||||
month = Feb,
|
||||
year = {2005}
|
||||
}
|
||||
|
||||
@ARTICLE{jon05,
|
||||
title = {{Software-Defined Radio Basics and Evolution to Cognitive Radio}},
|
||||
author = {Friedrich Jondral},
|
||||
journal = {EURASIP Journal on Wireless Communications and Networking},
|
||||
month = Feb,
|
||||
year = {2005}
|
||||
}
|
||||
|
||||
|
||||
@Comment Cooperation in Spectrum Sensing
|
||||
|
||||
@ARTICLE{jon07,
|
||||
title = {{Cognitive Radio: A Communications Engineering View}},
|
||||
author = {Friedrich K. Jondral},
|
||||
journal = {IEEE Wireless Communications},
|
||||
month = Aug,
|
||||
year = {2007}
|
||||
}
|
||||
|
||||
BIN
figures/DSAFlowchart.png
Executable file
BIN
figures/DSAFlowchart.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 34 KiB |
BIN
figures/DSAFramework.png
Executable file
BIN
figures/DSAFramework.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 64 KiB |
BIN
figures/DSATaxonomy.png
Executable file
BIN
figures/DSATaxonomy.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
BIN
figures/cel.eps
Normal file
BIN
figures/cel.eps
Normal file
Binary file not shown.
BIN
figures/cel.jpeg
Executable file
BIN
figures/cel.jpeg
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
BIN
figures/cel.png
Executable file
BIN
figures/cel.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 9.8 KiB |
BIN
figures/cel1.pdf
Executable file
BIN
figures/cel1.pdf
Executable file
Binary file not shown.
BIN
figures/header.eps
Normal file
BIN
figures/header.eps
Normal file
Binary file not shown.
BIN
figures/header.pdf
Normal file
BIN
figures/header.pdf
Normal file
Binary file not shown.
3567
figures/kit.eps
Normal file
3567
figures/kit.eps
Normal file
File diff suppressed because it is too large
Load Diff
BIN
figures/kit.pdf
Normal file
BIN
figures/kit.pdf
Normal file
Binary file not shown.
BIN
header.pdf
Normal file
BIN
header.pdf
Normal file
Binary file not shown.
76
hinweise.tex
Normal file
76
hinweise.tex
Normal file
@@ -0,0 +1,76 @@
|
||||
\chapter{Hinweise zum Schreiben einer Diplomarbeit}
|
||||
|
||||
|
||||
\section{Literatur, Referenzen}
|
||||
|
||||
Viel zitieren ist immer gut. Insbesondere Shannon \cite{sha49} zitieren kommt immer gut an.
|
||||
|
||||
Plagiieren hingegen gilt als Betrug. Hierzu empfiehlt sich ein Blick auf das CEL-Wiki.
|
||||
|
||||
\section{Bilder}
|
||||
|
||||
\begin{itemize}
|
||||
\item Wenn möglich, Vektorgraphiken verwenden (also \texttt{.eps} oder \texttt{.pdf} statt \texttt{.jpg} oder \texttt{.png}). Diese lassen sich besser skalieren und pixeln nicht.
|
||||
\item JPEG-Dateien (\texttt{.jpg}) eignen sich \emph{nur für Fotos}. Für alles andere bitte PNG verwenden; dieses kommt auch mit hohen Ortsfrequenzen in den Bildern zurecht.
|
||||
\item Bilder aus Matlab bekommt man am besten, in dem man die Figures als .eps oder .pdf speichert. Achtung: nicht die Achsenbeschriftung zu klein machen! Notfalls mit \texttt{psfrag} die Achsen neu beschriften.
|
||||
\item Normales \LaTeX\ unterstützt ausschließlich EPS-Graphiken. Unter Linux kann man mit Hilfe von \texttt{convert} Dateien konvertieren (\texttt{convert bild.png bild.eps}). Unter Windows geht's vielleicht auch irgendwie.
|
||||
\end{itemize}
|
||||
|
||||
|
||||
\section{Einheiten}
|
||||
|
||||
Einheiten schreibt man grundsätzlich nichtkursiv. Sinnvoll ist auch ein ungebrochenes Leerzeichen (\~) zwischen Zahl und Einheit. Korrekt ist also z.B. 10~MHz. Besonders im Mathematik-Modus muss man aufpassen, weil hier Buchstaben standardmäßig kursiv gesetzt werden. Hilfreich ist z.B. das \texttt{siunitx}-Paket, das immer das richtige macht.
|
||||
|
||||
|
||||
Eine am CEL wichtige Einheit ist S/s (Samples pro Sekunde). Wann immer von Samplingraten die Rede ist, sollte diese Einheit verwendet werden, um Missverständnisse zu vermeiden. Z.B.: ``Das Signal hat eine Bandbreite von 100~kHz, daher wählen wir die Samplingrate 200~kS/s.''
|
||||
|
||||
\section{Sonderzeichen}
|
||||
|
||||
Wenn es Probleme mit Sonderzeichen gibt (insbesondere: Umlaute), dann liegt das meistens an der falschen Zeichensatzcodierung. Wenn man die folgenden Punkte beachtet, sollte alles funktionieren:
|
||||
|
||||
\begin{itemize}
|
||||
\item In der header.tex muss die Codierung eingestellt werden, die auch die Editoren verwenden. Manchmal reicht es schon, bei den Zeilen
|
||||
\begin{verbatim}
|
||||
\usepackage
|
||||
%\usepackage[latin1]{inputenc} % Latin1
|
||||
\usepackage[utf8]{inputenc} % UTF-8
|
||||
\end{verbatim}
|
||||
die Kommentierung zu ändern, also latin1 reinzunehmen und utf8 rauszunehmen, oder umgekehrt.
|
||||
\item Wichtig ist, keine Codierungen zu mischen. In allen Dateien muss dieselbe Codierung verwendet werden.
|
||||
\item Texniccenter unterhalb Version 2.0 unter Windows unterstützt kein UTF-8; hierfür also latin1 verwenden.
|
||||
\item Wenn man alles richtig einstellt, muss man kein \verb!\"u! oder sonstwas tippen, um Umlaute darzustellen, sondern kann sie direkt verwenden.
|
||||
\end{itemize}
|
||||
|
||||
|
||||
\section{PDF-\LaTeX\ oder normales \LaTeX{}?}
|
||||
|
||||
Das, was besser funktioniert! Solange am Ende ein PDF abgegeben wird, ist das egal.
|
||||
Normales \LaTeX hat den Vorteil, dass \texttt{psfrag} funktioniert. PDF-\LaTeX\ unterstützt das direkte Einbinden von Pixelgraphiken (PNG, JPEG).
|
||||
|
||||
\section{Git}
|
||||
|
||||
\begin{enumerate}
|
||||
\item Niemals temporäre Dateien einchecken, also nur .tex, .bib und alle Bilder.
|
||||
\end{enumerate}
|
||||
|
||||
|
||||
\section{Gedankenstriche, Bindestriche und Silbentrennung}
|
||||
|
||||
Ein Gedankenstrich -- wie z.B. diese hier -- wird als \verb!--! geschrieben. Silbentrennung macht \LaTeX\ selbst, es sei denn, es kennt das Wort nicht. Dann kann man manuell Silbentrennungen einfügen, z.B. mit \verb!"-! (\verb!Silben"-trennung!), oder man fügt es in der header.tex in die Trennregeln hinzu (bei \verb!\hyphenation{}!).
|
||||
|
||||
|
||||
\section{Mathematische Notation}
|
||||
|
||||
\begin{itemize}
|
||||
\item Variablen und eigene Funktionen werden kursiv gesetzt. \LaTeX\ macht dies im mathematischen Modus von alleine. Dies ist auch im Fließtext wichtig, z.B. ``Im OFDM-Signal sind $N$ Träger aktiv''. Hierfür ist die \$\$-Notation nützlich.
|
||||
\item Mathematische Standardfunktionen werden nichtkursiv gesetzt, z.B.
|
||||
\[
|
||||
x(t) = \sin(2t)
|
||||
\]
|
||||
Auch hierfür ist \LaTeX\ bereits gewappnet.
|
||||
\item Gleichungen werden in die Satzstruktur eingebettet, soweit die Sprache dies zulässt. Richtig ist: ``Im Zeitbereich kann das Signal durch $x(t) = \sin(2\pi t) + 2\sin(4\pi t)$ ausgedrückt werden''. Die Art des Formelsatzes ist dabei unerheblich, auch abgesetzte Formeln gehören in einen Satz: ``Im Zeitbereich kann das Signal durch \[ x(t) = \sin(2\pi t) + 2\sin(4\pi t) \] ausgedrückt werden''.
|
||||
|
||||
|
||||
\end{itemize}
|
||||
|
||||
|
||||
16
intro.tex
Normal file
16
intro.tex
Normal file
@@ -0,0 +1,16 @@
|
||||
\chapter{Einleitung}
|
||||
|
||||
Die Einleitung besteht aus 1-2 Seiten und beschreibt kurz, worum es in dieser Arbeit überhaupt geht.
|
||||
|
||||
Die Gesamtstruktur einer Diplomarbeit sieht meistens etwa so aus:
|
||||
|
||||
\begin{enumerate}
|
||||
\item Einleitung
|
||||
\item Theoretische Grundlagen
|
||||
\item Eigene Arbeiten
|
||||
\item (Mess-)Ergebnisse
|
||||
\item Zusammenfassung/Ausblick
|
||||
\end{enumerate}
|
||||
|
||||
Dies ist natürlich nicht als Gesetz zu verstehen; die Struktur soll die eigene Arbeit gut widerspiegeln.
|
||||
|
||||
3
make_clean
Executable file
3
make_clean
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
rm *.backup *~ *.aux header.toc header.out header.log header.bbl header.blg
|
||||
|
||||
5
make_pdf
Executable file
5
make_pdf
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
pdflatex header.tex
|
||||
bibtex header
|
||||
pdflatex header.tex
|
||||
pdflatex --src-specials header.tex
|
||||
378
templates/cel-klausur.cls
Normal file
378
templates/cel-klausur.cls
Normal file
@@ -0,0 +1,378 @@
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesClass{templates/cel-klausur}
|
||||
\LoadClass[11pt,a4paper,oneside]{article}
|
||||
|
||||
% Gerneral %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage[utf8]{inputenc} % UTF-8
|
||||
\usepackage[ngerman]{babel}
|
||||
\usepackage{pythontex}
|
||||
|
||||
% Math and Symbols %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\usepackage{amssymb, amsfonts, latexsym}
|
||||
\usepackage[fleqn]{amsmath}
|
||||
\usepackage[right]{eurosym}
|
||||
\usepackage{MnSymbol}
|
||||
\usepackage{siunitx}
|
||||
\sisetup{%
|
||||
binary-units = true,
|
||||
% load-configurations=binary,
|
||||
% load-configurations=abbreviations,
|
||||
% per-mode=fraction,
|
||||
% fraction-function=\sfrac, % braucht Paket »xfrac«
|
||||
output-decimal-marker={,}
|
||||
}
|
||||
% fft symbol
|
||||
\usepackage{trfsigns}
|
||||
\def\korrts{\quad \laplace \quad }
|
||||
% (Matrixnotation aus NT1-/WT-Buch)
|
||||
\def\matrixnue#1{%
|
||||
\setbox200=\hbox{#1}%
|
||||
\setbox201=\vbox{#1}%
|
||||
\setbox202=\vsplit201 to .5\ht201
|
||||
\vbox{\normalbaselines%
|
||||
{\hrule width 1.2\wd200
|
||||
\hbox{\vrule height.6\ht202 \kern1.15\wd200 \vrule height.6\ht202}}%
|
||||
\kern-1.7\ht202%
|
||||
\hbox{\kern.1\wd200 #1}}%
|
||||
}
|
||||
\def\matrixnue#1{%
|
||||
\ifmeasuring@#1\else
|
||||
\sbox0{$\displaystyle#1$}\rlap{%
|
||||
\rule[\dimexpr\ht0+0.5pt\relax]{0.5pt}{.4ex}%
|
||||
\rule[\dimexpr\ht0+.4ex\relax]{1.1\wd0}{0.5pt}%
|
||||
\rule[\dimexpr\ht0+0.5pt\relax]{0.5pt}{.4ex}%
|
||||
}\box0
|
||||
\fi
|
||||
}
|
||||
\newcommand{\mybinom}[2]{%
|
||||
\Big(\hspace*{-1ex}\begin{array}{c}%
|
||||
#1\\[-1ex]#2%
|
||||
\end{array}\hspace*{-1ex}\Big)\,%
|
||||
}
|
||||
% Graphics %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\usepackage{graphics}
|
||||
\usepackage{color}
|
||||
\usepackage{pgf, tikz, pgfplots}
|
||||
\pgfplotsset{compat=1.9}
|
||||
|
||||
% Layout %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\RequirePackage{marginnote}
|
||||
\RequirePackage[compact,explicit]{titlesec}% http://ctan.org/pkg/titlesec
|
||||
\RequirePackage{fancyhdr, lastpage}
|
||||
\RequirePackage{ifthen}
|
||||
\RequirePackage[hidelinks, final=true]{hyperref}
|
||||
\RequirePackage[ddmmyyyy]{datetime}
|
||||
\renewcommand{\dateseparator}{.}
|
||||
\RequirePackage[export]{adjustbox}
|
||||
|
||||
|
||||
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Page format
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\topmargin -15mm
|
||||
\oddsidemargin 0mm
|
||||
\evensidemargin 0mm
|
||||
\textheight 250.5mm
|
||||
\textwidth 160.0mm
|
||||
\columnsep 8.1mm
|
||||
\parindent 0.0em
|
||||
\headsep 6.3mm
|
||||
\headheight 12pt
|
||||
\lineskip 1pt
|
||||
\normallineskip 1pt
|
||||
\marginparsep 6mm
|
||||
|
||||
% Seitenzahlen
|
||||
\renewcommand{\headrulewidth}{0pt}
|
||||
\pagestyle{fancy}
|
||||
\fancyhf{}
|
||||
\cfoot{\tiny \thepage\ / \pageref{LastPage}}
|
||||
\IfFileExists{.gitversion}{%
|
||||
\lfoot{\color{red} \tiny \today{ }\currenttime}%
|
||||
\rfoot{\color{red} \tiny \input{.gitversion}}%
|
||||
}{%
|
||||
%
|
||||
}
|
||||
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Variablen
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Befehle
|
||||
\newcommand{\examType}[1]{\def \theExamType{#1}}
|
||||
\newcommand{\examName}[1]{\def\theExamName{#1}}
|
||||
\newcommand{\examDate}[1]{\def \theExamDate{#1}}
|
||||
\newcommand{\examAuthors}[1]{\def \theExamAuthors {#1}}
|
||||
\newcommand{\examDuration}[1]{\def \theExamDuration {#1}}
|
||||
\newcommand{\exerciseCount}[1]{\def \theExerciseCount {#1}}
|
||||
\newcommand{\pointsPerExercise}[1]{\def \thePointsPerExercise {#1}}
|
||||
|
||||
\newcommand{\gradeDate}[1]{\def \theGradeDate {#1}}
|
||||
\newcommand{\reviewDate}[1]{\def \theReviewDate {#1}}
|
||||
\newcommand{\reviewMode}[1]{\def \theReviewMode {#1}}
|
||||
|
||||
\newcommand{\pointsToPass}[1]{\def\thePointsToPass{#1}}
|
||||
\newcommand{\gradeStep}[1]{\def\theGradeStep{#1}}
|
||||
|
||||
% Defaults
|
||||
\examType{Schriftliche Prüfung im Fach}
|
||||
\examName{CEL Klausur}
|
||||
\examDate{DD.MM.YYYY}
|
||||
\examAuthors{Max Mustermann; Friedrich K. Jondral}
|
||||
\examDuration{xxx Stunden}
|
||||
\exerciseCount{xxx}
|
||||
\pointsPerExercise{10}
|
||||
|
||||
\gradeDate{DD.MM.YYYY}
|
||||
\reviewDate{DD.MM.YYYY}
|
||||
\reviewMode{}
|
||||
|
||||
\pointsToPass{0}
|
||||
\gradeStep{0}
|
||||
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Schalter
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Seitentrennung
|
||||
\newboolean{onePerSheet}
|
||||
\setboolean{onePerSheet}{false}
|
||||
\ifdefined\argOnePerSheet\setboolean{onePerSheet}{true}\fi
|
||||
\newcommand{\onePerSheet}{\ifdefined\argForce\else\setboolean{onePerSheet}{true}\fi}
|
||||
|
||||
|
||||
% Anzeige der Korrektoren
|
||||
\newboolean{showNames}
|
||||
\setboolean{showNames}{false}
|
||||
\ifdefined\argShowNames\setboolean{showNames}{true}\fi
|
||||
\newcommand{\showNames}{\ifdefined\argForce\else\setboolean{showNames}{true}\fi}
|
||||
|
||||
% Anzeige der Lösung
|
||||
\newboolean{showSolution}
|
||||
\setboolean{showSolution}{false}
|
||||
\ifdefined\argShowSolution\setboolean{showSolution}{true}\fi
|
||||
\newcommand{\showSolution}{\ifdefined\argForce\else\setboolean{showSolution}{true}\fi}
|
||||
|
||||
% Anzeige der Punkte
|
||||
\newboolean{showPoints}
|
||||
\setboolean{showPoints}{false}
|
||||
\ifdefined\argShowPoints\setboolean{showPoints}{true}\fi
|
||||
\newcommand{\showPoints}{\ifdefined\argForce\else\setboolean{showPoints}{true}\fi}
|
||||
|
||||
% Anzeige des Einsicht Titelblatts
|
||||
\newboolean{showReview}
|
||||
\setboolean{showReview}{false}
|
||||
\ifdefined\argShowReview
|
||||
\setboolean{showReview}{true}
|
||||
\setboolean{showSolution}{true}
|
||||
\setboolean{showPoints}{true}
|
||||
\fi
|
||||
\newcommand{\showReview}{\ifdefined\argForce\else
|
||||
\setboolean{showReview}{true}
|
||||
\setboolean{showSolution}{true}
|
||||
\setboolean{showPoints}{true}
|
||||
\fi}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Titel
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\newcommand{\header}{%
|
||||
\includegraphics[width=40mm,valign=c]{templates/logos/kitlogo_de_rgb}%
|
||||
\hfill%
|
||||
\begin{minipage}{9cm}\centering%
|
||||
\textbf{Karlsruhe Institute of Technology}\\
|
||||
Communications Engineering Lab\\
|
||||
Univ.-Prof. Dr. rer.nat. Friedrich Jondral%
|
||||
\end{minipage}%
|
||||
\hfill%
|
||||
\includegraphics[width=25mm,valign=c]{templates/logos/cel_logo}%
|
||||
}
|
||||
\newcommand{\ssection}[1]{\vspace*{0.8em}{\textbf{#1}}\\}
|
||||
|
||||
\def\maketitle{
|
||||
\hypersetup{
|
||||
pdfauthor = \theExamAuthors,
|
||||
pdftitle = {\theExamType{ }\theExamName{ }\theExamDate},
|
||||
pdfsubject = {Institut für Nachrichtentechnik (CEL)},
|
||||
pdfcreator = {PDFLaTeX with hyperref package},
|
||||
pdfproducer = {PDFLaTeX}
|
||||
}
|
||||
\vspace*{-0.8cm} % align the top of the kit logo with the text
|
||||
\header\vspace{2.5cm}%
|
||||
% Überschrift:
|
||||
\begin{center}
|
||||
\Large \bf \theExamType \\[.1em]
|
||||
\Huge \bf \theExamName \\[.3em]
|
||||
\Large \bf \theExamDate
|
||||
\ifshowSolution \\[2cm] \Huge \bf Musterlösung \fi
|
||||
\ifshowReview \\[.3em]\Large für die Klausureinsicht \fi%
|
||||
\end{center}
|
||||
\vfill
|
||||
\ifshowReview%
|
||||
\input{templates/title.review.tex}%
|
||||
\else%
|
||||
\input{templates/title.exam.tex}%
|
||||
\fi
|
||||
\newpage
|
||||
}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Aufgaben
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\newcommand{\points}[1]{\def \thePointsMax {#1}}
|
||||
\titleformat{\section}[runin]{\Large\bfseries\vspace{1em}}{}{0pt}{#1}
|
||||
\newcommand{\aufgabe}[1][]%
|
||||
{%
|
||||
\ifthenelse{\boolean{onePerSheet}}{%
|
||||
\clearpage%
|
||||
\ifthenelse{\isodd{\thepage}}{}{\null\newpage}%
|
||||
}{%
|
||||
\ifthenelse{\boolean{showSolution}}{\clearpage}{}%
|
||||
}%
|
||||
\section{Aufgabe \thesection}%
|
||||
\ifshowNames%
|
||||
\hspace{1em}\textmd{\normalsize\color{red} (#1)}%
|
||||
\else%
|
||||
\mbox{}%
|
||||
\fi%
|
||||
\\[1.2ex]%
|
||||
\setcounter{teilaufgabenInAufgabe}{0}%
|
||||
\points{\thePointsPerExercise}
|
||||
}
|
||||
%
|
||||
%
|
||||
%
|
||||
\makeatletter
|
||||
% The command writes onto the aux file
|
||||
\def\setTeilaufgabenCount#1#2{\@bsphack
|
||||
\protected@write\@mainaux{}%
|
||||
{\string\updateTeilaufgabenCount{#1}{#2}}%
|
||||
\@esphack}
|
||||
\def\updateTeilaufgabenCount#1#2{%
|
||||
\expandafter\xdef\csname tafc@#1\endcsname{#2}}
|
||||
\def\totalTeilaufgabenCount#1{%
|
||||
\expandafter\ifx\csname tafc@#1\endcsname\relax0\else
|
||||
\csname tafc@#1\endcsname\fi}
|
||||
%\AtEndDocument{\def\newreference#1#2{%
|
||||
% \edef\reserved@a{#2}%
|
||||
% \expandafter\ifnum\csname tafc@#1\endcsname>\reserved@a\else
|
||||
% \@tempswatrue\fi}}
|
||||
\makeatother
|
||||
%
|
||||
%
|
||||
%
|
||||
\newcounter{punkteinAufgabe}
|
||||
\newcounter{teilaufgabenInAufgabe}
|
||||
%
|
||||
\newenvironment{teilaufgaben}{
|
||||
\begin{enumerate}
|
||||
%\addtocounter{Aufgabe\thesection}{\letzterwert}
|
||||
\setcounter{enumi}{\value{teilaufgabenInAufgabe}}
|
||||
\setlength{\itemsep}{0pt}
|
||||
%\setlength{\parskip}{0pt}
|
||||
%\setlength{\parsep}{0pt}
|
||||
}{
|
||||
\setcounter{teilaufgabenInAufgabe}{\value{enumi}}
|
||||
\setTeilaufgabenCount{Aufgabe\thesection}{\the\value{enumi}}
|
||||
\ifnum \the\value{enumi}=0\totalTeilaufgabenCount{Aufgabe\thesection}
|
||||
\checkPunkte
|
||||
\fi
|
||||
\end{enumerate}
|
||||
}
|
||||
%
|
||||
% Item command mit Punktezählen und bei Bedarf Randnotiz
|
||||
\newcommand{\labelpunkte}{%
|
||||
\ifnum\thePunkte>0%
|
||||
\foreach \n in {1,...,\thePunkte}{\textbullet}%
|
||||
\fi%
|
||||
}
|
||||
\newcommand{\teil}[1][0]{%
|
||||
\item%
|
||||
\def\thePunkte{#1}%
|
||||
\ifshowPoints\marginnote{\color{red}\labelpunkte}\fi%
|
||||
\addtocounter{punkteinAufgabe}{#1}%
|
||||
}
|
||||
%
|
||||
% Zähler für enumerate environment neu definieren.
|
||||
\renewcommand{\labelenumi}{\alph{enumi})}
|
||||
\renewcommand{\labelenumii}{\alph{enumii})}
|
||||
%
|
||||
\newcommand{\checkPunkte}{%
|
||||
\ifnum 0<0\thesection
|
||||
\ifnum \value{punkteinAufgabe}=0%
|
||||
\ClassWarning{cel-klausur}{%
|
||||
Aufgabe \thesection\space hat (noch) keine Punkteverteilung%
|
||||
}
|
||||
\else
|
||||
\ifnum \value{punkteinAufgabe}=1%
|
||||
\ClassWarning{cel-klausur}{%
|
||||
Aufgabe \thesection\space hat nur 1 Punkt%
|
||||
}
|
||||
\else
|
||||
\ifnum \value{punkteinAufgabe}<\thePointsMax%
|
||||
\ClassWarning{cel-klausur}{%
|
||||
Aufgabe \thesection\space hat nur \thepunkteinAufgabe\space anstatt \thePointsMax\space Punkte
|
||||
}
|
||||
\fi\fi\fi
|
||||
\ifnum \value{punkteinAufgabe}>\thePointsMax%
|
||||
\ClassWarning{cel-klausur}{%
|
||||
Aufgabe \thesection\space hat \thepunkteinAufgabe\space anstatt \thePointsMax\space Punkte%
|
||||
}
|
||||
\fi
|
||||
\fi
|
||||
\setcounter{punkteinAufgabe}{0}%
|
||||
}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Loesung
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\newenvironment{loesung}%
|
||||
{%
|
||||
\ifthenelse{\boolean{showSolution}}{%
|
||||
\begingroup%
|
||||
\vspace*{1em}
|
||||
\subsection*{Lösung}
|
||||
\bgroup%
|
||||
}{%
|
||||
\setbox0\vbox\bgroup%
|
||||
}%
|
||||
}{%
|
||||
\ifthenelse{\boolean{showSolution}}{%
|
||||
\egroup%
|
||||
\endgroup%
|
||||
}{%
|
||||
\egroup%
|
||||
}%
|
||||
}%
|
||||
|
||||
\newenvironment{loesungen}%
|
||||
{%
|
||||
\begingroup%
|
||||
\begin{loesung}%
|
||||
\begin{enumerate}%
|
||||
}{%
|
||||
\end{enumerate}%
|
||||
\end{loesung}%
|
||||
\endgroup%
|
||||
}%
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Anhang
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\makeatletter
|
||||
\newcommand{\anhang}[1][]{
|
||||
\setcounter{punkteinAufgabe}{0}
|
||||
\clearpage
|
||||
\ifonePerSheet%
|
||||
\ifthenelse{\isodd{\thepage}}{}{\null\newpage}%
|
||||
\fi%
|
||||
\appendix
|
||||
\def\thesubsection{\@Alph\c@subsection}
|
||||
\section{\ifx&{Formelsammlung und Tabellen}\else{#1}\fi}
|
||||
}
|
||||
\makeatother
|
||||
\titlespacing*{\subsection}{0ex}{2ex}{1ex}
|
||||
% \subsection{...} can be used for structuring
|
||||
355
templates/cel-thesis.cls
Normal file
355
templates/cel-thesis.cls
Normal file
@@ -0,0 +1,355 @@
|
||||
% This file requires quite a few texlive packages.
|
||||
% texlive-lang-german / texlive-lang-european
|
||||
% texlive-science
|
||||
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesClass{templates/cel-thesis}
|
||||
\LoadClass[11pt, % 11pt
|
||||
BCOR8mm, % Bindekorrektur
|
||||
DIV12, % Satzspiegel
|
||||
twoside, % Doppelseitige Ausgabe
|
||||
a4paper, % DIN A4
|
||||
openright, % Neue Kapitel auf rechter Seite
|
||||
% dvips, % Source Specials ins DVI/PS
|
||||
% draft, % Overfull H-Boxen markieren
|
||||
final, % Engueltige Version mit Bildern
|
||||
]{scrreprt}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% variables
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% new commands
|
||||
\newcommand{\thesisTitle}[1]{\def \theThesisTitle{#1}}
|
||||
\newcommand{\thesisType}[1]{\def \theThesisType{#1}}
|
||||
\newcommand{\thesisAuthor}[1]{\def \theThesisAuthor{#1}}
|
||||
\newcommand{\thesisAdvisor}[1]{\def \theThesisAdvisor{#1}}
|
||||
\newcommand{\thesisSupervisor}[1]{\def \theThesisSupervisor{#1}}
|
||||
\newcommand{\thesisStartDate}[1]{\def \theThesisStartDate{#1}}
|
||||
\newcommand{\thesisEndDate}[1]{\def \theThesisEndDate{#1}}
|
||||
\newcommand{\thesisSignatureDate}[1]{\def \theThesisSignatureDate{#1}}
|
||||
\newcommand{\thesisLanguage}[1]{\def \theThesisLanguage{#1}}
|
||||
|
||||
% Defaults
|
||||
\thesisTitle{Random Thesis Title}
|
||||
\thesisType{Master Thesis Type}
|
||||
\thesisAuthor{John Doe}
|
||||
\thesisAdvisor{Univ.-Prof. Dr.rer.nat. Friedrich K. Jondral}
|
||||
\thesisSupervisor{Super-Assi Deluxe M.Sc.}
|
||||
\thesisStartDate{dd.mm.yyyy}
|
||||
\thesisEndDate{dd.mm.yyyy}
|
||||
\thesisSignatureDate{dd.mm.yyyy}
|
||||
\thesisLanguage{english}
|
||||
|
||||
% Gerneral %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\usepackage[T1]{fontenc} % encoding for target files.
|
||||
\usepackage[utf8]{inputenc} % UTF-8 encoding for source files
|
||||
\usepackage[\theThesisLanguage]{babel}
|
||||
\usepackage{pythontex}
|
||||
|
||||
% Math and Symbols %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\usepackage{amssymb, amsfonts, latexsym}
|
||||
\usepackage[fleqn]{amsmath}
|
||||
\usepackage[right]{eurosym}
|
||||
\usepackage{siunitx}
|
||||
\sisetup{%
|
||||
binary-units = true,
|
||||
% load-configurations=binary,
|
||||
% load-configurations=abbreviations,
|
||||
% per-mode=fraction,
|
||||
% fraction-function=\sfrac, % braucht Paket »xfrac«
|
||||
output-decimal-marker={,}
|
||||
}
|
||||
% fft symbol
|
||||
\usepackage{trfsigns}
|
||||
\def\korrts{\quad \laplace \quad }
|
||||
% (Matrixnotation aus NT1-/WT-Buch)
|
||||
\def\matrixnue#1{%
|
||||
\setbox200=\hbox{#1}%
|
||||
\setbox201=\vbox{#1}%
|
||||
\setbox202=\vsplit201 to .5\ht201
|
||||
\vbox{\normalbaselines%
|
||||
{\hrule width 1.2\wd200
|
||||
\hbox{\vrule height.6\ht202 \kern1.15\wd200 \vrule height.6\ht202}}%
|
||||
\kern-1.7\ht202%
|
||||
\hbox{\kern.1\wd200 #1}}%
|
||||
}
|
||||
\def\matrixnue#1{%
|
||||
\ifmeasuring@#1\else
|
||||
\sbox0{$\displaystyle#1$}\rlap{%
|
||||
\rule[\dimexpr\ht0+0.5pt\relax]{0.5pt}{.4ex}%
|
||||
\rule[\dimexpr\ht0+.4ex\relax]{1.1\wd0}{0.5pt}%
|
||||
\rule[\dimexpr\ht0+0.5pt\relax]{0.5pt}{.4ex}%
|
||||
}\box0
|
||||
\fi
|
||||
}
|
||||
\newcommand{\mybinom}[2]{%
|
||||
\Big(\hspace*{-1ex}\begin{array}{c}%
|
||||
#1\\[-1ex]#2%
|
||||
\end{array}\hspace*{-1ex}\Big)\,%
|
||||
}
|
||||
% Graphics %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Ueberschriften fett
|
||||
\setkomafont{sectioning}{\normalcolor\bfseries}
|
||||
% Bild- und Tabellen-Unterschriften formatieren
|
||||
\renewcommand{\caplabelfont}{\bfseries}
|
||||
\renewcommand{\capfont}{\small}
|
||||
|
||||
\usepackage{graphicx}
|
||||
\usepackage{color}
|
||||
\usepackage{pgf, tikz, pgfplots}
|
||||
\pgfplotsset{compat=1.9}
|
||||
|
||||
% Layout %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\RequirePackage{marginnote}
|
||||
\RequirePackage{ifthen}
|
||||
\RequirePackage[hidelinks, final=true]{hyperref}
|
||||
\RequirePackage[ddmmyyyy]{datetime}
|
||||
\renewcommand{\dateseparator}{.}
|
||||
\RequirePackage[export]{adjustbox}
|
||||
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Schalter
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Seitentrennung
|
||||
\newboolean{onePerSheet}
|
||||
\setboolean{onePerSheet}{false}
|
||||
\ifdefined\argOnePerSheet\setboolean{onePerSheet}{true}\fi
|
||||
\newcommand{\onePerSheet}{\ifdefined\argForce\else\setboolean{onePerSheet}{true}\fi}
|
||||
|
||||
|
||||
% Anzeige der Korrektoren
|
||||
\newboolean{showNames}
|
||||
\setboolean{showNames}{false}
|
||||
\ifdefined\argShowNames\setboolean{showNames}{true}\fi
|
||||
\newcommand{\showNames}{\ifdefined\argForce\else\setboolean{showNames}{true}\fi}
|
||||
|
||||
% Anzeige der Lösung
|
||||
\newboolean{showSolution}
|
||||
\setboolean{showSolution}{false}
|
||||
\ifdefined\argShowSolution\setboolean{showSolution}{true}\fi
|
||||
\newcommand{\showSolution}{\ifdefined\argForce\else\setboolean{showSolution}{true}\fi}
|
||||
|
||||
% Anzeige der Punkte
|
||||
\newboolean{showPoints}
|
||||
\setboolean{showPoints}{false}
|
||||
\ifdefined\argShowPoints\setboolean{showPoints}{true}\fi
|
||||
\newcommand{\showPoints}{\ifdefined\argForce\else\setboolean{showPoints}{true}\fi}
|
||||
|
||||
% Anzeige des Einsicht Titelblatts
|
||||
\newboolean{showReview}
|
||||
\setboolean{showReview}{false}
|
||||
\ifdefined\argShowReview
|
||||
\setboolean{showReview}{true}
|
||||
\setboolean{showSolution}{true}
|
||||
\setboolean{showPoints}{true}
|
||||
\fi
|
||||
\newcommand{\showReview}{\ifdefined\argForce\else
|
||||
\setboolean{showReview}{true}
|
||||
\setboolean{showSolution}{true}
|
||||
\setboolean{showPoints}{true}
|
||||
\fi}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Titel
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\newcommand{\header}{%
|
||||
\includegraphics[width=40mm,valign=c]{templates/logos/kitlogo_de_rgb}%
|
||||
\hfill%
|
||||
\begin{minipage}{8.26cm}\centering%
|
||||
\textbf{Karlsruhe Institute of Technology}\\
|
||||
Communications Engineering Lab\\
|
||||
\theThesisAdvisor%
|
||||
\end{minipage}%
|
||||
\hfill%
|
||||
\includegraphics[width=25mm,valign=c]{templates/logos/cel_logo}%
|
||||
}
|
||||
\newcommand{\ssection}[1]{\vspace*{0.8em}{\textbf{#1}}\\}
|
||||
|
||||
|
||||
\def\maketitle{
|
||||
\hypersetup{
|
||||
pdfauthor = \theThesisAuthor,
|
||||
pdftitle = {\theThesisType{ }\theThesisTitle{ }\theThesisEndDate},
|
||||
pdfsubject = {Institut für Nachrichtentechnik (CEL)},
|
||||
pdfcreator = {PDFLaTeX with hyperref package},
|
||||
pdfproducer = {PDFLaTeX}
|
||||
}
|
||||
\thispagestyle{empty}
|
||||
\header % institute banner, etc.
|
||||
\vspace*{3.0cm}%
|
||||
% Title
|
||||
\begin{center}
|
||||
{\Large \textbf{\theThesisTitle}} \\[1cm]
|
||||
{\large \theThesisType} \\[2.5cm]
|
||||
{\textbf{\theThesisAuthor}}\\[2.5cm]
|
||||
\begin{tabular}{lll}
|
||||
Hauptreferent & : & \theThesisAdvisor \\
|
||||
Betreuer & : & \theThesisSupervisor\\[2cm]
|
||||
Beginn & : & \theThesisStartDate \\
|
||||
Abgabe & : & \theThesisEndDate \\
|
||||
\end{tabular}
|
||||
|
||||
\end{center}
|
||||
\hspace*{\fill}
|
||||
\newpage
|
||||
\include{templates/eidesstattliche_erklaerung}
|
||||
}
|
||||
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Aufgaben
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% % \newcommand{\points}[1]{\def \thePointsMax {#1}}
|
||||
% % \titleformat{\section}[runin]{\Large\bfseries\vspace{1em}}{}{0pt}{#1}
|
||||
% % \newcommand{\aufgabe}[1][]%
|
||||
% % {%
|
||||
% % \ifthenelse{\boolean{onePerSheet}}{%
|
||||
% % \clearpage%
|
||||
% % \ifthenelse{\isodd{\thepage}}{}{\null\newpage}%
|
||||
% % }{%
|
||||
% % \ifthenelse{\boolean{showSolution}}{\clearpage}{}%
|
||||
% % }%
|
||||
% % \section{Aufgabe \thesection}%
|
||||
% % \ifshowNames%
|
||||
% % \hspace{1em}\textmd{\normalsize\color{red} (#1)}%
|
||||
% % \else%
|
||||
% % \mbox{}%
|
||||
% % \fi%
|
||||
% % \\[1.2ex]%
|
||||
% % \setcounter{teilaufgabenInAufgabe}{0}%
|
||||
% % \points{\thePointsPerExercise}
|
||||
% % }
|
||||
%
|
||||
%
|
||||
%
|
||||
\makeatletter
|
||||
% The command writes onto the aux file
|
||||
\def\setTeilaufgabenCount#1#2{\@bsphack
|
||||
\protected@write\@mainaux{}%
|
||||
{\string\updateTeilaufgabenCount{#1}{#2}}%
|
||||
\@esphack}
|
||||
\def\updateTeilaufgabenCount#1#2{%
|
||||
\expandafter\xdef\csname tafc@#1\endcsname{#2}}
|
||||
\def\totalTeilaufgabenCount#1{%
|
||||
\expandafter\ifx\csname tafc@#1\endcsname\relax0\else
|
||||
\csname tafc@#1\endcsname\fi}
|
||||
%\AtEndDocument{\def\newreference#1#2{%
|
||||
% \edef\reserved@a{#2}%
|
||||
% \expandafter\ifnum\csname tafc@#1\endcsname>\reserved@a\else
|
||||
% \@tempswatrue\fi}}
|
||||
\makeatother
|
||||
%
|
||||
%
|
||||
%
|
||||
\newcounter{punkteinAufgabe}
|
||||
\newcounter{teilaufgabenInAufgabe}
|
||||
%
|
||||
\newenvironment{teilaufgaben}{
|
||||
\begin{enumerate}
|
||||
%\addtocounter{Aufgabe\thesection}{\letzterwert}
|
||||
\setcounter{enumi}{\value{teilaufgabenInAufgabe}}
|
||||
\setlength{\itemsep}{0pt}
|
||||
%\setlength{\parskip}{0pt}
|
||||
%\setlength{\parsep}{0pt}
|
||||
}{
|
||||
\setcounter{teilaufgabenInAufgabe}{\value{enumi}}
|
||||
\setTeilaufgabenCount{Aufgabe\thesection}{\the\value{enumi}}
|
||||
\ifnum \the\value{enumi}=0\totalTeilaufgabenCount{Aufgabe\thesection}
|
||||
\checkPunkte
|
||||
\fi
|
||||
\end{enumerate}
|
||||
}
|
||||
%
|
||||
% Item command mit Punktezählen und bei Bedarf Randnotiz
|
||||
\newcommand{\labelpunkte}{%
|
||||
\ifnum\thePunkte>0%
|
||||
\foreach \n in {1,...,\thePunkte}{\textbullet}%
|
||||
\fi%
|
||||
}
|
||||
\newcommand{\teil}[1][0]{%
|
||||
\item%
|
||||
\def\thePunkte{#1}%
|
||||
\ifshowPoints\marginnote{\color{red}\labelpunkte}\fi%
|
||||
\addtocounter{punkteinAufgabe}{#1}%
|
||||
}
|
||||
%
|
||||
% Zähler für enumerate environment neu definieren.
|
||||
\renewcommand{\labelenumi}{\alph{enumi})}
|
||||
\renewcommand{\labelenumii}{\alph{enumii})}
|
||||
%
|
||||
\newcommand{\checkPunkte}{%
|
||||
\ifnum 0<0\thesection
|
||||
\ifnum \value{punkteinAufgabe}=0%
|
||||
\ClassWarning{cel-klausur}{%
|
||||
Aufgabe \thesection\space hat (noch) keine Punkteverteilung%
|
||||
}
|
||||
\else
|
||||
\ifnum \value{punkteinAufgabe}=1%
|
||||
\ClassWarning{cel-klausur}{%
|
||||
Aufgabe \thesection\space hat nur 1 Punkt%
|
||||
}
|
||||
\else
|
||||
\ifnum \value{punkteinAufgabe}<\thePointsMax%
|
||||
\ClassWarning{cel-klausur}{%
|
||||
Aufgabe \thesection\space hat nur \thepunkteinAufgabe\space anstatt \thePointsMax\space Punkte
|
||||
}
|
||||
\fi\fi\fi
|
||||
\ifnum \value{punkteinAufgabe}>\thePointsMax%
|
||||
\ClassWarning{cel-klausur}{%
|
||||
Aufgabe \thesection\space hat \thepunkteinAufgabe\space anstatt \thePointsMax\space Punkte%
|
||||
}
|
||||
\fi
|
||||
\fi
|
||||
\setcounter{punkteinAufgabe}{0}%
|
||||
}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Loesung
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\newenvironment{loesung}%
|
||||
{%
|
||||
\ifthenelse{\boolean{showSolution}}{%
|
||||
\begingroup%
|
||||
\vspace*{1em}
|
||||
\subsection*{Lösung}
|
||||
\bgroup%
|
||||
}{%
|
||||
\setbox0\vbox\bgroup%
|
||||
}%
|
||||
}{%
|
||||
\ifthenelse{\boolean{showSolution}}{%
|
||||
\egroup%
|
||||
\endgroup%
|
||||
}{%
|
||||
\egroup%
|
||||
}%
|
||||
}%
|
||||
|
||||
\newenvironment{loesungen}%
|
||||
{%
|
||||
\begingroup%
|
||||
\begin{loesung}%
|
||||
\begin{enumerate}%
|
||||
}{%
|
||||
\end{enumerate}%
|
||||
\end{loesung}%
|
||||
\endgroup%
|
||||
}%
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Anhang
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\makeatletter
|
||||
\newcommand{\anhang}[1][]{
|
||||
\setcounter{punkteinAufgabe}{0}
|
||||
\clearpage
|
||||
\ifonePerSheet%
|
||||
\ifthenelse{\isodd{\thepage}}{}{\null\newpage}%
|
||||
\fi%
|
||||
\appendix
|
||||
\def\thesubsection{\@Alph\c@subsection}
|
||||
\section{\ifx&{Formelsammlung und Tabellen}\else{#1}\fi}
|
||||
}
|
||||
\makeatother
|
||||
|
||||
19
templates/eidesstattliche_erklaerung.tex
Normal file
19
templates/eidesstattliche_erklaerung.tex
Normal file
@@ -0,0 +1,19 @@
|
||||
\chapter*{Erkl{\"a}rung}
|
||||
|
||||
%Ich versichere hiermit, dass ich meine Masterarbeit selbständig und unter Beachtung der Satzung der Universität Karlsruhe (TH) zur Sicherung guter wissenschaftlicher Praxis in der aktuellen Fassung angefertigt habe. Ich habe keine anderen als die angegebenen Quellen und Hilfsmittel benutzt und wörtlich oder inhaltlich übernommene Stellen als solche kenntlich gemacht.
|
||||
|
||||
Ich versichere hiermit, dass ich die vorliegende Arbeit selbst{\"a}ndig und unter Beachtung der Satzung der Universit{\"a}t Karlsruhe (TH) zur Sicherung guter wissenschaftlicher Praxis in der aktuellen Fassung angefertigt habe. Ich habe keine anderen als die angegebenen Quellen und Hilfsmittel benutzt und w{\"o}rtlich oder inhaltlich {\"u}bernommene Stellen als solche kenntlich gemacht.
|
||||
|
||||
\vspace{2cm}
|
||||
\begin{tabbing}
|
||||
\hspace{3em}\= \kill
|
||||
\>Karlsruhe, den \theThesisSignatureDate
|
||||
\end{tabbing}
|
||||
|
||||
\vspace{2cm}
|
||||
\begin{tabbing}
|
||||
\hspace{3em}\= \kill
|
||||
\>\theThesisAuthor\\[1ex]
|
||||
%\>Amalienstra{\ss}e 79\\
|
||||
%\>76133 Karlsruhe\\[1ex]
|
||||
\end{tabbing}
|
||||
BIN
templates/logos/cel_logo.pdf
Normal file
BIN
templates/logos/cel_logo.pdf
Normal file
Binary file not shown.
BIN
templates/logos/kitlogo_de_rgb.pdf
Normal file
BIN
templates/logos/kitlogo_de_rgb.pdf
Normal file
Binary file not shown.
26
templates/nt1-klausur.cls
Normal file
26
templates/nt1-klausur.cls
Normal file
@@ -0,0 +1,26 @@
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesClass{templates/nt1-klausur}
|
||||
\LoadClass{templates/cel-klausur}
|
||||
|
||||
%\usepackage[final=true]{hyperref}
|
||||
\usepackage{booktabs}
|
||||
|
||||
\pdfoptionpdfminorversion=5
|
||||
|
||||
\examType{Schriftliche Prüfung im Kernfach}
|
||||
\examName{Nachrichtentechnik I}
|
||||
\examAuthors{Johannes Fink; Friedrich K. Jondral}
|
||||
\examDuration{drei}
|
||||
\exerciseCount{zehn}
|
||||
\gradeStep{4}
|
||||
|
||||
\def\matrixnue#1{%
|
||||
\setbox200=\hbox{#1}%
|
||||
\setbox201=\vbox{#1}%
|
||||
\setbox202=\vsplit201 to .5\ht201
|
||||
\vbox{\normalbaselines%
|
||||
{\hrule width 1.2\wd200
|
||||
\hbox{\vrule height.6\ht202 \kern1.15\wd200 \vrule height.6\ht202}}%
|
||||
\kern-1.7\ht202%
|
||||
\hbox{\kern.1\wd200 #1}}%
|
||||
}
|
||||
15
templates/nt2-klausur.cls
Normal file
15
templates/nt2-klausur.cls
Normal file
@@ -0,0 +1,15 @@
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesClass{templates/nt1-klausur}
|
||||
\LoadClass{templates/cel-klausur}
|
||||
|
||||
%\usepackage[final=true]{hyperref}
|
||||
\usepackage{booktabs}
|
||||
|
||||
\pdfoptionpdfminorversion=5
|
||||
|
||||
\examType{Schriftliche Prüfung im Modellfach}
|
||||
\examName{Nachrichtentechnik II}
|
||||
\examAuthors{Noha El Gemayel; Holger Jäkel}
|
||||
\examDuration{zwei}
|
||||
\exerciseCount{fünf}
|
||||
\gradeStep{3}
|
||||
20
templates/title.exam.tex
Normal file
20
templates/title.exam.tex
Normal file
@@ -0,0 +1,20 @@
|
||||
\makeatletter
|
||||
\ssection{Hinweise zur Prüfung}
|
||||
Die Prüfungsdauer beträgt \textbf{\theExamDuration} Stunden. Es sind die nachstehend genannten \textbf{\theExerciseCount} gleich\-ge\-wich\-teten Aufgaben zu bearbeiten. Benutzen Sie nur die vorgedruckten Blätter, bearbeiten Sie die Aufgaben auf getrennten Blättern und geben Sie auf jedem Blatt die Nummer der Aufgabe sowie Ihre Matrikelnummer deutlich an. Verwenden Sie bei der Bearbeitung keine rote Farbe und vermeiden Sie, das vorgedruckte Doppelblatt zu beschriften. Beachten Sie besonders: \textbf{Aus Ihrer Ausarbeitung müssen der Lösungsweg und die gültige Lösung eindeutig erkennbar sein}, da sonst das Ergebnis nicht gewertet werden kann. Schreiben Sie leserlich.
|
||||
|
||||
\ssection{Hilfsmittel}
|
||||
Erlaubt sind \textbf{ein} beidseitig von eigener Hand mit Bleistift, Kugelschreiber, Füller o. Ä. beschriebenes \textbf{A4-Blatt} (Original, keine Kopie) sowie ein \textbf{nicht-programmierbarer} Taschenrechner.
|
||||
\textbf{Schalten Sie alle anderen elektronischen Geräte für die Dauer der Prüfung aus}.
|
||||
|
||||
\ssection{Abzugeben}
|
||||
sind Ihre in das Doppelblatt eingelegten Ausarbeitungen.
|
||||
|
||||
\ssection{Nicht abzugeben}
|
||||
sind die Aufgabenblätter sowie Ihr Konzeptpapier.
|
||||
|
||||
\ssection{Das Ergebnis}
|
||||
Ihrer Prüfung erfahren Sie ab dem \textbf{\theGradeDate} durch Aushang im Schaukasten des Instituts (Geb. 30.34, Lichttechnisches Institut, EG).
|
||||
|
||||
\ssection{Klausureinsicht}
|
||||
ist am {\theReviewDate} im Seminarraum des Instituts (Geb. 05.01, Kreuzstr. 11, 3.~OG). \theReviewMode
|
||||
\makeatother
|
||||
46
templates/title.review.tex
Normal file
46
templates/title.review.tex
Normal file
@@ -0,0 +1,46 @@
|
||||
\def\theTotalPoints{??}%
|
||||
\ifnum \thePointsPerExercise=10
|
||||
\ifthenelse{\equal{\theExerciseCount}{sechs}}{\def\theTotalPoints{60}}{}
|
||||
\ifthenelse{\equal{\theExerciseCount}{zehn}}{\def\theTotalPoints{100}}{}
|
||||
\fi
|
||||
%
|
||||
%
|
||||
\ssection{Hinweise zur Einsicht}
|
||||
Diese Klausureinsicht ermöglicht Ihnen die Benotung Ihrer Klausur nachzuvollziehen und die Bewertung zu kontrollieren. Es gibt \textbf{\theExerciseCount} Aufgaben, die jeweils mit bis zu \textbf{\thePointsPerExercise{} Punkten} bewertet werden können. Insgesamt sind \textbf{\theTotalPoints{} Punkte} erreichbar. Zum Bestehen dieser Klausur werden mindestens \textbf{\thePointsToPass{} Punkte} benötigt. Die Verteilung der Punkte auf die Teilaufgaben ist fest vorgegeben (siehe unten, neben den Aufgabenstellungen).
|
||||
Bei der Bewertung werden immer nur \textbf{ganze Punkte} vergeben.
|
||||
|
||||
\newcounter{NotenPunkte}\setcounter{NotenPunkte}{0}
|
||||
\newcommand{\nextGradeSpan}[1][\theGradeStep]{%
|
||||
\theNotenPunkte{--}\addtocounter{NotenPunkte}{#1}\addtocounter{NotenPunkte}{-1}\theNotenPunkte\addtocounter{NotenPunkte}{1}
|
||||
}
|
||||
%
|
||||
\ssection{Notenschlüssel}
|
||||
\\[-3mm]
|
||||
\renewcommand{\arraystretch}{1.3}
|
||||
\setlength{\tabcolsep}{1.5mm}
|
||||
\begin{tabular*}{\textwidth}{| l @{\extracolsep{\fill} } *{11}{|c} |}
|
||||
\hline
|
||||
%
|
||||
Punkte &
|
||||
\nextGradeSpan[\thePointsToPass] & % 5.0
|
||||
\nextGradeSpan &
|
||||
\nextGradeSpan &
|
||||
\nextGradeSpan &
|
||||
\nextGradeSpan &
|
||||
\nextGradeSpan &
|
||||
\nextGradeSpan &
|
||||
\nextGradeSpan &
|
||||
\nextGradeSpan &
|
||||
\nextGradeSpan &
|
||||
\theNotenPunkte{ -- }\theTotalPoints \\
|
||||
%
|
||||
\hline Note & 5.0 & 4.0 & 3.7 & 3.3 & 3.0 & 2.7 & 2.3 & 2.0 & 1.7 & 1.3 & 1.0 \\
|
||||
%
|
||||
\hline
|
||||
\end{tabular*}
|
||||
|
||||
\ssection{Kontrolle}
|
||||
Bitte stellen Sie als erstes sicher, dass Ihre gesamten Ausarbeitungen (Vorder- und Rückseite jedes Blatts) in die Bewertung miteinbezogen wurden. Auch sollte überprüft werden, dass die Punkte in den Aufgaben richtig addiert und auf das Deckblatt eingetragen wurden.
|
||||
|
||||
\ssection{Folgefehler}
|
||||
Hängt eine Teilaufgabe von den Ergebnissen der vorherigen ab, können eventuelle Folgefehler von der Bewertung ausgenommen werden. In welchem Umfang dies erfolgt und ob weiterhin die volle Punktezahl erreicht werden kann, liegt im Ermessen des jeweiligen Korrektors.
|
||||
14
templates/wt-klausur.cls
Normal file
14
templates/wt-klausur.cls
Normal file
@@ -0,0 +1,14 @@
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesClass{templates/wt-klausur}
|
||||
\LoadClass{templates/cel-klausur}
|
||||
|
||||
\usetikzlibrary{arrows,automata}
|
||||
|
||||
\examType{Schriftliche Prüfung im Grundlagenfach}
|
||||
\examName{Wahrscheinlichkeitstheorie}
|
||||
\examAuthors{Sebastian Koslowski; Friedrich K. Jondral}
|
||||
\examDuration{zwei}
|
||||
\exerciseCount{sechs}
|
||||
\gradeStep{3}
|
||||
|
||||
%\newcommand{\labelpunkte}{\bf \thePunkte pt}
|
||||
BIN
thesis-master.pdf
Normal file
BIN
thesis-master.pdf
Normal file
Binary file not shown.
58
thesis-master.tex
Normal file
58
thesis-master.tex
Normal file
@@ -0,0 +1,58 @@
|
||||
% Document class provides standardized title page + needed extras.
|
||||
\documentclass{templates/cel-thesis}
|
||||
\thesisTitle{This is the TITLE}
|
||||
\thesisType{This is a Type (masterthesis?)}
|
||||
\thesisAuthor{Foo B. Ar}
|
||||
\thesisAdvisor{Univ.-Prof. Dr.rer.nat. Friedrich K. Jondral}
|
||||
\thesisSupervisor{Dipl.-Ing. Super-Assi Deluxe}
|
||||
\thesisStartDate{35.13.1687}
|
||||
\thesisEndDate{30.2.2025}
|
||||
\thesisSignatureDate{31.2.2025}
|
||||
\thesisLanguage{ngerman}
|
||||
|
||||
|
||||
%%% LANGUAGE SETTINGS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% additional Hyphenation rules
|
||||
\hyphenation{Fre-quenz-ebe-ne Fre-quenz-ei-gen-schaf-ten
|
||||
Rausch-leis-tungs-dich-te viel-ver-sprechender non-para-metric
|
||||
repro-gra-mmable}
|
||||
|
||||
% Settings for bibliography
|
||||
\usepackage{babelbib}
|
||||
\bibliographystyle{alpha}
|
||||
|
||||
%%% PACKAGES %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
% Add all the packages you feel like you need them.
|
||||
% You'll need it.
|
||||
\usepackage{amsmath,amssymb}
|
||||
|
||||
% Figures with subfigures.
|
||||
\usepackage{subfigure}
|
||||
|
||||
% automatically expand/abbreviate terms.
|
||||
\usepackage[printonlyused]{acronym}
|
||||
|
||||
|
||||
\begin{document}
|
||||
\pagenumbering{roman} % all the preliminaries should be counted roman style
|
||||
\maketitle
|
||||
|
||||
%% preliminaries
|
||||
\include{abstract} % a MUST, few pages abstract
|
||||
\tableofcontents % a MUST
|
||||
% \listoffigures % if you want
|
||||
% \listoftables % if you want
|
||||
\include{abbreviations} % needed if you use \acronym package. Might go to appendix
|
||||
|
||||
%% main document
|
||||
\pagenumbering{arabic} % now old school arabic enumerated pages.
|
||||
\include{intro} % include chapter intro.tex
|
||||
\include{hinweise} % an example
|
||||
% % \include{chapter02} % that's how you include chapter02.tex
|
||||
|
||||
%% Appendix
|
||||
\appendix
|
||||
\bibliography{bibliography} % include bibliography.bib and with formating etc.
|
||||
|
||||
|
||||
\end{document}
|
||||
Reference in New Issue
Block a user