summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ecv/ecvNLS.sty
blob: 6a43d1f2d972dba35f9748d12e90f05d3cd366a7 (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
%%
%% Copyright 2006-2007 Christoph Neumann, Bernd Haberstumpf
%%
%% This LaTeX package provides NLS support for the ecv class.
%%
%% This file is free property; as a special exception the author
%% gives unlimited permission to copy and/or distribute it, with
%% or without modifications, as long as this notice is
%% preserved.
%%
%% This file is distributed in the hope that it will be useful,
%% but WITHOUT ANY WARRANTY, to the extent permitted by law;
%% without even the implied warranty of MERCHANTABILITY or
%% FITNESS FOR A PARTICULAR PURPOSE.
%%
%% SPECIAL THANKS to
%% Alexander von Gernler, who introduced me to the European Curriculum Vitae
%%

\def\fileversion{0.1}
\def\filedate{2007/01/05}

\NeedsTeXFormat{LaTeX2e}


\ProvidesPackage{ecvNLS}[\filedate %
  \space Version \fileversion\space by %
  Christoph Neumann & Bernd Haberstumpf %
]


\def\ecvNLS@lang{german}
\def\ecvNLS@german{1}
\def\ecvNLS@english{2}
\DeclareOption{german}{\def\ecvNLS@lang{\ecvNLS@german}\input{ecvGerman.ldf}}
\DeclareOption{english}{\def\ecvNLS@lang{\ecvNLS@english}\input{ecvEnglish.ldf}}
\ProcessOptions


\RequirePackage[ngerman,english]{babel}

\AtBeginDocument{%
  \ifnum\ecvNLS@lang =\ecvNLS@german
    \selectlanguage{ngerman}
  \else
    \selectlanguage{english}
  \fi
}


\newcommand{\ecvPage}{\ecvNLS@Page}
\newcommand{\ecvTitle}{\ecvNLS@Title}
\newcommand{\ecvPerson}{\ecvNLS@Person}
\newcommand{\ecvProfession}{\ecvNLS@Profession}
\newcommand{\ecvEducation}{\ecvNLS@Education}
\newcommand{\ecvResearch}{\ecvNLS@Research}
\newcommand{\ecvAwards}{\ecvNLS@Awards}
\newcommand{\ecvPublications}{\ecvNLS@Publications}
\newcommand{\ecvScholarships}{\ecvNLS@Scholarships}
\newcommand{\ecvJobs}{\ecvNLS@Jobs}
\newcommand{\ecvLanguages}{\ecvNLS@Languages}
\newcommand{\ecvLanguageTravels}{\ecvNLS@LanguageTravels}
\newcommand{\ecvAbilities}{\ecvNLS@Abilities}
\newcommand{\ecvConferences}{\ecvNLS@Conferences}
\newcommand{\ecvSpeeches}{\ecvNLS@Speeches}
\newcommand{\ecvTrainig}{\ecvNLS@Trainig}
\newcommand{\ecvAttachements}{\ecvNLS@Attachements}
\endinput
%%
%% End of file `ecvNLS.sty'.