我开始深入biblatex
处理我的资源。
目前我正在使用style=alphabetic
。但是对于cite
文本中的命令,我希望有一个像 这样的输出[Smith 2005]
。参考书目也应该显示这个键[Smith 2005]
,就像字母样式一样。
是否已经有了合适的风格或者我需要做一些调整?
--- 编辑 1 ---
除了已经为authoryear
样式进行的自定义之外,我还想添加以下内容
- 为了更好地阅读,参考书目中的条目应该在第一行后有一个小的缩进(编辑:请忽略它,这是由
parskip=half
使用的文档类的选项引起的scrbook
) - 编辑也应该列出姓氏和名字。对于作者,我会这样做
\DeclareNameAlias{sortname}{last-first}
- 重复的作者不应该在参考书目中用---替换。
我目前的 biblatex 配置如下:
\RequirePackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@book{smith1,
author={John Smith and Mike Someone},
title={The book with a very very very very very long title},
year={2005},
location={New York},
publisher={Publisher},
}
@book{smith2,
author={John Smith and Mike Someone},
title={The book2},
year={2006},
location={New York},
publisher={Publisher},
}
@incollection{Grasso2010,
location = {New York},
Author = {Grasso, D. and Burkins, M. D.},
Booktitle = {Holistic Engineering Education -- Beyond Technology},
Editor = {Grasso, D. and Burkins, M. D.},
Pages = {1-10},
Publisher = {Springer},
Title = {Beyond Technology: The Holistic Advantage},
Year = {2010},
}
\end{filecontents*}
\documentclass[12pt]{article}
\usepackage[style=authoryear,%
backend=biber,%
language=english,%
backref=true,%
maxcitenames=1,%
maxbibnames=99,
doi=true
]{biblatex}
\addbibresource{\jobname}
\DeclareNameAlias{sortname}{last-first}
\DeclareCiteCommand{\cite}[\mkbibbrackets]
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}\usebibmacro{cite}}
{\multicitedelim}
{\usebibmacro{postnote}}
\setlength\bibitemsep{1em}
\renewcommand{\bibfont}{\small}
\begin{document}
\cite{smith1} \cite{smith2} \cite{Grasso2010}
\printbibliography
\end{document}
提前感谢您的支持。 Christian
答案1
编辑
现在我只提供例子。
\RequirePackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@book{smith1,
author={John Smith and Mike Someone},
title={The book with a very very very very very long title},
year={2005},
location={New York},
publisher={Publisher},
}
@book{smith2,
author={John Smith and Mike Someone},
title={The book2},
year={2006},
location={New York},
publisher={Publisher},
}
@incollection{Grasso2010,
location = {New York},
Author = {Grasso, D. and Burkins, M. D.},
Booktitle = {Holistic Engineering Education -- Beyond Technology},
Editor = {Grasso, D. and Burkins, M. D.},
Pages = {1-10},
Publisher = {Springer},
Title = {Beyond Technology: The Holistic Advantage},
Year = {2010},
}
\end{filecontents*}
\documentclass[12pt]{article}
\usepackage[style=authoryear,%
backend=biber,%
language=english,%
backref=true,%
maxcitenames=1,%
maxbibnames=99,
doi=true,
dashed=false
]{biblatex}
\addbibresource{\jobname}
\DeclareNameAlias{sortname}{last-first}
\DeclareNameAlias{default}{last-first}
\DeclareCiteCommand{\cite}[\mkbibbrackets]
{\usebibmacro{prenote}}
{\usebibmacro{citeindex}\usebibmacro{cite}}
{\multicitedelim}
{\usebibmacro{postnote}}
\setlength\bibitemsep{1em}
\renewcommand{\bibfont}{\small}
\begin{document}
\cite{smith1} \cite{smith2} \cite{Grasso2010}
\printbibliography
\end{document}
答案2
我认为您所需的参考书目样式是或cell
。有关其他可能有用的参考书目样式,请查看以下链接。apalike
apasoft
http://amath.colorado.edu/documentation/LaTeX/reference/faq/bibstyles.html
对于 biblatex,我相信您所需的参考书目样式是apa
。有关可能有用的其他参考书目样式,请查看以下链接。
http://www.ctan.org/tex-archive/macros/latex/exptl/biblatex-contrib