Re: Fwd: exercise support in LyX

2007-10-14 Thread Gunnar Lindholm
I'm away from my lyx setup now, so my reply will be out of memory. > Have had some problems with your preamble: > > \Newassociation{sol}{Svar}{ans} > > {\theorembodyfont{\upshape} \newtheorem{uppg}{Uppgift}} > > \newenvironment{ug}{\begin{uppg}\normalfont}{\end{uppg}} > > Which gave an "Undefined

Re: Fwd: exercise support in LyX

2007-10-14 Thread Ramin Nakisa
On Friday 12 October 2007 19:09:27 Gunnar Lindholm wrote: > > What do other people use for exercises? And will this ever be built into > > LyX? I have to use ERT to get exercise.sty working. > > I use > \usepackage{answers} Thanks Gunnar - the answers package fixes the spacing problem, so I've s

Re: Fwd: exercise support in LyX

2007-10-12 Thread Gunnar Lindholm
> What do other people use for exercises? And will this ever be built into > LyX? I have to use ERT to get exercise.sty working. I use \usepackage{answers} To get it working more easy, I put the stuff below into my lyx configuration files. With this I can just press M-g u to insert an exercise,

Fwd: exercise support in LyX

2007-10-12 Thread Ramin Nakisa
Hi, I've tried various packages for including exercises in a book I'm writing in LyX. I settled on exercise.sty which is nice because you write all the exercises and their answers, then the command \shipout spews out all the answers since the previous \shipout. This means I can easily put all t