Generalnumbering problem w/ eqexam package

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
mathchick
Posts: 2
Joined: Wed Dec 29, 2010 3:59 am

numbering problem w/ eqexam package

Post by mathchick »

I just found a great package to use for writing exams...eqexam. However, when I try to use it, I have a numbering problem. For example on the true/false, I get "(1(a))" instead of "(a)". I have no idea why since I copied the code directly from the documentation that goes with the package. I'd leave it has it is, but it's really messing with the alignment of the problems.

There is my code:
\documentclass[12pt]{article}
\usepackage[forpaper,pointsonboth,useforms,nosolutions]{eqexam}
\title[T1]{Test 1}
\author{Professor}
\subject{History}
\date{Spring 2011}
\begin{document}
\maketitle
\begin{exam}{Part 1}
\begin{problem*}[4ea]
\textit{True} or \textit{False}.
\begin{parts}
\item \TF{F} Thomas Jefferson was the second president of the United States.
\item \TF{T} John Adams was the first vice-president of the United States.
\end{parts}
\end{problem*}
\end{exam}
\end{document}

Thanks for the help.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

shadgrind
Posts: 140
Joined: Thu Jul 16, 2009 12:39 am

numbering problem w/ eqexam package

Post by shadgrind »

I couldn't get your example to compile unless I put a blank line after \maketitle. Also, according to the documentation, the required argument to \begin{exam} in braces can not have any spaces in it, while the optional first argument in brackets can. So using these changes

Code: Select all

\maketitle

\begin{exam}[Part 1]{Part1}
I was able to get the example to compile and it gave me (a) and (b) for the True/False items.
System: TeX Live 2012, Fedora 18 x86_64, GNU Emacs 24.2
mathchick
Posts: 2
Joined: Wed Dec 29, 2010 3:59 am

Re: numbering problem w/ eqexam package

Post by mathchick »

Thanks for the help. Turns out I needed to update the package.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

numbering problem w/ eqexam package

Post by localghost »

Now that the problem is solved, please be so kind and mark the topic (not the last post) accordingly as clearly written in the Board Rules (to be read before posting). Please keep that in mind for the future so that further reminders will not be necessary.


Best regards and welcome to the board
Thorsten
Post Reply