To change “Version” into “Form” you need to redefine \mc@babel@Version
. If you are using package babel
with one of the language supported by mcexam
, this has to be done after \begin{document}
or using \AtBeginDocument
, because depending on the detected language mcexam.sty
also defines it using \AtBeginDocument
.
To change the format of the counter you have to redefine \mcversionlabelfmt
. The original definition as shown in section 5.2 of the mcexam
user manual is:
\newcommand\mcversionlabelfmt[1]{\Roman{#1}}
So the default is a (uppercase) Roman number.
To redefine it to show a uppercase letter, you have to replace \newcommand
by \renewcommand
and \Roman
by \Alph
.
So a minimized version of your code but with “Form A” instead of “Version I” would be:
\documentclass{exam}
\usepackage[output=exam, numberofversions=3, seed=6, randomizeanswers=false, randomizequestions=true, version=1]{mcexam}
\renewcommand{\mcversionlabelfmt}[1]{\Alph{#1}}
\makeatletter
\AtBeginDocument{%
\renewcommand{\mc@babel@Version}{Form}%
}
\makeatother
\begin{document}
\begin{coverpages}
\begin{center}
\begin{LARGE}
AP Statistics\\
Unit \# Test - Unit Name\\
\mctheversion \\
\end{LARGE}
\end{center}
\end{coverpages}
\end{document}
![Form A](https://cdn.statically.io/img/i.sstatic.net/53YlWI6H.png)
Note: If you use mcexam
without babel
(or currently also with babel
, but without option dutch
) you don't need \AtBeginDocument
in the example above:
\documentclass{exam}
\usepackage[output=exam, numberofversions=3, seed=6, randomizeanswers=false,
randomizequestions=true, version=1]{mcexam}
\usepackage[english]{babel}% added
\renewcommand{\mcversionlabelfmt}[1]{\Alph{#1}}
\makeatletter
\renewcommand{\mc@babel@Version}{Form}% does not work, if you change babel
% option `english` into `dutch`
\makeatother
\begin{document}
\begin{coverpages}
\begin{center}
\begin{LARGE}
AP Statistics\\
Unit \# Test - Unit Name\\
\mctheversion \\
\end{LARGE}
\end{center}
\end{coverpages}
\end{document}
But, because this could change, e.g., if mcexam
supports more languages, I would recommend to nevertheless use the solution with \AtBeginDocument
. As explained, this would also work with language dutch
:
\documentclass{exam}
\usepackage[output=exam, numberofversions=3, seed=6, randomizeanswers=false,
randomizequestions=true, version=1]{mcexam}
\usepackage[dutch]{babel}% added to show the problem
\renewcommand{\mcversionlabelfmt}[1]{\Alph{#1}}
\makeatletter
\AtBeginDocument{% needed because of \usepackage[dutch]{babel}
\renewcommand{\mc@babel@Version}{Form}
}
\makeatother
\begin{document}
\begin{coverpages}
\begin{center}
\begin{LARGE}
AP Statistics\\
Unit \# Test - Unit Name\\
\mctheversion \\
\end{LARGE}
\end{center}
\end{coverpages}
\end{document}
If you'd remove the \AtBeginDocumet{%
and the corresponding }
in this example, you would not get “Form” but “Versie” (Dutch for “Version”).
\mc@babel@version
(after\begin{document}
) and\mcversionlabelfmt
(see section 5.2 of the user manual). If this does not help, show a minimal working example of what you've tried.