我想使用algorithm
-package 编写伪代码。昨天,我下载了 MiKTeX,现在我收到了这条消息。但是当我单击安装时,什么也没有发生。
\documentclass{dutmsc}%
\mscDepartment{Transport \& Planning}%
\mscFaculty{Civil Engineering and Geosciences}%
\mscName{Lenin Mishra}%
\mscDate{30/08/2016}%
\mscTitle{Maneuvering of Automated Vehicles in an Unsignalized Intersection}%
\mscSubTitle{A Distributed Control Strategy}% can be left empty
\ifpdf
\mscBackPicture{./figs/merlin_landing_3_pdf} % eps of 21 * 29.7 cm
\else
\mscBackPicture{./figs/merlin_landing_3} % pdf version of the cover background
\fi
\mscReaderOne{prof.dr.ir. P.R. Of}
\mscReaderTwo{dr.ir. D.A.I. Ly Supervisor}
\mscReaderThree{ir. G.U. Est}
\mscReaderFour{ir. Reader Four}
\loflotintoc{1}
\bibliographystyle{plain}
\usepackage[preserveurlmacro]{breakurl}%
\usepackage{algorithm}
\newcommand{\cc}[1]{\:\mathcal{C}_{#1}}%
\newcommand{\cs}[1]{\:\mathcal{S}_{#1}}%
\newcommand{\ct}[1]{\:\mathcal{T}_{#1}}%
\newcommand{\matlab}{\textsc{Matlab} }
\makenomenclature
\hypersetup{colorlinks=true,
citecolor=darkblue,
urlcolor=darkred,
linkcolor=darkblue,
menucolor=darkblue,
anchorcolor=red,
pagecolor=cyan,
pdfborder={0 0 0},
bookmarksnumbered=true,
breaklinks=true,
pdfauthor={\mscname}, % value of \mscName
pdftitle={\msctitle}, % value of \mscTitle
pdfkeywords={\msckeywords}} % value of \mscKeywords
\renewcommand{\bibname}{References}
\begin{document}%
\frontmatter%
\maketitle%
\include{summary}%
\cleardoublepage%
\include{acknowledgements}%
\cleardoublepage%
%
% table of contents, list of figures and list of tables
\tocloflot%
%
% Nomenclature
\printnomencl%
\cleardoublepage%
%
%
\mainmatter%
%
% parts are not necessary for a thesis
%
% first chapter
\include{chap_introduction}%
\include{chap_Literature_Review}%
\include{chap_Development_of_the_cooperative_strategy}%
%
% add more chapters here
%\include{chap_theory}
%
%
% Bibliography
\printbib{biblio}%
%
\appendix%
%
% and some appendices here
\include{app_math_model}%
%
%
\backmatter%
%
% index file here (not needed for a MSc thesis)
%
\bibliography{biblio}
\end{document}
答案1
昨天存储库已关闭。这可能是问题所在。出现此消息的另一个原因可能是代理配置不合适。如果您使用代理服务器连接到互联网,则应单击包安装对话框中的“更改”按钮,然后在那里输入代理服务器的设置。MikTeX 更新管理器中提供了另一种执行此操作的可能性(“连接设置”按钮)。