I am trying to get the exam class exam.cls to work in the Lyx environment.
The information about this class and necessary files can be found here http://math.mit.edu/~psh/
Has anyone tried this yet? I followed the instructions installing exam.cls http://wastedmonkeys.com/2007/09/27/add ... yx-windows
Everything seems to have installed fine, and when I go to Document => Settings... I see article(exam) in the drop-down list for the Document Class.
But I cannot seem to use it? All the special exam formatting instructions I would have thought I can activate simply by using the "ERT" box.
What confuses me is that, in LaTeX, the exam class is not an article, but a class in its own right. For example, creating a LaTeX document with this class, in Texworks, I might type
Code: Select all
\documentclass{exam}
\begin{document}
\begin{questions}
\question
You are given that $f(x)=\frac{1}{x}$. Using first principles, show that $f'(x)=- \frac{1}{x^2}$.
\fillwithdottedlines{2in}
\end{questions}
\end{document}
I'm on a vertical learning curve here trying to acquaint myself with MiKTeX, TexWorks, Lyx, LaTeX, and how they all interact with eachother, together with classes, packages, styles. It's all fiendishly complicated!
Any help very much appreciated indeed.