summaryrefslogtreecommitdiff
path: root/sksys.sty
blob: ea6896cea27cfc59d39eb695fcb5ed5ab8b5a34d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{sks}[2013/02/08 SKSys Style]
% 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}