clean up template
Update examples
This commit is contained in:
parent
b52a57ca66
commit
a5ed6c3792
Binary file not shown.
Binary file not shown.
@ -8,7 +8,6 @@ mobile: 0123456789
|
||||
email: john.doe@domain.com
|
||||
theme:
|
||||
color: green
|
||||
style: classic
|
||||
cron-sections:
|
||||
- section: Job
|
||||
entries:
|
||||
|
BIN
examples/moderncv-orange-casual/moderncv-orange-casual.pdf
Normal file
BIN
examples/moderncv-orange-casual/moderncv-orange-casual.pdf
Normal file
Binary file not shown.
47
examples/moderncv-orange-casual/moderncv-orange-casual.yaml
Normal file
47
examples/moderncv-orange-casual/moderncv-orange-casual.yaml
Normal file
@ -0,0 +1,47 @@
|
||||
---
|
||||
name:
|
||||
first: John
|
||||
family: Doe
|
||||
address:
|
||||
first: street and number
|
||||
mobile: 0123456789
|
||||
email: john.doe@domain.com
|
||||
theme:
|
||||
style: casual
|
||||
color: orange
|
||||
cron-sections:
|
||||
- section: Job
|
||||
entries:
|
||||
- year: 2018--2020
|
||||
degree: Job Title
|
||||
institution: Institution
|
||||
city: City
|
||||
grade: Grade
|
||||
- section: Education
|
||||
entries:
|
||||
- year: 2015--2018
|
||||
degree: Degree
|
||||
institution: Institution
|
||||
city: City
|
||||
grade: Grade
|
||||
description: Insert here the description
|
||||
- year: 2010--2015
|
||||
degree: Degree
|
||||
institution: Institution
|
||||
city: City
|
||||
grade: Grade
|
||||
description: Insert here the description
|
||||
sections:
|
||||
- section: Languages
|
||||
items:
|
||||
- left: English
|
||||
right: Good
|
||||
- section: Skills
|
||||
items:
|
||||
- left: Category 1
|
||||
right: xxx, yyy, zzz
|
||||
- left: Category 2
|
||||
right: xxx, yyy, zzz
|
||||
- left: Category 3
|
||||
right: xxx, yyy, zzz
|
||||
---
|
Binary file not shown.
81
pancv.tex
81
pancv.tex
@ -1,86 +1,85 @@
|
||||
\newcommand{\pancvname}[2]{
|
||||
$if(europass)$
|
||||
\newcommand{\pancvname}[2]{
|
||||
\ecvname{#1 #2}
|
||||
$else$
|
||||
\firstname{#1}
|
||||
\familyname{#2}
|
||||
$endif$
|
||||
}
|
||||
|
||||
\newcommand{\pancvphone}[1]{
|
||||
$if(europass)$
|
||||
\ecvtelephone{#1}
|
||||
$else$
|
||||
\phone{#1}
|
||||
$endif$
|
||||
}
|
||||
|
||||
\newcommand{\pancvmobile}[1]{
|
||||
$if(europass)$
|
||||
\ecvmobile{#1}
|
||||
$else$
|
||||
\mobile{#1}
|
||||
$endif$
|
||||
}
|
||||
|
||||
\newcommand{\pancvemail}[1]{
|
||||
$if(europass)$
|
||||
\ecvemail{#1}
|
||||
$else$
|
||||
\email{#1}
|
||||
$endif$
|
||||
}
|
||||
|
||||
\newcommand{\pancvaddress}[2]{
|
||||
$if(europass)$
|
||||
\ecvaddress{#1, #2}
|
||||
$else$
|
||||
\address{#1}{#2}
|
||||
$endif$
|
||||
}
|
||||
|
||||
\newcommand{\pancvsection}[1]{
|
||||
$if(europass)$
|
||||
\ecvsection{#1}
|
||||
$else$
|
||||
\section{#1}
|
||||
$endif$
|
||||
}
|
||||
|
||||
\newcommand{\pancventry}[6]{
|
||||
$if(europass)$
|
||||
\ecvitem{#1}{
|
||||
\textbf{#2},
|
||||
#3.
|
||||
\ifthenelse{\isempty{#4}}{}{#4}
|
||||
\ifthenelse{\isempty{#5}}{}{#5.}
|
||||
\ifthenelse{\isempty{#6}}{}{\newline #6}}
|
||||
$else$
|
||||
\cventry{#1}{#2}{#3}{#4}{#5}{#6}
|
||||
$endif$
|
||||
}
|
||||
|
||||
\newcommand{\pancvitem}[2]{
|
||||
$if(europass)$
|
||||
\ecvitem{#1}{#2}
|
||||
$else$
|
||||
\cvline{#1}{#2}
|
||||
$endif$
|
||||
}
|
||||
$else$
|
||||
\newcommand{\pancvname}[2]{
|
||||
\firstname{#1}
|
||||
\familyname{#2}
|
||||
}
|
||||
|
||||
\newcommand{\pancvphone}[1]{
|
||||
\phone{#1}
|
||||
}
|
||||
|
||||
\newcommand{\pancvmobile}[1]{
|
||||
\mobile{#1}
|
||||
}
|
||||
|
||||
\newcommand{\pancvemail}[1]{
|
||||
\email{#1}
|
||||
}
|
||||
|
||||
\newcommand{\pancvaddress}[2]{
|
||||
\address{#1}{#2}
|
||||
}
|
||||
|
||||
\newcommand{\pancvsection}[1]{
|
||||
\section{#1}
|
||||
}
|
||||
|
||||
\newcommand{\pancventry}[6]{
|
||||
\cventry{#1}{#2}{#3}{#4}{#5}{#6}
|
||||
}
|
||||
|
||||
\newcommand{\pancvitem}[2]{
|
||||
\cvline{#1}{#2}
|
||||
}
|
||||
$endif$
|
||||
|
||||
$if(europass)$
|
||||
\documentclass{europasscv}
|
||||
$else$
|
||||
\documentclass{moderncv}
|
||||
$if(theme)$
|
||||
\moderncvtheme[$theme.color$]{$theme.style$}
|
||||
$else$
|
||||
\moderncvtheme[blue]{classic}
|
||||
$endif$
|
||||
$endif$
|
||||
|
||||
\usepackage{xifthen}
|
||||
|
||||
$else$
|
||||
\documentclass{moderncv}
|
||||
\moderncvtheme[$if(theme.color)$$theme.color$$else$blue$endif$]{$if(theme.style)$$theme.style$$else$classic$endif$}
|
||||
$endif$
|
||||
|
||||
$if(name)$
|
||||
\pancvname{$name.first$}{$name.family$}
|
||||
$endif$
|
||||
|
Loading…
Reference in New Issue
Block a user