卷号逗号期号

卷号逗号期号

我想对我的围兜外观做一些修改。其中之一是改变文章风格。现在的样子是这样的:在此处输入图片描述

我希望删除引号,并将卷数和发行号改为如下形式 在此处输入图片描述

围兜条目如下所示:`

@article{McMaster.1963,
 author = {McMaster, John},
 year = {1963},
 title = {The Takashima Mine},
 pages = {215--239},
 pagination = {page},
 volume = {38},
 subtitle = {British Capital and Japanese Industrialization},
 journaltitle = {Business History Review},
 number = {3},
 abstract = {}
}

参考书目如下:

%----------------------------------------------------------------------------
%   BIB
%----------------------------------------------------------------------------
 \usepackage[
    backend=biber,
    style=authoryear,
    sorting=nyvt
  ]{biblatex}
  \addbibresource{backmatter/sample.bib}
\renewcommand{\mkbibnamefamily}[1]{\textsc{#1}}
\renewcommand{\labelnamepunct}{\addcolon\space}
\DeclareFieldFormat{postnote}{#1}
\DeclareFieldFormat{multipostnote}{#1}
\renewcommand\postnotedelim{\addcolon\addspace}
\usepackage{url}
\urlstyle{same}

抱歉,我问了这些问题,因为我对 LaTeX 还不太熟悉,还在尝试弄清楚

答案1

ext-authoryear如果您使用biblatex-ext,您只需要再写几行。

volume和之间的标点符号number由 控制。的\volnumdelim字段格式为title\DeclareFieldFormat

\documentclass[ngerman]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}

 \usepackage[
    backend=biber,
    style=ext-authoryear,
    sorting=nyvt
  ]{biblatex}

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

\DeclareDelimFormat{nametitledelim}{\addcolon\space}

\DeclareFieldFormat
  [article,inbook,incollection,inproceedings,patent,thesis,unpublished]
  {title}{#1\isdot}

\renewcommand*{\volnumdelim}{\addcomma\space}

\renewcommand\postnotedelim{\addcolon\space}
\DeclareFieldFormat{postnote}{#1}
\DeclareFieldFormat{multipostnote}{#1}

\usepackage{url}
\urlstyle{same}


\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{McMaster.1963,
 author = {McMaster, John},
 year = {1963},
 title = {The Takashima Mine},
 pages = {215--239},
 pagination = {page},
 volume = {38},
 subtitle = {British Capital and Japanese Industrialization},
 journaltitle = {Business History Review},
 number = {3},
 abstract = {}
}
\end{filecontents}

\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}

\begin{document}
\cite{sigfridsson,McMaster.1963}
\printbibliography
\end{document}

McMaster, John (1963)。高岛矿。英国资本与日本工业化。《商业历史评论》38,3,第 215-239 页。//Sigfridsson, Emma und Ulf Ryde (1998)。从电势和电矩推导原子电荷的方法比较。《计算化学杂志》19,4,第 377-395 页。doi:10.1002/(SICI)1096-987X(199803)19:4<377::AID-JCC1>3.0.CO;2-P。


如果你不能(或不想)使用ext-authoryear,则上面的一行\renewcommand*{\volnumdelim}{\addcomma\space}需要替换为

\newcommand*{\volnumdelim}{\addcomma\space}

\renewbibmacro*{volume+number+eid}{%
  \printfield{volume}%
  \setunit*{\volnumdelim}%
  \printfield{number}%
  \setunit{\addcomma\space}%
  \printfield{eid}}

当然,如果您愿意的话,您可以省去这里的中间人\volnumdelim,直接写信\setunit*{\addcomma\space}%

相关内容