blob: 74876af11b1ec0e0df86c83beae5b988852b4e61 (
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
|
%%
%% This is file `rutitlepage.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% rutitlepage.dtx (with options: `package')
%% This is a generated file.
%%
%% Copyright (C) 2017 Mart Lubbers
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
%% version 1.3 of this license or (at your option) any later
%% version. The latest version of this license is in:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% and version 1.3 or later is part of all distributions of
%% LaTeX version 2005/12/01 or later.
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{rutitlepage}[2017/05/30 Mart Lubbers]
\RequirePackage{geometry,graphicx,ifpdf,keyval,iflang}
\def\@rutitletitle{\@title}
\def\@rutitledate{\@date}
\def\@rutitleauthors{\@author}
\def\@rutitlepagenr{\thepage}
\define@key{maketitleru}{authorstext}{\def\@rutitleauthorstext{#1}}
\define@key{maketitleru}{authors}{\def\@rutitleauthors{#1}}
\define@key{maketitleru}{course}{\def\@rutitlecourse{#1}}
\define@key{maketitleru}{date}{\def\@rutitledate{#1}}
\define@key{maketitleru}{institute}{\def\@rutitleinst{#1}}
\define@key{maketitleru}{pagenr}{\def\@rutitlepagenr{#1}}
\define@key{maketitleru}{righttextBheader}{\def\@rutitlerighttextbheader{#1}}
\define@key{maketitleru}{righttextB}{\def\@rutitlerighttextb{#1}}
\define@key{maketitleru}{righttextheader}{\def\@rutitlerighttextheader{#1}}
\define@key{maketitleru}{righttext}{\def\@rutitlerighttext{#1}}
\define@key{maketitleru}{subtitle}{\def\@rutitlesubtitle{#1}}
\define@key{maketitleru}{title}{\def\@rutitletitle{#1}}
\setkeys{maketitleru}{%
course={},
institute={Radboud Universit\IfLanguageName{dutch}{eit}{y} Nijmegen},
authorstext={\IfLanguageName{dutch}{Auteurs: }{Authors:}},
righttextheader={},
righttext={}
}
\newcommand{\maketitleru}[1][]{
\setkeys{maketitleru}{#1}
\newgeometry{hmarginratio=1:1}
\begin{titlepage}
\setcounter{page}{\@rutitlepagenr}
\begin{center}
\textsc{\LARGE\@rutitlecourse}\\[1.5cm]
\ifpdf\includegraphics[height=150pt]{logo.pdf}\\
\else\includegraphics[height=150pt]{logo.eps}\\
\fi
\vspace{0.4cm}
\textsc{\Large\@rutitleinst}\\[1cm]
\hrule
\vspace{0.4cm}
\textbf{\large\@rutitletitle}\\[0.4cm]
\hrule
\ifdefined\@rutitlesubtitle
\vspace{0.4cm}
\textit{\@rutitlesubtitle}\\[1cm]
\else
\vspace{2cm}
\fi
\begin{minipage}[t]{0.45\textwidth}
\begin{flushleft}\large
\textit{\@rutitleauthorstext}\\
\@rutitleauthors{}
\end{flushleft}
\end{minipage}
\begin{minipage}[t]{0.45\textwidth}
\begin{flushright}\large
\textit{\@rutitlerighttextheader}\\
\@rutitlerighttext%
\end{flushright}
\end{minipage}
\vspace{1cm}
\ifdefined\@rutitlerighttextb
\begin{minipage}[t]{0.45\textwidth}
~
\end{minipage}
\begin{minipage}[t]{0.45\textwidth}
\begin{flushright}\large
\textit{\@rutitlerighttextbheader}\\
\@rutitlerighttextb%
\end{flushright}
\end{minipage}
\fi
\vfill
{\large\@rutitledate}
\end{center}
\end{titlepage}
\restoregeometry{}
}
\endinput
%%
%% End of file `rutitlepage.sty'.
|