
저는 이 수업을 이용하여 석사 논문을 작성하고 있습니다 book
. 인용문을 본문의 각주로 작성하고 참고문헌 장의 마지막 부분에 수집해야 합니다. 이를 위해서는 두 가지 스타일이 필요합니다. 하나는 각주 인용용이고 다른 하나는 참고문헌 항목용입니다.
패키지 덕분에 필요한 각주 스타일을 만들었습니다 xpatch
. 그런데 논문 마지막에 있는 참고문헌 항목의 스타일을 어떻게 변경하는지 모르겠습니다(현재는 두 스타일이 동일합니다).
각주 인용의 경우 다음과 같이 표시되어야 합니다.
N. 성 등,논문 제목.저널 제목, 편집자, 연도, 페이지
참고문헌 항목의 경우 다음과 같이 표시되어야 합니다.
성 이름,논문 제목.저널 제목, 편집자, 연도
이것이 MWE입니다(각주 인용 스타일이 정확하고 참고문헌 스타일이 잘못되었습니다). XeLaTeX와 Biber를 사용하여 컴파일합니다.
\documentclass[a4paper,12pt]{book}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsfonts}
\usepackage[style=verbose,
doi=false,
firstinits=true,
maxbibnames=99
]{biblatex}
\usepackage{fontspec}
\usepackage{titlesec}
\usepackage{titletoc}
\usepackage{xpatch}
\usepackage[english]{babel}
\setmainfont{Arial}
\pagestyle{plain}
\titleformat{\chapter}[hang]
{\normalfont\huge\bfseries}{\thechapter}{1em}{}
\addbibresource{Bib.bib}
% et al. italics
\xpatchbibmacro{name:andothers}{%
\bibstring{andothers}%
}{%
\bibstring[\emph]{andothers}%
}{}{}
\usepackage{xpatch}
\xpretobibmacro{title}{\unspace\addcomma\addspace}{}{}
\DeclareFieldFormat[article]{title}{\textit{#1}\addcomma}
\DeclareFieldFormat[book]{title}{\textit{#1}\nopunct}
\DeclareFieldFormat[book]{title}{\textit{#1}\addcomma}
\renewbibmacro{in:}{ in\nopunct}
\DeclareFieldFormat{journaltitle}{\guillemotleft #1\guillemotright \addcomma}
\DeclareFieldFormat{pages}{#1}
\setlength\bibitemsep{1.5\itemsep}
%**BEGIN DOCUMENT**
\begin{document}
\chapter{Introduction}
Lorem ipsum\footcite{Aiello2014}
Lorem ipsum\footcite{Arksey1999}
\printbibliography
\end{document}
Bib.bib 파일입니다.
%Aiello_Bulgherano
@article{Aiello2014,
title={{An assessment of the Beerkan method for determining the hydraulic properties of a sandy loam soil}},
author={Aiello, R and Bagarello, V and Barbagallo, S and Consoli, S and Di Prima, S and Giordano, G and Iovino, M},
journal={Geoderma},
volume={235},
pages={300--307},
year={2014},
doi={10.1016/j.geoderma.2014.07.024}
}
%Arksey
@book{Arksey1999,
title={Interviewing for social scientists: An introductory resource with examples},
author={Arksey, Hilary and Knight, Peter T},
year={1999},
publisher={Sage}
}
답변1
스타일에는 여전히 나에게 약간 불분명한 몇 가지 측면이 있지만 다음 내용을 따르면 이미 상당한 수준에 이르렀을 것입니다.
질문을 읽으면서 주로 이름 형식에 관한 것입니다. 변경해야 하는 이름 형식을 이라고 합니다 sortname
. 인용에는 이름 이니셜과 성을 제공하는 형식(새 형식 g-family
)이 필요합니다.
cite:full
의 복사본입니다 cite:full
.verbose.cbx
, ll. 93-99,이름 형식이 변경되었습니다.
참고문헌에서 우리는 "가족 이름" 순서를 원하고 부분 사이에 쉼표가 없어야 합니다( 에 의해 제어됨 \revsdnamepunct
).
참조 요소 사이에 쉼표를 넣도록 방법을 약간 다시 작성했습니다. 를 사용하는 것이 약간 더 쉽고 깔끔합니다 \renewcommand*{\newunitpunct}{\addcomma\space}
.
\documentclass[a4paper,12pt]{article}
\usepackage[english]{babel}
\usepackage[style=verbose,
maxbibnames=999,
doi=false,
]{biblatex}
\DeclareNameFormat{g-family}{%
\usebibmacro{name:given-family}
{\namepartfamily}
{\namepartgiveni}
{\namepartprefix}
{\namepartsuffix}%
\usebibmacro{name:andothers}}
\renewbibmacro*{cite:full}{%
\usebibmacro{cite:full:citepages}%
\printtext[bibhypertarget]{%
\usedriver
{\DeclareNameAlias{sortname}{g-family}}
{\thefield{entrytype}}}%
\usebibmacro{shorthandintro}}
\usepackage{xpatch}
\xpatchbibmacro{name:andothers}{%
\bibstring{andothers}%
}{%
\bibstring[\emph]{andothers}%
}{}{}
\renewcommand*{\newunitpunct}{\addcomma\space}
\renewcommand*{\intitlepunct}{\addspace}
\renewcommand*{\finentrypunct}{}
\DeclareNameAlias{sortname}{family-given}
\renewcommand*{\revsdnamepunct}{}
\DeclareFieldFormat[article]{title}{\mkbibemph{#1}}
\DeclareFieldFormat{journaltitle}{\guillemotleft #1\guillemotright}
\DeclareFieldFormat{pages}{#1}
\setlength\bibitemsep{1.5\itemsep}
\begin{filecontents}{\jobname.bib}
@article{Aiello2014,
title = {An assessment of the Beerkan method for determining
the hydraulic properties of a sandy loam soil},
author = {Aiello, R. and Bagarello, V. and Barbagallo, S. and Consoli, S.
and Di Prima, S. and Giordano, G. and Iovino, M.},
journal = {Geoderma},
volume = {235},
pages = {300--307},
year = {2014},
doi = {10.1016/j.geoderma.2014.07.024}
}
@book{Arksey1999,
title = {Interviewing for social scientists: An introductory resource with examples},
author = {Arksey, Hilary and Knight, Peter T.},
year = {1999},
publisher = {Sage}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}
\begin{document}
Lorem ipsum\footcite{Aiello2014}
ipsum\footcite{Arksey1999}
dolor\footcite{sigfridsson}
\printbibliography
\end{document}