Skip to content

Commit

Permalink
added one page resumt
Browse files Browse the repository at this point in the history
  • Loading branch information
simongravelle committed Nov 26, 2024
1 parent 0330227 commit 70fa4db
Show file tree
Hide file tree
Showing 14 changed files with 5,793 additions and 0 deletions.
2 changes: 2 additions & 0 deletions static/files/resume-one-page/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build:
latexmk -pdf resume-simon-gravelle.tex
282 changes: 282 additions & 0 deletions static/files/resume-one-page/concours.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,282 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{concours}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
\ProcessOptions
\LoadClass{article}

\RequirePackage{mathptmx} % defines Adobe Times Roman (or equivalent) as default text font
\RequirePackage[utf8]{inputenc} % translates various input into a LaTeX internal language
\RequirePackage{indentfirst} % minimalist package is part of the latex-tools bundle
\RequirePackage{csquotes} % advanced facilities for inline and display quotations
\RequirePackage[T1]{fontenc} % allows the user to select font encodings
\RequirePackage[cyr]{aeguill} % enables the user to add guillemets from several source
\RequirePackage{multicol} % defines a multicols environment which typesets text in multiple column
\RequirePackage{etoolbox} % toolbox of programming facilities
\RequirePackage{relsize} % Set the font size relative to the current font size
\RequirePackage{amsmath,amssymb} % adapts most of the mathematical features
\RequirePackage[language=english,style=numeric-comp,sorting=none,backref=false,maxnames=4,minnames=4,backrefstyle=three,giveninits=true,backend=biber]{biblatex}
\RequirePackage[table]{xcolor}
\RequirePackage[pdftex,colorlinks=true,linkcolor=new_gray0,citecolor=new_gray0,urlcolor=new_gray0]{hyperref}
\RequirePackage{anysize}
\RequirePackage{fancyhdr} % for constructing headers and footers
\RequirePackage{lastpage}
\RequirePackage{titlesec}
\RequirePackage{titletoc}
%\RequirePackage[export]{adjustbox}
\RequirePackage{changepage}
\RequirePackage{abstract}
\RequirePackage[pdftex]{graphicx}\DeclareGraphicsExtensions{.jpg,.png,.pdf}
\RequirePackage{multirow}
\RequirePackage{tabularx}
\RequirePackage{longtable}
\RequirePackage{wasysym}
\RequirePackage{subfigure}
\RequirePackage[rightcaption]{sidecap} \sidecaptionvpos{figure}{c}
\RequirePackage[font=small,labelfont=bf,labelsep=endash]{caption}
\RequirePackage[subpreambles=false]{standalone}
\RequirePackage{wrapfig}
\RequirePackage{arydshln}
\RequirePackage{tikz}
\RequirePackage[french]{babel}
\RequirePackage{enumitem}
\RequirePackage{microtype}
\RequirePackage{colortbl}
%\RequirePackage{palatino} % good font
\RequirePackage{cmbright} % Computer Modern Bright fonts
%\RequirePackage[sfdefault]{libertine} % good font
\RequirePackage{cmbright}
\RequirePackage[normalem]{ulem}
\RequirePackage[most]{tcolorbox}

\renewcommand{\figurename}{Figure}
\newcommand*\rot{\rotatebox{90}}

\DeclareRobustCommand{\sm@ller}{%
\dimen@\f@size\p@
\ifdim \dimen@ > 12\p@
\dimen@=0.83333\dimen@
\else
\advance \dimen@ -2\p@
\fi
\math@fontsfalse
\fontsize{\the\dimen@}\z@
\selectfont
}

\newcommand{\hzero}[1]{\textcolor{dark}{\textbf{#1}}}
\newcommand{\hone}[1]{\textcolor{new_gray0}{\textbf{#1}}}
\newcommand{\htwo}[1]{\textcolor{new_gray1}{\textbf{#1}}}
\newcommand{\hthr}[1]{\textcolor{new_gray2}{\textbf{#1}}}
\newcommand{\hblue}[1]{\textcolor{blue_1}{\textbf{#1}}}
\newcommand{\hbluebis}[1]{\textcolor{blue_2}{\textbf{#1}}}
\newcommand{\textc}[1]{{\sm@ller\uppercase{#1}}}
\newcommand{\cshape}[1]{{\sm@ller\uppercase{#1}}}
\newcommand{\s}[1]{\vspace{0.2cm} \noindent #1}
\newcommand{\newpara}[1]{\vspace{0.4cm}\noindent \hbluebis{\textbf{#1}}}
\newcommand{\firstpara}[1]{\noindent \hbluebis{\textbf{#1}}}
\newcommand{\h}[1]{\textcolor{new_gray0}{\textbf{#1}}}
\newcommand{\hi}[1]{\textcolor{new_gray0}{\textbf{#1}}}

\newcommand{\parasep}{
\begin{center}
\noindent\rule[\baselineskip]{.5\textwidth}{.7pt}
\end{center}\vskip-1.2\baselineskip
}

\makeatletter
\renewcommand\tableofcontents{%
\@starttoc{toc}%
}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Page setting
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\marginsize{15mm}{15mm}{10mm}{10mm}
\setlength{\headheight}{14pt}



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Sections & subsections
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\titlecontents{section}[0em]{\vskip 0.0ex}{}{}{\titlerule*[1pc]{.}\contentspage \nobreak}
\titlecontents{subsection}[0em]{\vskip 0.0ex}{\hskip.03\linewidth}{}{\titlerule*[1pc]{.}\contentspage \nobreak}
%\titlecontents{subsubsection}[0em]{\vskip 0.0ex}{\hskip.06\linewidth}{}{\titlerule*[1pc]{.}\contentspage \nobreak}
%\titlecontents{paragraph}[0em]{\vskip 0.0ex}{}{}{\titlerule*[1pc]{.}\contentspage \nobreak}
%\titlecontents{subparagraph}[0em]{\vskip 0.0ex}{}{}{\titlerule*[1pc]{.}\contentspage \nobreak}

\titleformat{\section}
{\color{new_gray0}\normalfont\LARGE\bfseries}
{\color{new_gray0}}{0em}{}

\titleformat{\subsection}
{\color{new_gray0}\normalfont\Large\bfseries}
{\color{new_gray0}}{0em}{}

%\titleformat{\subsubsection}
%{\color{new_gray0}\large\bfseries}
%{\color{new_gray0}}{0em}{}

%\titleformat{\paragraph}
%{\normalfont\bfseries}
%{}{0em}{}

\titlespacing*{\section}
{0pt}{.5ex plus .5ex minus .2ex}{3ex plus .5ex minus .2ex}
\titlespacing*{\subsection}
{0pt}{3ex}{0ex}
\titlespacing*{\subsubsection}
{0pt}{2ex}{2ex}
\titlespacing*{\paragraph}
{0pt}{2ex}{2ex}



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Abstract
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\renewcommand{\abstractnamefont}{\normalfont\bfseries\color{new_gray0}}
%\renewcommand{\abstracttextfont}{\normalfont\color{black}}
%\renewcommand{\abstractname}{Résumé}

\renewenvironment{@bstr@ctlist}{%
\list{}{%
\itemindent \listparindent
\leftmargin \absleftindent
\rightmargin \absrightindent
\parsep \absparsep}%
\item \abstractnamefont\abstractname.~\relax}
{\endlist}

\renewenvironment{abstract}{
\begin{@bstr@ctlist}\abstracttextfont}%
{\par\end{@bstr@ctlist}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% My own bibliography style, with DOI or url links, and backreferences
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\AtBeginBibliography{\small}
\AtBeginBibliography{\footnotesize}
%\AtBeginBibliography{\tiny}

\renewcommand{\bibfont}{\normalfont\small}
\renewcommand{\refname}{}

\renewcommand*{\mkbibnamegiven}[1]{{\ifgiveninits{\let~\,}{}#1}}
\DefineBibliographyStrings{english}{%
backrefpage = {{\emph{cf.} }}{{p.}},%
backrefpages = {{\emph{cf.} }}{{pp.}},%
}
\DeclareFieldFormat[article]{title}{``#1''}
\DeclareFieldFormat[article]{pages}{#1}
\DeclareFieldFormat[article]{volume}{\textbf{#1}}
\ExecuteBibliographyOptions{doi=false}
\DeclareFieldFormat{doilink}{%
\iffieldundef{doi}{#1}{\href{http://dx.doi.org/\thefield{doi}}{#1}}}
\DeclareFieldFormat{urllink}{%
\iffieldundef{url}{#1}{\href{\thefield{url}}{#1}}}

%\renewcommand*{\finalnamedelim}{~\emph{\&}~}
\renewcommand*{\finalnamedelim}{~\&~}
\renewcommand*{\newunitpunct}{\addcomma\space}
\renewbibmacro*{date}{\printtext{\printfield{year}}}
\renewbibmacro*{volume+number+eid}{\printfield{volume}}
\renewbibmacro*{journal+issuetitle}{%
\emph{\usebibmacro{journal}}%
\setunit*{\addspace}%
\usebibmacro{volume+number+eid}
\printtext[parens]{\printfield{year}}%
}

\DeclareBibliographyDriver{article}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\emph{\usebibmacro{title}}
\usebibmacro{author/translator+others}%
\setunit{\labelnamepunct}\newblock%
\newunit
\printlist{language}%
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{bytranslator+others}%
\newunit\newblock
\printfield{version}%
\newunit\newblock
\iffieldundef{url}{
\printtext[doilink]{%
\usebibmacro{journal+issuetitle}%
\newunit
\usebibmacro{byeditor+others}%
\newunit
\usebibmacro{note+pages}}
}%
{\printtext[urllink]{%
\usebibmacro{journal+issuetitle}%
\newunit
\usebibmacro{byeditor+others}%
\newunit
\usebibmacro{note+pages}}%
}
\newunit\newblock
\usebibmacro{addendum+pubstate}%
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}%
}

\DeclareBibliographyDriver{misc}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/translator+others}%
\setunit{\labelnamepunct}\newblock
\emph{\usebibmacro{title}}%
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}%
}

\DeclareFieldFormat[inbook]{chapter}{"#1"}
\DeclareFieldFormat[inbook]{title}{In: \mkbibemph{#1}}
\DeclareBibliographyDriver{inbook}{%
\usebibmacro{bibindex}%
\usebibmacro{begentry}%
\usebibmacro{author/editor+others/translator+others}%
\setunit{\labelnamepunct}\newblock
\usebibmacro{chapter+pages}%
\newunit\newblock
\printtext[urllink]{\usebibmacro{maintitle+title}}%
\newunit\newblock
\usebibmacro{byauthor}%
\newunit\newblock
\usebibmacro{byeditor+others}%
\newunit\newblock
\usebibmacro{publisher+location+date}%
\newunit
\printfield{pagetotal}%
\newunit\newblock
\printfield{note}%
\newunit\newblock
\usebibmacro{addendum+pubstate}%
\setunit{\bibpagerefpunct}\newblock
\usebibmacro{pageref}%
}



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Macro for changing margin locally
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newenvironment{changemargin}[2]{\begin{list}{}{%
\setlength{\topsep}{0pt}%
\setlength{\leftmargin}{0pt}%
\setlength{\rightmargin}{0pt}%
\setlength{\listparindent}{\parindent}%
\setlength{\itemindent}{\parindent}%
\setlength{\parsep}{0pt plus 1pt}%
\addtolength{\leftmargin}{#1}%
\addtolength{\rightmargin}{#2}%
}\item }{\end{list}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\endinput
65 changes: 65 additions & 0 deletions static/files/resume-one-page/parameters.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@


% box

\newtcolorbox[auto counter]{colorboxorganosilices}[1][]{colback=white, colframe=black,
fonttitle=\bfseries\sffamily, colbacktitle=white,
enhanced,coltitle=black,top=4mm,boxed title style={colframe=white},
attach boxed title to top center={xshift=-4cm,yshift=-3mm},
title=Pourquoi les organosilices nanoporeuses?}

\newtcolorbox[auto counter]{colorboxmmm}[1][]{colback=white, colframe=black,
fonttitle=\bfseries\sffamily, colbacktitle=white,
enhanced,coltitle=black,top=4mm,boxed title style={colframe=white},
attach boxed title to top center={xshift=-2.25cm,yshift=-3mm},
title=Pourquoi les matériaux polymériques à matrice mixte?}

% Format

\setlength{\topmargin}{0cm}
\setlength{\headheight}{0.4cm}
\setlength{\headsep}{0.8cm}
\setlength{\footskip}{1cm}
\setlength{\textwidth}{17cm}
\setlength{\textheight}{25cm}
\setlength{\voffset}{-1.5cm}
\setlength{\hoffset}{-0.5cm}
\setlength{\oddsidemargin}{0cm}
\setlength{\evensidemargin}{0cm}

% Colors

\definecolor{dark}{RGB}{10,10,10}
\definecolor{new_gray0}{RGB}{60,60,60}
\definecolor{new_gray1}{RGB}{100,100,100}
\definecolor{new_gray2}{RGB}{160,160,160}
\definecolor{new_gray3}{RGB}{180,180,180}
\definecolor{new_gray4}{RGB}{220,220,220}
\definecolor{blue_0}{RGB}{0,20,220}
\definecolor{blue_1}{RGB}{0,60,220}
\definecolor{blue_2}{RGB}{50,100,200}
\definecolor{white}{RGB}{255,255,255}

\definecolor{gray20}{RGB}{20,20,20}
\definecolor{gray40}{RGB}{40,40,40}
\definecolor{gray60}{RGB}{60,60,60}
\definecolor{gray80}{RGB}{80,80,80}
\definecolor{gray100}{RGB}{100,100,100}
\definecolor{gray120}{RGB}{120,120,120}
\definecolor{gray140}{RGB}{140,140,140}
\definecolor{gray160}{RGB}{160,160,160}
\definecolor{gray180}{RGB}{180,180,180}
\definecolor{gray200}{RGB}{200,200,200}
\definecolor{gray220}{RGB}{220,220,220}

% Setups

\hypersetup{hidelinks,
backref=true,
pagebackref=true,
hyperindex=true,
breaklinks=true,
colorlinks=true,
urlcolor=new_gray1,
bookmarks=true,
bookmarksopen=false}
19 changes: 19 additions & 0 deletions static/files/resume-one-page/resume-simon-gravelle.aux
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
\relax
\abx@aux@refcontext{none/global//global/global}
\providecommand\hyper@newdestlabel[2]{}
\providecommand\HyField@AuxAddToFields[1]{}
\providecommand\HyField@AuxAddToCoFields[2]{}
\providecommand\babel@aux[2]{}
\@nameuse{bbl@beforestart}
\catcode `:\active
\catcode `;\active
\catcode `!\active
\catcode `?\active
\providecommand \oddpage@label [2]{}
\babel@aux{french}{}
\ttl@finishall
\abx@aux@read@bbl@mdfivesum{D41D8CD98F00B204E9800998ECF8427E}
\newlabel{LastPage}{{}{1}{}{page.1}{}}
\gdef\lastpage@lastpage{1}
\gdef\lastpage@lastpageHy{1}
\gdef \@abspage@last{1}
Empty file.
Loading

0 comments on commit 70fa4db

Please sign in to comment.