From 3511e1749d139ab3248d3fb4add34726a86b8fd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Fri, 4 Jun 2021 16:30:42 +0200 Subject: modernize tests --- buch/common/test-common.tex | 73 +++++++++++++++++++++++++++++++++++++++++++++ buch/common/test1.tex | 21 +++++++++++++ buch/common/test2.tex | 21 +++++++++++++ buch/common/test3.tex | 21 +++++++++++++ 4 files changed, 136 insertions(+) create mode 100644 buch/common/test-common.tex create mode 100644 buch/common/test1.tex create mode 100644 buch/common/test2.tex create mode 100644 buch/common/test3.tex (limited to 'buch/common') 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} -- cgit v1.2.1