Version 0.8 commit
This commit is contained in:
12
CHANGELOG
12
CHANGELOG
@ -1,11 +1,16 @@
|
||||
version 0.8 (xx Xxxx 2008)
|
||||
version 0.8 (24 May 2010)
|
||||
- added support for multibib.
|
||||
- added a command to indicate your personal homepage (\homepage{url}), as
|
||||
requested by J. de Jong and A. Pairet.
|
||||
- corrected an alignment bug for text following a \quote with no immediate
|
||||
\section, as kindly reported by J. Vermeulen.
|
||||
\section, as kindly reported by J. Vermeulen and L. Saliou.
|
||||
- corrected a spacing bug when no blank line (or \par) is left after \maketitle.
|
||||
Thanks to A. Menzel for reporting the strange behaviour.
|
||||
- corrected the alignment of the extrainfo title part when no picture was used,
|
||||
as reported by M. Bana.
|
||||
- corrected the missplacement of pdf bookmarks as noticed by L. Fortunato.
|
||||
- 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.
|
||||
- ...
|
||||
|
||||
version 0.7 (17 June 2008)
|
||||
@ -32,7 +37,8 @@ version 0.6 (28 May 2007)
|
||||
U. Stöhr.
|
||||
- added color variants to the classic and casual style, as suggested by
|
||||
U. Stöhr.
|
||||
- added a requested by A. Martin.
|
||||
- added a page counter for resumes running longer than 1 page, as requested by
|
||||
A. Martin. It can be disabled by the command \nopagenumbers{}.
|
||||
- added commands to include a mobile phone and fax number.
|
||||
- made the symbols used for the phone number, the email, ... customizable.
|
||||
To modify those symbols, just redefine \phonesymbol, emailsymbol, ...
|
||||
|
||||
@ -1,3 +1,11 @@
|
||||
%% start of file `template_en.tex'.
|
||||
%% Copyright 2006-2010 Xavier Danaux (xdanaux@gmail.com).
|
||||
%
|
||||
% 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/.
|
||||
|
||||
|
||||
\documentclass[11pt]{article}
|
||||
|
||||
|
||||
|
||||
@ -1,4 +0,0 @@
|
||||
#!/bin/bash
|
||||
for file in *.aux ; do
|
||||
bibtex <20>basename $file .aux<75>
|
||||
done
|
||||
@ -1,44 +0,0 @@
|
||||
%% start of file `jdoe_publications.bib'.
|
||||
%% Copyright 2006 Xavier Danaux (xdanaux<AT>gmail.com).
|
||||
%
|
||||
% 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/.
|
||||
|
||||
|
||||
@BOOK{book1,
|
||||
author = {John Doe and Author 2},
|
||||
title = {Title},
|
||||
publisher = {Publisher},
|
||||
edition = {edition},
|
||||
year = {year},
|
||||
}
|
||||
|
||||
@BOOK{book2,
|
||||
author = {John Doe and Author 2},
|
||||
title = {Title},
|
||||
publisher = {Publisher},
|
||||
edition = {edition},
|
||||
year = {year},
|
||||
}
|
||||
|
||||
@MISC{misc1,
|
||||
author = {John Doe},
|
||||
title = {Title},
|
||||
year = {year},
|
||||
}
|
||||
|
||||
@MISC{misc2,
|
||||
author = {John Doe},
|
||||
title = {Title},
|
||||
year = {year},
|
||||
}
|
||||
|
||||
@MISC{misc3,
|
||||
author = {John Doe},
|
||||
title = {Title},
|
||||
year = {year},
|
||||
}
|
||||
|
||||
|
||||
%% end of file `jdoe_publications.bib'.
|
||||
Binary file not shown.
@ -1,132 +0,0 @@
|
||||
%% start of file `template_en.tex'.
|
||||
%% Copyright 2006-1008 Xavier Danaux (xdanaux@gmail.com).
|
||||
%
|
||||
% 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/.
|
||||
|
||||
|
||||
\documentclass[11pt,a4paper]{moderncv}
|
||||
|
||||
% moderncv themes
|
||||
\moderncvtheme[blue]{casual} % optional argument are 'blue' (default), 'orange', 'red', 'green', 'grey' and 'roman' (for roman fonts, instead of sans serif fonts)
|
||||
%\moderncvtheme[green]{classic} % idem
|
||||
|
||||
% character encoding
|
||||
\usepackage[utf8]{inputenc} % replace by the encoding you are using
|
||||
|
||||
% adjust the page margins
|
||||
\usepackage[scale=0.8]{geometry}
|
||||
%\setlength{\hintscolumnwidth}{3cm} % if you want to change the width of the column with the dates
|
||||
%\AtBeginDocument{\setlength{\maketitlenamewidth}{6cm}} % only for the classic theme, if you want to change the width of your name placeholder (to leave more space for your address details
|
||||
\AtBeginDocument{\recomputelengths} % required when changes are made to page layout lengths
|
||||
|
||||
% personal data
|
||||
\firstname{John}
|
||||
\familyname{Doe}
|
||||
\title{Resumé title (optional)} % optional, remove the line if not wanted
|
||||
\address{street and number}{postcode city} % optional, remove the line if not wanted
|
||||
\mobile{mobile (optional)} % optional, remove the line if not wanted
|
||||
\phone{phone (optional)} % optional, remove the line if not wanted
|
||||
\fax{fax (optional)} % optional, remove the line if not wanted
|
||||
\email{email (optional)} % optional, remove the line if not wanted
|
||||
\extrainfo{additional information (optional)} % 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
|
||||
|
||||
%\nopagenumbers{} % uncomment to suppress automatic page numbering for CVs longer than one page
|
||||
|
||||
% bibliography with mutiple entries
|
||||
\usepackage{multibib}
|
||||
\newcites{book,misc}{{Books},{Others}}
|
||||
\makeatletter
|
||||
\renewenvironment{thebibliography}[1]%
|
||||
{%
|
||||
\subsection{\refname}%
|
||||
\small%
|
||||
\begin{list}{\bibliographyitemlabel}%
|
||||
{%
|
||||
\setlength{\topsep}{0pt}%
|
||||
\setlength{\labelwidth}{\hintscolumnwidth}%
|
||||
\setlength{\labelsep}{\separatorcolumnwidth}%
|
||||
\leftmargin\labelwidth%
|
||||
\advance\leftmargin\labelsep%
|
||||
\@openbib@code%
|
||||
\usecounter{enumiv}%
|
||||
\let\p@enumiv\@empty%
|
||||
\renewcommand\theenumiv{\@arabic\c@enumiv}}%
|
||||
\sloppy\clubpenalty4000\widowpenalty4000%
|
||||
}%
|
||||
{%
|
||||
\def\@noitemerr{\@latex@warning{Empty `thebibliography' environment}}%
|
||||
\end{list}%
|
||||
}
|
||||
\makeatother
|
||||
|
||||
%----------------------------------------------------------------------------------
|
||||
% content
|
||||
%----------------------------------------------------------------------------------
|
||||
\begin{document}
|
||||
\maketitle
|
||||
|
||||
\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 are optional
|
||||
|
||||
\section{Master thesis}
|
||||
\cvline{title}{\emph{Title}}
|
||||
\cvline{supervisors}{Supervisors}
|
||||
\cvline{description}{\small Short thesis abstract}
|
||||
|
||||
\section{Experience}
|
||||
\subsection{Vocational}
|
||||
\cventry{year--year}{Job title}{Employer}{City}{}{Description} % arguments 3 to 6 are optional
|
||||
\cventry{year--year}{Job title}{Employer}{City}{}{Description} % arguments 3 to 6 are optional
|
||||
\subsection{Miscellaneous}
|
||||
\cventry{year--year}{Job title}{Employer}{City}{}{Description line 1\newline{}Description line 2}% arguments 3 to 6 are optional
|
||||
|
||||
\section{Languages}
|
||||
\cvlanguage{language 1}{Skill level}{Comment}
|
||||
\cvlanguage{language 2}{Skill level}{Comment}
|
||||
\cvlanguage{language 3}{Skill level}{Comment}
|
||||
|
||||
\section{Computer skills}
|
||||
\cvcomputer{category 1}{XXX, YYY, ZZZ}{category 4}{XXX, YYY, ZZZ}
|
||||
\cvcomputer{category 2}{XXX, YYY, ZZZ}{category 5}{XXX, YYY, ZZZ}
|
||||
\cvcomputer{category 3}{XXX, YYY, ZZZ}{category 6}{XXX, YYY, ZZZ}
|
||||
|
||||
\section{Interests}
|
||||
\cvline{hobby 1}{\small Description}
|
||||
\cvline{hobby 2}{\small Description}
|
||||
\cvline{hobby 3}{\small Description}
|
||||
|
||||
\renewcommand{\listitemsymbol}{-} % change the symbol for lists
|
||||
|
||||
\section{Extra 1}
|
||||
\cvlistitem{Item 1}
|
||||
\cvlistitem{Item 2}
|
||||
\cvlistitem[+]{Item 3} % optional other symbol
|
||||
|
||||
\section{Extra 2}
|
||||
\cvlistdoubleitem[\Neutral]{Item 1}{Item 4}
|
||||
\cvlistdoubleitem[\Neutral]{Item 2}{Item 5}
|
||||
\cvlistdoubleitem[\Neutral]{Item 3}{}
|
||||
|
||||
% Publications from a BibTeX file
|
||||
%\nocite{*}
|
||||
%\bibliographystyle{plain}
|
||||
%\bibliography{publications} % 'publications' is the name of a BibTeX file
|
||||
|
||||
% Publications with mutibib
|
||||
\section{Publications}
|
||||
\nocitebook{book1,book2}
|
||||
\bibliographystylebook{plain}
|
||||
\bibliographybook{publications} % 'publications' is the name of a BibTeX file
|
||||
\nocitemisc{misc1,misc2,misc3}
|
||||
\bibliographystylemisc{plain}
|
||||
\bibliographymisc{publications} % 'publications' is the name of a BibTeX file
|
||||
|
||||
\end{document}
|
||||
|
||||
|
||||
%% end of file `template_en.tex'.
|
||||
@ -6,16 +6,36 @@
|
||||
% available at http://www.latex-project.org/lppl/.
|
||||
|
||||
|
||||
@BOOK{publication1,
|
||||
author = {Author 1 and Author 2},
|
||||
@BOOK{book1,
|
||||
author = {John Doe and Author 1},
|
||||
title = {Title},
|
||||
publisher = {Publisher},
|
||||
edition = {edition},
|
||||
year = {year},
|
||||
}
|
||||
|
||||
@MISC{publication2,
|
||||
author = {Author},
|
||||
@BOOK{book2,
|
||||
author = {John Doe and Author 2},
|
||||
title = {Title},
|
||||
publisher = {Publisher},
|
||||
edition = {edition},
|
||||
year = {year},
|
||||
}
|
||||
|
||||
@MISC{misc1,
|
||||
author = {John Doe},
|
||||
title = {Title},
|
||||
year = {year},
|
||||
}
|
||||
|
||||
@MISC{misc2,
|
||||
author = {John Doe and Author 3},
|
||||
title = {Title},
|
||||
year = {year},
|
||||
}
|
||||
|
||||
@MISC{misc3,
|
||||
author = {John Doe},
|
||||
title = {Title},
|
||||
year = {year},
|
||||
}
|
||||
|
||||
BIN
examples/template.pdf
Normal file
BIN
examples/template.pdf
Normal file
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
%% start of file `template_en.tex'.
|
||||
%% Copyright 2006-1008 Xavier Danaux (xdanaux@gmail.com).
|
||||
%% start of file `template.tex'.
|
||||
%% Copyright 2006-2010 Xavier Danaux (xdanaux@gmail.com).
|
||||
%
|
||||
% This work may be distributed and/or modified under the
|
||||
% conditions of the LaTeX Project Public License version 1.3c,
|
||||
@ -19,7 +19,7 @@
|
||||
\usepackage[scale=0.8]{geometry}
|
||||
%\setlength{\hintscolumnwidth}{3cm} % if you want to change the width of the column with the dates
|
||||
%\AtBeginDocument{\setlength{\maketitlenamewidth}{6cm}} % only for the classic theme, if you want to change the width of your name placeholder (to leave more space for your address details
|
||||
\AtBeginDocument{\recomputelengths} % required when changes are made to page layout lengths
|
||||
%\AtBeginDocument{\recomputelengths} % required when changes are made to page layout lengths
|
||||
|
||||
% personal data
|
||||
\firstname{John}
|
||||
@ -30,13 +30,21 @@
|
||||
\phone{phone (optional)} % optional, remove the line if not wanted
|
||||
\fax{fax (optional)} % optional, remove the line if not wanted
|
||||
\email{email (optional)} % optional, remove the line if not wanted
|
||||
\homepage{homepage (optional)} % optional, remove the line if not wanted
|
||||
\extrainfo{additional information (optional)} % 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
|
||||
|
||||
% for BibTeX numerical labels
|
||||
%\makeatletter
|
||||
%\renewcommand*{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}}
|
||||
%\makeatother
|
||||
|
||||
% bibliography with mutiple entries
|
||||
%\usepackage{multibib}
|
||||
%\newcites{book,misc}{{Books},{Others}}
|
||||
|
||||
%\nopagenumbers{} % uncomment to suppress automatic page numbering for CVs longer than one page
|
||||
|
||||
|
||||
%----------------------------------------------------------------------------------
|
||||
% content
|
||||
%----------------------------------------------------------------------------------
|
||||
@ -60,9 +68,9 @@
|
||||
\cventry{year--year}{Job title}{Employer}{City}{}{Description line 1\newline{}Description line 2}% arguments 3 to 6 are optional
|
||||
|
||||
\section{Languages}
|
||||
\cvlanguage{language 1}{Skill level}{Comment}
|
||||
\cvlanguage{language 2}{Skill level}{Comment}
|
||||
\cvlanguage{language 3}{Skill level}{Comment}
|
||||
\cvlanguage{Language 1}{Skill level}{Comment}
|
||||
\cvlanguage{Language 2}{Skill level}{Comment}
|
||||
\cvlanguage{Language 3}{Skill level}{Comment}
|
||||
|
||||
\section{Computer skills}
|
||||
\cvcomputer{category 1}{XXX, YYY, ZZZ}{category 4}{XXX, YYY, ZZZ}
|
||||
@ -83,14 +91,23 @@
|
||||
|
||||
\section{Extra 2}
|
||||
\cvlistdoubleitem[\Neutral]{Item 1}{Item 4}
|
||||
\cvlistdoubleitem[\Neutral]{Item 2}{Item 5}
|
||||
\cvlistdoubleitem[\Neutral]{Item 2}{Item 5\cite{book1}}
|
||||
\cvlistdoubleitem[\Neutral]{Item 3}{}
|
||||
|
||||
% Publications from a BibTeX file
|
||||
% Publications from a BibTeX file without multibib\renewcommand*{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}}% for BibTeX numerical labels
|
||||
\nocite{*}
|
||||
\bibliographystyle{plain}
|
||||
\bibliography{publications} % 'publications' is the name of a BibTeX file
|
||||
|
||||
% Publications from a BibTeX file using the multibib package
|
||||
%\section{Publications}
|
||||
%\nocitebook{book1,book2}
|
||||
%\bibliographystylebook{plain}
|
||||
%\bibliographybook{publications} % 'publications' is the name of a BibTeX file
|
||||
%\nocitemisc{misc1,misc2,misc3}
|
||||
%\bibliographystylemisc{plain}
|
||||
%\bibliographymisc{publications} % 'publications' is the name of a BibTeX file
|
||||
|
||||
\end{document}
|
||||
|
||||
|
||||
BIN
examples/template_casual_orange.pdf
Normal file
BIN
examples/template_casual_orange.pdf
Normal file
Binary file not shown.
BIN
examples/template_classic_green.pdf
Normal file
BIN
examples/template_classic_green.pdf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
examples/template_multibib.pdf
Normal file
BIN
examples/template_multibib.pdf
Normal file
Binary file not shown.
120
moderncv.cls
120
moderncv.cls
@ -1,5 +1,5 @@
|
||||
%% start of file `moderncv.cls'.
|
||||
%% Copyright 2006-2008 Xavier Danaux (xdanaux@gmail.com).
|
||||
%% Copyright 2006-2010 Xavier Danaux (xdanaux@gmail.com).
|
||||
%
|
||||
% This work may be distributed and/or modified under the
|
||||
% conditions of the LaTeX Project Public License version 1.3c,
|
||||
@ -10,7 +10,7 @@
|
||||
% identification
|
||||
%-------------------------------------------------------------------------------
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesClass{moderncv}[2008/11/17 v0.8 modern curriculum vitae document class]
|
||||
\ProvidesClass{moderncv}[2010/05/24 v0.8 modern curriculum vitae document class]
|
||||
|
||||
|
||||
%-------------------------------------------------------------------------------
|
||||
@ -83,29 +83,36 @@
|
||||
%-------------------------------------------------------------------------------
|
||||
% required packages
|
||||
%-------------------------------------------------------------------------------
|
||||
% ifthen package
|
||||
% \AtEndPreamble hook (could load package etoolbox instead of defining it)
|
||||
%\RequirePackage{etoolbox}
|
||||
\let\@endpreamblehook\@empty
|
||||
\def\AtEndPreamble{\g@addto@macro\@endpreamblehook}
|
||||
\let\moderncv@document\document
|
||||
\def\document{\endgroup\@endpreamblehook\begingroup\moderncv@document}
|
||||
|
||||
% if... then... else... constructs
|
||||
\RequirePackage{ifthen}
|
||||
|
||||
% ifpdf package
|
||||
% pdf vs ps compilation
|
||||
\RequirePackage{ifpdf}
|
||||
|
||||
% color package
|
||||
% color
|
||||
\ifpdf
|
||||
\RequirePackage[pdftex]{color}
|
||||
\else
|
||||
\RequirePackage[dvips]{color}
|
||||
\fi
|
||||
|
||||
% fontenc package
|
||||
% font encoding
|
||||
\RequirePackage[T1]{fontenc}
|
||||
|
||||
% scalable Computer Modern fonts
|
||||
%\usepackage{type1cm}
|
||||
|
||||
% latin modern fonts
|
||||
\AtEndOfClass{%
|
||||
%\AtEndOfClass{%
|
||||
\if@lmodern
|
||||
\RequirePackage{lmodern}\fi}
|
||||
\RequirePackage{lmodern}\fi%}
|
||||
|
||||
% symbols like \Telefon, \Mobilefone, \Letter and \Email
|
||||
\RequirePackage{marvosym}
|
||||
@ -121,47 +128,35 @@
|
||||
\addtolength{\marginparsep}{-5pt}
|
||||
\addtolength{\marginparwidth}{-10pt}
|
||||
|
||||
% \AtEndPreamble hook
|
||||
\let\@endpreamblehook\@empty
|
||||
\def\AtEndPreamble{\g@addto@macro\@endpreamblehook}
|
||||
\let\moderncv@document\document
|
||||
\def\document{\endgroup\@endpreamblehook\begingroup\moderncv@document}
|
||||
|
||||
% hyperrefs
|
||||
\RequirePackage{url}
|
||||
%\if@CJK
|
||||
\AtEndPreamble{%
|
||||
\@ifpackageloaded{CJK}%
|
||||
{%
|
||||
\ifpdf%
|
||||
\RequirePackage[pdftex,CJKbookmarks]{hyperref}%
|
||||
\else%
|
||||
\RequirePackage[dvips,CJKbookmarks]{hyperref}\fi}%
|
||||
{%
|
||||
\ifpdf%
|
||||
\RequirePackage[pdftex]{hyperref}%
|
||||
\else%
|
||||
\RequirePackage[dvips]{hyperref}\fi}%
|
||||
\hypersetup{%
|
||||
breaklinks,%
|
||||
baseurl = http://,%
|
||||
pdfborder = 0 0 0,%
|
||||
pdfpagemode = UseNone,%
|
||||
% pdfstartview = XYZ,%
|
||||
pdfstartpage = 1,%
|
||||
pdfcreator = \LaTeX{} with `moderncv' package,%
|
||||
pdfproducer = \LaTeX{},%
|
||||
bookmarksopen = true}%
|
||||
}
|
||||
% TO BE CHECKED IF CANNOT BE INCLUDED IN ATENDPREAMBLE HOOK
|
||||
\AtEndOfClass{%
|
||||
\AtBeginDocument{%
|
||||
\hypersetup{%
|
||||
pdfauthor = \@firstname~\@familyname,%
|
||||
pdftitle = \@title,%
|
||||
pdfsubject = \@firstname~\@familyname,%
|
||||
pdfkeywords = \@firstname~\@familyname{} curriculum vit\ae{}}}}
|
||||
\urlstyle{tt}
|
||||
% load hyperred at the end of the preamble to pass options required by loaded packages (like CJK)
|
||||
\AtEndPreamble{
|
||||
\@ifpackageloaded{CJK}
|
||||
{
|
||||
\ifpdf\RequirePackage[pdftex,CJKbookmarks]{hyperref}
|
||||
\else\RequirePackage[dvips,CJKbookmarks]{hyperref}\fi}
|
||||
{
|
||||
\ifpdf\RequirePackage[pdftex]{hyperref}
|
||||
\else\RequirePackage[dvips]{hyperref}\fi}
|
||||
\AtBeginDocument{
|
||||
\hypersetup{
|
||||
breaklinks,
|
||||
baseurl = http://,
|
||||
pdfborder = 0 0 0,
|
||||
pdfpagemode = UseNone,% do not show thumbnails or bookmarks on opening
|
||||
% pdfstartview = FitH,
|
||||
pdfstartpage = 1,
|
||||
pdfcreator = \LaTeX{} with `moderncv' package,
|
||||
pdfproducer = \LaTeX{},
|
||||
bookmarksopen = true,
|
||||
pdfauthor = \@firstname~\@familyname,
|
||||
pdftitle = \@title,
|
||||
pdfsubject = \@firstname~\@familyname,
|
||||
pdfkeywords = \@firstname~\@familyname{} curriculum vit\ae{}}}
|
||||
\pagenumbering{arabic}% has to be issued after loading hyperref
|
||||
}
|
||||
|
||||
% graphics
|
||||
\ifpdf
|
||||
@ -171,7 +166,7 @@
|
||||
|
||||
% headers and footers
|
||||
\usepackage{fancyhdr}
|
||||
\fancypagestyle{plain}{%
|
||||
\fancypagestyle{plain}{
|
||||
\renewcommand{\headrulewidth}{0pt}
|
||||
\renewcommand{\footrulewidth}{0pt}
|
||||
\fancyhf{}}
|
||||
@ -203,7 +198,6 @@
|
||||
%\setlength\fboxrule{.4\p@}
|
||||
|
||||
\pagestyle{empty}
|
||||
\pagenumbering{arabic}
|
||||
\raggedbottom
|
||||
\onecolumn
|
||||
|
||||
@ -218,6 +212,7 @@
|
||||
\providecommand*{\phonesymbol}{\Telefon}
|
||||
\providecommand*{\faxsymbol}{\FAX}
|
||||
\providecommand*{\emailsymbol}{\Letter}
|
||||
\providecommand*{\homepagesymbol}{{\Large\ComputerMouse}}
|
||||
|
||||
% colors
|
||||
\definecolor{firstnamecolor}{rgb}{0,0,0}
|
||||
@ -254,8 +249,8 @@
|
||||
\newcommand*{\moderncvtheme}[2][]{
|
||||
\def\@moderncvtheme{#2}
|
||||
\def\@moderncvthemeoptions{#1}}
|
||||
\moderncvtheme{casual} % default theme
|
||||
\AtBeginDocument{\RequirePackage[\@moderncvthemeoptions]{moderncvtheme\@moderncvtheme}}
|
||||
\moderncvtheme{casual}% default theme
|
||||
\AtEndPreamble{\RequirePackage[\@moderncvthemeoptions]{moderncvtheme\@moderncvtheme}}
|
||||
|
||||
|
||||
%-------------------------------------------------------------------------------
|
||||
@ -269,6 +264,7 @@
|
||||
\newcommand*{\phone}[1]{\def\@phone{#1}}
|
||||
\renewcommand*{\fax}[1]{\def\@fax{#1}}
|
||||
\newcommand*{\email}[1]{\def\@email{#1}}
|
||||
\newcommand*{\homepage}[1]{\def\@homepage{#1}}
|
||||
\newcommand*{\extrainfo}[1]{\def\@extrainfo{#1}}
|
||||
\def\@photowidth{0pt}
|
||||
\newcommand*{\photo}[2][64pt]{\def\@photowidth{#1}\def\@photo{#2}}
|
||||
@ -317,8 +313,8 @@
|
||||
\recomputelengths
|
||||
|
||||
% makes the cv title
|
||||
%\newcommand*{\maketitle}{}%
|
||||
\title{}% to avoid LaTeX complaining that \maketitle is a called without first a call to \title
|
||||
\newcommand*{\maketitle}{}%
|
||||
|
||||
% draws a colored rectangle
|
||||
% usage: \colorrule[optional height]{width}
|
||||
@ -339,7 +335,7 @@
|
||||
\cvline[0.5ex]{}{%
|
||||
\subsectionstyle{#1}%
|
||||
% \phantomsection{}% reset the anchor for hyperrefs
|
||||
% \addcontentsline{toc}{chapter}{#1}% does not work, the bookmark is placed at the same level as sections (placed themself at part level to be visible, as hyperref does not allow sections without parents...)
|
||||
% \addcontentsline{toc}{chapter}{#1}% does not work, the bookmark is placed at the same level as sections (placed themselves at part level to be visible, as hyperref does not allow sections without parents...)
|
||||
}}
|
||||
|
||||
% usage: \cvline{margintext}{linetext}
|
||||
@ -407,26 +403,30 @@
|
||||
% usage: \nopagenumbers{}
|
||||
\newif\if@displaypagenumbers\@displaypagenumberstrue
|
||||
\newcommand*{\nopagenumbers}{\@displaypagenumbersfalse}
|
||||
\AtEndPreamble{%
|
||||
\AtBeginDocument{%
|
||||
\if@displaypagenumbers%
|
||||
\@ifundefined{r@lastpage}{}{%
|
||||
\ifthenelse{\pageref{lastpage} > 1}{%
|
||||
\fancypagestyle{plain}{%
|
||||
\fancyfoot[r]{\addressfont\color{quotecolor}\footnotesize\thepage/\pageref{lastpage}}}%
|
||||
\pagestyle{plain}}{}}%
|
||||
\AtEndDocument{\label{lastpage}}%
|
||||
\fi}
|
||||
\fancypagestyle{plain}{%
|
||||
\fancyfoot[r]{\addressfont\color{quotecolor}\footnotesize\thepage/\pageref{lastpage}}}%
|
||||
\pagestyle{plain}}{}}%
|
||||
\AtEndDocument{\label{lastpage}}\else\fi}}
|
||||
|
||||
% thebibliography environment, for use with BibTeX
|
||||
% thebibliography environment, for use with BibTeX and possibly multibib
|
||||
\newcommand{\refname}{Publications}
|
||||
\newlength{\bibindent}
|
||||
\setlength{\bibindent}{1.5em}
|
||||
% bibliography item label
|
||||
\newcommand*{\bibliographyitemlabel}{}% use \@biblabel{\arabic{enumiv}} for BibTeX labels
|
||||
%\newif\if@multibibfirstbib\@multibibfirstbibfalse
|
||||
% bibliography head (section, etc}, depending on whether multibib is used
|
||||
\newcommand*{\bibliographyhead}[1]{\section{#1}}
|
||||
\AtEndPreamble{\@ifpackageloaded{multibib}{\renewcommand*{\bibliographyhead}[1]{\subsection{#1}}}{}}
|
||||
% thebibliography environment definition
|
||||
\newenvironment{thebibliography}[1]%
|
||||
{%
|
||||
\section{\refname}%
|
||||
% \vspace*{-0.65em}%
|
||||
\bibliographyhead{\refname}%
|
||||
\small%
|
||||
\begin{list}{\bibliographyitemlabel}%
|
||||
{%
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
%% start of file `moderncvcompatibility.sty'.
|
||||
%% Copyright 2006-2008 Xavier Danaux (xdanaux@gmail.com).
|
||||
%% Copyright 2006-2010 Xavier Danaux (xdanaux@gmail.com).
|
||||
%
|
||||
% This work may be distributed and/or modified under the
|
||||
% conditions of the LaTeX Project Public License version 1.3c,
|
||||
@ -10,7 +10,7 @@
|
||||
% identification
|
||||
%-------------------------------------------------------------------------------
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{moderncvcompatibility}[2008/06/17 v0.7 modern curriculum vitae compatibility patches]
|
||||
\ProvidesPackage{moderncvcompatibility}[2010/05/24 v0.8 modern curriculum vitae compatibility patches]
|
||||
|
||||
|
||||
%-------------------------------------------------------------------------------
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
%% start of file `moderncvthemecasual.sty'.
|
||||
%% Copyright 2007 Xavier Danaux (xdanaux@gmail.com).
|
||||
%% Copyright 2006-2010 Xavier Danaux (xdanaux@gmail.com).
|
||||
%
|
||||
% This work may be distributed and/or modified under the
|
||||
% conditions of the LaTeX Project Public License version 1.3c,
|
||||
@ -10,7 +10,7 @@
|
||||
% identification
|
||||
%-------------------------------------------------------------------------------
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{moderncvthemecasual}[2008/08/17 v0.8 modern curriculum vitae style: casual]
|
||||
\ProvidesPackage{moderncvthemecasual}[2010/05/24 v0.8 modern curriculum vitae style: casual]
|
||||
|
||||
|
||||
%-------------------------------------------------------------------------------
|
||||
@ -142,6 +142,7 @@
|
||||
\ifthenelse{\isundefined{\@phone}}{}{\footersymbol\phonesymbol~\@phone\@firstfooterelementfalse}%
|
||||
\ifthenelse{\isundefined{\@fax}}{}{\footersymbol\faxsymbol~\@fax\@firstfooterelementfalse}%
|
||||
\ifthenelse{\isundefined{\@email}}{}{\footersymbol\emailsymbol~\emaillink{\@email}\@firstfooterelementfalse}%
|
||||
\ifthenelse{\isundefined{\@homepage}}{}{\footersymbol\homepagesymbol~\httplink{\@homepage}\@firstfooterelementfalse}%
|
||||
\ifthenelse{\isundefined{\@extrainfo}}{}{\footersymbol\@extrainfo\@firstfooterelementfalse}}}%
|
||||
}%
|
||||
\pagestyle{plain}}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
%% start of file `moderncvthemeclassic.sty'.
|
||||
%% Copyright 2006-2008 Xavier Danaux (xdanaux@gmail.com).
|
||||
%% Copyright 2006-2010 Xavier Danaux (xdanaux@gmail.com).
|
||||
%
|
||||
% This work may be distributed and/or modified under the
|
||||
% conditions of the LaTeX Project Public License version 1.3c,
|
||||
@ -10,7 +10,7 @@
|
||||
% identification
|
||||
%-------------------------------------------------------------------------------
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{moderncvthemeclassic}[2008/06/17 v0.7 modern curriculum vitae style: classic]
|
||||
\ProvidesPackage{moderncvthemeclassic}[2010/05/24 v0.8 modern curriculum vitae style: classic]
|
||||
|
||||
|
||||
%-------------------------------------------------------------------------------
|
||||
@ -149,6 +149,7 @@
|
||||
\ifthenelse{\isundefined{\@phone}}{}{\maketitledetailsnewline\phonesymbol~\@phone}%
|
||||
\ifthenelse{\isundefined{\@fax}}{}{\maketitledetailsnewline\faxsymbol~\@fax}%
|
||||
\ifthenelse{\isundefined{\@email}}{}{\maketitledetailsnewline\emailsymbol~\emaillink{\@email}}%
|
||||
\ifthenelse{\isundefined{\@homepage}}{}{\maketitledetailsnewline\homepagesymbol~\httplink{\@homepage}}%
|
||||
\ifthenelse{\isundefined{\@extrainfo}}{}{\maketitledetailsnewline\@extrainfo}%
|
||||
\end{minipage}%
|
||||
% optional photo
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
%% start of file `moderncvthemeempty.sty'.
|
||||
%% Copyright 2006-2008 Xavier Danaux (xdanaux@gmail.com).
|
||||
%% Copyright 2006-2010 Xavier Danaux (xdanaux@gmail.com).
|
||||
%
|
||||
% This work may be distributed and/or modified under the
|
||||
% conditions of the LaTeX Project Public License version 1.3c,
|
||||
@ -10,7 +10,7 @@
|
||||
% identification
|
||||
%-------------------------------------------------------------------------------
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesPackage{moderncvthemeempty}[2008/06/17 v0.7 modern curriculum vitae style: empty]
|
||||
\ProvidesPackage{moderncvthemeempty}[2010/05/24 v0.8 modern curriculum vitae style: empty]
|
||||
|
||||
|
||||
%-------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user