我用英语写论文,但需要用瑞典语写一份摘要,我想将其包含在我的 Latex 文档中。因此,当我使用命令时,我需要在两种语言之间切换\citep
。
\documentclass{article}
\usepackage{natbib}
\begin{document}
This is the first referece \citep{baker_two_2010}.
Here I want to change language from English \{and\} to Swedish \{och\}.
This is the second reference \citep{barss_phases_2006}
\bibliography{bibex}
\bibliographystyle{linquiry2}
\end{document}
第一个\citep
命令将打印 (Baker and Vinokurova 2010)。第二个\citep
命令将打印 (Barss and Carnie 2006)。我希望第二个命令打印 (Barss och Carnie 2006)。我不希望最终的书目混合语言。书目中的所有条目都应为英语,而不是瑞典语,这是当前的输出。
这些是文件中的条目.bib
。
@article{baker_two_2010,
title = {Two modalities of case assignment: Case in {Sakha}},
volume = {28},
issn = {0167-806X},
doi = {10.1007/s11049-010-9105-1},
language = {English},
number = {3},
journal = {Natural Language \& Linguistic Theory},
author = {Baker, Mark C. and Vinokurova, Nadya},
year = {2010},
keywords = {Agreement, Case assignment, Dependent case, Sakha, Turkic languages},
pages = {593--642},
}
@article{barss_phases_2006,
title={Phases and nominal interpretation},
author={Carnie, Andrew and Barss, Andrew},
year= {2006},
journal = {Research in Language},
volume = {4},
pages = {127-132}
}
这.bst
是MWE 中使用的文件的链接。
答案1
使用 Biblatex 可以轻松完成。(现在对于原始问题来说已经太晚了,但其他看到该问题的人可能会感兴趣。)
\documentclass{article}
\usepackage[swedish, british]{babel}
\usepackage[style=authoryear, natbib]{biblatex}
\addbibresource{bibex.bib}
\begin{document}
Here is some text \citep{baker_two_2010}.
\begin{otherlanguage}{swedish}
Svensk sammanfattning: Läs \citet{barss_phases_2006}!
\end{otherlanguage}
\printbibliography
\end{document}
答案2
使用natlib 引用样式,我有一个bibstyle.bst
包含以下部分的文件,您可以在其中更改引用中特定单词的语言:
%% Here are the language-specific definitions for explicit words.
%% Each function has a name bbl.xxx where xxx is the English word.
FUNCTION {bbl.and}
{ "och"}
在里面main.tex
,
\bibliographystyle{bibstyle.bst}
\bibliography{bibliography}
希望这可以帮助。