summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-09 10:24:43 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-09 10:25:00 +0100
commit449eb72280e54b2225f940d67f2b9d23ceb67e35 (patch)
treed1bc3fa1e35fbe1bd816d04a7ef51fde9e0f4a1c
parent09c282d27d467ff16bbd6e67ce46840c81011b4e (diff)
downloadsksys-449eb72280e54b2225f940d67f2b9d23ceb67e35.tar.gz
sksys-449eb72280e54b2225f940d67f2b9d23ceb67e35.tar.bz2
sksys-449eb72280e54b2225f940d67f2b9d23ceb67e35.zip
sksys: Show authors on title page
-rw-r--r--sksys.sty38
1 files changed, 38 insertions, 0 deletions
diff --git a/sksys.sty b/sksys.sty
index ccab443..ea6896c 100644
--- a/sksys.sty
+++ b/sksys.sty
@@ -3,4 +3,42 @@
% absolute path here; alternatively just copy the contents of it
\RequirePackageWithOptions{/usr/share/asciidoc/dblatex/asciidoc-dblatex}
+\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}
+\end{center}
+}
+
+% Format for the other pages
+\newpage
+\setlength{\baselineskip}{\oldbaselineskip}
+\chead[]{\DBKcheadfront}
+\lfoot[]{}
+}
+
\usepackage[doublespacing]{setspace}