1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2025-07-06 10:11:05 +01:00
Files
fresh-themes/themes/awesome/src/latex/examples/cv/writing.tex
2016-02-13 22:48:52 -05:00

29 lines
1.0 KiB
TeX

[~ if (r.writing && r.writing.length ) { ~]
%-------------------------------------------------------------------------------
% SECTION TITLE
%-------------------------------------------------------------------------------
\cvsection{Writing}
%-------------------------------------------------------------------------------
% CONTENT
%-------------------------------------------------------------------------------
\begin{cventries}
[~ _.each( r.writing, function(wri) { ~]
%---------------------------------------------------------
\cventry
{[~ print( wri.publisher ? wri.publisher.name : 'Unknown' ) ~]} % Role
{[[ wri.title ]]} % Title
{[[ wri.url ]]} % Location
{[[ h.date(wri.date) ]]} % Date(s)
{[~ if (wri.highlights && wri.highlights.length) { ~]
\begin{cvitems} % Description(s)
[~ print( h.pad( wri.highlights.map( function(h) { return '\\item {' + h + '}' }), -8 ) ) ~]
\end{cvitems}
[~ } ~]}
[~ }); ~]
%---------------------------------------------------------
\end{cventries}
[~ } ~]