xdanaux / moderncv

A modern curriculum vitae class for LaTeX
1.8k stars 556 forks source link

Publications using multibib is not compatible with natbib #103

Closed alanlivio closed 2 years ago

alanlivio commented 2 years ago

When using both natbib and multibib, the \bibliography does not appear as a subsection. More precisely, the following code from moderncv.cls not work when using natbib.

\newcommand*{\bibliographyhead}[1]{\section{#1}}
 \AtEndPreamble{\@ifpackageloaded{multibib}{\renewcommand*{\bibliographyhead}[1]{\subsection{#1}}}{}}

I found this workaround:

\renewcommand{\bibsection}{\subsection{\bibname}}
alanlivio commented 2 years ago

closed in favor of https://github.com/moderncv/moderncv/issues/94