examdesign 包中的 \vspace

examdesign 包中的 \vspace

我正在使用 examdesign 包。

在我的例子中,examtop 中的第一个 \vspace 可以工作,但是 examtop 之外的第二个 \vspace 根本不起作用。

可能出了什么问题?

\vspace{1cm} % this works
Name: \rule{4in}{.4pt}  \quad  \noindent id:\enspace\hrulefill
\end{examtop}

\vspace{2cm} % this doesn't work

添加

  1. 当我在 \end{examtop} 之前添加 \vspace{1cm} 时,我可以获得 1cm 的空间。
  2. 当我在 \begin{truefalse} 后添加 \vspace{1cm} 时,我可以在“Section1 ...”打印输出后获得 1cm 的空间。
  3. 当我在 \begin{truefalse} 之前添加 \vspace{1cm} 时,什么也没有发生。

在此处输入图片描述

\documentclass[10pt]{examdesign}

\usepackage{amsmath}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage{pifont}
\usepackage[english]{babel}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{totpages}
\usepackage[margin=0.9in]{geometry}
\renewcommand{\headrulewidth}{0.0pt}
\usepackage{framed}

\SectionFont{\large\sffamily}
\Fullpages
\ContinuousNumbering
\DefineAnswerWrapper{}{}
\NumberOfVersions{1}

\ShortKey       % shows a short key answer sheet
%\NoKey         % Print key ?

\NoRearrange    % Random arrange with latex? (leave it UNCOMMENTED, R will do all of the dirty work)

\newcommand{\myversion}{} % this line is very important as it locates and allows the printed test to show the number of  the test (DONT DELETE IT)

\newcommand{\ClassName}{CSC 260-001:Quiz 1 - Feb 1, 2018}

\begin{document}

\begin{examtop}

% detais of the exam (you should probably edit this!)
\begin{center}
    \textbf{\Large \ClassName} \\
 \end{center}

\vspace{1cm} % this works
Name: \rule{4in}{.4pt}  \quad  \noindent id:\enspace\hrulefill
\end{examtop}

\vspace{2cm} % this doesn't work
\begin{truefalse}[title={True/False (2 points each, total 20 points)},
                  resetcounter=yes] %,suppressprefix]
\textbf{\large Write ``T'' if the statement is true and ``F'' otherwise.}

\begin{question}
  \answer{True} This sentence is not false.
\end{question}

\begin{question}
  \answer{T} `Roger \& Me' chronicles one man's attempt to get into
  Disneyland so that he can visit Toontown.
\end{question}  
\end{truefalse}
\end{document}

相关内容