\documentclass[twoside,a4paper,10pt]{report}
\usepackage[english]{babel} %% Use your own babel language
\usepackage[top=3cm,bottom=3cm,left=2.5cm,right=2.5cm]{geometry}
\usepackage{ucs}
\usepackage[utf8x]{inputenc}
\usepackage{pslatex}
\usepackage{hyperref}
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage{moreverb}
\usepackage{color}
\usepackage{listings}
\usepackage{lastpage}
\usepackage{fancyhdr}
\usepackage{ulem}
\usepackage{textcomp}
\usepackage{wasysym}
%%\usepackage{fguill} %%Use this package for guillemot[left|right] useless with babel set to french
\usepackage{eso-pic} %% Background
\pagestyle{fancy}%
\renewcommand{\headrulewidth}{0.1pt}
\renewcommand{\footrulewidth}{0pt}
\renewcommand{\chaptermark}[1]{%
	\markboth{\chaptername\ \thechapter.\ #1}{}}

\renewcommand{\sectionmark}[1]{%
	\markright{#1}{}}

\fancypagestyle{plain}{%
\fancyhf{}
\fancyfoot[R]{\thepage/\pageref{LastPage}}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}}
\fancyhf{}
\fancyhead[L]{\rightmark}
\fancyhead[R]{\leftmark}
\fancyfoot[R]{\thepage/\pageref{LastPage}}
\renewcommand{\headrulewidth}{0.1pt}
\renewcommand{\footrulewidth}{0pt}

\definecolor{codegray}{gray}{.95}
\lstset{language=C,
	numbers=left,
	tabsize=2,
	basicstyle=\scriptsize,
	stringstyle=\textrm,
	showstringspaces=false,
	frame=none,
	xleftmargin=3pt,
	backgroundcolor=\color{codegray}}

\newcommand{\settexitref}[2]{(\ref{#1}p\pageref{#1})}
\newcommand{\dokutitlelevelone}[1]{\chapter{#1}}
\newcommand{\dokutitleleveltwo}[1]{\section{#1}}
\newcommand{\dokutitleleveltree}[1]{\subsection{#1}}
\newcommand{\dokutitlelevelfour}[1]{\subsubsection{#1}}
\newcommand{\dokutitlelevelfive}[1]{\paragraph{#1}}
\newcommand{\dokufootnote}[1]{\footnote{#1}}
\newcommand{\dokufootmark}[1]{\footnotemark{#1}}
\newcommand{\dokubold}[1]{\textbf{#1}}
\newcommand{\dokuitalic}[1]{\textsl{#1}}
\newcommand{\dokumonospace}[1]{\texttt{#1}}
\newcommand{\dokuunderline}[1]{\underline{#1}}
\newcommand{\dokuoverline}[1]{\sout{#1}}
\newcommand{\dokusupscript}[1]{\textsuperscript{#1}}
\newcommand{\dokusubscript}[1]{$_{#1}$}
\newcommand{\dokuhline}{\line(1,0){400}}
\newcommand{\dokulabel}[1]{\label{#1}}
\newcommand{\dokuitem}{\item}
\newcommand{\dokuquoting}{\textbar}
\newcommand{\dokutabularwidth}{\textwidth}
\newcommand{\dokuheadingstyle}[1]{\textbf{#1}}
\definecolor{dokuheadingcolor}{gray}{.45}
\newcommand{\dokubackground}[1]{%
\AddToShipoutPicture{%
  \AtTextCenter{%
    \makebox(0,0)[c]{\resizebox{\textwidth}{!}{%
      \rotatebox{25}{\textsf{\textbf{\textcolor[gray]{0.90}{#1}}}}}}%
  }%
 }%
}

\hypersetup{
pdftitle = {MyTitle},
pdfauthor = {MySelf},
pdfcreator = {DokuTeXit},
pdfproducer = {dokuwiki + TeXit + latex + dvipdf}
}
\title{MyTitle}
\author{MySelf}
\begin{document}
\thispagestyle{empty}
\maketitle
\thispagestyle{empty}
%\cleardoublepage
\tableofcontents
\newpage
\thispagestyle{plain}
%\cleardoublepage
\newpage





\dokutitlelevelone{ZEDV Wiki-Testseite}
\label{e7e1663970a65b8f76ed9fb4c046b1a8}%% zedv_wiki-testseite
\label{c2b7fbe1cb25e3da7e97f983e0d8448e}%%Start: zedv-testseite => /srv/wiki/docroot/dokuwiki-2008-05-05/data/pages/zedv-testseite.txt

\dokutitleleveltwo{Liste der installierte Plugins}
\label{f6f28d804357236de1e21ae8bb8e18b6}%% liste_der_installierte_plugins

\begin{itemize}
\dokuitem  \href{http://wiki.splitbrain.org/plugin:math2}{http://wiki.splitbrain.org/plugin:math2}
\dokuitem  \href{http://wiki.splitbrain.org/plugin:color}{http://wiki.splitbrain.org/plugin:color}
\dokuitem  \href{http://wiki.splitbrain.org/plugin:hilited}{http://wiki.splitbrain.org/plugin:hilited}
\dokuitem  \href{http://wiki.splitbrain.org/plugin:xterm}{http://wiki.splitbrain.org/plugin:xterm}
\dokuitem  \href{http://wiki.splitbrain.org/plugin:note}{http://wiki.splitbrain.org/plugin:note}
\dokuitem  \href{http://wiki.splitbrain.org/plugin:sortablejs}{http://wiki.splitbrain.org/plugin:sortablejs}
\dokuitem  \href{http://wiki.splitbrain.org/plugin:linkmanager}{http://wiki.splitbrain.org/plugin:linkmanager}
\dokuitem  \href{http://wiki.erazor-zone.de/doku.php?id=wiki:projects:php:dokuwiki:plugins:latex}{http://wiki.erazor-zone.de/doku.php?id=wiki:projects:php:dokuwiki:plugins:latex}
\dokuitem  \href{http://danjer.doudouke.org/tech/dokutexit}{http://danjer.doudouke.org/tech/dokutexit}
\end{itemize}

\dokutitleleveltwo{Test der installierten Plugins}
\label{73e67d82ae1b84562872b85d372092b6}%% test_der_installierten_plugins

\dokutitleleveltree{math2}
\label{38b27d22659daa0c68409f01c7297a09}%% math2

Eingabe von:



\small
\begin{verbatimtab}
<m>S(f)(t)=a_{0}+sum{n=1}{+infty}{a_{n} cos(n omega t)+b_{n} sin(n omega t)}</m> 
\end{verbatimtab}
\normalsize

ergibt:

 


\dokutitleleveltree{color}
\label{70dda5dfb8053dc6d1c492574bce9bfd}%% color

Eingabe von: \dokumonospace{$<$color red$>$roter text$<$/color$>$} ergibt: \textcolor{red}{roter text}

Eingabe von: \dokumonospace{$<$color \#943030$>$wein roter text$<$/color$>$} ergibt: \textcolor[rgb]{0.58,0.18,0.18}{weinroter text}


\dokutitleleveltree{hilited}
\label{94736ab21b8ae57d5c2821f5d3b31aa7}%% hilited

Eingabe von: \dokumonospace{!!hervorgehobener text!!} ergibt: \colorbox[rgb]{1.00,1.00,0.00}{hervorgehobener text}


\dokutitleleveltree{xterm}
\label{788b5dbe28b849781aa3bae4f66963e9}%% xterm

Eingabe von:



\small
\begin{verbatimtab}

<xterm>
dreger@smart:~> **ssh root@zs03**
Last login: Thu May  1 16:42:57 2008 from smart.physik.fu-berlin.de

Welcome to zs03 !

Debian 4.0 etch softupdate-20080429 2.6.23.14-server-5 x86_64
CPU: 4 Dual Core AMD Opteron(tm) Processor 875
MEM: 2048 MB
</xterm>

\end{verbatimtab}
\normalsize
ergibt:

\definecolor{gray90}{gray}{.9}%
{\setlength{\fboxrule}{1pt}%
\fcolorbox{black}{gray90}{%
\parbox{\textwidth}{%
\begin{tt}
%\begin{verbatimtab}[4]

dreger@smart:$\sim$> \dokubold{ssh root@zs03}\newline
Last login: Thu May  1 16:42:57 2008 from smart.physik.fu-berlin.de\newline
\newline
Welcome to zs03 !\newline
\newline
Debian 4.0 etch softupdate-20080429 2.6.23.14-server-5 x86\_64\newline
CPU: 4 Dual Core AMD Opteron(tm) Processor 875\newline
MEM: 2048 MB
\end{tt}
}
%\end{verbatimtab}
}}



\dokutitleleveltree{note}
\label{aad653ca3ee669635f2938b73098b6d7}%% note

Eingabe von \dokumonospace{$<$note$>$Dies ist eine Notiz!$<$/note$>$} ergibt:

\begin{figure}[h]
\centering
\fbox{
\begin{minipage}{.75\linewidth}
Dies ist eine Notiz!\end{minipage}
}
\end{figure}



\dokutitleleveltree{sortablejs}
\label{f1d4baa153c3b58c7ad2556baf21f37e}%% sortablejs

Dies wurde durch den hack \dokumonospace{root@zs03:~$>$ perl -pi -e 's/{\textbackslash}{\textbackslash}bsortable{\textbackslash}{\textbackslash}b/{\textbackslash}{\textbackslash}binline{\textbackslash}{\textbackslash}b/' /srv/wiki/master.diff/lib/plugins/sortablejs/script.js} aktiviert


%% Table analyse:
%%    Numrows: 7
%%    Longest row size: 4
%%    Choose table mode: tabular
\vspace{0.8em}
\begin{tabular}{llll}
\hline
\multicolumn{1}{|l|}{\dokuheadingstyle{\color{dokuheadingcolor}a\normalcolor}}&\multicolumn{1}{l|}{\dokuheadingstyle{\color{dokuheadingcolor}b\normalcolor}}&\multicolumn{1}{l|}{\dokuheadingstyle{\color{dokuheadingcolor}c\normalcolor}}&\multicolumn{1}{l|}{\dokuheadingstyle{\color{dokuheadingcolor}d\normalcolor}}\\ 
\hline
\multicolumn{1}{|l|}{1}&\multicolumn{1}{l|}{2}&\multicolumn{1}{l|}{3}&\multicolumn{1}{l|}{4}\\ 
\hline
\multicolumn{1}{|l|}{2}&\multicolumn{1}{l|}{3}&\multicolumn{1}{l|}{4}&\multicolumn{1}{l|}{1}\\ 
\hline
\multicolumn{1}{|l|}{3}&\multicolumn{1}{l|}{4}&\multicolumn{1}{l|}{1}&\multicolumn{1}{l|}{2}\\ 
\hline
\multicolumn{1}{|l|}{4}&\multicolumn{1}{l|}{1}&\multicolumn{1}{l|}{2}&\multicolumn{1}{l|}{3}\\ 
\hline
\multicolumn{1}{|l|}{1}&\multicolumn{1}{l|}{2}&\multicolumn{1}{l|}{3}&\multicolumn{1}{l|}{4}\\ 
\hline
\multicolumn{1}{|l|}{2}&\multicolumn{1}{l|}{3}&\multicolumn{1}{l|}{4}&\multicolumn{1}{l|}{1}\\ 
\hline
\end{tabular}
\vspace{0.8em}


\dokutitleleveltree{latex}
\label{25f7e525b5c0641e1eb1fb3bdbeb15b5}%% latex

Eingabe von:



\lstset{language=TeX}
\begin{lstlisting}
<latex>
\frac{3}{4 \pi}   \sqrt{4 \cdot x^2   12}\\
\lim_{n \to \infty}
\sum_{k=1}^n \frac{1}{k^2} = \frac{\pi^2}{6}\\
\it{f}(x) = \frac{1}{\sqrt{x} x^2}\\
e^{i \pi} + 1 = 0}\;
</latex>

\end{lstlisting}
ergibt:

$
\frac{3}{4 \pi}   \sqrt{4 \cdot x^2   12}\\
\lim_{n \to \infty}
\sum_{k=1}^n \frac{1}{k^2} = \frac{\pi^2}{6}\\
\it{f}(x) = \frac{1}{\sqrt{x} x^2}\\
e^{i \pi} + 1 = 0\;
$



\dokutitleleveltwo{weitere Tests}
\label{6d20b12bacda827f2900162c3ba9cd4b}%% weitere_tests

\$conf['htmlok'] gesetzt? 
\lstset{language=html}
\begin{lstlisting}
<html>
&uuml;
</html>

\end{lstlisting}
 = ü

\end{document}

