moderncv-math/main.tex
nojhan a4f1e84a79 Toujours plus de fonctionnalités
+ exemple de changement de couleur
+ corrections de formes (typos) et ajout de fond
+ exemple de biblio
+ formatage et filtrage biblio
+ étoiles
2021-02-28 08:11:26 +01:00

317 lines
10 KiB
TeX

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Author: Thomas Rey, Johann Dreo
%
% This is a template of a very complete CV using the 'moderncv' package
% and the 'timeline' package. For more information on those, please
% access:
% https://www.ctan.org/tex-archive/macros/latex/contrib/moderntimeline
% https://www.ctan.org/tex-archive/macros/latex/contrib/moderncv
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Configuration du modèle
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[12pt, a4paper, sans]{moderncv}
\usepackage{graphicx}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Choix du style et de la couleur
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\moderncvstyle{classic} % Style of the CV, can be also: casual, banking, oldstyle
\moderncvcolor{cyan}% Couleurs standards: black, green, grey, orange, purple, red
% Pour la couleur cyan, voir le fichier modercvcolorcyan.sty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Encodage et compilation
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% --------------- PDFLaTeX, XeLaTeX ou LuaLaTeX ?
\usepackage{iftex}
\ifPDFTeX
% --------------- PDFLaTeX ou LaTeX
\usepackage[utf8]{inputenc} % pour avoir ce fichier en utf8
\usepackage[T1]{fontenc} % pour avoir les lettres accentuées dans le résultat PDF
\usepackage{lmodern} % pour utiliser cette police vectorielle (elle utilise l'encodage T1 avec 256 lettres)
\else
% --------------- XeLaTeX ou LuaLaTeX
\usepackage{fontspec} % pour le bon encodage des PDFs => police lmodern
\fi
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Géométrie
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[scale=0.85]{geometry} % Remplissage de la page par le corps du CV (ici, 85%)
\setlength{\hintscolumnwidth}{4.cm} % Largeur de la timeline/frise, sur le coté.
\usepackage{moderntimeline}
\tlmaxdates{2010}{2021} % Années de départ et de fin de la frise/timeline
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Bibliographie avec liens hyper texte.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[%
style=numeric, % Style
maxbibnames=99, % Limite du nombre d'auteurs avant d'abbréger en « et al. »
backend=biber,
defernumbers=true,
sorting=ydnt, % Trier par année (décroissante), nom, titre.
]{biblatex}
% Fichier de bibliographie
\addbibresource{main.bib}
% Insérer un lien hyper texte sur le titre de la référence.
% Considère les champs : DOI (via dx.doi.org), URL, ISBN (via wikimedia), eprint (via arxiv).
\newbibmacro{string+doiurlisbn}[1]{%
\iffieldundef{doi}{%
\iffieldundef{url}{%
\iffieldundef{isbn}{%
\iffieldundef{eprint}{%
#1%
}{%
\href{http://arxiv.org/abs/\thefield{eprint}}{#1}%
}%
}{%
\href{https://meta.wikimedia.org/wiki/Special:BookSources/\thefield{isbn}}{#1}%
}%
}{%
\href{\thefield{url}}{#1}%
}%
}{%
\href{http://dx.doi.org/\thefield{doi}}{#1}%
}%
}
\DeclareFieldFormat{title}{\usebibmacro{string+doiurlisbn}{\mkbibemph{#1}}}
\DeclareFieldFormat[article,inproceedings,phdthesis,patent,book]{title}%
{\usebibmacro{string+doiurlisbn}{\mkbibquote{#1}}}
% Ne pas montrer les champs de lien dans la biblio.
\ExecuteBibliographyOptions{doi=false}
\ExecuteBibliographyOptions{url=false}
\ExecuteBibliographyOptions{eprint=false}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Mise en valeur du nom d'un auteur.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{xpatch}% or use http://tex.stackexchange.com/a/40705
\makeatletter
\newbibmacro*{name:bold}[2]{%
\edef\blx@tmp@name{\expandonce#1, \expandonce#2}%
\def\do##1{\ifdefstring{\blx@tmp@name}{##1}{\bfseries\listbreak}{}}%
\dolistloop{\boldnames}}
\newcommand*{\boldnames}{}
\makeatother
\xpretobibmacro{name:family}{\begingroup\usebibmacro{name:bold}{#1}{#2}}{}{}
\xpretobibmacro{name:given-family}{\begingroup\usebibmacro{name:bold}{#1}{#2}}{}{}
\xpretobibmacro{name:family-given}{\begingroup\usebibmacro{name:bold}{#1}{#2}}{}{}
\xpretobibmacro{name:delim}{\begingroup\normalfont}{}{}
\xapptobibmacro{name:family}{\endgroup}{}{}
\xapptobibmacro{name:given-family}{\endgroup}{}{}
\xapptobibmacro{name:family-given}{\endgroup}{}{}
\xapptobibmacro{name:delim}{\endgroup}{}{}
\forcsvlist{\listadd\boldnames}
{
{J.-M. Epidemiologiste},
{J\bibinitperiod-M\bibinitperiod Epidemiologiste},
{Jean-Michel Epidemiologiste},
{Jean-Michel\bibinitdelim{}Epidemiologiste},
{Epidemiologiste, J.-M.},
{Epidemiologiste, J\bibinitperiod M\bibinitperiod},
{J\bibinitperiod-M\bibinitperiod\bibinitdelim{}Epidemiologiste}
} % Vous voyez l'idée…
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Couleur des liens.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\definecolor{cyanclair}{RGB}{102,193,191}
\definecolor{cyanmedium}{RGB}{0,140,142}
\definecolor{cyanfonce}{RGB}{39,86, 98}
% moderncv loads the package hyperref by itself with its own hypersetup
% Hence, you need not load hyperref again. But load the hypersetup using \AfterPreamble:
\AfterPreamble{%With \usepackage{hyperref}
\hypersetup{colorlinks}
\hypersetup{
urlcolor = {cyanfonce}, % Liens externes.
linkcolor = {cyanfonce}, % Renvois
citecolor = {cyanfonce}, % Citations
}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Mise en valeur des dates dans la bibliographie.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\DeclareFieldFormat{date}{\textcolor{cyanmedium}{\mkbibbold{#1}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Cinq étoiles.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{fontawesome} % stars
\newcommand{\starsFive}{{\color{cyanclair}\faStar\faStar\faStar\faStar\faStar}}
\newcommand{\starsFour}{{\color{cyanclair}\faStar\faStar\faStar\faStar\faStarO}}
\newcommand{\starsThree}{{\color{cyanclair}\faStar\faStar\faStar\faStarO\faStarO}}
% etc.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% En-tête
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\name{Jean-Michel \newline}{Épidémiologiste}
\title{\emph{Curriculum Vitæ}}
\address{IHU Méditerranée \\ 19-21 Boulevard Jean Moulin \\ 13005 Marseille }{\textsc{France}}{}
\phone[mobile]{+33~(6)~1~23~45~67~89}
\phone[fixed]{+33~(4)~1~23~45~67~89}
\email{Jean.mi.epidemio@ihu.toto} % optional, remove / comment the line if not wanted
\homepage{https://fr.wikipedia.org/wiki/Clown} % optional, remove / comment the line if not wanted
\social[linkedin]{https://www.linkedin.com} % optional, remove / comment the line if not wanted
\social[twitter]{jeanmiepidemio} % optional, remove / comment the line if not wanted
\social[github]{jeanmicodeur} % optional, remove / comment the line if not wanted
%\extrainfo{\emailsymbol \emaillink{roger@lanouille.com}}
\quote{Absit reverentia vero --- \emph{Ovide}}
\makeatletter\renewcommand*{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}}\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Corps du CV.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\makecvtitle
\section{Éducation}
\medskip
\tlcventry{2015}{2021}{PhD Extragalactic Bullshitology}{Institute of Riendutoutologie --- University of California at Sunnydale \emph{(UCS, par la suite)}}{}{Sunnydale, California, USA}{}
\medskip
\tlcventry{2013}{2015}{MSc Extragalactic Bullshitology}{UCS}{}{Sunnydale, California, USA}{}
\medskip
\tlcventry{2010}{2013}{Licence de beau parleur}{Université d'Aix-Marseille}{Marseille, France}{}{Mineure en astrologie}
\medskip
\section{Manuscrits}
\medskip
\subsection{\textbf{Thèse de doctorat}}
\cvitem{\textbf{Titre}}{Se soigner avec du sucre : rêve ou réalité ?}
\cvitem{\textbf{Encadrant}}{Professeur B. Oiron}
\cvitem{\textbf{Jury de thèse}}{Complaisant}
\medskip
\subsection{\textbf{Mémoire de master}}
\cvitem{\textbf{Titre}}{Le régime Dukhan}
\cvitem{\textbf{Encadrant}}{Professor R. Mac Donald}
\medskip
\section{Expériences}
\medskip
\subsection{Teaching Assistant}
\tldatecventry{2016}{Extragalactic Bullshitology}{UCS}{Sunnydale}{USA}{SUPERVISOR Prof. B. Ullshit}
\medskip
\subsection{Extra-académique}
\tldatecventry{2012}{Contrôle des granulés}{Boiron}{Lyon}{France}{}
\cvitem{\textbf{DESCRIPTION}}{Filtrage des gros, ingestion des petits, pour les moyens je n'ai jamais trop su.}
\medskip
% \section{Publications}
\nocite{*} % Mettre tout ce qu'il y a dans le fichier .bib (il est toujours possible de \cite{…} ailleurs).
\AtNextBibliography{\small} % Écrit en petit.
\printbibliography[nottype=inproceedings,title={Publications}] % Dans une section.
\medskip
\printbibliography[type=inproceedings,title={Communications}] % Dans une section.
\medskip
\section{Languages}
\cvlanguage{Français}{Courant}{langue natale~\starsFour}
\medskip
\cvlanguage{Anglais}{lu}{langue pas natale~\starsThree}
\medskip
\section{Compétences}
\cvitemwithcomment{Programmation}{Python~\starsFive, C/C++~\starsFour, \LaTeX~\starsThree}{}
\medskip
\cvitemwithcomment{Outils}{Gitlab}{Program Version Control and Program Repositories.}
\medskip
\cvitemwithcomment{Autres}{Communication, Organisation, Joie de vivre}{}
\medskip
\section{Participation à des évènements}
\tldatecventry{2017}{JT de Cnews}{}{}{France}{}
\medskip
\section{Service à la communauté}
\cvitem{\textbf{Absent}}{Mais j'ai un mot~: j'avais aqua-poney~\cite{Epidemio06}.}
\medskip
\section{Certifications}
\cvitem{\textbf{English}}{\emph{Certificate of Proficiency in English} \newline Wall Street Institute}
\medskip
\section{Références}
\begin{cvcolumns}
\cvcolumn{Karen Snowflake}{69 cité des viols furtifs\\ Université d'albâtre\\ karen@hotmail.com}
\cvcolumn{Ma maman}{1 av. du Mouroir\\ EPAHD des Aberkanisés \\ maitre.etalon@notaires.org}
\end{cvcolumns}
\end{document}