
저는 Latex(TeXShop 4.25)를 처음 사용하는데, 논문을 쓰는 동안 참고문헌에 몇 가지 문제가 있었습니다. 저는 biblatex
Biber를 사용하고 있으며 다음과 같은 참조가 필요합니다.
저자.(연도)"제목". 저널;권(수):페이지.
예를 들어:
볼드윈 I., Halitschke R., Paschold A., von Dahl CC. y 프레스턴 캘리포니아. (2006) "식물-식물 상호작용의 휘발성 신호: 유전체학 시대의 '말하는 나무'". 과학; 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}
그리고 이것이 프로그램이 나에게 인쇄한 것입니다:
볼드윈, IT, Halitschke R., Anja P., von Dahl CC 및 Preston CA(2006). 식물-식물 상호 작용의 휘발성 신호: 유전체학 시대의 말하는 나무.Science 311, 5762, 페이지. 812-815.
아시다시피 저는
- 첫 번째 쉼표("Baldwin, IT")를 제거하고,
- 제목을 큰따옴표로 묶고,
- 저널 뒤에 세미콜론을 붙이세요.
- 볼륨 뒤에 괄호 안에 숫자를 출력하고
- 페이지 앞에 콜론을 표시합니다.
이 참조를 사용자 정의하는 방법을 아는 사람이 있습니까?
답변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}