Hello.
I guess I'm not the first one that wants to write a book with exercises and 
answers to these exercises. 
The problem that I have not found an answer to, is how to keep track of the 
answers (that are printed in a chapter/section in the end of the book, OR 
at the end of each chapter), so they get the same number as the exercises   
like 3.1.4  (chapter 3, section 1, exercise number 4, and so on). 

I guess the most convenient way in LyX would be to write something like
... some other text....
<text for my exercise>       <-- mark this as "exercise" in LyX
<text for my answer>         <-- mark this as "answer" in LyX
... continue with other text...


And then LaTeX puts the answer in the right place, with the right number!

Now, how do I do that in Lyx (or what would the best latex commands be?)

I'm greatful for any help you can provide.

Reply via email to