summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/cvsty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/cvsty
Initial commit
Diffstat (limited to 'macros/latex/contrib/cvsty')
-rw-r--r--macros/latex/contrib/cvsty/CV.sty102
-rw-r--r--macros/latex/contrib/cvsty/CV_dum.tex155
-rw-r--r--macros/latex/contrib/cvsty/README10
3 files changed, 267 insertions, 0 deletions
diff --git a/macros/latex/contrib/cvsty/CV.sty b/macros/latex/contrib/cvsty/CV.sty
new file mode 100644
index 0000000000..0e2bb74ddb
--- /dev/null
+++ b/macros/latex/contrib/cvsty/CV.sty
@@ -0,0 +1,102 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% CV.sty %
+% This model allows to write more easily CV on LaTeX. It %
+% defines a set of characters more easily converted in pdf, %
+% a pagination using most of the page, a redefinition of %
+% the keyword \section, a definition of a new keyword %
+% specialization, a new itemize environment \CV. %
+% %
+% Have fun! %
+% G. Marcou, A. Pereira 02/02/2004 %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{CV}
+%% Initializations
+% on place le coin en haut a gauche a l'aide de \hoffset et \voffset
+% par defaut, le point de reference est decale par TeX de 1in
+\setlength{\hoffset}{-1in}
+\setlength{\voffset}{-1in}
+% taille des bordures de chaque cote de la feuille
+% placement du point de reference de x cm a droite et de y cm
+% au-dessous du coin haut,gauche de la feuille
+\addtolength{\hoffset}{1.5cm}
+\addtolength{\voffset}{1cm}
+% on initialise la place occupee par le texte
+% ces variables seront modifiees a la fin pour que
+% le texte soit centre et que ca tombe juste
+% le texte soit centre et que ca tombe juste
+\setlength{\textwidth}{\paperwidth}
+\addtolength{\textwidth}{-2\hoffset}
+\addtolength{\textwidth}{-2in}
+\setlength{\textheight}{\paperheight}
+\addtolength{\textheight}{-2\voffset}
+\addtolength{\textheight}{-2in}
+
+%% Horizontal
+% marges
+% \oddsidemargin : marge gauche page droite
+% \evensidemargin : marge gauche page gauche (si recto/verso)
+% en recto/verso, seul oddside est utilise pour les pages a droite
+% et seul evenside est utilise pour les pages a gauche
+\setlength{\oddsidemargin}{-0.75cm}
+% marge pour les notes
+\setlength{\marginparsep}{0cm}
+\setlength{\marginparwidth}{0cm}
+\setlength{\marginparpush}{0cm}
+% calcul de la largeur du texte page droite
+\addtolength{\textwidth}{-\oddsidemargin}
+\addtolength{\textwidth}{-\marginparsep}
+\addtolength{\textwidth}{-\marginparwidth}
+\addtolength{\textwidth}{-\marginparpush}
+% calcul de \evensidemargin (page gauche)
+% on trouve 0cm car on a calcule \textwidth pour qu'il prenne
+% toute la largeur restante sur la page droite
+% normalement a *droite* de la page gauche, on doit avoir par
+
+% symetrie une marge egale a \oddsidemargin
+\setlength{\evensidemargin}{0cm}
+
+%% Vertical
+\setlength{\topmargin}{0cm}
+\setlength{\headheight}{0cm}
+\setlength{\headsep}{0cm}
+\setlength{\footskip}{0cm}
+\addtolength{\textheight}{-\topmargin}
+\addtolength{\textheight}{-\headheight}
+\addtolength{\textheight}{-\headsep}
+\addtolength{\textheight}{-\footskip}
+
+%Police pour generer des pdf sans defauts
+\renewcommand\rmdefault{ptm}
+\renewcommand\sfdefault{cmss}
+\renewcommand\ttdefault{cmtt}
+\renewcommand\bfdefault{bx}
+\renewcommand\mddefault{m}
+\renewcommand\itdefault{it}
+\renewcommand\sldefault{sl}
+\renewcommand\scdefault{sc}
+\renewcommand\updefault{n}
+
+\renewcommand\section{\@startsection {section}{1}{\z@}%
+ {-3.5ex \@plus -1ex \@minus -.2ex}%
+ {0.1ex}%
+ {\normalfont\Large\bfseries}}
+\let\presection=\section
+\renewcommand{\section}[1]{\presection*{#1}\vspace{-1.5ex}%
+\noindent\rule{\textwidth}{1pt}\vspace*{-.5ex}}
+
+\newcommand{\entrylabel}[1]{\mbox{#1}\hfill}
+\newenvironment{CV}[2][1]%
+ {\vspace*{#1\smallskipamount}
+ \begin{list}{}
+ {\renewcommand{\makelabel}{\entrylabel}
+ \settowidth{\labelwidth}{1999-1999}
+ \setlength{\leftmargin}{42pt}
+ \vspace*{#2}
+ }}
+ {\end{list}
+}
+
+\newcommand{\specialisation}[1]{\centerline{\Large{\textbf{#1}}}
+}
diff --git a/macros/latex/contrib/cvsty/CV_dum.tex b/macros/latex/contrib/cvsty/CV_dum.tex
new file mode 100644
index 0000000000..9b53712be7
--- /dev/null
+++ b/macros/latex/contrib/cvsty/CV_dum.tex
@@ -0,0 +1,155 @@
+\documentclass[a4paper]{article}
+
+\usepackage{tabularx}
+
+\usepackage{ae}
+\usepackage[T1]{fontenc}
+\usepackage{CV}
+
+\begin{document}
+
+\pagestyle{empty}
+
+\noindent {\Large \textsc{PEREIRA Gilles}} \hfill
+
+\smallskip
+
+\noindent \begin{flushright}
+birth date: 14/06/1676 \hfill Knuth Str., 6 \\
+328 years \hfill 123453 LaTeX \\
+Citizenship: European \hfill EUROPA\\
+ Phone: +12.1234567890\\
+ Lab. Phone: +12.0987654321\\
+ Lab. Fax: +12.0987654320\\
+ Email: gilles.pereira@tex.lx\\
+\end{flushright}
+
+\smallskip
+
+\specialisation{LaTeX fan}
+\section{Professional and training periods}
+\begin{CV}[2]{-4.5ex}
+%\smallskip
+\item[1996] \textbf{Training period at université de Linux on RedHat.}
+ \textit{Development of experimental devices, data treatments.} (1 month)
+\item[1998] \textbf{Training period at the Institute for Irix on SGI.}
+ \textit{Development of experimental devices, data treatment, modelization of
+ the problem, bibliographic search, redaction of a report in english.} (5
+ months)
+\item[1999] \textbf{Training period at Institut de MacOS on Mac.}
+ \textit{Realization of a device for digitalization of films, digital image
+ treatment, data analysis, redaction of a
+ report.} (3 months)
+\item[1999-2002] \textbf{PhD. at Centre de Recherche GNU under the
+ direction of Free Software and Open Source.} \textit{Development of a
+ a dynamics model, of numerical differential equation
+ solving methods, development of statistical
+ corrections, test and validation of
+ methods, analysis and programming in the source code of the molecular, use
+ of the software, use of parallel computers.}
+ (3 years)
+\item[2003-2004] \textbf{Marie-Curie fellowship, at Università degli studi di
+ TeX, Dipartimento di Processing, Pr. A. B. C. Oftex group. Development on
+ LaTeX Scaffolds library, for cure of MSoffiss Disease.} \textit{Collaborations
+ in European research network, dynamics,Monte
+ Carlo simulations, free calculations, principal
+ analysis, participation to development of a C++ code, data analysis,
+ validation and test of methods, management and use of Linux-Irix computer
+ and of an IBM cluster, responsibility of a graduated student, EU language
+ learning.} (18 months)
+\end{CV}
+\section{Education}
+\begin{CV}[2]{-4.5ex}
+%\smallskip
+\item[1993-1994] French secondary school diploma
+\item[1994-1996] DEUG in Science of Materials
+\item[1996-1997] Licence of Physics
+\item[1997-1998] Maitrise (equivalent to a M. sc) of Physics
+\item[1998-1999] DEA (one year degree required before doctoral studies) of
+ Theoretical Physics
+\item[1999-2002] PhD
+\end{CV}
+
+\begin{minipage}{0.29\linewidth}
+\section{Language Knowledge}
+\smallskip
+\begin{tabular}{p{2.5cm}p{3cm}}
+French & native \\
+English & fluent \\
+Italian & fluent\\
+Russian & fair \\
+\end{tabular}
+\end{minipage}
+\hspace{0.02\linewidth}
+\begin{minipage}{0.29\linewidth}
+\section{Computer skills}
+\begin{itemize}
+\item UNIX, HP-UX, Linux, Irix, Windows\\
+\item Fortran77/90, C/C++, Pascal, Tcl/Tk, Python, Perl, awk/sed,...
+\item LaTeX, xdvi, dvi2ps, ps2pdf,...
+\end{itemize}
+\end{minipage}
+\hspace{0.02\linewidth}
+\begin{minipage}{0.29\linewidth}
+\section{Hobbies}
+Traveling(Europe,USA,Russia), violin, cinema, sport (basket, karate), video
+games
+\end{minipage}
+\pagebreak
+
+\section{References}
+
+\noindent These persons are familiar with my professional qualifications and
+my personality:
+
+\begin{table}[h]
+\begin{tabular}{@{}lll@{}}
+\textbf{Dr. J. Alpha-Omega} \\
+Thesis supervisor & Phone: & +33-333333333\\
+ILPR & Fax: & +33-333333334\\
+2 rue R. Pit & Email: & j.alfa_omega@ilpr.lx\\
+33333 Fish\\
+Europe \\
+\end{tabular}
+\end{table}
+
+\begin{table}[h]
+\begin{tabular}{@{}lll@{}}
+\textbf{Pr. A. B. C. Oftex} \\
+Marie-Curie Fellowship supervisor & Phone: & +39-0123456789\\
+Universit\'a degli studi di TeX & Fax: & +39-0123456781\\
+Dipartimento di Processing & Email: &
+a.b.oftex@tex.lx\\
+via Venizia 21 \\
+13133 Bugs\\
+Europe \\
+\end{tabular}
+\end{table}
+\vspace{2\baselineskip}
+
+\section{Thesis}
+
+\noindent Great thesis topic that led to so many results that I decided to
+retire after that to let other researcher have an occasion to find also something.
+
+\section{Bibliography}
+\begin{CV}[2]{-4.5ex}
+%\smallskip
+\item[ ]\textbf{Perfect paper}, J. Alfa-Omega and
+G. Pereira, \textit{Best. J. of the World.}, 2001, 16, 61-68
+\item[ ]\textbf{Another perfect paper}, J. Alfa-Omega and G. Pereira,
+\textit{Kick. Ass. J.}, 2002, 67
+\end{CV}
+
+\vspace{1cm}
+
+\noindent LaTeX, \today
+
+\end{document}
+
+
+
+
+
+
+
diff --git a/macros/latex/contrib/cvsty/README b/macros/latex/contrib/cvsty/README
new file mode 100644
index 0000000000..e6997c5f6e
--- /dev/null
+++ b/macros/latex/contrib/cvsty/README
@@ -0,0 +1,10 @@
+This package contains a proposition for making CV presentation more
+easy. The sty file define new space for the page, and allows new
+control of the presentation. A tex file give an example of CV. Yet, a
+CV reflects your personality. We encourage you to edit that sty and
+modify it as you prefer and to play with pagination of your CV as much
+as possible.
+
+Have Fun!
+
+G. Marcou, A. Pereira