diff --git a/awesome-cv.cls b/awesome-cv.cls index 9d43d77..13b55cf 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -682,11 +682,11 @@ %\RequirePackage[style=verbose, maxnames=99, sorting=ydnt]{biblatex} \RequirePackage[ % BibLaTeX sorting=ydnt, % Sorts entries by year (descending order), name, title - style=numeric, + style=verbose, doi=false, isbn=true, url=false, - eprint=false + eprint=false, backref = false, % include back references in bibliography maxcitenames=3, % affects only the citations in the document body maxbibnames=99, % affects only the bibliography, pass 99 to print all @@ -695,6 +695,14 @@ backend=biber % {Options: bibtex, biber} ]{biblatex} +% Avoid splitting entries across page break (only for 3 or fewer lines) +% Tip: http://tex.stackexchange.com/a/51261 +\AtBeginEnvironment{thebibliography}{% + \clubpenalty10000 + \@clubpenalty \clubpenalty + \widowpenalty10000 + \interlinepenalty5000} + % Customized format, based on Fancy CV template created by Adrien Friggeri \DeclareFieldFormat[article]{title}{#1\par} \DeclareFieldFormat[inproceedings]{title}{#1\par}