将数字添加到参考书目 - Latex
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了将数字添加到参考书目 - Latex相关的知识,希望对你有一定的参考价值。
我的文档中有编号引用的问题。这是我在egin{document}
之前的前言:
documentclass[polish]{article}
%
ewcommand{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--
defsignature#1#2#3{{hskip#1in{hbox to #2in%
{leadershbox to .00625in{hfil.hfil}hfill}}%
parhskip#1in#3vskip1cm}}
%------------------------------
% https://tex.stackexchange.com/a/34412/5764
makeatletter
NewDocumentCommand{eqmathbox}{o O{c} m}{%
IfValueTF{#1}
{defeqmathbox@##1##2{eqmakebox[#1][#2]{$##1##2$}}}
{defeqmathbox@##1##2{eqmakebox{$##1##2$}}}
mathpaletteeqmathbox@{#3}
}
makeatother
ewcommand{ s}{quad}
%-------Big chapter letters--
itleformat{chapter}[display]
{hugeheadingfont}{chaptertitlename hechapter}{20pt}{Huge}
%------------------------------
frenchspacing
umberwithin{equation}{section}
enewcommand{aselinestretch}{1.3}
现在,当我尝试创建我的参考书目时:
egin{thebibliography}
ibitem{1939}
N. Bohr, J. Wheeler, extit{Phys. Rev.}, extbf{56} (1939) 426.
ibitem{parametryzacje}
R. W. Hasse, W. D. Myers, extit{Geometrical Relationships of Macroscopic Nuclear Physics}, Springer-Verlag, Berlin, 1988.
ibitem{MFH}
K. Pomorski and J. Bartel, extit{IJMPE} Vol. extbf{15} No. 2, 417 (2006).
ibitem{Krappe}
H. J. Krappe, J. R. Nix, A. J. Sierk, extit{Phys. Rev. C} extbf{20}, 922 (1979).
ibitem{Moll1}
P. M{"o}ller, J. R. Nix, extit{Nucl. Phys. A} extbf{361}, 117 (1981).
ibitem{Moll2}
P. M{"o}ller, J. R. Nix, W. D. Myers, W. J. Świątecki, extit{At. Data and Nucl. Data Tables} extbf{59}, 185 (1995).
ibitem{Muntian}
I. Muntian, Z. Patyk, A. Sobiczewski, extit{Acta Phys. Pol. B} extbf{32}, 691 (2001).
ibitem{Pomorski}
Bożena Nerlo-Pomorska, Krzysztof Pomorski, extit{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. ibitem{1939}
linia 556: Lonely item--perhaps a missing list environment. ibitem{parametryzacje}
linia 558: Lonely item--perhaps a missing list environment. ibitem{MFH}
linia 560: Lonely item--perhaps a missing list environment. ibitem{Krappe}
linia 562: Lonely item--perhaps a missing list environment. ibitem{Moll1}
linia 564: Lonely item--perhaps a missing list environment. ibitem{Moll2}
linia 566: Lonely item--perhaps a missing list environment. ibitem{Muntian}
linia 568: Lonely item--perhaps a missing list environment. ibitem{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.
我试图使用ibliographystyle{stylename}
但它不起作用。我不知道如何获得数字。你有任何想法如何解决这个问题?
答案
你错过了一件事:egin{thebibliography}
你必须定义宽度,例如egin{thebibliography}{9}
,有关详细信息,请参阅https://tex.stackexchange.com/questions/198330/argument-in-thebibliography
以上是关于将数字添加到参考书目 - Latex的主要内容,如果未能解决你的问题,请参考以下文章
R kableExtra latex:将换行符添加到旋转的标题行