我正在为一门课程写一篇论文,我发现一种引用风格与讲师希望我们使用的风格非常相似,唯一的问题是我需要在期刊名称后面加一个逗号。我在这里使用以下风格 -http://www.ctan.org/pkg/nar- 有人知道怎么做吗?这样我就可以避免定制自己的引用风格。
答案1
您需要修改该.bst
文件以实现您想要的输出。
找到nar.bst
你的计算机,将其复制到 LaTeX 可以找到的位置,并将其重命名为,例如mynar.bst
。打开mynar.bst
并查找FUNCTION {article}
(在我的文件中,它位于第 626 行)。在之后journal emphasize "journal" output.check
,添加", " *
,因此函数变为
FUNCTION {article}
{ output.bibitem
format.authors "author" output.check
format.date "year" output.check % TDS move date to here
new.block
% format.title "title" output.check % TDS NO TITLES
% new.block
crossref missing$
{ journal emphasize "journal" output.check
", " * % this is new
format.vol.num.pages output
% format.date "year" output.check % TDS move date
}
{ format.article.crossref output.nonnull
format.pages output
}
if$
new.block
note output
fin.entry
}
要使用修改后的样式,请更改\bibliographystyle{nar}
为\bibliographystyle{mynar}
。
数学家协会
\documentclass{article}
\begin{filecontents}{\jobname.bib}
@book{testbook,
author = {Walter Ordsmith},
title = {The Work},
subtitle = {Subtitle},
year = {1983},
publisher = {P. Ublisher \& Co.},
address = {Townsville},
}
@article{testart1,
author = {Steven C. Ientist},
title = {Thrilling, Intelligent and True Limes of Erudition},
journal = {Journal of Articles},
volume = {20},
number = {3},
year = {1935},
pages = {1--46},
}
@article{testart2,
author = {Steven C. Ientist},
title = {Title},
journal = {Journal of Articles},
volume = {20},
number = {4},
year = {1935},
pages = {50--70},
}
@article{testart3,
author = {Arnold Uthor and William Riter},
title = {A Very Interesting Article},
journal = {Journal of Articles},
volume = {7},
number = {3},
pages = {1-5},
year = {2010},
}
\end{filecontents}
\begin{document}
\nocite{*}
\bibliographystyle{mynar}
\bibliography{\jobname}
\end{document}
结果是