aboutsummaryrefslogtreecommitdiffstats
path: root/buch/common
diff options
context:
space:
mode:
authorAndreas Müller <andreas.mueller@ost.ch>2021-08-03 07:37:42 +0200
committerGitHub <noreply@github.com>2021-08-03 07:37:42 +0200
commitf31aca6129f3c84f1ed4f59378fd31cbdc58ec3b (patch)
tree97c32dbdcbcc888a9030d149f5a765f006fcd631 /buch/common
parent1. Version Kapitel Rotation und Spiegelung (diff)
parentMerge pull request #60 from Kuehnee/master (diff)
downloadSeminarMatrizen-f31aca6129f3c84f1ed4f59378fd31cbdc58ec3b.tar.gz
SeminarMatrizen-f31aca6129f3c84f1ed4f59378fd31cbdc58ec3b.zip
Merge branch 'master' into master
Diffstat (limited to 'buch/common')
-rw-r--r--buch/common/lststyles.tex23
-rw-r--r--buch/common/macros.tex1
-rw-r--r--buch/common/test-common.tex73
-rw-r--r--buch/common/test1.tex21
-rw-r--r--buch/common/test2.tex21
-rw-r--r--buch/common/test3.tex21
6 files changed, 160 insertions, 0 deletions
diff --git a/buch/common/lststyles.tex b/buch/common/lststyles.tex
index b1105ed..15ac379 100644
--- a/buch/common/lststyles.tex
+++ b/buch/common/lststyles.tex
@@ -12,6 +12,29 @@
\definecolor{mygreen}{RGB}{28,172,0} % color values Red, Green, Blue
\definecolor{mylilas}{RGB}{170,55,241}
+\lstset{
+ extendedchars=true,
+ basicstyle=\ttfamily,
+ literate=%
+ {€}{\euro}1%
+ {§}{\S}1%
+ {°}{\textdegree{}}1%
+ {ä}{{\"a}}1%
+ {ö}{{\"o}}1%
+ {ü}{{\"u}}1%
+ {ß}{{\ss}}1%
+ {Ä}{{\"A}}1%
+ {Ö}{{\"O}}1%
+ {Ü}{{\"U}}1%
+ {µ}{\textmu}1%
+ {¹}{{\textsuperscript{1}}}1%
+ {²}{{\textsuperscript{2}}}1%
+ {³}{{\textsuperscript{3}}}1%
+ {¼}{\textonequarter}1%
+ {½}{\textonehalf}1%
+ {¢}{\textcent}1%
+}
+
\lstdefinestyle{Matlab}{
numbers=left,
belowcaptionskip=1\baselineskip,
diff --git a/buch/common/macros.tex b/buch/common/macros.tex
index 2c6eea2..5783122 100644
--- a/buch/common/macros.tex
+++ b/buch/common/macros.tex
@@ -108,6 +108,7 @@
\newtheorem{forderung}{Forderung}[chapter]
\newtheorem{konsequenz}[satz]{Konsequenz}
\newtheorem{algorithmus}[satz]{Algorithmus}
+\newtheorem{ziel}[satz]{Ziel}
\renewcommand{\floatpagefraction}{0.7}
\definecolor{darkgreen}{rgb}{0,0.6,0}
diff --git a/buch/common/test-common.tex b/buch/common/test-common.tex
new file mode 100644
index 0000000..289e59c
--- /dev/null
+++ b/buch/common/test-common.tex
@@ -0,0 +1,73 @@
+%
+% test.tex -- Gemeinsamer Rahmen für Kurztests
+%
+% (c) 2021 Prof. Dr. Andreas Mueller, OST Ostschweizer Fachhochschule
+%
+\documentclass[a4paper,12pt]{article}
+\usepackage{geometry}
+\geometry{papersize={210mm,297mm},total={165mm,260mm}}
+\usepackage{ngerman}
+\usepackage[utf8]{inputenc}
+\usepackage[T1]{fontenc}
+\usepackage{times}
+\usepackage{amsmath}
+\usepackage{amssymb}
+\usepackage{amsfonts}
+\usepackage{amsthm}
+\usepackage{graphicx}
+\usepackage{fancyhdr}
+\usepackage{textcomp}
+\usepackage[all]{xy}
+\usepackage{txfonts}
+\usepackage{alltt}
+\usepackage{verbatim}
+\usepackage{paralist}
+\usepackage{makeidx}
+\usepackage{array}
+\usepackage{hyperref}
+\usepackage{caption}
+\usepackage{subcaption}
+\usepackage{standalone}
+\usepackage{environ}
+\usepackage{tikz}
+\input{../common/linsys.tex}
+\newcounter{beispiel}
+\newenvironment{beispiele}{
+\bgroup\smallskip\parindent0pt\bf Beispiele\egroup
+
+\begin{list}{\arabic{beispiel}.}
+ {\usecounter{beispiel}
+ \setlength{\labelsep}{5mm}
+ \setlength{\rightmargin}{0pt}
+}}{\end{list}}
+\newcounter{uebungsaufgabe}
+% environment fuer uebungsaufgaben
+\newenvironment{uebungsaufgaben}{
+\begin{list}{\arabic{uebungsaufgabe}.}
+ {\usecounter{uebungsaufgabe}
+ \setlength{\labelwidth}{2cm}
+ \setlength{\leftmargin}{0pt}
+ \setlength{\labelsep}{5mm}
+ \setlength{\rightmargin}{0pt}
+ \setlength{\itemindent}{0pt}
+}}{\end{list}\vfill\pagebreak}
+\newenvironment{teilaufgaben}{
+\begin{enumerate}
+\renewcommand{\labelenumi}{\alph{enumi})}
+}{\end{enumerate}}
+% Loesung
+\NewEnviron{loesung}{%
+\begin{proof}[Lösung]%
+\renewcommand{\qedsymbol}{$\bigcirc$}
+\BODY
+\end{proof}}
+\NewEnviron{bewertung}{\relax}
+\NewEnviron{diskussion}{
+\BODY
+}
+\RenewEnviron{loesung}{\relax}
+\RenewEnviron{diskussion}{\relax}
+\newenvironment{hinweis}{%
+\renewcommand{\qedsymbol}{}
+\begin{proof}[Hinweis]}{\end{proof}}
+
diff --git a/buch/common/test1.tex b/buch/common/test1.tex
new file mode 100644
index 0000000..1f5a155
--- /dev/null
+++ b/buch/common/test1.tex
@@ -0,0 +1,21 @@
+%
+% test1.tex -- Test 1
+%
+% (c) 2021 Prof. Dr. Andreas Mueller, OST
+%
+\input{common/test-common.tex}
+
+\begin{document}
+{\parindent0pt\hbox to\hsize{%
+Name: \hbox to7cm{\dotfill} Vorname: \dotfill}}
+\vspace{0.5cm}
+
+\section*{Kurztest 1}
+
+\begin{uebungsaufgaben}
+
+\input{aufgaben1.tex}
+
+\end{uebungsaufgaben}
+
+\end{document}
diff --git a/buch/common/test2.tex b/buch/common/test2.tex
new file mode 100644
index 0000000..0980e44
--- /dev/null
+++ b/buch/common/test2.tex
@@ -0,0 +1,21 @@
+%
+% test2.tex -- Test 2
+%
+% (c) 2012 Prof. Dr. Andreas Mueller, OST
+%
+\input{common/test-common.tex}
+
+\begin{document}
+{\parindent0pt\hbox to\hsize{%
+Name: \hbox to7cm{\dotfill} Vorname: \dotfill}}
+\vspace{0.5cm}
+
+\section*{Kurztest 2}
+
+\begin{uebungsaufgaben}
+
+\input{aufgaben2.tex}
+
+\end{uebungsaufgaben}
+
+\end{document}
diff --git a/buch/common/test3.tex b/buch/common/test3.tex
new file mode 100644
index 0000000..8b24262
--- /dev/null
+++ b/buch/common/test3.tex
@@ -0,0 +1,21 @@
+%
+% test3.tex -- Test 3
+%
+% (c) 2021 Prof. Dr. Andreas Mueller, OST
+%
+\input{common/test-common.tex}
+
+\begin{document}
+{\parindent0pt\hbox to\hsize{%
+Name: \hbox to7cm{\dotfill} Vorname: \dotfill}}
+\vspace{0.5cm}
+
+\section*{Kurztest 3}
+
+\begin{uebungsaufgaben}
+
+\input{aufgaben3.tex}
+
+\end{uebungsaufgaben}
+
+\end{document}