Biblatex 2.8a biblatex chem-angew 样式,无方括号

Biblatex 2.8a biblatex chem-angew 样式,无方括号

我是 LaTeX 的新手,并决定用它来撰写我的博士论文(pdflatex.exe、TexStudio2.6.6、Win7x64)。

开始吧。angew. chem. 样式的文本中通常没有方括号。我怎样才能修改 chem-angew.bbx,以便去掉那些括号,\cite{1}得到 [1]?

我知道我必须重新定义一些命令,但缺乏知识使我无法完成任务。有人能帮助我吗?

这是一个 MWE

\documentclass{article}

\usepackage[style=chem-angew,sortcites=true]{biblatex}

\renewcommand{\cite}{\supercite}

\usepackage{filecontents}

\begin{filecontents}{test.bib}
@book{A01,
  author = {Author, A.},
  year = {2001},
  title = {Alpha},
}
@book{B02,
  author = {Buthor, B.},
  year = {2002},
  title = {Bravo},
}
@article{C03,
  author = {Cuthor, C.},
  year = {2003},
  title = {Charlie},
}
\end{filecontents}

\addbibresource{test.bib}

\begin{document}

We are citing \cite{A01,C03} and \cite{B02} and \cite{A01,B02,C03}

\printbibliography
\end{document}

答案1

另一种可能性 — — 因为我认为该 superbracket命令仅用于引用:将其添加到您的序言中:

\let\mkbibsuperbracket\mkbibsuperscript

答案2

您需要修改的声明\supercite,对于应用样式包括标准括号:

\DeclareCiteCommand{\supercite}[\mkbibsuperscript] % Change here
  {\usebibmacro{cite:init}%
   \let\multicitedelim=\supercitedelim
   \iffieldundef{prenote}
     {}
     {\BibliographyWarning{Ignoring prenote argument}}%
   \iffieldundef{postnote}
     {}
     {\BibliographyWarning{Ignoring postnote argument}}}
  {\usebibmacro{citeindex}%
   \usebibmacro{cite:comp}}
  {}
  {\usebibmacro{cite:dump}}

相关内容