在 moderncv 中使用 multibbl 进行反向排序

在 moderncv 中使用 multibbl 进行反向排序

我需要按时间倒序排列简历,并向下编号,以出版物总数作为第一个数字。我使用moderncvmultibbl包,因为简历需要使用不同编号的单独部分。我无法找到使用和组合来解决这个问题的方法moderncvmultibbl这可能吗?

\documentclass[11pt,letterpaper,roman]{moderncv} 
\moderncvstyle{casual}                            
\moderncvcolor{blue}                 
\usepackage[utf8]{inputenc}                      
\usepackage[scale=0.75]{geometry}
\usepackage{multibbl}
\makeatletter\renewcommand*{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}}\makeatother
\newbibliography{papers}
\newbibliography{books}
\newbibliography{invited}
\newbibliography{presentations}

\begin{document}

\nocite{papers}{*}
\bibliographystyle{papers}{unsrt}
\bibliography{papers}{papers.bib}{Peer-reviewed Journal Articles}
\nocite{books}{*}
\bibliographystyle{books}{unsrt}
\bibliography{books}{books.bib}{Book Chapters}

\end{document}

答案1

您可以使用biblatexetaremunemultibib获得您想要的东西:

\begin{filecontents}{\jobname.bib}
  @article{citation01,
    Author = {Doe, John and Roe, Jane},
    Journal = {Fancy Journal},
    Pages = {123--145},
    Title = {Lorem ipsum dolor sit amet, consectetur adipiscing elit},
    Volume = {2},
    Year = {2012}}
  @article{citation02,
    Author = {Doe, John and Roe, Jane},
    Journal = {Fancy Journal},
    Pages = {12--34},
    Title = {Lorem ipsum dolor sit amet, consectetur adipiscing elit.},
    Volume = {1},
    Year = {2014}}
  @book{citation03,
    Author = {Doe, John and Roe, Jane},
    Title = {Lorem ipsum dolor sit amet, consectetur adipiscing elit.},
    publisher = {Company},
    location = {Somewhere},
    Year = {2013}}
\end{filecontents}


\documentclass[11pt,letterpaper,roman]{moderncv}
 
\moderncvstyle{casual}
\moderncvcolor{blue}
 
\usepackage[utf8]{inputenc}
\usepackage[scale=0.75]{geometry}

\makeatletter\renewcommand*{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}}\makeatother
\usepackage[babel]{csquotes}
\usepackage[%
  sorting=ydnt, maxbibnames=99, isbn=false, doi=false, firstinits, 
  terseinits, defernumbers, backend=biber
]{biblatex} % <=========================================================
\addbibresource{\jobname.bib}

\usepackage{etaremune} % <======================== for reverse numbering

\defbibenvironment{bibliography}
  {\renewcommand\labelenumi{[\theenumi]}
   \etaremune} % <======================================================
  {\endetaremune} % <===================================================
  {\item}

\name{John}{Doe}
\title{CV}
\email{[email protected]}


\begin{document}

\makecvtitle

\section{Education}
\cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description}

\nocite{citation01,citation02,citation03}

%\printbibheading[title={Publications}]
\printbibliography[type=article, title={Peer-reviewed Journal Articles},resetnumbers ]
\printbibliography[type=book, title={Book Chapters},resetnumbers ]

\end{document}

得到的 pdf 格式如下:

在此处输入图片描述

相关内容