如何按照以下格式编写引文

如何按照以下格式编写引文

我是 Latex 新手,不熟悉引用系统。我需要用 Latex 写一篇论文,并按照图中的样式生成引用。

关于这种风格的一些事情: 在此处输入图片描述

每个引文前没有数字。每个引文的作者姓名必须加粗。出版年份必须跟在作者姓名后面

我有一个使用的模板。可以在这里下载: https://drive.google.com/open?id=0B_LJgXEFhuRGdDFsdU8xM2ZWWGM

答案1

由于您没有提供有关您使用哪种参考书目包的详细信息,或者有关您的文档或要求的任何其他信息,因此这里提供使用 BibLaTeX 的解决方案:

\documentclass[a4paper,11pt]{article}
\usepackage{filecontents}
\usepackage[backend=biber,style=authoryear,giveninits=true]{biblatex}
\addbibresource{Lit.bib}

\begin{filecontents}{Lit.bib}
@ARTICLE{Aguilera-Franco:2001,
  author = {Noemi Aguilera-Franco and Ulises Hern\'{a}ndez-Romano and Peter A.
    Allison},
  year = {2001},
  title = {Biostratigraphy and Environmental Changes Across the {Cenomanian--Turonian}
    Boundary, Southern {Mexico}},
  journal = {Journal of South American Earth Sciences},
  volume = {14},
  number = {2},
  pages = {237--255},
  doi = {10.1016/S0895-9811(01)00014-1}
}
\end{filecontents}

%BibLaTeX setup
%Print author names in bold
\renewcommand{\mkbibnamefirst}[1]{\textbf{#1}}
\renewcommand{\mkbibnamefamily}[1]{\textbf{#1}}
\renewcommand{\mkbibnameprefix}[1]{\textbf{#1}}
\renewcommand{\mkbibnameaffix}[1]{\textbf{#1}}

%No space between initials
\renewcommand{\bibinitdelim}{}
%No full stop after initials
\renewcommand{\bibinitperiod}{}
%No comma between last name and first name/intials (in last-name--first-name order)
\renewcommand{\revsdnamepunct}{}

%Print all authors as Last name-first name (author-date system)
\DeclareNameAlias{sortname}{last-first}

%Reformat separators for authors
\renewcommand{\multinamedelim}{\addcomma\space}
\renewcommand{\finalnamedelim}{\addcomma\space}

%Remove fulstop after year
\renewcommand{\labelnamepunct}{\addspace}

%Remove qutotation marks from titles
\DeclareFieldFormat
    [article,inbook,incollection,inproceedings,patent,thesis,unpublished]
    {title}{#1\isdot}

%Set journal and booktitles upright
\DeclareFieldFormat[article]{journaltitle}{#1}
\DeclareFieldFormat[book]{title}{#1}
\DeclareFieldFormat[inbook]{booktitle}{#1}
\DeclareFieldFormat[incollection]{booktitle}{#1}
\DeclareFieldFormat[inproceedings]{booktitle}{#1}

%Remove "pp." only in journals page-ranges
\DeclareFieldFormat[article]{pages}{#1}

%Just remove "in" before journal articles, leave rest as is
\renewbibmacro{in:}{%
    \ifentrytype{article}{}{%
    \printtext{\bibstring{in}\intitlepunct}}%
}

%volume and issue as volume instead of volume.issue
\renewbibmacro*{volume+number+eid}{%
    \printfield{volume}%
    \setunit*{\space}%
    \setunit{\addcomma\space}%
    \printfield{eid}}

%colon plus space before pages in journals
\renewbibmacro*{note+pages}{%
    \printfield{note}%
    \setunit{\addcolon\space}%
    \printfield{pages}%
    \newunit}

\begin{document}
Test \textcite{Aguilera-Franco:2001}

\printbibliography
\end{document}

相关内容