
私は Latex (TeXShop 4.25) を使い始めたばかりで、論文を書いているときに参考文献に関していくつか問題がありました。私は biblatex
Biber を使用しており、次のような参考文献が必要です。
著者.(年)"タイトル". ジャーナル;巻(番号):ページ.
例えば:
Baldwin I.、Halitschke R.、Paschold A.、von Dahl CC.、Preston CA. (2006)「植物間の相互作用における揮発性シグナル伝達:ゲノミクス時代の『話す木々』」Science; 311(5762):812-815。
私が見つけた最も近いスタイルは authoryear で、私が作成したコードは次のとおりです。
\documentclass{article}
\usepackage[backend=biber,
style=authoryear,
sorting=nyt,
sortlocale=de_DE,
natbib=true,
url=false,
doi=false,
isbn=false,
maxcitenames=2,
maxbibnames=9,
eprint=false]
{biblatex} ç
\addbibresource{References.bib}
\begin{document}
\cite{baldwin06}
\printbibliography
\end{document}
そして、プログラムが印刷したものは次のようになります:
Baldwin, IT、Halitschke R.、Anja P.、von Dahl CC、Preston CA (2006)。植物間の相互作用における揮発性シグナル伝達:ゲノミクス時代の会話する樹木。Science 311、5762、812-815 ページ。
お気づきかと思いますが、私は
- 最初のカンマを削除します(「Baldwin, IT」)。
- タイトルを二重引用符で囲み、
- journalの後にセミコロンを入れます。
- ボリュームの後に括弧で数字を印刷し、
- ページの前にコロンを表示します。
この参照をカスタマイズする方法を知っている人はいますか?
答え1
解決策は次のとおりです:
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents}{References.bib}
@article{baldwin06,
Author = {Baldwin, I. and Halitschke, R. and Paschold, A. and von Dahl, C.C. and Preston, C.A.},
Journal = {Science},
Number = {5762},
Pages = {812--815},
Title = {Volatile signaling in plant–plant interactions:‘talking trees’ in the genomics era},
Volume = {311},
Year = {2006}}
\end{filecontents}
% Baldwin I., Halitschke R., Paschold A., von Dahl CC. y Preston CA. (2006) “Volatile signaling in plant–plant interactions:‘talking trees’ in the genomics era”. Science; 311(5762):812-815.
\usepackage[backend=biber,
style=authoryear,
sorting=nyt,
sortlocale=de_DE,
natbib=true,
url=false,
doi=false,
isbn=false,
maxcitenames=2,
maxbibnames=9,
eprint=false]
{biblatex}
\addbibresource{References.bib}
\usepackage{xpatch}
\xpatchbibdriver{article}{%
\usebibmacro{in:}}{}{}{}
\xpatchbibmacro{journal+issuetitle}{%
\setunit*{\addspace}}{%
\setunit*{\addsemicolon\addspace}}{}{}
\DeclareFieldFormat[article,periodical]{number}{\mkbibparens{#1}}% number of a journal
\DeclareFieldFormat[article,periodical]{pages}{#1}
\renewbibmacro*{volume+number+eid}{%
\printfield{volume}%
\setunit*{\space}%
\printfield{number}%
\setunit{\addcomma\space}%
\printfield{eid}}
\renewbibmacro*{note+pages}{%
\printfield{note}%
\setunit{\addcolon\addspace}%
\printfield{pages}%
\newunit}
\begin{document}
\cite{baldwin06}
\printbibliography
\end{document}