Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I use eqexam for creating Multiple Choice Questions with randomized answers. Let's take the following example:

\documentclass{article}
\usepackage[allowrandomize,nopoints,proofing]{eqexam}%

\begin{document}

\useRandomSeed{2012}
\begin{exam}{Exam1}
\begin{problem}
In what year did Columbus sail the ocean blue?
\begin{answers}{2}
    \bChoices[random]
    \Ans0 1st random choice\eAns
    \Ans1\label{eq} 2nd (the correct) random choice\eAns
    \Ans0 3rd random choice\eAns
    \Ans0 4th random choice\eAns
    \Ans0 5th random chioce\eAns
    \eFreeze
    \Ans0 None of these\eAns
    \eChoices
\end{answers}
\end{problem}
\end{exam}

\end{document}

which produces the following output: PDF output

I want to be able to customize the problem and answers environments, more exactly, to put the problem number inside a \fbox and change the text size, and also the way the choices are numbered - I want to put capital letters A, B, C, ... inside \fbox, but I don't know how this can be done.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Try

\usepackage[pointsonleft,showgrayletters,
nototals,forpaper,nosolutions,useforms,usexkv]{eqexam}

and put

\def\exlabelformat{\fbox{\textbf{\theeqquestionnoi.}}\ }

in your preamble.

share|improve this answer
    
A tip: If you indent lines by 4 spaces, they'll be marked as a code sample, as I did in my edit. You can also highlight the code and click the "code" button (with "{}" on it). –  doncherry Jan 11 '12 at 14:54
    
Indeed, using showgrayletters, forpaper and useforms options does part of the trick, the other options seem not to be relevant to my case. Also, redefining \exlabelformat seems to help. –  digital-Ink Jan 11 '12 at 15:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.