diff options
author | Karl Berry <karl@freefriends.org> | 2007-03-07 18:16:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-03-07 18:16:37 +0000 |
commit | 00826ec43ed3e4ddf577999e2be8c67e380f98d0 (patch) | |
tree | 355b2bb155f88016f874ce10d353c95c78b529dc /Master/texmf-dist/tex/latex/ecv/ecvNLS.sty | |
parent | ffc40d5ac06c0a9669c222b02d2435e9f82ff66b (diff) |
new latex package ecv (12feb07)
git-svn-id: svn://tug.org/texlive/trunk@4017 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ecv/ecvNLS.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/ecv/ecvNLS.sty | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/ecv/ecvNLS.sty b/Master/texmf-dist/tex/latex/ecv/ecvNLS.sty new file mode 100644 index 00000000000..de5ba6cf0a5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/ecv/ecvNLS.sty @@ -0,0 +1,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{german} + \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'. |