diff cv.sty @ 23:6396966cca25

Update
author Daniele Nicolodi <daniele@grinta.net>
date Thu, 16 Sep 2021 23:42:27 +0200
parents a74b9e0f9064
children 49001fa5195c
line wrap: on
line diff
--- a/cv.sty	Fri Jul 26 16:42:55 2019 -0600
+++ b/cv.sty	Thu Sep 16 23:42:27 2021 +0200
@@ -17,11 +17,13 @@
 
 % mailto command
 \DeclareRobustCommand\mailto[1]{\href{mailto:#1}{\nolinkurl{#1}}}
+% orcid command
+\DeclareRobustCommand\orcid[1]{\href{https://orcid.org/#1}{\nolinkurl{#1}}}
 
 % header and footer
 \pagestyle{fancy}
-\lhead{\fontsize{9}{12}\sf Curriculum Vitae: \@name}
-\rhead{\fontsize{9}{12}\sf\thepage}
+\lhead{\fontsize{9}{12}\selectfont Curriculum Vitae: \@name}
+\rhead{\fontsize{9}{12}\selectfont \thepage}
 \cfoot{}
 
 % date format
@@ -41,15 +43,13 @@
   {\color{thered}\Large\textbf{Curriculum Vitae}\\[0.5em]}%
   {\LARGE\textbf{\@name}\\[0.5em]}%
   \setlength{\tabcolsep}{0pt}
-  \begin{tabular*}{0.55\textwidth}{l}
+  \begin{tabular*}{0.6\textwidth}[t]{l}
     \@address
   \end{tabular*}
   \setlength{\tabcolsep}{0.25em}
-  \begin{tabular}{rl}
+  \begin{tabular}[t]{rl}
     \@info
-  \end{tabular}
-  \vspace*{1em}
-}
+  \end{tabular}}
 
 % section headings
 \titlelabel{}
@@ -72,7 +72,7 @@
   {\endlist\vspace*{-1ex}}
 
 % bibliography formatting
-\usepackage[backend=biber,bibstyle=authortitle,sorting=none]{biblatex}
+\usepackage[backend=biber,bibstyle=authortitle,sorting=ydnt]{biblatex}
 
 % biblatex version in texlive 2010 does not contain this definition
 \defbibheading{none}{}{}{}
@@ -81,6 +81,7 @@
 \DeclareFieldFormat{pages}{#1}
 \DeclareFieldFormat{journaltitle}{#1}
 \DeclareFieldFormat{year}{\textbf{#1}}
+\DeclareFieldFormat{date}{\textbf{#1}} % used for online entry type
 \DeclareFieldFormat[article]{title}{\textit{#1}}
 
 \DeclareFieldFormat{doi}{%