我想在文档中结合两种引用样式:文本中的上标(我已使用 进行设置\usepackage[superscript,biblabel]{cite}
),但稍后在参考书目中用方块显示。您能给我一些提示吗?
\documentclass{article}
\usepackage[superscript,biblabel]{cite}
\usepackage{filecontents}
\begin{filecontents}{test.bib}
@book{A1,
author = {Author, A.},
year = {2001},
title = {Alpha},
}
@book{B2,
author = {Buthor, B.},
year = {2002},
title = {Bravo},
}
@article{C3,
author = {Cuthor, C.},
year = {2003},
title = {Charlie},
}
\end{filecontents}
\begin{document}
I am citing these three glorious works \cite{A1, B2, C3}.
\bibliography{test}
\bibliographystyle{plain}
\end{document}
最后,我希望有这样的东西
答案1
根据cite
包的文档
该选项biblabel
定义要匹配的书目标签\cite
,这就是您要做的不是想要。去掉它,快乐起来。
\documentclass{article}
\usepackage[superscript]{cite}
\usepackage{filecontents}
\begin{filecontents}{test.bib}
@book{A1,
author = {Author, A.},
year = {2001},
title = {Alpha},
}
@book{B2,
author = {Buthor, B.},
year = {2002},
title = {Bravo},
}
@article{C3,
author = {Cuthor, C.},
year = {2003},
title = {Charlie},
}
\end{filecontents}
\begin{document}
I am citing these three glorious works \cite{A1, B2, C3}.
\bibliography{test}
\bibliographystyle{plain}
\end{document}