%% Created by Maple 10, Windows XP
%% Source Worksheet: Simulation PG und PB mit Risikomassen-beschönigt-.mw
%% Generated: Sat Jul 21 18:48:23 CEST 2007
\documentclass{article}
\usepackage{maplestd2e}
\def\emptyline{\vspace{12pt}}
\begin{document}
\pagestyle{empty}
\DefineParaStyle{Maple Heading 4}
\DefineParaStyle{Maple Heading 2}
\DefineParaStyle{Maple Text Output}
\DefineParaStyle{Maple Bullet Item}
\DefineParaStyle{Maple Warning}
\DefineParaStyle{Maple Error}
\DefineParaStyle{Maple Dash Item}
\DefineParaStyle{Maple Heading 3}
\DefineParaStyle{Maple Heading 1}
\DefineParaStyle{Maple Title}
\DefineParaStyle{Maple Normal}
\DefineCharStyle{Maple 2D Input}
\DefineCharStyle{Maple Maple Input}
\DefineCharStyle{Maple 2D Output}
\DefineCharStyle{Maple 2D Math}
\DefineCharStyle{Maple Hyperlink}
\begin{mapleinput}
\mapleinline{active}{1d}{#Der Maple-Code zur Simulation der Portfolioverlustverteilung des Beispielportfolios mit der Gamma-Poisson- sowie der Beta-Poisson-Verteilung als Ausfallanzahlverteilung:}{}
\end{mapleinput}
\begin{mapleinput}
\mapleinline{active}{1d}{\begin{maplelatex}\maplei nline{inert}{2d}{%Typesetting:-mrow(Typesetting:-mi(""), Typesetting:-mrow(Typesetting:-mi("restart"), Typesetting:-mo(":", form = "infix", fence = "false", separator = "false", lspace = "thickmathspace", rspace = "thickmathspace", stretchy = "false", symmetric = "false", maxsize = "infinity", minsize = "1", largeop = "false", movablelimits = "false", accent = "false", font_style_name = "Maple Input", size = "12", foreground = "[255,0,0]", background = "[255,255,255]"), Typesetting:-mrow(Typesetting:-mi(""), Typesetting:-mrow(Typesetting:-mi("with"), Typesetting:-mo("⁡", form = "infix", fence = "false", separator = "false", lspace = "0em", rspace = "0em", stretchy = "false", symmetric = "false", maxsize = "infinity", minsize = "1", largeop = "false", movablelimits = "false", accent = "false", font_style_name = "Maple Input", size = "12", foreground = "[255,0,0]", background = "[255,255,255]"), Typesetting:-mfenced(Typesetting:-mrow(Typesetting:-mi("stats")))), Typesetting:-mi(""), Typesetting:-mrow(Typesetting:-mo(":", form = "infix", fence = "false", separator = "false", lspace = "thickmathspace", rspace = "thickmathspace", stretchy = "false", symmetric = "false", maxsize = "infinity", minsize = "1", largeop = "false", movablelimits = "false", accent = "false", font_style_name = "Maple Input", size = "12", foreground = "[255,0,0]", background = "[255,255,255]"), Typesetting:-mi("with"), Typesetting:-mo("⁡", form = "infix", fence = "false", separator = "false", lspace = "0em", rspace = "0em", stretchy = "false", symmetric = "false", maxsize = "infinity", minsize = "1", largeop = "false", movablelimits = "false", accent = "false", font_style_name = "Maple Input", size = "12", foreground = "[255,0,0]", background = "[255,255,255]"), Typesetting:-mfenced(Typesetting:-mrow(Typesetting:-mi("Statistics"))), Typesetting:-mi("")), Typesetting:-mo(":", form = "infix", fence = "false", separator = "false", lspace = "thickmathspace", rspace = "thickmathspace", stretchy = "false", symmetric = "false", maxsize = "infinity", minsize = "1", largeop = "false", movablelimits = "false", accent = "false", font_style_name = "Maple Input", size = "12", foreground = "[255,0,0]", background = "[255,255,255]"), Typesetting:-mrow(Typesetting:-mi("with"), Typesetting:-mo("⁡", form = "infix", fence = "false", separator = "false", lspace = "0em", rspace = "0em", stretchy = "false", symmetric = "false", maxsize = "infinity", minsize = "1", largeop = "false", movablelimits = "false", accent = "false", font_style_name = "Maple Input", size = "12", foreground = "[255,0,0]", background = "[255,255,255]"), Typesetting:-mfenced(Typesetting:-mrow(Typesetting:-mi("plots")))), Typesetting:-mo(":", form = "infix", fence = "false", separator = "false", lspace = "thickmathspace", rspace = "thickmathspace", stretchy = "false", symmetric = "false", maxsize = "infinity", minsize = "1", largeop = "false", movablelimits = "false", accent = "false", font_style_name = "Maple Input", size = "12", foreground = "[255,0,0]", background = "[255,255,255]"), Typesetting:-mrow(Typesetting:-mi("with"), Typesetting:-mo("⁡", form = "infix", fence = "false", separator = "false", lspace = "0em", rspace = "0em", stretchy = "false", symmetric = "false", maxsize = "infinity", minsize = "1", largeop = "false", movablelimits = "false", accent = "false", font_style_name = "Maple Input", size = "12", foreground = "[255,0,0]", background = "[255,255,255]"), Typesetting:-mfenced(Typesetting:-mrow(Typesetting:-mi(""), Typesetting:-mrow(Typesetting:-mi("stats"), Typesetting:-mfenced(Typesetting:-mrow(Typesetting:-mi("statplots")), open = "[", close = "]"), Typesetting:-mi("")), Typesetting:-mi("")))), Typesetting:-mo(":", form = "infix", fence = "false", separator = "false", lspace = "thickmathspace", rspace = "thickmathspace", stretchy = "false", symmetric = "false", maxsize = "infinity", minsize = "1", largeop = "false", movablelimits = "false", accent = "false", font_style_name = "Maple Input", size = "12", foreground = "[255,0,0]", background = "[255,255,255]")), Typesetting:-mi(""), Typesetting:-mrow(Typesetting:-mi("with"), Typesetting:-mo("⁡", form = "infix", fence = "false", separator = "false", lspace = "0em", rspace = "0em", stretchy = "false", symmetric = "false", maxsize = "infinity", minsize = "1", largeop = "false", movablelimits = "false", accent = "false", font_style_name = "Maple Input", size = "12", foreground = "[255,0,0]", background = "[255,255,255]"), Typesetting:-mfenced(Typesetting:-mrow(Typesetting:-mi("linalg")))), Typesetting:-mo(":", form = "infix", fence = "false", separator = "false", lspace = "thickmathspace", rspace = "thickmathspace", stretchy = "false", symmetric = "false", maxsize = "infinity", minsize = "1", largeop = "false", movablelimits = "false", accent = "false", font_style_name = "Maple Input", size = "12", foreground = "[255,0,0]", background = "[255,255,255]")), Typesetting:-mi(""))}{
${\it restart} \escolon{\it with} \left({\it stats} \right)\escolon{\it with} \left({\it Statistics}\\
\mbox{} \right)\escolon{\it with} \left({\it plots} \right)\escolon{\it with} \left({\it stats} \left({\it statplots} \right)\right)\escolon{\it with} \left({\it linalg} \right)\escolon$}
\end{maplelatex}}{}
\end{mapleinput}
\mapleresult
\begin{Maple Warning}{Warning, the name changecoords has been redefined}\end{Maple Warning}
\mapleresult
.........
.........
\end{maplelatex}}{}
\end{mapleinput}
\begin{mapleinput}
\mapleinline{active}{1d}{\begin{maplelatex}\maplei nline{inert}{2d}{%a2 := stats[random, gamma[.125238918, 1929.152725]](m); -1}{
\[\]}
\end{maplelatex}}{}
\end{mapleinput}
\begin{mapleinput}
\mapleinline{active}{1d}{\beg
So spuckt Maple es aus.
Man sieht auch, dass Maple die Datei auch nicht zu Ende umwandelt :( Das ist mein anderes Problem.
Ich ersetze das \begin{document} durch {chapter}, verschiebe das \usepackage{maplestd2e} und füge alle *.sty-Dateien aus einem Maple-Ordner in den Latex-Dokument-Ordner.
Der Header sieht folgendermaßen aus:
\documentclass[
openright, %damit Kapitel immer auf ungeraden Seite beginnen
12pt, %Schriftgröße!
a4paper, %DINA 4 Format
%german, %deutsche Sprache, global, funktioniert manchmal nicht
%pdftex, % weiss nicht wofür das gut ist
halfparskip, %eine halbe Zeile Abstand bei Absatz, statt Einzug
fleqn, %Formeln links statt zentriert
twoside, %doppelseitiger Druck
bibtotoc, %Literaturverzeichnis im Inhaltsverzeichnis
headsepline %für die Linie in Kopf und Fusszeile
]{scrreprt} %gängige Documentclass für Diplomarbeiten, Koma Script Klasse
\usepackage{rotating}
\usepackage{stmaryrd} %für den widerspruch pfeil
\usepackage{hyperref} %für die verweise
%Usepackages und weitere Befehle
%\usepackage{ngerman} %korrekte Silbentrennung, table of contents -> Inhaltsverzeichnis
\usepackage{enumitem}
\usepackage{ntheorem}
\usepackage{color}
\usepackage[ngerman]{babel} %habe ich schon oft gesehen
\usepackage[ansinew]{inputenc} %man auch ä schreiben anstatt "a
\usepackage[T1]{fontenc} %T1 Format eurpäische Schrift
\usepackage{graphicx}
\usepackage[final]{pdfpages} %um Graphiken einzubetten
\usepackage{url}
\usepackage{cite} %Damit bei cite ein Zeilenumbruch stattfinden darf
\renewcommand{\citeleft}{}
\renewcommand{\citeright}{}
\usepackage{array} %Für Tabellen Tabular
\usepackage{amsfonts}
\usepackage{amsmath} %für komplexe mathematische Formeln
\usepackage{amssymb} %für komplex Symbole
\usepackage{float} %mit großem H in [H] = exakt hier!
\usepackage[babel,german=quotes]{csquotes} %für (einheitliche) Anführungszeichen
\usepackage{verbatim}
\usepackage{scrpage}
%\pagestyle{headings} %Kapitelüberschrift und Seitennummer stehen in Kopfzeile
\usepackage{setspace} %Zeilenabstand einstellbar
%Hier wurde der Zeilenabstand eingestellt:
\onehalfspacing %eineinhalbzeilig einstellen
\usepackage{nameref}
\usepackage[left=3cm,right=3cm]{geometry} %zum Einstellen der Seitenränder
\usepackage{cancel}
\usepackage{eurosym}
\usepackage{yfonts}
\usepackage{subfigure}
\usepackage{maple2e}
\def\emptyline{\vspace{12pt}}
\DefineParaStyle{Maple Output}
\DefineParaStyle{Maple Plot}
\DefineParaStyle{Warning}
\DefineCharStyle{2D Math}
\DefineCharStyle{2D Output}
\DefineCharStyle{LaTeX}
\newenvironment{cited}
{\begin{spacing}{1.0}\begin{footnotesize}\begin{qu ote}}
{\end{quote}\end{footnotesize}\end{spacing}}
%\theoremstyle{break}
\newtheorem{defi}{Definition}[section]
\newtheorem{satz}{Satz}[section]
\newtheorem{bsp}{Beispiel}[section]
\newtheorem{lem}{Lemma}[section]
\newcommand{\id}{1\hspace{-0,9ex}1}
%Bis zum subsubsection wird nun nummeriert und ins Inhaltsverzeichnis übernommen
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
Man sieht einige Notizen, die ich für mich gemacht habe. Bin noch Latex-Anfänger :o
Gruß, mcs
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.