将数字添加到参考书目 - Latex

时间:2018-03-05 17:48:30

标签: latex bibliography

我的文档编号引用存在问题。这是我在\begin{document}之前的序言:

\documentclass[polish]{article}

%\newcommand{\DoNotLoadEpstopdf}{}

\usepackage[T1]{fontenc}
\usepackage{polski}
\usepackage[polish]{babel}
\usepackage[margin=3cm]{geometry}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage[none]{hyphenat}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{titlesec}
\usepackage{csquotes}
\usepackage{indentfirst}
\usepackage{datetime}
\usepackage{mathtools}
\usepackage{xparse,eqparbox,amsmath}
\usepackage{color}

\usepackage{subfig}


%-------Definition of \signature--
 \def\signature#1#2#3{{\hskip#1in{\hbox to #2in%
{\leaders\hbox to .00625in{\hfil.\hfil}\hfill}}%
 \par\hskip#1in#3\vskip1cm}}
%------------------------------
% https://tex.stackexchange.com/a/34412/5764
\makeatletter
\NewDocumentCommand{\eqmathbox}{o O{c} m}{%
    \IfValueTF{#1}
    {\def\eqmathbox@##1##2{\eqmakebox[#1][#2]{$##1##2$}}}
    {\def\eqmathbox@##1##2{\eqmakebox{$##1##2$}}}
    \mathpalette\eqmathbox@{#3}
}
\makeatother

\newcommand{\ts}{\quad}

%-------Big chapter letters--
\titleformat{\chapter}[display]
  {\huge\headingfont}{\chaptertitlename\ \thechapter}{20pt}{\Huge}
%------------------------------

\frenchspacing

\numberwithin{equation}{section}

\renewcommand{\baselinestretch}{1.3}

现在,当我尝试创建参考书目时:

\begin{thebibliography}

\bibitem{1939}
N. Bohr, J. Wheeler, \textit{Phys. Rev.}, \textbf{56} (1939) 426.
\bibitem{parametryzacje}
R. W. Hasse, W. D. Myers, \textit{Geometrical Relationships of Macroscopic Nuclear Physics}, Springer-Verlag, Berlin, 1988. 
\bibitem{MFH}
K. Pomorski and J. Bartel, \textit{IJMPE} Vol. \textbf{15} No. 2, 417 (2006).
\bibitem{Krappe}
H. J. Krappe, J. R. Nix, A. J. Sierk, \textit{Phys. Rev. C} \textbf{20}, 922 (1979).
\bibitem{Moll1}
P. M{\"o}ller, J. R. Nix, \textit{Nucl. Phys. A} \textbf{361}, 117 (1981).
\bibitem{Moll2}
P. M{\"o}ller, J. R. Nix, W. D. Myers, W. J. Świątecki, \textit{At. Data and Nucl. Data Tables} \textbf{59}, 185 (1995).
\bibitem{Muntian}
I. Muntian, Z. Patyk, A. Sobiczewski, \textit{Acta Phys. Pol. B} \textbf{32}, 691 (2001).
\bibitem{Pomorski}
Bożena Nerlo-Pomorska, Krzysztof Pomorski, \textit{Zarys teorii jądra atomowego}, PWN, Warszawa, 1999.

\end{thebibliography}

我收到了这个错误,而且我的参考书目中没有数字:

linia 553: Paragraph ended before \list was complete.
linia 553: Extra }, or forgotten \endgroup.
linia 553: Extra }, or forgotten \endgroup.
linia 553: Extra }, or forgotten \endgroup.
linia 554: Lonely \item--perhaps a missing list environment. \bibitem{1939}
linia 556: Lonely \item--perhaps a missing list environment. \bibitem{parametryzacje}
linia 558: Lonely \item--perhaps a missing list environment. \bibitem{MFH}
linia 560: Lonely \item--perhaps a missing list environment. \bibitem{Krappe}
linia 562: Lonely \item--perhaps a missing list environment. \bibitem{Moll1}
linia 564: Lonely \item--perhaps a missing list environment. \bibitem{Moll2}
linia 566: Lonely \item--perhaps a missing list environment. \bibitem{Muntian}
linia 568: Lonely \item--perhaps a missing list environment. \bibitem{Pomorski}
: No style for language 'polish'.
linia 554: Underfull \hbox (badness 10000) detected
linia 556: Underfull \hbox (badness 10000) detected
linia 558: Underfull \hbox (badness 10000) detected
linia 560: Underfull \hbox (badness 10000) detected
linia 562: Underfull \hbox (badness 10000) detected
linia 564: Underfull \hbox (badness 10000) detected
linia 566: Underfull \hbox (badness 10000) detected
linia 568: Underfull \hbox (badness 10000) detected
: There were multiply-defined labels.

我尝试使用\bibliographystyle{stylename},但它不起作用。我不知道如何获得数字。 您有任何想法如何解决这个问题吗?

1 个答案:

答案 0 :(得分:2)

你错过了一件事:\begin{thebibliography}你必须定义宽度,例如\begin{thebibliography}{9},有关详细信息,请参阅https://tex.stackexchange.com/questions/198330/argument-in-thebibliography