summaryrefslogtreecommitdiff
path: root/texmf-dist/doc/latex/eqexam/examples/test01.tex
diff options
context:
space:
mode:
Diffstat (limited to 'texmf-dist/doc/latex/eqexam/examples/test01.tex')
-rw-r--r--texmf-dist/doc/latex/eqexam/examples/test01.tex445
1 files changed, 445 insertions, 0 deletions
diff --git a/texmf-dist/doc/latex/eqexam/examples/test01.tex b/texmf-dist/doc/latex/eqexam/examples/test01.tex
new file mode 100644
index 00000000..9b08e9ea
--- /dev/null
+++ b/texmf-dist/doc/latex/eqexam/examples/test01.tex
@@ -0,0 +1,445 @@
+\documentclass[12pt]{article}
+\usepackage{amsmath}
+\usepackage{graphicx}
+\usepackage[%
+ online, % try commenting out this option to get a paper document
+ nosolutions,
+% vspacewithsolns,
+ forcolorpaper,
+ pointsonleft,totalsonright,noparttotals,
+ coverpage,coverpagesumry=bypages
+ ]{eqexam}
+
+\title[T1]{Test 1}
+\author{D. P. Story}
+\subject[C1]{Calculus I}
+\date{Spring \the\year}
+\keywords{Test~1, Section 001}
+
+\university
+{%
+ THE UNIVERSITY OF AKRON\\
+ Theoretical and Applied Mathematics
+}
+\email{dpstory@uakron.edu}
+
+\solAtEndFormatting{\eqequesitemsep{3pt}}
+\turnContAnnotOn
+
+\optsFillIn{\BC{0.847 0.847 0.847}}
+\optsMlTextField{\BC{0.847 0.847 0.847}}
+\eqExamName[\Ff\FfRequired\BC{0.847 0.847 0.847}]{2.25in}
+\eqSID[\Ff\FfRequired\BC{0.847 0.847 0.847}]{2.25in}
+\cpSetSumryWidth{.55\textwidth-1em}
+
+\hfuzz = .7pt
+
+\begin{document}
+\maketitle
+
+
+\begin{exam}[Part I.]{Part1}
+
+\begin{instructions}[Part I.]
+Solve each of the problems without error. If you make an error,
+points will be subtracted from your total score.
+\end{instructions}
+
+\begin{problem}[5]
+This is an example of a objective question, the student fills in
+his/her response in the space below.
+
+\begin{solution}[.5in]
+The solution to the question. This solution will not appear when
+the option \texttt{nosolutions} is specified. It will appear
+immediately after the question with the \texttt{solutionsafter}
+option, and appear at the end of the document if a solutions
+option is not specified.
+\end{solution}
+\end{problem}
+
+
+\begin{problem}[5]
+An example of a fill-in question:
+It is well known that \fillin{1in}{Newton} and
+\fillin{1in}{Leibniz} are jointly credited as the founders of
+modern calculus.
+
+\begin{solution}
+It is well known that \underbar{Newton} and \underbar{Leibniz} are
+jointly credited as the founders of modern calculus.
+
+\medskip\noindent\textbf{Notes.} Here the optional argument for
+the \texttt{solution} environment is not specified, this implies
+that no room should be left for the student to answer, seems
+reasonable since this is a fill-in.
+\end{solution}
+\end{problem}
+
+\begin{problem*}[2ea]
+\textit{True} or \textit{False}. No justification needed.
+
+% Comment out this next line to see the effect.
+\fillinWidth\defaultTFwidth
+
+\begin{parts}
+
+ \item[h] \TF{T} If triangles have $4$ sides, then all monkeys
+ are green. Now is the time for all good men to come to the aid
+ of their country.
+
+\begin{solution}
+ This is the solution, let's hope it's correct, or I would be
+ embarrassed to no end. Now is the time for all good men to
+ come to the aid of their country.
+
+ \medskip\noindent\textbf{Notes.} This \texttt{\string\item}
+ has an optional argument `\texttt{[h]}', so the
+ solution will not appear at the end of the document when there
+ is no solutions option, but will appear when
+ \texttt{solutionsafter} is specified. The
+ \texttt{nohiddensolutions} option can override this feature.
+\end{solution}
+
+ \item[H] \TF{T} $1+1=3$ iff $\sqrt2$ is a rational number. Now
+ is the time for all good men to come to the aid of their
+ country.
+
+\begin{solution}
+ \textbf{Notes.} This \texttt{\string\item} has an optional
+ argument `\texttt{[H]}', so the solution will not appear at
+ the end of the document when there is no solutions option, nor
+ does it appear when \texttt{solutionsafter} is specified. The
+ \texttt{noHiddensolutions} option can override this feature.
+\end{solution}
+
+ \item[h] \TF{F} $(\forall x)(\exists y)(xy>1)$\hskip1em($x$,
+ $y$~real numbers). Now is the time for all good men to come to
+ the aid of their country.
+\begin{solution}
+This is a tough solution.
+\end{solution}
+
+ \item[h] \TF{F} $(\forall x)(\exists y)(\forall z)(z(x+y)>0)$,
+ \hskip1em($x$,~$y$, and~$z$ real numbers).
+\begin{solution}
+This is a tough solution.
+\end{solution}
+
+\end{parts}
+\end{problem*}
+
+\begin{problem*}[\auto]
+Here is an example of a auto calculate problem. It takes the
+optional argument `\texttt{[\string\auto]}'. You specify the
+points associated with each part using the \texttt{\string\PTs}
+command.
+
+\begin{parts}
+
+\item \PTs{10} This a hard one!
+
+\begin{solution}[.75in]
+This is a tough solution.
+\end{solution}
+
+\item \PTs{5} This one is ``half'' as hard.
+
+\begin{solution}[\sameVspace]
+This solution is easy.
+\end{solution}
+
+\end{parts}
+\end{problem*}
+
+%\newpage
+
+
+\begin{problem*}[\auto] \sqForms
+Select the correct answer for each of the following multiple
+choice. There is only one correct answer.
+\begin{parts}[2]
+
+ \item\PTs{6} In what year did Columbus sail the ocean blue?
+ \begin{answers}{2} % specify tabular any with 6 columns
+ \bChoices
+ \Ans0 1490\eAns
+ \Ans0 1491\eAns
+ \Ans1 1492\eAns
+ \Ans0 1493\eAns
+ \eChoices
+ \end{answers}
+\begin{solution}
+ Yes, Columbus sailed the ocean blue in 1492.
+\end{solution}
+&%
+ \item\PTs{4} In what year did Columbus sail the ocean blue?
+ \begin{answers}{1} % specify a list environment.
+ \bChoices
+ \Ans0 1490\eAns
+ \Ans0 1491\eAns
+ \Ans1 1492\eAns
+ \Ans0 1493\eAns
+ \eChoices
+ \end{answers}
+\begin{solution}
+ Yes, Columbus sailed the ocean blue in 1492.
+\end{solution}
+\end{parts}
+\end{problem*}
+
+
+\begin{problem}[5]
+Which of the following best describes Augustin Cauchy?
+
+\sqForms % change this multiple choice to a forms style.
+
+%\begin{multicols}{2}
+
+% use two columns
+
+\begin{answers}{1} % an argument of 1 means list style
+\bChoices
+ \Ans0 He developed the Calculus while his University was closed
+ for the plague.\eAns % Newton
+
+ \Ans0 Given credit for first using the functional notation
+ $f(x)$.\eAns % Euler
+
+ \Ans0 He created the ``bell-shaped curve'' and first used the
+ method of least squares.\eAns % Gauss
+
+ \Ans1 He first formulated a precise definition of the limit
+ and continuity of a function.\eAns % Cauchy
+
+ \Ans0 Gave a rigorous definition of the definite integral---an
+ integral that now bears his name.\eAns % Riemann
+
+ \Ans0 His notation for the derivative and the integral is used
+ even to this day.\eAns % Leibnitz
+\eChoices
+
+\end{answers}
+
+%\end{multicols}
+
+\begin{solution}
+This is a solution to a problem question.
+\end{solution}
+
+\end{problem}
+
+\begin{problem}[5]
+Which of the following are primary colors?
+ \begin{manswers}{6} % specify tabular any with 6 columns
+ \bChoices
+ \Ans1 Blue\eAns
+ \Ans0 Green\eAns
+ \Ans1 Yellow\eAns
+ \Ans0 Orange\eAns
+ \Ans1 Red\eAns
+ \eChoices
+ \end{manswers}
+\begin{solution}
+ Yes, Columbus sailed the ocean blue in 1492.
+\end{solution}
+\end{problem}
+
+% We remove this problem if the online option is taken.
+\ifeqeonline\else
+\begin{problem}[3]
+This is a question. Work \OnBackOfPage, and be quick about it!
+\begin{solution}[1in]
+This is the solution, let's hope it's correct, or I would be
+embarrassed to no end.
+\end{solution}
+%
+% This example illustrates the use of the work area. Place the
+% \texttt{workarea} environment just below the \texttt{solution} environment, it's
+% parameter must be the same as the one specified by \texttt{solution}. The material
+% in the \texttt{workarea} environment will lay on top the vertical space generated above,
+% when the \texttt{nosoutions} option is specified; otherwise, it does nothing.
+%
+\begin{workarea}[.5\linewidth]{1in}
+Peter piper picked a peck of pickled peppers, how many pecks of pickled
+peppers did Peter Piper pick?
+%
+\vfill\hfill\setlength{\fboxsep}{6pt}\fbox{Answer: \fillin[b]{1in}{17}}
+\end{workarea}
+\end{problem}
+\fi
+
+% The previous solution works well for paper publications, however, when the online
+% or email option is taken, a text field is created for the student to type into,
+% the graphics and text are superimposed on top this text field, so the student
+% types over these elements, not a good solution in this case.
+%
+% The next example illustrates a work around. It works for both paper and for online
+% documents.
+
+\begin{problem}[5]
+This is a question worth $5$ points.
+
+\begin{splitsolution}
+\begin{panel}\relax
+\includegraphics[scale=.2]{fig1}
+\end{panel}
+\begin{solution}[1in]
+This a really good solution. I hope this solution is correct or I will be total
+embarrassed to no end. Even if it is wrong, maybe the students will appreciate
+my tremendous effort. You can see from the figure that the solution is obvious.
+What is less obvious is why this works!
+\end{solution}
+\end{splitsolution}
+\end{problem}
+
+% Here is the same layout, but without the computation of the figure width and height
+% Here I set the width to 1in and the depth to 1.25in.
+
+\begin{problem}[7]
+This is a question worth $7$ points.
+
+\begin{splitsolution}[1.25in]
+\begin{panel}\relax
+\includegraphics[scale=.2]{fig1}
+\end{panel}
+\begin{solution}
+This a really good solution. I hope this solution is correct or I will be total
+embarrassed to no end. Even if it is wrong, maybe the students will appreciate
+my tremendous effort. You can see from the figure that the solution is obvious.
+What is less obvious is why this works!
+\end{solution}
+\end{splitsolution}
+\end{problem}
+
+
+% This example illustrates multiple part a question
+
+\begin{problem*}[10ea]
+Answer each of the following questions.
+\begin{parts}
+\item This is a question.
+
+%\sbox{\eqpanelbox}{\includegraphics[scale=.2]{fig1}}
+
+%\previewtrue
+
+\begin{splitsolution}
+\begin{panel}[r]
+\includegraphics[scale=.2]{fig1}
+\end{panel}
+\begin{solution}
+This a really good solution. I hope this solution is correct or I will be total
+embarrassed to no end. Even if it is wrong, maybe the students will appreciate
+my tremendous effort. You can see from the figure that the solution is obvious.
+What is less obvious is why this works!
+\end{solution}
+\end{splitsolution}
+
+\item This is a question.
+\begin{solution}[.75in]
+Now is the time for all good men to come to the aid of their country.
+Now is the time for all good men to come to the aid of their country.
+Now is the time for all good men to come to the aid of their country.
+\end{solution}
+\end{parts}
+\end{problem*}
+
+% The next problem falls at the bottom of the the page, so I'll increment
+% \nbaselineskip from 6\baselineskip, the default, to 7\baselineskip.
+% This is enough to move the problem to the next page.
+
+\nbaselineskip{7}
+
+% This example illustrates multiple part a question using the multicol package
+
+\begin{problem*}[12]
+Solve each of the following. Work \OnBackOfPage.
+\begin{multicols}{2}
+
+
+
+\begin{parts}
+\item This is a question. Be sure you don't make any error, I'm watching.
+
+\begin{solution}[1in]
+This is the solution.
+\end{solution}
+
+\item This is a question.
+\begin{solution}[\sameVspace]
+This is the solution.
+\end{solution}
+
+\item This is a question.
+\begin{solution}[\sameVspace]
+This is the solution.
+\end{solution}
+
+\item This is a question.
+\begin{solution}[\sameVspace]
+This is the solution.
+\end{solution}
+\end{parts}
+\end{multicols}
+\end{problem*}
+
+\end{exam}
+
+\begin{exam}[Part II.]{Part2}
+
+\begin{instructions}[Part II.]
+The following is a short review of previously mastered material.
+\end{instructions}
+
+\begin{problem}[5]
+This is a question.
+\begin{solution}[.5in]
+This is the solution to answer all questions.
+\end{solution}
+\end{problem}
+
+\begin{problem}[7]
+This is a question.
+\begin{solution}[.5in]
+This is the solution to answer all questions.
+\end{solution}
+\end{problem}
+
+\begin{problem}[8]
+This is a question.
+\begin{solution}[1in]
+This is the solution to answer all questions.
+\end{solution}
+\end{problem}
+
+\begin{problem}[5]
+This is a question.
+\begin{solution}[1in]
+This is the solution to answer all questions.
+\end{solution}
+\end{problem}
+
+\begin{problem}[10]
+This is a question.
+\begin{solution}[1in]
+This is the solution to answer all questions.
+\end{solution}
+\end{problem}
+
+\begin{problem}[5]
+This is a question.
+\begin{solution}[1in]
+This is the solution to answer all questions.
+\end{solution}
+\end{problem}
+
+\begin{problem}[10]
+This is a question.
+\begin{solution}[1in]
+This is the solution to answer all questions.
+\end{solution}
+\end{problem}
+\end{exam}
+
+\end{document}