From 5762fb3a4432ee7927d769522bb35fe20d295e23 Mon Sep 17 00:00:00 2001 From: Ben Whitney Date: Wed, 8 Mar 2017 16:45:43 -0500 Subject: [PATCH] Awesome: add service section. --- themes/awesome/src/latex/examples/cv.tex | 1 + .../awesome/src/latex/examples/cv/service.tex | 28 +++++++++++++++++++ themes/awesome/src/latex/examples/resume.tex | 1 + .../src/latex/examples/resume/service.tex | 28 +++++++++++++++++++ themes/awesome/theme.json | 1 + 5 files changed, 59 insertions(+) create mode 100644 themes/awesome/src/latex/examples/cv/service.tex create mode 100644 themes/awesome/src/latex/examples/resume/service.tex diff --git a/themes/awesome/src/latex/examples/cv.tex b/themes/awesome/src/latex/examples/cv.tex index 74a84ce..123383e 100644 --- a/themes/awesome/src/latex/examples/cv.tex +++ b/themes/awesome/src/latex/examples/cv.tex @@ -90,6 +90,7 @@ \input{cv/education.tex} \input{cv/skills.tex} \input{cv/experience.tex} +\input{cv/service.tex} \input{cv/extracurricular.tex} \input{cv/honors.tex} \input{cv/presentation.tex} diff --git a/themes/awesome/src/latex/examples/cv/service.tex b/themes/awesome/src/latex/examples/cv/service.tex new file mode 100644 index 0000000..d503bbb --- /dev/null +++ b/themes/awesome/src/latex/examples/cv/service.tex @@ -0,0 +1,28 @@ +[~ if (r.service && r.service.history && r.service.history.length ) { ~] +%------------------------------------------------------------------------------- +% SECTION TITLE +%------------------------------------------------------------------------------- +\cvsection{Service} + + +%------------------------------------------------------------------------------- +% CONTENT +%------------------------------------------------------------------------------- +\begin{cventries} +[~ _.each( r.service.history, function(job) { ~] +%--------------------------------------------------------- + \cventry + {[[ job.position ]]} % Job title + {[[ job.organization ]]} % Organization + {[[ job.location ]]} % Location + {[[ h.dateRange( job ) ]]} % Date(s) + {[~ if (job.highlights && job.highlights.length ) { ~] + \begin{cvitems} % Description(s) of tasks/responsibilities +[[ h.pad( job.highlights.map( function(h) { return '\\item {' + h + '}' }), -8 ) ]] + \end{cvitems} + [~ } ~]} + +[~ }); ~] +%--------------------------------------------------------- +\end{cventries} +[~ } ~] diff --git a/themes/awesome/src/latex/examples/resume.tex b/themes/awesome/src/latex/examples/resume.tex index c209976..60d7086 100644 --- a/themes/awesome/src/latex/examples/resume.tex +++ b/themes/awesome/src/latex/examples/resume.tex @@ -90,6 +90,7 @@ % \input{resume/summary.tex} \input{resume/education.tex} \input{resume/experience.tex} +\input{resume/service.tex} \input{resume/extracurricular.tex} \input{resume/honors.tex} \input{resume/presentation.tex} diff --git a/themes/awesome/src/latex/examples/resume/service.tex b/themes/awesome/src/latex/examples/resume/service.tex new file mode 100644 index 0000000..d503bbb --- /dev/null +++ b/themes/awesome/src/latex/examples/resume/service.tex @@ -0,0 +1,28 @@ +[~ if (r.service && r.service.history && r.service.history.length ) { ~] +%------------------------------------------------------------------------------- +% SECTION TITLE +%------------------------------------------------------------------------------- +\cvsection{Service} + + +%------------------------------------------------------------------------------- +% CONTENT +%------------------------------------------------------------------------------- +\begin{cventries} +[~ _.each( r.service.history, function(job) { ~] +%--------------------------------------------------------- + \cventry + {[[ job.position ]]} % Job title + {[[ job.organization ]]} % Organization + {[[ job.location ]]} % Location + {[[ h.dateRange( job ) ]]} % Date(s) + {[~ if (job.highlights && job.highlights.length ) { ~] + \begin{cvitems} % Description(s) of tasks/responsibilities +[[ h.pad( job.highlights.map( function(h) { return '\\item {' + h + '}' }), -8 ) ]] + \end{cvitems} + [~ } ~]} + +[~ }); ~] +%--------------------------------------------------------- +\end{cventries} +[~ } ~] diff --git a/themes/awesome/theme.json b/themes/awesome/theme.json index fa8f506..544fbfc 100644 --- a/themes/awesome/theme.json +++ b/themes/awesome/theme.json @@ -28,6 +28,7 @@ "src/latex/examples/cv/committees.tex", "src/latex/examples/cv/education.tex", "src/latex/examples/cv/experience.tex", + "src/latex/examples/cv/service.tex", "src/latex/examples/cv/extracurricular.tex", "src/latex/examples/cv/honors.tex", "src/latex/examples/cv/presentation.tex",