仅用于参考列表的小写字母

仅用于参考列表的小写字母

我正在尝试对我的格式进行最后的修改,biblatex将作者姓名放在小写字母中,但只在参考列表中。

\renewcommand{\mkbibnamelast}[1]{\textsc{#1}}

在参考文献列表和引用中均将作者姓名以小写形式显示。

你会推荐什么?

编辑:

我在下面添加了一个例子。

\documentclass{article}

\usepackage{filecontents}
\usepackage[T1]{fontenc}

\usepackage[style=authoryear, backend = biber, natbib, maxcitenames = 2, maxbibnames=99, minnames=1, giveninits]{biblatex}
\addbibresource{\jobname.bib}

\begin{filecontents}[force]{\jobname.bib}
@incollection{key,
    address = {Vienna},
    edition = {Österreichischen Akademie der Wissenschaften},
    title = {Cremation burials in {Greece} from the {Late} {Bronze} {Age} to the {Early} {Iron} {Age}: continuity or change?},
    booktitle = {Brandbestattungen von der mittleren {Donau} bis zur Ägäis zwischen 1300 und 750 v. {Chr}.},
    author = {Ruppenstein, Florian},
    editor = {Lochner, M. and Ruppenstein, Florian},
    year = {2013},
    pages = {185--196},
}
\end{filecontents}

\DeclareNameFormat{family}{%
  \usebibmacro{name:family}
    {\namepartfamily}
    {\namepartgiven}
    {\namepartprefix}
    {\namepartsuffix}%
  \usebibmacro{name:andothers}}


\DeclareNameAlias{sortname}{family-given}

\renewcommand{\postnotedelim}{: }
\DeclareFieldFormat{postnote}{#1}
\renewcommand{\nameyeardelim}{ }%

\DefineBibliographyExtras{british}{%
  \DeclareBibstringSet{latin}{andothers,ibidem}%
  \DeclareBibstringSetFormat{latin}{\mkbibemph{#1}}%
}

\DeclareFieldFormat[article,inbook,inproceedings,patent,thesis,unpublished,suppbook,suppcollection,suppperiodical]{title}{#1}
\DeclareFieldFormat[incollection]{title}{\mkbibemph{#1}}
\DeclareFieldFormat{author}{\mkbibacro{#1}}
\DeclareFieldFormat[article]{author}{\sc #1}
\renewbibmacro{in:}{, in }
\DeclareFieldFormat{pages}{#1}

\AtEveryBibitem{\clearfield{month}}
\AtEveryCitekey{\clearfield{month}}
\renewcommand*{\bibpagespunct}{\addcolon\space}

\AtBeginBibliography{%
  \renewcommand*{\finalnamedelim}{%
    \ifnumgreater{\value{liststop}}{2}{\finalandcomma}{}%
    \addspace\&\space}%
}



\begin{document}

This is the good reference \citep{key}.

\printbibliography

\noindent Expected output:

\textsc{Ruppenstein}, F. 2013. Cremation burials in Greece from the Late Bronze Age to the Early Iron Age: continuity or change?, in M. Lochner \& F. Ruppenstein (ed.) \emph{Brandbestattungen von der mittleren Donau bis zur Ägäis zwischen 1300 und 750 v. Chr.}: 185--196. Vienna: Österreichischen Akademie der Wissenschaften.

\end{document}

答案1

对于大多数标准样式(除numeric- 和alphabetic-based 样式之外的所有样式),下面的方法应该可以工作

\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}

\usepackage[backend=biber, style=authoryear]{biblatex}

\DeclareNameWrapperFormat{sortname}{%
  \renewcommand*{\mkbibnamefamily}{\textsc}%
  #1%
}

\addbibresource{biblatex-examples.bib}

\begin{document}
Lorem \autocite{sigfridsson,westfahl:space}

\printbibliography
\end{document}

“Lorem (Sigfridsson and Ryde 1998; Westfahl 2000)” 没有小写字母。参考书目中的小写字母

numeric基于和alphabetic基于样式的标准样式中,您可能需要三行附加行

\DeclareNameWrapperAlias{author}{sortname}
\DeclareNameWrapperAlias{editor}{sortname}
\DeclareNameWrapperAlias{translator}{sortname}

相关内容