方括号中为 Springer 文档类 svjour3 的参考资料

方括号中为 Springer 文档类 svjour3 的参考资料

我正在使用 springer svjour3。我希望参考文献部分的参考编号放在方括号中。

例如:

[1] Moritz AR, Zamchek N (1946) 年轻士兵的突然和意外死亡。Arch Pathol 42: 459- 494。

[2] Janssen W, Naeve W (1975) Der plötzliche Tod aus natürlicher Ursache.引自:Müller B (Hrsg) Gerichtliche Medizin。 Springer,柏林海德堡纽约,Bd 1,2。Aufl。 248-304

我需要包含什么包才能使参考编号包含在方括号中?

这是我的代码:

\RequirePackage{fix-cm}


%\documentclass{svjour3}                     % onecolumn (standard format)

%\documentclass[smallcondensed]{svjour3}     % onecolumn (ditto)

\documentclass[smallextended,envcountsame,envcountchap,oribibl]{svjour3}   

% onecolumn (second format)

%\documentclass[twocolumn]{svjour3}          % twocolumn

\smartqed  % flush right qed marks, e.g. at end of proof
%

\usepackage{graphicx}

\usepackage{multirow}

\usepackage[linesnumbered,ruled,vlined]{algorithm2e}

\usepackage{array}

\usepackage{amsmath}

\usepackage{mathrsfs} 

\usepackage{amssymb} 

\usepackage{algpseudocode}

\usepackage[section]{placeins}

\usepackage{hyperref}

\bibliographystyle{spbasic}

%
% \usepackage{mathptmx}      % use Times fonts if available on your TeX system


\begin{document}


\begin{thebibliography}{}


% and use \bibitem to create references. Consult the Instructions

% for authors for reference list style.


\bibitem{Schouten}

 Schouten K, Frasincar F 2016 Survey on aspect-level sentiment analysis, In:IEEE

Transactions on Knowledge and Data Engineering 28(3):813–830.

\bibitem{Pang}

Pang B, Lee L, Vaithyanathan S 2002 Thumbs up?: sentiment classification using

machine learning techniques, In: Proceedings of the ACL-02 conference

on Empirical methods in natural language processing, 10:Association

for Computational Linguistics,79–86.

\end{thebibliography}

\end{document}

答案1

您可以重新定义 bib 标签以在定义中包含方括号:

\documentclass{svjour3}   

\makeatletter
\renewcommand{\@biblabel}[1]{[#1]}
\makeatother

\begin{document}

\cite{Pang}

\begin{thebibliography}{9}

\bibitem{Schouten}

 Schouten K, Frasincar F 2016 Survey on aspect-level sentiment analysis, In:IEEE

Transactions on Knowledge and Data Engineering 28(3):813–830.

\bibitem{Pang}

Pang B, Lee L, Vaithyanathan S 2002 Thumbs up?: sentiment classification using

machine learning techniques, In: Proceedings of the ACL-02 conference

on Empirical methods in natural language processing, 10:Association

for Computational Linguistics,79–86.

\end{thebibliography}

\end{document}

在此处输入图片描述

相关内容