LaTeX forum ⇒ Document ClassesEqexam True False

Information and discussion about specific document classes and how to create your own document classes.
Mikerada6
Posts: 42
Joined: Fri Oct 17, 2008 5:55 pm

Eqexam True False

Postby Mikerada6 » Sat May 01, 2010 8:14 pm

I am trying to make a homework assignemnt with the very powerful Eqexam package. I was wondering how i would go about makeing a two part True False question with the following instructions:

In problems 1-22, answer true or false. If the statement is false, justify your answer by either explaining why it is false of giving a counterexample; if the statement is true, justify your answer by either proving the statement of citing an appropiate result in this chapter.

sitex
Posts: 70
Joined: Sat May 09, 2009 12:37 pm

Postby sitex » Sun May 02, 2010 7:16 pm

Hello,
I forwarded a copy of your post to Don Story, a former colleague, who wrote the eqexam package. The following code and reply are his. Tom
Attached are some suggested formats. I’m assuming the space for the extended response parts is included in the document; otherwise, you can just have the true/false questions, and say “On separate sheets of paper, justify your answers.”

  1. \documentclass{article}
  2. \usepackage[fleqn]{amsmath}
  3. \usepackage[pointsonleft,nototals,forpaper,nosolutions,useforms,usexkv]{eqexam}
  4. %\usepackage[pdf,pointsonleft,nototals,forpaper,answerkey,useforms,usexkv]{eqexam}
  5.  
  6.  
  7. \university
  8. {%
  9. NORTHWEST FLORIDA STATE COLLEGE\\
  10. Department of Mathematics
  11. }
  12. \email{storyd@nwfsc.edu}
  13.  
  14. \subject[CA]{College Algebra}
  15. \title[HW-17]{Homework~17}
  16. \author{Dr.\ D. P. Story}
  17. \date{\thisterm, \the\year}
  18. \duedate{09/30/09}
  19. \keywords{Due date \theduedate}
  20.  
  21.  
  22. \parskip3pt
  23. \everymath{\displaystyle}
  24.  
  25. \begin{document}
  26.  
  27. \maketitle
  28.  
  29. \begin{exam}{Test\nExam}
  30.  
  31. \begin{instructions}[Instructions:]
  32. In problems 1-22, answer true or false. If the statement is false, justify
  33. your answer by either explaining why it is false of giving a
  34. counterexample; if the statement is true, justify your answer by either
  35. proving the statement of citing an appropriate result in this
  36. chapter.
  37. \end{instructions}
  38.  
  39. % The first most obvious format for the question
  40. \begin{problem*}[5]
  41. All triangles have four sides.
  42. \begin{parts}
  43. \item \TF{F} (True/False)
  44. \item \textbf{Proof or Counter-example}
  45. \begin{solution}[1in]
  46. \textbf{False.} Recall the famous 30-60-90 triangle.
  47. \end{solution}
  48. \end{parts}
  49. \end{problem*}
  50.  
  51. % We can attempt to move part (a) up, so that the question is part of (a) and aligned
  52. % on the first line. This method is a bit iffy, the alignment may not be perfect.
  53. \begin{problem*}[5]
  54. \vskip-1.5\baselineskip
  55. \begin{parts}
  56. \item\TF{F} (True/False) All triangles have four sides.
  57. \item\textbf{Proof or Counter-example}
  58. \begin{solution}[1in]
  59. \textbf{False.} Recall the famous 30-60-90 triangle.
  60. \end{solution}
  61. \end{parts}
  62. \end{problem*}
  63.  
  64. % Another possibility is to have a single question like so.
  65. \begin{problem}[5]
  66. \TF{F} (True/False) All triangles have four sides.\\
  67. \textbf{Proof or Counter-example:} Justify your answer in the space
  68. below.
  69. \begin{solution}[1in]
  70. \textbf{False.} Recall the famous 30-60-90 triangle.
  71. \end{solution}
  72. \end{problem}
  73.  
  74.  
  75. \end{exam}
  76.  
  77. \end{document}


Return to “Document Classes”

Who is online

Users browsing this forum: No registered users and 3 guests