我有一份德文 LaTeX 文件。我唯一想要的英文是參考書目條目。我該怎麼做呢?
這是我的最小工作範例:
我的main.tex
文件:
\documentclass[ngerman]{MastersDoctoralThesis}
\usepackage[backend=bibtex, style=ieee, citestyle=numeric-comp, natbib=true, sorting=none]{biblatex}
\addbibresource{bibfile.bib} %The filename of the bibliography
\begin{document}
\chapter{SomeExampleChapter, with Kapitel, not chapter..}
example of a citation \cite{Reference1}. Here everything is in german, e.g. Abbildung statt figure, Kapitel instead of chapter etc...
\printbibliography[heading=bibintoc]
\end{document}
和我的bibfile.bib
:
@article{Reference1,
Author = {C. J. Hawthorn and K. P. Weber and R. E. Scholten},
Journal = {Rev. Sci. Instrum.},
Number = {12},
Pages = {4477--4479},
Title = {Littrow Configuration Tunable External Cavity Diode Laser with Fixed Direction Output Beam},
Year = {2001}
}
到目前為止,參考書目如下: C. J. Hawthorn, K.P. Weber und R.E. Scholten
我希望它是:C. J. Hawthorn, K.P. Weber and R.E. Scholten
這和應該改為和。除此之外,什麼都不該改變。
我知道有人問過類似的問題,但我對那裡的所有答案都感到困惑。
答案1
由於我沒有該類MastersDoctoralThesis
,因此我將其替換為report
, 並且此代碼對我來說效果很好:
\documentclass[english, ngerman]{report}
\usepackage{babel}
\usepackage[backend=bibtex, style=ieee, citestyle=numeric-comp, natbib=true, sorting=none, autolang=other]{biblatex}
\usepackage[autostyle]{csquotes}
\addbibresource{bibfile.bib} %The filename of the bibliography
\begin{document}
\chapter{SomeExampleChapter, with Kapitel, not chapter..}
example of a citation \cite{Reference1}. Here everything is in german, e.g. Abbildung statt figure, Kapitel instead of chapter etc...
\nocite{*}
\printbibliography[heading=bibintoc]
\end{document}