As requested, I've attached a sample LyX file that uses the exam layout. In this file you can see some of the tricks I used to get around a few of the shortcomings of exam.cls.

I now use the examdesign.cls with ordinary LaTeX because it seems better for my own needs.

--Jason Waskiewicz
   Bowman County High School
#LyX 2.0.0beta1 created this file. For more info see http://www.lyx.org/
\lyxformat 407
\begin_document
\begin_header
\textclass exam
\begin_preamble
\usepackage{color}
\shadedsolutions
\renewcommand{\solutiontitle}{}
\pagestyle{head}
\lhead{\oddeven{\large\bf Biology\\ Eighth Test}}
\chead[Score: \enspace\hbox to 0.33in{\hrulefill} {\numpoints}]{}
\rhead{\oddeven{Name: \enspace\hbox to 2in{\hrulefill}\\ Date: \enspace\hbox to 
2in{\hrulefill}}{}}
\printanswers
\pointsinrightmargin
\addpoints
\end_preamble
\use_default_options false
\maintain_unincluded_children false
\language english
\inputencoding auto
\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\use_xetex false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize letterpaper
\use_geometry false
\use_amsmath 1
\use_esint 1
\use_mhchem 1
\use_mathdots 1
\cite_engine basic
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\use_refstyle 0
\branch Key
\selected 1
\filename_suffix 0
\color #55ff7f
\end_branch
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 0
\tocdepth 0
\paragraph_separation indent
\paragraph_indentation default
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\html_math_output 0
\html_be_strict false
\end_header

\begin_body

\begin_layout Standard
\align center

\noun on
Closed Notes
\end_layout

\begin_layout Standard
Answer questions clearly.
 Show work for partial credit.
 When you complete the closed notes section, place it on the corner of your
 desk.
 I will pick it up.
\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
begin{questions}
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
question[5]
\end_layout

\end_inset


\end_layout

\begin_layout Standard
Question 1
\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
begin{choices}
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
choice
\end_layout

\end_inset


\end_layout

\begin_layout Standard
choice 1
\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
choice
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Branch Key
status open

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
begin{solution}
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
choice 2 (correct answer)
\end_layout

\begin_layout Standard
\begin_inset Branch Key
status open

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
end{solution}
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
choice
\end_layout

\end_inset


\end_layout

\begin_layout Standard
choice 3
\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
choice
\end_layout

\end_inset


\end_layout

\begin_layout Standard
choice 4
\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
end{choices}
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
question[5]
\end_layout

\end_inset


\end_layout

\begin_layout Standard
Second Question
\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
begin{choices}
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
choice
\end_layout

\end_inset


\end_layout

\begin_layout Standard
choice 1
\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
choice
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Branch Key
status open

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
begin{solution}
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
choice 2 (correct answer)
\end_layout

\begin_layout Standard
\begin_inset Branch Key
status open

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
end{solution}
\end_layout

\end_inset


\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
choice
\end_layout

\end_inset


\end_layout

\begin_layout Standard
choice 3
\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
choice
\end_layout

\end_inset


\end_layout

\begin_layout Standard
choice 4
\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
choice
\end_layout

\end_inset


\end_layout

\begin_layout Standard
choice 5
\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
end{choices}
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset Newpage pagebreak
\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
question[20]
\end_layout

\end_inset


\end_layout

\begin_layout Standard
Short Answer Question
\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
begin{solution}[1in]
\end_layout

\end_inset


\end_layout

\begin_layout Standard
This s the answer.
\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
end{solution}
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
question
\end_layout

\end_inset


\end_layout

\begin_layout Standard
In rabbits, assume that the dominant allele (B) produces black fur.
 The allele (b) for white fur is recessive to B.
 
\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
begin{parts}
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
part[10]
\end_layout

\end_inset


\end_layout

\begin_layout Standard
What color fur will each of the following rabbits have? 
\end_layout

\begin_layout Standard
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="3">
<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" usebox="none">
\begin_inset Text

\begin_layout Plain Layout
Rabbit
\end_layout

\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" usebox="none">
\begin_inset Text

\begin_layout Plain Layout
Genotype
\end_layout

\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" rightline="true" usebox="none">
\begin_inset Text

\begin_layout Plain Layout
Fur Color
\end_layout

\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" 
usebox="none">
\begin_inset Text

\begin_layout Plain Layout
Flopsy
\end_layout

\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" 
usebox="none">
\begin_inset Text

\begin_layout Plain Layout
BB
\end_layout

\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" 
rightline="true" usebox="none">
\begin_inset Text

\begin_layout Plain Layout
\begin_inset Branch Key
status open

\begin_layout Standard
Black
\end_layout

\end_inset


\end_layout

\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" 
usebox="none">
\begin_inset Text

\begin_layout Plain Layout
Mopsy
\end_layout

\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" 
usebox="none">
\begin_inset Text

\begin_layout Plain Layout
Bb
\end_layout

\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" 
rightline="true" usebox="none">
\begin_inset Text

\begin_layout Plain Layout
\begin_inset Branch Key
status open

\begin_layout Standard
Black
\end_layout

\end_inset


\end_layout

\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" 
usebox="none">
\begin_inset Text

\begin_layout Plain Layout
Cotton-tail
\end_layout

\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" 
usebox="none">
\begin_inset Text

\begin_layout Plain Layout
bB
\end_layout

\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" 
rightline="true" usebox="none">
\begin_inset Text

\begin_layout Plain Layout
\begin_inset Branch Key
status open

\begin_layout Standard
Black
\end_layout

\end_inset


\end_layout

\end_inset
</cell>
</row>
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" usebox="none">
\begin_inset Text

\begin_layout Plain Layout
Peter
\end_layout

\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" usebox="none">
\begin_inset Text

\begin_layout Plain Layout
bb
\end_layout

\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" bottomline="true" 
leftline="true" rightline="true" usebox="none">
\begin_inset Text

\begin_layout Plain Layout
\begin_inset Branch Key
status open

\begin_layout Standard
White
\end_layout

\end_inset


\end_layout

\end_inset
</cell>
</row>
</lyxtabular>

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
part[10]
\end_layout

\end_inset


\end_layout

\begin_layout Standard
Which of them will always have offspring with the same fur color?
\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
begin{solution}[1in]
\end_layout

\end_inset


\end_layout

\begin_layout Standard
Flopsy
\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
end{solution}
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
part[10]
\end_layout

\end_inset


\end_layout

\begin_layout Standard
Which rabbits are pure for coat color?
\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
begin{solution}[1in]
\end_layout

\end_inset


\end_layout

\begin_layout Standard
Flopsy and Peter
\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
end{solution}
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
part[10]
\end_layout

\end_inset


\end_layout

\begin_layout Standard
If Flopsy and Peter were mated together and had 12 babies, how many of these
 would you expect to be black?
\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
begin{solution}[1in]
\end_layout

\end_inset


\end_layout

\begin_layout Standard
12
\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
end{solution}
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
end{parts}
\end_layout

\end_inset


\end_layout

\begin_layout Standard

\end_layout

\begin_layout Standard
\begin_inset ERT
status collapsed

\begin_layout Plain Layout


\backslash
end{questions}
\end_layout

\end_inset


\end_layout

\end_body
\end_document

Reply via email to