summaryrefslogtreecommitdiff
path: root/hsw.sty
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-14 17:53:58 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-14 17:53:58 +0100
commit24f60c17c394035bf7e99c4c43ef9d050fccc022 (patch)
tree547a0ea9b255e2a2376604597aa52cb46bcef2b0 /hsw.sty
downloadmmswe-24f60c17c394035bf7e99c4c43ef9d050fccc022.tar.gz
mmswe-24f60c17c394035bf7e99c4c43ef9d050fccc022.tar.bz2
mmswe-24f60c17c394035bf7e99c4c43ef9d050fccc022.zip
Start Projekt Dokumentation
Diffstat (limited to 'hsw.sty')
-rw-r--r--hsw.sty64
1 files changed, 64 insertions, 0 deletions
diff --git a/hsw.sty b/hsw.sty
new file mode 100644
index 0000000..266a52b
--- /dev/null
+++ b/hsw.sty
@@ -0,0 +1,64 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{hsw}[2013/01/14 HSW Style]
+% absolute path here; alternatively just copy the contents of it
+\RequirePackageWithOptions{/usr/share/asciidoc/dblatex/asciidoc-dblatex}
+
+\usepackage[doublespacing]{setspace}
+\setlength{\textwidth}{17cm}
+
+\usepackage{listings}
+\lstset{
+ basicstyle=\singlespacing
+}
+
+\def\DBKcover{
+\ifthenelse{\equal{\DBKedition}{}}{\def\edhead{}}{\def\edhead{Ed. \DBKedition}}
+
+% interligne double
+\setlength{\oldbaselineskip}{\baselineskip}
+\setlength{\baselineskip}{2\oldbaselineskip}
+\textsf{
+\vfill
+\vspace{2.5cm}
+\begin{center}
+ \huge{\textbf{\DBKtitle}}\\ %
+ \ifx\DBKsubtitle\relax\else%
+ \underline{\ \ \ \ \ \ \ \ \ \ \ }\\ %
+ \ \\ %
+ \huge{\textbf{\DBKsubtitle}}\\ %
+ \fi
+ \underline{\ \ \ \ \ \ \ \ \ \ \ }\\ %
+ \ \\ %
+ \large{\textbf{\DBKauthor}}\\ %
+\end{center}
+\vfill
+\setlength{\baselineskip}{\oldbaselineskip}
+\hspace{1cm}
+\vspace{1cm}
+\begin{center}
+%\begin{tabular}{p{7cm} p{7cm}}
+%\Large{\DBKreference{} \edhead} & \\
+%\end{tabular}
+\begin{figure}[!h]
+ \begin{minipage}{0.8\textwidth}
+ \textbf{Hochschule Wismar} \\ %
+ University of Applied Sciences \\ %
+ Technology, Business and Design \\ %
+ Fakultät für Ingenieurwissenschaften, Bereich EuI \\ %
+ %\rule{\textwidth}{0.5pt}
+ \end{minipage}
+ \begin{minipage}[r]{0.1\textwidth}
+ \begin{flushright}
+ \includegraphics[height=6\baselineskip]{image/HS-Wismar_Logo-FIW.pdf}
+ \end{flushright}
+ \end{minipage}
+\end{figure}
+\end{center}
+}
+
+% Format for the other pages
+\newpage
+\setlength{\baselineskip}{\oldbaselineskip}
+\chead[]{\DBKcheadfront}
+\lfoot[]{}
+}