Version 0.9 commit

This commit is contained in:
Xavier Danaux
2010-05-31 21:46:59 +02:00
parent 8ea1289a0f
commit 513971717b
12 changed files with 131 additions and 18 deletions

View File

@ -1 +1,5 @@
cv_xdanaux* cv_xdanaux*
examples/generate_examples.sh
examples/template_casual_orange.tex
examples/template_classic_green.tex
examples/template_multibib.tex

View File

@ -1,3 +1,6 @@
version 0.9 (31 May 2010)
- added support for the itemize, enumerate and description environments.
version 0.8 (24 May 2010) version 0.8 (24 May 2010)
- added support for multibib. - added support for multibib.
- added a command to indicate your personal homepage (\homepage{url}), as - added a command to indicate your personal homepage (\homepage{url}), as
@ -11,7 +14,6 @@ version 0.8 (24 May 2010)
- corrected the missplacement of pdf bookmarks as noticed by L. Fortunato. - corrected the missplacement of pdf bookmarks as noticed by L. Fortunato.
- corrected several bugs linked to the code for checking for empty arguments in - corrected several bugs linked to the code for checking for empty arguments in
\cventry, as reported by B. Ekran, L. Păncescu and E. Gregorio. \cventry, as reported by B. Ekran, L. Păncescu and E. Gregorio.
- ...
version 0.7 (17 June 2008) version 0.7 (17 June 2008)
- corrected an outstanding spacing bug (space between cvlines longer - corrected an outstanding spacing bug (space between cvlines longer

Binary file not shown.

View File

@ -35,10 +35,10 @@
\photo[64pt]{picture} % '64pt' is the height the picture must be resized to and 'picture' is the name of the picture file; optional, remove the line if not wanted \photo[64pt]{picture} % '64pt' is the height the picture must be resized to and 'picture' is the name of the picture file; optional, remove the line if not wanted
\quote{Some quote (optional)} % optional, remove the line if not wanted \quote{Some quote (optional)} % optional, remove the line if not wanted
% for BibTeX numerical labels % to show numerical labels in the bibliography; only useful if you make citations in your resume
%\makeatletter \makeatletter
%\renewcommand*{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}} \renewcommand*{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}}
%\makeatother \makeatother
% bibliography with mutiple entries % bibliography with mutiple entries
%\usepackage{multibib} %\usepackage{multibib}
@ -52,8 +52,8 @@
\maketitle \maketitle
\section{Education} \section{Education}
\cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description} % arguments 3 to 6 are optional \cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description} % arguments 3 to 6 can be left empty
\cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description} % arguments 3 to 6 are optional \cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description}
\section{Master thesis} \section{Master thesis}
\cvline{title}{\emph{Title}} \cvline{title}{\emph{Title}}
@ -62,10 +62,26 @@
\section{Experience} \section{Experience}
\subsection{Vocational} \subsection{Vocational}
\cventry{year--year}{Job title}{Employer}{City}{}{Description} % arguments 3 to 6 are optional \cventry{year--year}{Job title}{Employer}{City}{}{General description no longer than 1--2 lines.\newline{}%
\cventry{year--year}{Job title}{Employer}{City}{}{Description} % arguments 3 to 6 are optional Detailed achievements:%
\begin{itemize}%
\item Achievement 1;
\item Achievement 2, with sub-achievements:
\begin{itemize}%
\item Sub-achievement (a);
\item Sub-achievement (b), with sub-sub-achievements (don't do this!);
\begin{itemize}
\item Sub-sub-achievement i;
\item Sub-sub-achievement ii;
\item Sub-sub-achievement iii;
\end{itemize}
\item Sub-achievement (c);
\end{itemize}
\item Achievement 3.
\end{itemize}}
\cventry{year--year}{Job title}{Employer}{City}{}{Description line 1\newline{}Description line 2}
\subsection{Miscellaneous} \subsection{Miscellaneous}
\cventry{year--year}{Job title}{Employer}{City}{}{Description line 1\newline{}Description line 2}% arguments 3 to 6 are optional \cventry{year--year}{Job title}{Employer}{City}{}{Description}
\section{Languages} \section{Languages}
\cvlanguage{Language 1}{Skill level}{Comment} \cvlanguage{Language 1}{Skill level}{Comment}
@ -82,17 +98,17 @@
\cvline{hobby 2}{\small Description} \cvline{hobby 2}{\small Description}
\cvline{hobby 3}{\small Description} \cvline{hobby 3}{\small Description}
\renewcommand{\listitemsymbol}{-} % change the symbol for lists
\section{Extra 1} \section{Extra 1}
\cvlistitem{Item 1} \cvlistitem{Item 1}
\cvlistitem{Item 2} \cvlistitem{Item 2}
\cvlistitem[+]{Item 3} % optional other symbol \cvlistitem[+]{Item 3} % optional other symbol
\renewcommand{\listitemsymbol}{-} % change the symbol for lists
\section{Extra 2} \section{Extra 2}
\cvlistdoubleitem[\Neutral]{Item 1}{Item 4} \cvlistdoubleitem{Item 1}{Item 4}
\cvlistdoubleitem[\Neutral]{Item 2}{Item 5\cite{book1}} \cvlistdoubleitem{Item 2}{Item 5 \cite{book1}}
\cvlistdoubleitem[\Neutral]{Item 3}{} \cvlistdoubleitem{Item 3}{}
% Publications from a BibTeX file without multibib\renewcommand*{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}}% for BibTeX numerical labels % Publications from a BibTeX file without multibib\renewcommand*{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}}% for BibTeX numerical labels
\nocite{*} \nocite{*}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -206,7 +206,7 @@
% style commands definitions % style commands definitions
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% symbols used % symbols used
\providecommand*{\listitemsymbol}{\textbullet} \providecommand*{\listitemsymbol}{\Neutral}%{{\fontencoding{U}\fontfamily{ding}\selectfont\tiny\symbol{'102}}}
\providecommand*{\addresssymbol}{} \providecommand*{\addresssymbol}{}
\providecommand*{\mobilesymbol}{\Mobilefone} \providecommand*{\mobilesymbol}{\Mobilefone}
\providecommand*{\phonesymbol}{\Telefon} \providecommand*{\phonesymbol}{\Telefon}
@ -450,6 +450,47 @@
\newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em} \newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
\let\@openbib@code\@empty \let\@openbib@code\@empty
% itemize, enumerate and description environment
\setlength{\leftmargini} {1.2em}
\leftmargin\leftmargini
\setlength{\leftmarginii} {1em}
\setlength{\leftmarginiii} {1.87em}
\setlength{\leftmarginiv} {1.7em}
\setlength{\leftmarginv} {1em}
\setlength{\leftmarginvi} {1em}
\setlength{\labelsep} {.5em}
\setlength{\labelwidth} {\leftmargini}
\addtolength{\labelwidth} {-\labelsep}
\@beginparpenalty -\@lowpenalty
\@endparpenalty -\@lowpenalty
\@itempenalty -\@lowpenalty
% itemize labels
\newcommand\labelitemi{\listitemsymbol{}}
\newcommand\labelitemii{{\large\bfseries-}}
\newcommand\labelitemiii{\textperiodcentered}%{\textasteriskcentered}
\newcommand\labelitemiv{\textperiodcentered}
% enumerate labels
\renewcommand\theenumi{\@arabic\c@enumi}
\renewcommand\theenumii{\@alph\c@enumii}
\renewcommand\theenumiii{\@roman\c@enumiii}
\renewcommand\theenumiv{\@Alph\c@enumiv}
\newcommand\labelenumi{\theenumi.}
\newcommand\labelenumii{(\theenumii)}
\newcommand\labelenumiii{\theenumiii.}
\newcommand\labelenumiv{\theenumiv.}
\renewcommand\p@enumii{\theenumi}
\renewcommand\p@enumiii{\p@enumii(\theenumii)}
\renewcommand\p@enumiv{\p@enumiii\theenumiii}
% description label
\newcommand*\descriptionlabel[1]{\hspace\labelsep\normalfont\bfseries#1}
% hooks to adjust spacing (idea by Jakob Schiotz; see http://dcwww.camd.dtu.dk/~schiotz/comp/LatexTips/tweaklist.sty)
\RequirePackage{tweaklist}% distributed with moderncv, not found on ctan and slightly modified
\renewcommand*{\itemhook}{
\setlength{\topsep}{0pt}%
\setlength{\itemsep}{0pt}}
\renewcommand*{\enumhook}{\itemhook{}}
\renewcommand*{\deschook}{\itemhook{}}
% classical \today definition % classical \today definition
\def\today{\ifcase\month\or \def\today{\ifcase\month\or
January\or February\or March\or April\or May\or June\or January\or February\or March\or April\or May\or June\or

View File

@ -56,7 +56,6 @@
% style definition % style definition
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% symbols used % symbols used
\renewcommand*{\listitemsymbol}{\textbullet}
% colors % colors
\definecolor{firstnamecolor}{rgb}{0.65,0.65,0.65} \definecolor{firstnamecolor}{rgb}{0.65,0.65,0.65}

View File

@ -56,7 +56,6 @@
% style definition % style definition
%------------------------------------------------------------------------------- %-------------------------------------------------------------------------------
% symbols used % symbols used
\renewcommand*{\listitemsymbol}{\textbullet}
% colors % colors
\definecolor{firstnamecolor}{rgb}{0,0,0} \definecolor{firstnamecolor}{rgb}{0,0,0}

52
tweaklist.sty Normal file
View File

@ -0,0 +1,52 @@
%% start of file `tweaklist.sty'.
%% Original by Jakob Schiotz, downloaded from http://dcwww.camd.dtu.dk/~schiotz/comp/LatexTips/tweaklist.sty; not found on ctan.
%% Modified by Xavier Danaux (xdanaux@gmail.com).
%
% The tweaklist.sty package redefines the itemize, enumerate and description packages, so that all parameters can be adjusted.
% This was done by copying the original definitions, and adding "hook commands" that are executed when entering the environment.
% The hook commands are initially empty, but can be redefined with \renewcommand.
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License version 1.3c,
% available at http://www.latex-project.org/lppl/.
% hooks for the itemize environment
\def\itemhook{}
\def\itemhooki{}
\def\itemhookii{}
\def\itemhookiii{}
\def\itemhookiv{}
% hooks for the enumerate environment
\def\enumhook{}
\def\enumhooki{}
\def\enumhookii{}
\def\enumhookiii{}
\def\enumhookiv{}
% hook for the description environment
\def\deschook{}
% original environment definitions, with hooks added
\def\enumerate{%
\ifnum \@enumdepth >\thr@@\@toodeep\else
\advance\@enumdepth\@ne
\edef\@enumctr{enum\romannumeral\the\@enumdepth}%
\expandafter
\list
\csname label\@enumctr\endcsname
{\usecounter\@enumctr\def\makelabel##1{\hss\llap{##1}}%
\enumhook \csname enumhook\romannumeral\the\@enumdepth\endcsname}%
\fi}
\def\itemize{%
\ifnum \@itemdepth >\thr@@\@toodeep\else
\advance\@itemdepth\@ne
\edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
\expandafter
\list
\csname\@itemitem\endcsname
{\def\makelabel##1{\hss\llap{##1}}%
\itemhook \csname itemhook\romannumeral\the\@itemdepth\endcsname}%
\fi}
\newenvironment{description}
{\list{}{\labelwidth\z@ \itemindent-\leftmargin
\let\makelabel\descriptionlabel\deschook}}
{\endlist}