summaryrefslogtreecommitdiff
path: root/friggeri-cv.cls
diff options
context:
space:
mode:
Diffstat (limited to 'friggeri-cv.cls')
-rw-r--r--friggeri-cv.cls12
1 files changed, 9 insertions, 3 deletions
diff --git a/friggeri-cv.cls b/friggeri-cv.cls
index 9f1fe5d..12712c7 100644
--- a/friggeri-cv.cls
+++ b/friggeri-cv.cls
@@ -118,9 +118,9 @@
}
\renewcommand{\subsection}[2]{
- \par\vspace{1\parskip}%
+ \par\vspace{.5\parskip}%
\Large\headingfont\color{headercolor} #2%
- \par\vspace{1.25\parskip}%
+ \par\vspace{.25\parskip}%
}
\pagestyle{empty}
@@ -266,10 +266,16 @@
\newcommand{\printbibsection}[2]{
\begin{refsection}
\nocite{*}
- \printbibliography[type={#1}, title={#2}, heading=subbibliography]
+ \printbibliography[sorting=chronological, type={#1}, title={#2}, heading=subbibliography]
\end{refsection}
}
+\DeclareSortingScheme{chronological}{
+ \sort[direction=descending]{\field{year}}
+ \sort[direction=descending]{\field{month}}
+}
+
+
%%%%%%%%%%%%%%%%
% Other tweaks %