summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/esieecv/ESIEEcv.sty
blob: b8940852926f815c81de0ab045e3ad879979ca3b (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
116
117
118
119
%%
%% 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.
%% 
%% Any modified versions of this file must be renamed
%% with new filenames distinct from ESIEEcv.sty.
%% 
%% For distribution of the original source see the terms
%% for copying and modification in the file ESIEEcv.dtx.
%% 
%% This generated file may be distributed as long as the
%% original source files, as listed above, are part of the
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
\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'.