Open Ericcc0921 opened 1 year ago
一种 biblatex
方案:
\documentclass{fduthesis}
\fdusetup{style={auto-make-cover=false, bib-backend=biblatex}}
\begin{filecontents}{test.bib}
@article{a,title={A}}
\end{filecontents}
\addbibresource{test.bib}
% 定义自行使用的引用命令
\usepackage{etoolbox}
\AtEndPreamble{
\DeclareCiteCommand{\mycite}[\mkbibsuperscript]
{\mkbibleftborder\usebibmacro{cite:init}\usebibmacro{prenote}}
{\usebibmacro{citeindex}\usebibmacro{cite:comp}}
{}
{\multicitedelim\usebibmacro{cite:dump}%
~\usebibmacro{postpages}\mkbibrightborder}
}
\begin{document}
特别的引用命令\mycite[definition 1]{a}
\printbibliography
\end{document}
目前\cite命令 \cite[Definition 1]{label 1}的编译结果是 上标{[label 1],Definiton 1}的格式,请问该如何修改可以使定义 Definition 1和label 1一起括进方括号,[label 1, Definition 1 ].