
저는 기본 클래스 기사/scrartcl을 사용하고 있습니다. 나는 두 부분으로 구성된 (수동으로 만든) 참고문헌을 가지고 있습니다. 다음과 같이 다른 이름으로 다른 부분을 TOC에 추가할 수 있습니다.
\addcontentsline{toc}{section}{Primärliteratur}
\begin{thebibliography}
...
\end{thebibliography}
\addcontentsline{toc}{section}{Internetquellen}
\begin{thebibliography}
...
\end{thebibliography}
하지만 물론 참고문헌 부분의 두 부분 모두에 "Literatur"라는 제목이 붙었습니다. \renewcommand{\bibname}{Internetquellen}을 삽입하려고 하면
두 번째 참고문헌 환경 앞에는 도움이 되지 않습니다. 참고문헌에 대한 2개의 서로 다른 헤더를 얻으려면 어떻게 해야 합니까?
답변1
사용해야 합니다 \refname
. 게다가 환경 \addcontentsline
내부로 들어가야 합니다 thebibliography
.
\renewcommand{\refname}{Primärliteratur}
\begin{thebibliography}{99}% <-- fix the number
\addcontentsline{toc}{section}{Primärliteratur}
...
\end{thebibliography}
\renewcommand{\refname}{Internetquellen}
\begin{thebibliography}{99}% <-- fix the number
\addcontentsline{toc}{section}{Internetquellen}
...
\end{thebibliography}
\refname
대신에 어떻게 알 수 있나요 \bibname
? 왜냐하면 에서는 ngermanb.ldf
"Literatur"가 와 연관되어 있는 \refname
반면 의 기본값은 \bibname
"Literaturverzeichnis"이기 때문입니다.
클래스 article
는 을 사용 \refname
하고, report
및 book
클래스는 을 사용합니다 \bibname
.
에 대한 필수 인수를 잊지 마세요 \begin{thebibliography}
.