moderncv에서 참조 섹션 제목을 변경할 수 없습니다.

moderncv에서 참조 섹션 제목을 변경할 수 없습니다.

다음 서문과 함께 moderncv 문서 클래스를 사용하여 CV를 작성하려고 합니다.

\documentclass[10pt,letter]{moderncv}

% CV Theme Settings

\moderncvtheme[black]{classic}

% Font and Typography Settings

\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[babel=true]{microtype}

....

내 출판물에는 다음과 같은 코드가 있습니다.

\nocite{*}
\bibliographystyle{plainyr}
\bibliography{publications}

pdflatex및 댄스를 사용하여 CV를 조판하면 bibtex내 발행물이 참조 머리글 아래에 표시됩니다. 섹션 제목을 출판물로 변경하는 방법을 아는 사람이 있나요? 다음과 같이 섹션을 수동으로 배치해 보았습니다.

\section{\textbf{Publications}}
\nocite{*}
\bibliographystyle{plainyr}
\bibliography{publications}

그러나 이렇게 하면 빈 출판물 섹션과 참고문헌이라는 제목의 섹션만 배치됩니다.

미리 감사드립니다.

답변1

babel옵션 과 함께 사용하고 있으므로 english이것을 추가해야합니다.

\addto\captionsenglish{\renewcommand\refname{Publications}}

문서의 서문에. 전체 예제(모든 사람이 예제를 컴파일할 수 있도록 일부 설정을 변경했지만 이는 관련이 없습니다):

\begin{filecontents}{xxyy.bib}
\@misc{A,
  author="Author",
  year="2024"
}
\end{filecontents}
\documentclass[10pt,letter]{moderncv}
\moderncvtheme[black]{classic}
\usepackage[english]{babel}

\firstname{John}
\familyname{Doe}

\addto\captionsenglish{\renewcommand\refname{Publications}}

\begin{document}

\maketitle

\nocite{*}
\bibliographystyle{plain}
\bibliography{xxyy}

\end{document}

여기에 이미지 설명을 입력하세요

관련 정보