Latex - 参考书目样式 - 错误

Latex - 参考书目样式 - 错误

我正在使用以下软件包来编写文章中的参考书目。

\usepackage{amsmath,natbib,wrapfig}

由于我的 bib 文件 jaarefer 中的参考文献在 pdf 文件中显示为?,因此我使用了以下命令。

\renewcommand{\refname}{Bibliography}

我的 bib 样式如下 \bibliographystyle{unsrt} \bibliography{jaarefer}

当我编译包含以下内容的 tex 文件时。

"and the dynamical evolution, most of the OCs in general survive only up to a few 100 Myr \citep{PortegiesZwart2010}"

pdf 中的输出如下。

"and the dynamical evolution, most of the OCs in general survive only up to a few 100 Myr[1]. "

我希望引用的参考文献如下

"and the dynamical evolution, most of the OCs in general survive only up to a few 100 Myr (PortegiesZwartetal.2010)." 

我该如何实现这一点?MWE 如下所示

\documentclass{jaa}  

%%download jaa.cls and save it in the folder of  your source file  


%%suggested packages to be included  
\usepackage{graphicx}  

%%The following packages are included with the class file.  
%%Please download if these packages are not included  
%%in your local TeX distribution   
%%txfonts,balance,textcase,float,amsmath  

\usepackage[round]{natbib}  
\usepackage{amsmath,wrapfig}  
\renewcommand{\refname}{Bibliography}  

\newcommand{\aap}{A\&A}  

\begin{document}\sloppy  

***%% \sloppy was in the    sample tex file. I haven't changed that***  
%%include \doinum{number}for the DOI number in the header  
%%include \volnum{number} for the volume number in the header  
%%include \year{yyyy} for  year of publication in the header  
%%include \pgrange{num--num} page range of article in the header  
%%include \artcitid{num} for the article citation id  
%%include \lp to print last page of the article  
%%include \setcounter{page}{pagenum} for the exact starting page of the article  

\doinum{12.3456/s78910-011-012-3}  
\artcitid{\#\#\#\#}  
\volnum{000}  
\year{0000}  
\pgrange{1--}  
\setcounter{page}{1}  
\lp{1}  


\section{Introduction}  
the dynamical evolution, most of the OCs in general survive only up to a few 100 Myr \citep{PortegiesZwart2010}. 


\end{document}  

我从以下网站下载了 tex 和 class 文件。

http://www.ias.ac.in/Journals/Journal_of_Astrophysics_and_Astronomy/Information_for_Authors

答案1

可以从以下位置下载类和示例文件http://www.ias.ac.in/Journals/Journal_of_Astrophysics_and_Astronomy/Information_for_Authors不要使用专用的参考书目包。

引文完全由人工制作jaaSample.tex

Section text here (Clark \& Caswell 1976; Zwicky 1957).  

参考书目如下

\begin{theunbibliography}{} 
\vspace{-1.5em}

\bibitem{latexcompanion} 
Clark D. H., Caswell J. L. 1976, MNRAS, 174, 267 
\bibitem{latexcompanion} 
Dickey, J. M., Salpeter, E. E., Terzian, Y. 1978, Astrophys. J. Suppl. Ser., 36, 77
\bibitem{latexcompanion} 
Radhakrishnan, G. C. {\em et al.} 1980, in Evans A., Bode M. F., eds, Non-Solar Gamma Rays (COSPAR), Pergamon Press, Oxford, p. 163
\bibitem{latexcompanion}
Starrfield S., Iliadis C., Hix W. R. 2008, in Bode M. F., Evans A., eds, Classical Novae, 2nd edition, Cambridge University Press, Cambridge, p. 77
\bibitem{latexcompanion}
Van Loon J. Th. 2008, in Evans A. et al., eds, R S Ophiuchi (2006) and the Recurrent Nova Phenomenon, ASP Conference Series, Volume 401, p. 90
\bibitem{latexcompanion} 
Zwicky, F. 1957, Morphological Astronomy, Springer-Verlag, Berlin, p. 258
\end{theunbibliography}

latexcompanion请注意,将用作所有参考文献的关键词的做法荒谬且坦率地说是错误的。但由于他们没有使用 来引用\cite,因此这并不重要。

我从未见过这种环境theunbibliography,但如果需要使用它,我认为不太可能使用.bst不经修改的标准样式。

现在它变得更加……有趣。类不仅定义了theunbibliography它还定义了thebibliography。此外,它还强制\bibliographystyle{unsrt}unsrt在我看来,这种风格并不能与所需的作者年份引用风格很好地配合。

如果你想向这个期刊投稿,我的建议是手动创建参考书目和引文。这可能是最省事的,我不确定他们是否可以处理.bbl文件或其他参考书目包。

相关内容