0

I have found a solution for using modernCV with biblatex here:

only problem is: when using the biblatex-style "verbose-inote" There is some empty space after the dash, that replaces the author's name, when mentioned already. Is there a way to display the entry correctly without that empty space? Thank you.

\documentclass{moderncv}
\usepackage[style=verbose-inote,backend=biber]{biblatex}

\defbibenvironment{bibliography}
{\list
{\printtext[labelnumberwidth]{% label format from numeric.bbx
        \printfield{labelprefix}%
        \printfield{labelnumber}}}
{\setlength{\topsep}{0pt}% layout parameters from moderncvstyleclassic.sty
    \setlength{\labelwidth}{\hintscolumnwidth}%
    \setlength{\labelsep}{\separatorcolumnwidth}%
    \leftmargin\labelwidth%
    \advance\leftmargin\labelsep}%
\sloppy\clubpenalty4000\widowpenalty4000}
{\endlist}
{\item}

\moderncvstyle{classic}  
\moderncvcolor{blue}       
\firstname{John}
\familyname{Doe}

\addbibresource{biblatex-examples.bib}
\begin{document}
\makecvtitle
\nocite{companion,knuth:ct:a,knuth:ct:b}
\printbibliography[title={Publications}]
\end{document}
2
  • 1
    dashed=false? What do you mean by 'display correctly'? Can you show us a full MWE that reproduces the behaviour? The linked answer does not use biblatex.
    – moewe
    Commented Jan 22, 2018 at 13:59
  • thank you for the quick answer. The link is now corrected.
    – nimbus
    Commented Jan 22, 2018 at 14:10

1 Answer 1

0

You need to redefine \bibnamedash, the default definition gives a very wide box due to your large \leftmargin.

\documentclass{moderncv}
\usepackage[style=verbose-inote,backend=biber]{biblatex}

\defbibenvironment{bibliography}
{\list
{\printtext[labelnumberwidth]{% label format from numeric.bbx
        \printfield{labelprefix}%
        \printfield{labelnumber}}}
{\setlength{\topsep}{0pt}% layout parameters from moderncvstyleclassic.sty
    \setlength{\labelwidth}{\hintscolumnwidth}%
    \setlength{\labelsep}{\separatorcolumnwidth}%
    \leftmargin\labelwidth%
    \advance\leftmargin\labelsep}%
\sloppy\clubpenalty4000\widowpenalty4000}
{\endlist}
{\item}
\renewcommand*{\bibnamedash}{\mbox{\textemdash\space}}%
\moderncvstyle{classic}
\moderncvcolor{blue}
\firstname{John}
\familyname{Doe}

\addbibresource{biblatex-examples.bib}
\begin{document}
\makecvtitle
\nocite{companion,knuth:ct:a,knuth:ct:b}
\printbibliography[title={Publications}]
\end{document}

enter image description here

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .