我正在使用考试课程,由于某种原因,我在文档中提供的以下示例中pdflatex
遇到了溢出错误:hbox
\documentclass[10pt,letterpaper,final]{exam}
% AMS Packages
\usepackage{amsmath}
% TiKZ Packages
\usepackage{pgf}
\usepackage{tikz}
\usetikzlibrary{arrows,automata,positioning}
% Font Settings
\usepackage{MinionPro}
\usepackage{MyriadPro}
\usepackage[scaled]{beramono}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[protrusion,expansion,final,babel]{microtype}
% Headers and Footers
\pagestyle{headandfoot}
\runningheadrule
\firstpageheadrule
\firstpageheader{CSCI 3660}{Exam 2}{Fall 2019}
\runningheader{CSCI 3660}{Exam 2, Page \thepage\ of \numpages}{Fall 2019}
\firstpagefooter{}{}{}
\runningfooter{}{}{}
\begin{document}
\begin{center}
\fbox{\fbox{\parbox{5.5in}{\centering Answer all of the questions below. The
organization and neatness of your answers, as well as the legibility of
your writing will count for $10\%$ of your grade.}}}
\end{center}
\vspace{5mm}
\makebox[\textwidth]{Name and section:\enspace\hrulefill}
\vspace{5mm}
\makebox[\textwidth]{Instructor’s name:\enspace\hrulefill}
\begin{questions}
\question foo
\end{questions}
\end{document}
具体来说,问题出在hrulefill
问题环境之前的两个命令上。有人知道如何解决这个问题吗?