siunitx 软件包崩溃文档

siunitx 软件包崩溃文档

注意:很抱歉,我是 LaTex 方面的新手。

我正在使用我的 Uni 模板来撰写我的研究论文。我不得不经常使用千分尺,阅读这里的论坛帖子似乎我应该能够在文档中直接使用\usepackage{siunitx}然后说\SI{1.55}{\micro\metre}(直接从另一篇文章的最佳答案中获取)。但是,如果我将其添加到文档的开头,一切都会变得一团糟(图像中给出了错误的简短列表)。与此工作的唯一区别是使用包,并且它发生在我拥有的两个编译器中。我已将代码包含到第 34 行,其中似乎与主文档存在问题。

\documentclass[12pt,a4paper]{uefrep}
%
\usepackage[english]{babel}
\usepackage{siunitx}
\usepackage[T1]{fontenc}
\usepackage{cite,url}
\usepackage[dvips]{graphicx}
\usepackage[tbtags]{amsmath}
\usepackage{psfrag}
\usepackage{color}
\usepackage{ae,aecompl}
\usepackage{bookmark}
%\usepackage[a-1b]{pdfx} %uncomment for thesis
\usepackage{hyperref}
\hypersetup{colorlinks=true,linkcolor=blue,citecolor=red,urlcolor=cyan,breaklinks=true}
%\usepackage{pdfpages} %optional for inserting multipage pdf files to document
%
\pagestyle{plain}
\bibliographystyle{uefunsrt}
\setlength{\textheight}{20.7cm}
\setlength{\textwidth}{15.0cm}
\setlength{\hoffset}{-2mm} % Because the location of left margin depends on the printer, adjust this so that the left margin is 32 mm.
%\setlenght{\voffset}{2mm} % If necessary, adjust the top margin to 45 mm with this parameter.
\renewcommand{\baselinestretch}{1.2}
%
\begin{document}
%
\pagenumbering{roman}
%
\input{report_front}
\newpage
\input{report_abs}
%\newpage                   %Uncomment this command if you add a preface
%\input{report_preface}     %Uncomment this command if you add a preface
%

编译器的屏幕截图

相关内容