diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:50:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:50:50 +0000 |
commit | 8966cfd7489fada9c3c88d0a14ea8f7eabc818c8 (patch) | |
tree | 9f1200066ab9d9a9538b579dfbd7731851ff0b23 /Master/texmf-dist/tex | |
parent | 9c13b7d529c1df9b36a4a1cfae5893423f71f9f0 (diff) |
ESIEEcv
git-svn-id: svn://tug.org/texlive/trunk@631 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/ESIEEcv/ESIEEcv.sty | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/ESIEEcv/ESIEEcv.sty b/Master/texmf-dist/tex/latex/ESIEEcv/ESIEEcv.sty new file mode 100644 index 00000000000..600b4806d76 --- /dev/null +++ b/Master/texmf-dist/tex/latex/ESIEEcv/ESIEEcv.sty @@ -0,0 +1,115 @@ +%% +%% This is file `ESIEEcv.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% ESIEEcv.dtx (with options: `package') +%% +%% IMPORTANT NOTICE: +%% +%% For the copyright see the source file. +%% +%% You are *not* allowed to modify this file. +%% +%% You are *not* allowed to distribute this file. +%% For distribution of the original source see the terms +%% for copying and modification in the file ESIEEcv.dtx. +%% +\ProvidesPackage{ESIEEcv}[1997/12/29 v2.0a Style ESIEEcv] + +\RequirePackage{tabularx} +\pagestyle{empty} +\parindent=0pt +\newcommand{\PreApport}{\ensuremath{\triangleright} } +\newcommand{\PostApport}{.\newline} +\newcommand{\PrePreApports}{\newline} +\newcommand{\PostPostApports}{} +\newcommand{\FonteApport}{\itshape} +\newcommand{\TailleApport}{\small} +\newcommand{\FonteLieu}{\scshape} +\newcommand{\FonteTitre}{\scshape} +\newlength{\Tampon} +\newlength{\Offset} +\newlength{\largeurcolonne} +\setlength{\largeurcolonne}{3cm} +\newlength{\Space} +\setlength{\Space}{3mm} +\def\@@date{} +\def\@@titre{} +\def\@@duree{} +\def\@@lieu{} +\def\@@descr{} +\def\@@apports{} +\def\@@competence{} +\toksdef\ta=0 \toksdef\tb=2 +\def\CV@AppendItem#1#2{% + \ta={#1}% + \tb=\expandafter{#2}% + \global\edef#2{\the\tb\the\ta}} +\newcommand{\CV@ajout@apport}[1] + {\CV@AppendItem{\PreApport#1\PostApport}{\@@apports}} +\newcommand{\CV@init}[1] + {\expandafter\global\expandafter\def\csname @@#1\endcsname{}} +\newenvironment{sousrubrique} +{\CV@init{apports}\CV@init{date}\CV@init{titre}\CV@init{duree}% +\CV@init{lieu}\CV@init{descr}\CV@init{competence}\CV@init{compcomment}% +\newcommand{\Date}[1]{\global\def\@@date{##1}} +\newcommand{\Duree}[1]{\global\def\@@duree{##1}} +\newcommand{\Titre}[1]{\global\def\@@titre{##1}} +\newcommand{\Lieu}[1]{\global\def\@@lieu{##1}} +\newcommand{\Descr}[1]{\global\def\@@descr{##1}} +\newcommand{\Competence}[1]{\global\def\@@competence{##1}} +\let\Apport\CV@ajout@apport +} +{% +\global\def\CV@delayed{} +\ifx\@@date\empty\else + \CV@AppendItem{\textbf{\@@date}% + \ifx\@@duree\empty\else + \newline + \fi + }{\CV@delayed}% +\fi +\ifx\@@duree\empty\else + \CV@AppendItem{(\@@duree)}{\CV@delayed}% +\fi +\ifx\@@competence\empty\else + \CV@AppendItem{\@@competence}{\CV@delayed} +\fi +\CV@AppendItem{&}{\CV@delayed} +\ifx\@@lieu\empty\else + \CV@AppendItem{{\FonteLieu{\@@lieu}.}}{\CV@delayed} +\fi +\ifx\@@lieu\empty\else\ifx\@@titre\empty\else + \CV@AppendItem{ }{\CV@delayed} +\fi\fi +\ifx\@@titre\empty\else + \CV@AppendItem{{\FonteTitre{\@@titre}.}}{\CV@delayed} +\fi +\ifx\@@titre\empty\else\ifx\@@descr\empty\else + \CV@AppendItem{\newline}{\CV@delayed} +\fi\fi +\ifx\@@descr\empty\else + \CV@AppendItem{\@@descr}{\CV@delayed}% +\fi +\ifx\@@apports\empty\else + \CV@AppendItem{{\TailleApport + \FonteApport + {\PrePreApports\@@apports\PostPostApports}}}% + {\CV@delayed}% +\fi +\CV@AppendItem{\\}{\CV@delayed} +\aftergroup\CV@delayed +} +\newenvironment{rubrique}[1]{%% +\bigskip +\textbf{\large #1\phantom{Pj}} +\medskip +\par +\tabularx{\linewidth}{p{\largeurcolonne}X}} +{\endtabularx} + +\endinput +%% +%% End of file `ESIEEcv.sty'. |