]> git.leopard-lacewing.eu Git - zahlenTA.git/commitdiff
template modifiziert und in Vorlesung Eingebunden
authorPeter Schaefer <schaeferpm@gmail.com>
Mon, 2 Jul 2012 18:09:09 +0000 (20:09 +0200)
committerPeter Schaefer <schaeferpm@gmail.com>
Mon, 2 Jul 2012 18:09:09 +0000 (20:09 +0200)
UE/template.sty
UE/ue1.pdf
UE/ue2.pdf
UE/ue3.pdf
UE/ue4.pdf
UE/ue5.pdf
Vorlesung.pdf
Vorlesung.tex

index a1679932a8d5e7e5e371ee4654bcdf30c83a51c1..083679644ae45446638c92ed2fb99c6b5739bc1f 100644 (file)
@@ -1,27 +1,46 @@
-
 \usepackage[utf8x]{inputenc}
-\usepackage{amsmath,amssymb,ulsy,amsthm}
-\usepackage{fullpage}
-%\usepackage{txfonts}
 \usepackage[ngerman]{babel}
 \usepackage{fixltx2e}   %Deutschsprach Bugs
+
+\usepackage{fullpage}
+
+\usepackage{amsmath,amssymb,ulsy,amsthm}
+
+\usepackage{color}
+\usepackage{graphicx}
+
+\usepackage{ucs}
+\usepackage{txfonts}
 %\usepackage[T1]{fontenc}
 %\usepackage{lmodern}
+\usepackage{array,soul,pst-all,makeidx}
+% \usepackage{emaxima}
+
+%\usepackage{python} % See Bottom Code was directly imported
 
-\usepackage{graphicx}
 \usepackage{fancyhdr}
-% \usepackage{emaxima}
 
-\usepackage{python}
+\pagestyle{fancy}
+\fancyhf{}
+\lhead{\bf \large Aufgabe \thesubsection}
+\chead{\thesection. Übung ZtuA}
+\rhead{\datum}
+\cfoot{\thepage}
+\setlength{\headheight}{4\baselineskip}
 
-\def\P{\mathbb{P}}
-\def\N{\mathbb{N}}
-\def\R{\mathbb{R}}
-\def\Z{\mathbb{Z}}
+
+\def \N {\mathbb{N}} 
+\def \Z {\mathbb{Z}} 
+\def \Q {\mathbb{Q}} 
+\def \R {\mathbb{R}} 
+\def \C {\mathbb{C}} 
+\def \P {\mathbb{P}}
 
 \def\oder{\vee}
 \def\und{\wedge}
 
+\def\ord{\text{~ord}}
+
 \def\kgV{\text{kgV}}
 \def\ggT{\text{ggT}}
 \def\sgn{\text{sgn}}
 
 \def\datum{\date}
 
-\pagestyle{fancy}
-\fancyhf{}
-\lhead{\bf \large Aufgabe \thesubsection}
-\chead{\thesection. Übung ZtuA}
-\rhead{\datum}
-\cfoot{\thepage}
-\setlength{\headheight}{4\baselineskip}
+
+%\addtolength{\textwidth}{3cm} 
+%\addtolength{\textheight}{3.5cm} 
+%\setlength{\oddsidemargin}{0 cm} 
+%\setlength{\evensidemargin}{0 cm} 
+% \setlength{\topmargin}{-1.5cm} 
+% \setlength{\parindent}{0pt} 
+% \setlength{\parskip}{5pt plus 2pt minus 1pt} 
+
+\renewcommand{\proofname}{Beweis}
+\renewcommand{\contentsname}{Inhaltsverzeichnis}
+%\renewcommand{\bibname}{Literaturverzeichnis}
+
+\newcommand{\ud}{\,\mathrm{d}}
+\newcommand{\tr}{\textrm{Tr}\,}
+\newcommand{\ind}[1]{\mathds{1}_{#1}}
+\renewcommand{\Re}{\textrm{Re}\,}
+\renewcommand{\Im}{\textrm{Im}\,}
+\renewcommand{\arg}{\textrm{arg}}
+\DeclareMathOperator{\lcm}{lcm}
+
+
+
+
+ \swapnumbers
+\newtheorem{defn}{Definition}[section]
+\newtheorem{lemma}[defn]{Lemma}
+\newtheorem{satz}[defn]{Satz}
+\newtheorem{hsatz}[defn]{Hilfssatz}
+\newtheorem{kor}[defn]{Korollar}
+\newtheorem{prop}[defn]{Proposition}
+\newtheorem{folg}[defn]{Folgerung}
+\theoremstyle{remark}
+\newtheorem{bsp}[defn]{Beispiel}
+\newtheorem{bem}[defn]{Bemerkung}
+
 
 \newcommand{\uebung}[2]{
 \setcounter{section}{#1}
@@ -49,7 +97,6 @@
 \begin{center}
  \large \bf Aufgabe #1
 \end{center}
-
 \setcounter{subsection}{#1}
 \addcontentsline{toc}{subsection}{Aufgabe #1}
 {\noindent\it
 \newline
 \noindent
 } 
+
+
+%% Imported from python.def
+
+%% This program is free software; you can redistribute it and/or
+%% modify it under the terms of the GNU General Public License
+%% as published by the Free Software Foundation; either version 2
+%% of the License, or (at your option) any later version.
+%%
+%% This program is distributed in the hope that it will be useful,
+%% but WITHOUT ANY WARRANTY; without even the implied warranty of
+%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+%% GNU General Public License for more details.
+%%
+%% You should have received a copy of the GNU General Public License
+%% along with this program; if not, write to the Free Software
+%% Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+%%
+%% Author: Martin R. Ehmsen, ehmsen@imada.sdu.dk.
+%% Department of Mathematics and Computer Science,
+%% University of Southern Denmark, DK
+%%
+%% You can find an online copy of the GPL at
+%% http://www.gnu.org/copyleft/gpl.html .
+%% 
+%% Note: shell-escape needs to be activated for this to work.
+%% This can either be done by passing -shell-escape as an option to
+%% latex or by adding/changing "shell_escape = t" in your texmf.cnf .
+
+% 0.2 -> 0.21: Moved \newwrite\@module from \@writemodule and out, since
+% no more than 15 \newwrites are allowed (and the previous version created a new
+% every time \@writemodule was called.
+
+\NeedsTeXFormat{LaTeX2e}[1994/12/01]
+%\ProvidesPackage{python}[2007/06/07 v0.21 Python in LaTeX]
+
+\newwrite\@out
+\newwrite\@module
+
+\begingroup \catcode `|=0 \catcode `[=1
+\catcode`]=2 \catcode `\{=12 \catcode `\}=12
+\catcode`\\=12 |gdef|@xpython#1\end{python}[|immediate|write|@out[#1]|end[python]]
+|endgroup
+
+\def\python{\kernel@ifnextchar [{\@python}{\@python[]}}
+
+
+\newcounter{py@codenum}
+\def\@python[#1]{%
+\stepcounter{py@codenum}
+\gdef\@pythoninclude{#1}
+\immediate\openout\@out=\jobname.py
+\newlinechar='15
+\begingroup \catcode`\^^M=12 %
+\let\do\@makeother\dospecials\obeyspaces%
+\@xpython}
+
+\def\endpython{%
+\endgroup
+\immediate\closeout\@out
+\@writemodule
+\immediate\write18{python\space\jobname.py > \jobname.py.\thepy@codenum.out 2> \jobname.py.\thepy@codenum.err}
+\immediate\input\jobname.py.\thepy@codenum.out}
+
+
+
+% \def\@python[#1]{%
+% \gdef\@pythoninclude{#1}
+% \immediate\openout\@out=\jobname.py
+% \newlinechar='15
+% \begingroup \catcode`\^^M=12 %
+% \let\do\@makeother\dospecials\obeyspaces%
+% \@xpython}
+% 
+% \def\endpython{%
+% \endgroup
+% \immediate\closeout\@out
+% \@writemodule
+% \immediate\write18{cat \@pythoninclude\space\jobname.py | python > \jobname.py.out 2> \jobname.py.err}
+% \immediate\input\jobname.py.out}
+% %\immediate\write{\begin{verbatim}}
+% %\immediate\input\jobname.py.err
+% %\immediate\write{\end{verbatim}}}
+
+\def\@writemodule{%
+\immediate\openout\@module=latex.py
+\immediate\write\@module{jobname="\jobname"}
+\immediate\closeout\@module}
+
+% BUGS:
+% 1. If anything gets send to stderr then it should be included
+% in \begin{verbatim}...\end{verbatim} to be properly displayed
+%
+% \immediate\write18{cat \@pythoninclude\space\jobname.py | python > \jobname.py.out 2>\jobname.py.err}
+%
+% 2. Watch out for indentation done by aucTeX in Emacs
+%
+% 3. Let the package accept a "final version" option, such
+% that the output of each python run is saved such that it can be
+% inserted into the document by hand 
+% (conference, journals are not likely to compile with
+% shell_escape or have python).
+%
+% \gdef\@prepython{}
+% \def\prepython#1{%
+% \gdef\@prepython{#1}
+% }
+% sed -e 's/^  //g' cluster.py
+% \immediate\write18{\@prepython\space\jobname.py > \
\ No newline at end of file
index 6595a5e6f23e2891a220906548dee5eb659e8487..03e3756944ae596bf5aad4ba51c4b90f2b775f40 100644 (file)
Binary files a/UE/ue1.pdf and b/UE/ue1.pdf differ
index b56c754cf580451db776180ea14183043b1910b0..737331b83fbfc418815500ad1080b2870b0e52ca 100644 (file)
Binary files a/UE/ue2.pdf and b/UE/ue2.pdf differ
index 2a30121156253b2088bf84e86195af0a092a4c7d..3498b5c11417ead0091ab84deda02dc6600b50cf 100644 (file)
Binary files a/UE/ue3.pdf and b/UE/ue3.pdf differ
index c66c95be49e58b2be36bae7f510fc645199238f2..cd45fd079b8db207dbf10f02ef74fb2206fd7839 100644 (file)
Binary files a/UE/ue4.pdf and b/UE/ue4.pdf differ
index fc1a11fdb20ec022e8ab4daff1f9c73347ad3b3a..1ed308edb38242890c37bb6518ebe9daefea38d2 100644 (file)
Binary files a/UE/ue5.pdf and b/UE/ue5.pdf differ
index aa9ad13c9bdf6f8ff8fc021e964bbf18c7af678c..59f816b305d964fe12896bfe220e9cab19e2d4d2 100644 (file)
Binary files a/Vorlesung.pdf and b/Vorlesung.pdf differ
index 0dfa713442e80ef68aa83cf43e368cc822825480..05ab12fbf02fa1e682b1349676ce9690dbb4b2e3 100644 (file)
@@ -1,66 +1,9 @@
 \documentclass[a4paper,10pt,fleqn]{scrreprt} 
-\usepackage{amssymb,amsmath,color,amsthm}
-\usepackage{ucs}
-\usepackage{fullpage}
-\usepackage{fancyhdr}
-%\usepackage{mathtools}
-\usepackage{ulsy}
-\usepackage{txfonts}
-%\usepackage{ngerman} 
-%\usepackage[ngerman]{babel}
-\usepackage[utf8x] {inputenc} 
-\usepackage{graphicx}
-\usepackage{array,soul,pst-all,makeidx}
+\usepackage{UE/template}
 \author{}
 \title{Mitschrift zur Vorlesung \\ AKDIS: Zahlentheorie und Anwendungen,\\ gehalten von Prof. J. Wiesenbauer, Sommersemester 2012}
 \pagestyle{plain}
 \frenchspacing 
-
-
-
-
-%\addtolength{\textwidth}{3cm} 
-%\addtolength{\textheight}{3.5cm} 
-%\setlength{\oddsidemargin}{0 cm} 
-%\setlength{\evensidemargin}{0 cm} 
-\setlength{\topmargin}{-1.5cm} 
-\setlength{\parindent}{0pt} 
-\setlength{\parskip}{5pt plus 2pt minus 1pt} 
-
-\renewcommand{\proofname}{Beweis}
-\renewcommand{\contentsname}{Inhaltsverzeichnis}
-\renewcommand{\bibname}{Literaturverzeichnis}
-
-\newcommand{\ud}{\,\mathrm{d}}
-\newcommand{\tr}{\textrm{Tr}\,}
-\newcommand{\ind}[1]{\mathds{1}_{#1}}
-\renewcommand{\Re}{\textrm{Re}\,}
-\renewcommand{\Im}{\textrm{Im}\,}
-\renewcommand{\arg}{\textrm{arg}}
-\DeclareMathOperator{\lcm}{lcm}
-\def \N {\mathbb{N}} 
-\def \Z {\mathbb{Z}} 
-\def \Q {\mathbb{Q}} 
-\def \R {\mathbb{R}} 
-\def \C {\mathbb{C}} 
-\def\P{\mathbb{P}}
-\def\oder{\vee}
-\def\und{\wedge}
-\def\ord{\text{~ord}}
-
- \swapnumbers
-\newtheorem{defn}{Definition}[section]
-\newtheorem{lemma}[defn]{Lemma}
-\newtheorem{satz}[defn]{Satz}
-\newtheorem{hsatz}[defn]{Hilfssatz}
-\newtheorem{kor}[defn]{Korollar}
-\newtheorem{prop}[defn]{Proposition}
-\newtheorem{folg}[defn]{Folgerung}
-\theoremstyle{remark}
-\newtheorem{bsp}[defn]{Beispiel}
-\newtheorem{bem}[defn]{Bemerkung}
-
  \makeindex
 \begin{document} 
 
@@ -75,7 +18,6 @@
 Das ist die "ge {\TeX} te" Mitschrift zur Vorlesung $118 \dot 186$ \emph{AKDIS Zahlentheorie und Anwendungen} vom Sommersemester 2012, gehalten von Prof. J. Wiesenbauer.  
 \newpage
 
-
 \tableofcontents
 \newpage
 \setcounter{secnumdepth}{2}