1

I am using springer svjour3. I want the reference numbers to be in square brackets in the reference section.

For example:

[1] Moritz AR, Zamchek N (1946) Sudden and unexpected death of young soldiers. Arch Pathol 42: 459- 494.

[2] Janssen W, Naeve W (1975) Der plötzliche Tod aus natürlicher Ursache. In: Müller B (Hrsg) Gerichtliche Medizin. Springer, Berlin Heidelberg New York, Bd 1, 2. Aufl. S 248-304

What package do I need to include to make reference numbers include in square brackets?

This is my code:

\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}
Troy
  • 13,741
avinash
  • 25
  • 3

1 Answers1

2

You could redefine the bib label to include square brackets in the definition:

\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}

enter image description here