![书目不是按外观排序的。已经尝试将 abbrv 更改为 unsrt!](https://linux22.com/image/277386/%E4%B9%A6%E7%9B%AE%E4%B8%8D%E6%98%AF%E6%8C%89%E5%A4%96%E8%A7%82%E6%8E%92%E5%BA%8F%E7%9A%84%E3%80%82%E5%B7%B2%E7%BB%8F%E5%B0%9D%E8%AF%95%E5%B0%86%20abbrv%20%E6%9B%B4%E6%94%B9%E4%B8%BA%20unsrt%EF%BC%81.png)
我对 Texmaker 和 BibTeX 还很陌生。需要按照文章中出现的顺序获取参考文献,但它一直显示作者顺序。我发现了类似的问题并尝试更改abbrv
为unset
,但没有成功。非常感谢您的帮助!
我正在使用论文模板,正如你所见,我已经将样式从 abbrv 更改为 unsrt
\documentclass[master=eelt,masteroption=ei]{kulemt}
\setup{title={The best master thesis ever},
author={First Author\and Second Author},
promotor={Prof.\,dr.\,ir.\ Knows Better},
assessor={Ir.\,Kn. Owsmuch\and K. Nowsrest},
assistant={Ir.\ An~Assistent \and A.~Friend}}
% The following \setup may be removed entirely if no filing card is wanted
\setup{filingcard,
translatedtitle=,
udc=621.3,
shortabstract={Here comes a very short abstract, containing no more than 500
words. \LaTeX\ commands can be used here. Blank lines (or the command
\texttt{\string\pa r}) are not allowed!
\endgraf \lipsum[2]}}
% Uncomment the next line for generating the cover page
%\setup{coverpageonly}
% Uncomment the next \setup to generate only the first pages (e.g., if you
% are a Word user.
%\setup{frontpagesonly}
% Choose the main text font (e.g., Latin Modern)
\setup{font=lm}
% If you want to include other LaTeX packages, do it here.
% Finally the hyperref package is used for pdf files.
% This can be commented out for printed versions.
\usepackage[pdfusetitle,colorlinks,plainpages=false]{hyperref}
%%%%%%%
% The lipsum package is used to generate random text.
% You never need this in a real master thesis text!
\IfFileExists{lipsum.sty}%
{\usepackage{lipsum}\setlipsumdefault{11-13}}%
{\newcommand{\lipsum}[1][11-13]{\par And some text: lipsum ##1.\par}}
%%%%%%%
%\includeonly{chap-n}
\begin{document}
\begin{preface}
I would like to thank everybody who kept me busy the last year,
especially my promotor and my assistants. I would also like to thank the
jury for reading the text. My sincere gratitude also goes to my wive and
the rest of my family.
\end{preface}
\tableofcontents*
\begin{abstract}
The \texttt{abstract} environment contains a more extensive overview of
the work. But it should be limited to one page.
\lipsum[1]
\end{abstract}
% A list of figures and tables is optional
%\listoffigures
%\listoftables
% If you only have a few figures and tables you can use the following instead
\listoffiguresandtables
% The list of symbols is also optional.
% This list must be created manually, e.g., as follows:
\chapter{List of Abbreviations and Symbols}
\section*{Abbreviations}
\begin{flushleft}
\renewcommand{\arraystretch}{1.1}
\begin{tabularx}{\textwidth}{@{}p{12mm}X@{}}
LoG & Laplacian-of-Gaussian \\
MSE & Mean Square error \\
PSNR & Peak Signal-to-Noise ratio \\
\end{tabularx}
\end{flushleft}
\section*{Symbols}
\begin{flushleft}
\renewcommand{\arraystretch}{1.1}
\begin{tabularx}{\textwidth}{@{}p{12mm}X@{}}
42 & ``The Answer to the Ultimate Question of Life, the Universe,
and Everything'' according to \cite{h2g2} \\
$c$ & Speed of light \\
$E$ & Energy \\
$m$ & Mass \\
$\pi$ & The number pi \\
\end{tabularx}
\end{flushleft}
% Now comes the main text
\mainmatter
\include{intro}
\include{chap-1}
\include{chap-2}
% ... and so on until
\include{chap-n}
\include{conclusion}
% If you have appendices:
\appendixpage* % if wanted
\appendix
\include{app-A}
% ... and so on until
\include{app-n}
\backmatter
% The bibliography comes after the appendices.
% You can replace the standard "abbrv" bibliography style by another one.
**\bibliographystyle{unsrt}
\bibliography{references}**
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
答案1
为了刷新/更新/解决损坏的
.aux
文件,有时删除.bbl
和.aux
文件会有所帮助。测试示例来自http://www.andy-roberts.net/writing/latex/bibliographies
更换 55 号线\bibliographystyle{plain} 至 \bibliographystyle{unsrt}并下载样本在同一文件夹中运行
pdflatex
,bibtex
pdflatex
并在删除和文件pdflatex
后在 TeXmaker 中运行(在 TeXmaker--> -->中)。输出将根据引用出现的顺序创建参考书目,如下所示。.bbl
.aux
Tools
Clean
相关问题