von lyxy » Di 13. Mär 2012, 23:50
ok, also das ist mein dokument:
\documentclass[11pt, a4paper, twoside]{scrartcl}
% packages
\usepackage[latin1]{inputenc}
% for german umlaute under linux remove \usepackage[latin1]{inputenc} and add following
% \usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{ae}
\usepackage{tabularx}
\usepackage{amsmath,amssymb}
\usepackage[pdftex]{graphicx}
\usepackage{subfigure}
\usepackage{url}
\usepackage[T1]{fontenc}
\usepackage{ifthen}
%\usepackage{hyperref}
\usepackage[absolute,overlay]{textpos}
\usepackage{tikz}
\usepackage[english,ngerman]{babel}
\usepackage{geometry}
\usepackage{hyperref}
% /packages
\DeclareGraphicsExtensions{.jpg}
\newcommand{\changefont}[3]{\fontfamily{#1} \fontseries{#2} \fontshape{#3} \selectfont}
% edit this:
\newcommand{\myname}{Mein Name}
\newcommand{\mytitle}{Titel meiner Arbeit\\
optionale zweite Zeile}
\newcommand{\myinstitute}{Mein Institut}
\newcommand{\reviewerone}{Person1}
\newcommand{\reviewertwo}{Person2}
\newcommand{\advisor}{Person3}
\newcommand{\timestart}{XX. Monat 20XX}
\newcommand{\timeend}{XX. Monat 20XX}
\newcommand{\submissiontime}{DD. MM. 20XX}
% coordinates for the bg shape on the titlepage
\newcommand{\diameter}{20}
\newcommand{\xone}{-60}
\newcommand{\xtwo}{440}
\newcommand{\yone}{60}
\newcommand{\ytwo}{-700}
\begin{document}
% add the following line for English text
%\selectlanguage{english}
% titlepage
\pagestyle{empty}
\begin{titlepage}
% bg shape
\oddsidemargin 0.5in
\topmargin -0.5in
\begin{tikzpicture}[overlay]
\draw[color=gray]
(\xone px, \yone px)
-- (\xtwo px, \yone px)
arc (90:0:\diameter px)
-- (\xtwo + \diameter px , \ytwo px)
-- (\xone + \diameter px , \ytwo px)
arc (270:180:\diameter px)
-- (\xone px, \yone px);
\end{tikzpicture}
\begin{textblock}{10}[0,0](1.5,1.125)
\includegraphics[width=.3\textwidth]{figures/KITLogo_RGB.pdf}
\end{textblock}
\changefont{phv}{m}{n} % helvetica
\vspace*{3.5cm}
\begin{center}
\Huge{\mytitle}
\vspace*{2cm}\\
\Large{
\iflanguage{english}{Diploma Thesis\\of}
{Diplomarbeit\\von}
}\\
\vspace*{1cm}
\huge{\myname}\\
\vspace*{1cm}
\Large{
\iflanguage{english}{At the faculty of Computer Science}
{An der Fakult\"at f\"ur Informatik}
\\
\myinstitute
}
\end{center}
\vspace*{1cm}
\Large{
\begin{center}
\begin{tabular}[ht]{l c l}
\iflanguage{english}{First reviewer}{Erstgutachter}: & \hfill & \reviewerone\\
\iflanguage{english}{Second reviewer}{Zweitgutachter}: & \hfill & \reviewertwo\\
\iflanguage{english}{Advisor}{Betreuender Mitarbeiter}: & \hfill & \advisor\\
\end{tabular}
\end{center}
}
\begin{textblock}{10}[0,0](3,14)
\begin{center}
\large{\iflanguage{english}{Time (?)}{Bearbeitungszeit}: \timestart \hspace*{0.25cm} -- \hspace*{0.25cm} \timeend}
\end{center}
\end{textblock}
\begin{textblock}{10}[0,0](1.75,15.365)
\tiny{
\iflanguage{english}
{KIT -- University of the State of Baden-Wuerttemberg and National Laboratory of the Helmholtz Association}
{KIT -- Universit\"at des Landes Baden-W\"urttemberg und nationales Forschungszentrum der Helmholtz-Gemeinschaft}
}
\end{textblock}
\begin{textblock}{10}[0,0](12,15.36)
\large{
\textbf{www.kit.edu}
}
\end{textblock}
\end{titlepage}
% blank page
\thispagestyle{empty}
\hfill
\newpage
\thispagestyle{empty}
\newpage
\thispagestyle{empty}
\vspace*{36\baselineskip}
\hbox to \textwidth{\hrulefill}
\par
\hfill \newline
\iflanguage{english}{
I declare that I have developed and written the enclosed Diploma
Thesis completely by myself, and have not used sources or means
without declaration in the text.}
{
Ich erkl\"are hiermit, dass ich die vorliegende Arbeit selbst\"andig verfasst und
keine anderen als die angegebenen Quellen und Hilfsmittel verwendet habe.}
\hfill \newline
Karlsruhe, \submissiontime
\clearpage
% blank page
\newpage
\hfill
\thispagestyle{empty}
% abstract
\newpage
\thispagestyle{empty}
\begin{abstract}\hfill \newline
\textbf{Abstract}\\
Norem ipsum dolor sit amet consectetuer adipi scing elit. Mauris urna urna, varius et, interdum. a, tincidunt quis, libero. Aenean sit amturpis. Maecenas hendrerit, massa. ac laoreet iaculipede mnisl ullamcorpermassa, ac consectetuer feipsum eget pede. Proin nunc. Donec massa. Nulla pulvinar, nisl ac convallis nonummy, tellus er sodales enim, in tincidunt mauris in odio. Massa ac laoreet iaculipede nisl ullamcorpermassa, ac consectetuer feipsum eget pede. Proin nunc. Donec massa. Nulla pulvinar, nisl ac convallis nonummy, tellus eros sodales enim, in tincidunt mauris in odio. massa ac laoreet iaculipede nisl ullamcorpermassa,consectetuer feipsum eget pede. Proin nunc. Donec massa. Nulla pulvinar, nisl ac convallis nonummy, tellus eros sodales enim, in tincidu
\end{abstract}
% blank page
\newpage
\hfill
\thispagestyle{empty}
% toc
\newpage
\thispagestyle{empty}
\tableofcontents
\newpage
\setcounter{page}{1}
% blank page
\newpage
\hfill
\thispagestyle{empty}
\hfill
\newpage
%add content here
%it is preferable to create a file for each chapter of the document
\input{chapters/00vorlage}
\newpage
\bibliography{example}
\bibliographystyle{IEEEtran}
\end{document}
und wenn ich jetzt Ansehen->pdflatex klicke, dann bekomme ich ziemlich viele fehlermeldungen. z.b.
\begin{tikzpicture}{[}overlay{]} \draw{[}
color=gray{]} (\xone px,
I've run across a `}' that doesn't seem to match anything.
For example, `\def\a#1{...}' and `\a}' would produce
this error. If you simply proceed now, the `\par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.
oder
...-- (\xone px, \yone px); \end{tikzpicture}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
und noch so einiges mehr.
sorry, dass das jetzt so lang ist, aber ich hab nicht gefunden, wie man ein dokument anhängen kann...
ok, also das ist mein dokument:[code]
\documentclass[11pt, a4paper, twoside]{scrartcl}
% packages
\usepackage[latin1]{inputenc}
% for german umlaute under linux remove \usepackage[latin1]{inputenc} and add following
% \usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{ae}
\usepackage{tabularx}
\usepackage{amsmath,amssymb}
\usepackage[pdftex]{graphicx}
\usepackage{subfigure}
\usepackage{url}
\usepackage[T1]{fontenc}
\usepackage{ifthen}
%\usepackage{hyperref}
\usepackage[absolute,overlay]{textpos}
\usepackage{tikz}
\usepackage[english,ngerman]{babel}
\usepackage{geometry}
\usepackage{hyperref}
% /packages
\DeclareGraphicsExtensions{.jpg}
\newcommand{\changefont}[3]{\fontfamily{#1} \fontseries{#2} \fontshape{#3} \selectfont}
% edit this:
\newcommand{\myname}{Mein Name}
\newcommand{\mytitle}{Titel meiner Arbeit\\
optionale zweite Zeile}
\newcommand{\myinstitute}{Mein Institut}
\newcommand{\reviewerone}{Person1}
\newcommand{\reviewertwo}{Person2}
\newcommand{\advisor}{Person3}
\newcommand{\timestart}{XX. Monat 20XX}
\newcommand{\timeend}{XX. Monat 20XX}
\newcommand{\submissiontime}{DD. MM. 20XX}
% coordinates for the bg shape on the titlepage
\newcommand{\diameter}{20}
\newcommand{\xone}{-60}
\newcommand{\xtwo}{440}
\newcommand{\yone}{60}
\newcommand{\ytwo}{-700}
\begin{document}
% add the following line for English text
%\selectlanguage{english}
% titlepage
\pagestyle{empty}
\begin{titlepage}
% bg shape
\oddsidemargin 0.5in
\topmargin -0.5in
\begin{tikzpicture}[overlay]
\draw[color=gray]
(\xone px, \yone px)
-- (\xtwo px, \yone px)
arc (90:0:\diameter px)
-- (\xtwo + \diameter px , \ytwo px)
-- (\xone + \diameter px , \ytwo px)
arc (270:180:\diameter px)
-- (\xone px, \yone px);
\end{tikzpicture}
\begin{textblock}{10}[0,0](1.5,1.125)
\includegraphics[width=.3\textwidth]{figures/KITLogo_RGB.pdf}
\end{textblock}
\changefont{phv}{m}{n} % helvetica
\vspace*{3.5cm}
\begin{center}
\Huge{\mytitle}
\vspace*{2cm}\\
\Large{
\iflanguage{english}{Diploma Thesis\\of}
{Diplomarbeit\\von}
}\\
\vspace*{1cm}
\huge{\myname}\\
\vspace*{1cm}
\Large{
\iflanguage{english}{At the faculty of Computer Science}
{An der Fakult\"at f\"ur Informatik}
\\
\myinstitute
}
\end{center}
\vspace*{1cm}
\Large{
\begin{center}
\begin{tabular}[ht]{l c l}
\iflanguage{english}{First reviewer}{Erstgutachter}: & \hfill & \reviewerone\\
\iflanguage{english}{Second reviewer}{Zweitgutachter}: & \hfill & \reviewertwo\\
\iflanguage{english}{Advisor}{Betreuender Mitarbeiter}: & \hfill & \advisor\\
\end{tabular}
\end{center}
}
\begin{textblock}{10}[0,0](3,14)
\begin{center}
\large{\iflanguage{english}{Time (?)}{Bearbeitungszeit}: \timestart \hspace*{0.25cm} -- \hspace*{0.25cm} \timeend}
\end{center}
\end{textblock}
\begin{textblock}{10}[0,0](1.75,15.365)
\tiny{
\iflanguage{english}
{KIT -- University of the State of Baden-Wuerttemberg and National Laboratory of the Helmholtz Association}
{KIT -- Universit\"at des Landes Baden-W\"urttemberg und nationales Forschungszentrum der Helmholtz-Gemeinschaft}
}
\end{textblock}
\begin{textblock}{10}[0,0](12,15.36)
\large{
\textbf{www.kit.edu}
}
\end{textblock}
\end{titlepage}
% blank page
\thispagestyle{empty}
\hfill
\newpage
\thispagestyle{empty}
\newpage
\thispagestyle{empty}
\vspace*{36\baselineskip}
\hbox to \textwidth{\hrulefill}
\par
\hfill \newline
\iflanguage{english}{
I declare that I have developed and written the enclosed Diploma
Thesis completely by myself, and have not used sources or means
without declaration in the text.}
{
Ich erkl\"are hiermit, dass ich die vorliegende Arbeit selbst\"andig verfasst und
keine anderen als die angegebenen Quellen und Hilfsmittel verwendet habe.}
\hfill \newline
Karlsruhe, \submissiontime
\clearpage
% blank page
\newpage
\hfill
\thispagestyle{empty}
% abstract
\newpage
\thispagestyle{empty}
\begin{abstract}\hfill \newline
\textbf{Abstract}\\
Norem ipsum dolor sit amet consectetuer adipi scing elit. Mauris urna urna, varius et, interdum. a, tincidunt quis, libero. Aenean sit amturpis. Maecenas hendrerit, massa. ac laoreet iaculipede mnisl ullamcorpermassa, ac consectetuer feipsum eget pede. Proin nunc. Donec massa. Nulla pulvinar, nisl ac convallis nonummy, tellus er sodales enim, in tincidunt mauris in odio. Massa ac laoreet iaculipede nisl ullamcorpermassa, ac consectetuer feipsum eget pede. Proin nunc. Donec massa. Nulla pulvinar, nisl ac convallis nonummy, tellus eros sodales enim, in tincidunt mauris in odio. massa ac laoreet iaculipede nisl ullamcorpermassa,consectetuer feipsum eget pede. Proin nunc. Donec massa. Nulla pulvinar, nisl ac convallis nonummy, tellus eros sodales enim, in tincidu
\end{abstract}
% blank page
\newpage
\hfill
\thispagestyle{empty}
% toc
\newpage
\thispagestyle{empty}
\tableofcontents
\newpage
\setcounter{page}{1}
% blank page
\newpage
\hfill
\thispagestyle{empty}
\hfill
\newpage
%add content here
%it is preferable to create a file for each chapter of the document
\input{chapters/00vorlage}
\newpage
\bibliography{example}
\bibliographystyle{IEEEtran}
\end{document}
[/code]
und wenn ich jetzt Ansehen->pdflatex klicke, dann bekomme ich ziemlich viele fehlermeldungen. z.b.
\begin{tikzpicture}{[}overlay{]} \draw{[}
color=gray{]} (\xone px,
I've run across a `}' that doesn't seem to match anything.
For example, `\def\a#1{...}' and `\a}' would produce
this error. If you simply proceed now, the `\par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.
oder
...-- (\xone px, \yone px); \end{tikzpicture}
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
und noch so einiges mehr.
sorry, dass das jetzt so lang ist, aber ich hab nicht gefunden, wie man ein dokument anhängen kann...