summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ESIEEcv/ESIEEcv.sty
blob: 600b4806d76a2433b14abd0ed9441985600ec337 (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
103
104
105
106
107
108
109
110
111
112
113
114
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'.