{exercises} is about creating exercise sheets including questions or problems, and maybe even their respective answers. Popular packages are {exsheets}, {probsoln}, and {answers}.

learn more… | top users | synonyms

2
votes
3answers
509 views

Dealing with solutions within parts of exercises

I am trying to create a database of maths questions and answers in TeX form. The idea is that a simple command such as \getfromDB{101} will pull the text from the database of the question numbered ...
9
votes
1answer
1k views

How to type multiple choice questions with more than one correct choice

I want to type multiple choice question (which may have two or more answer) book using exercise package such as \begin{questions} \question This is the first question \choice Wrong answer ...
4
votes
1answer
147 views

how to reference problems by the text label in an exercise envioronment

I am using the exercise package, as illustrated in the following example: \begin{Exercise}[ title={blah}, label={modernOpticsLecture2:pr2} ] foo \end{Exercise} I can put a reference to this problem ...
7
votes
3answers
489 views

indenting exercises

I am typing up homework problems and I would like a very specific format but I'm not sure where to begin. I'd like the exercise numbers to line up in a column and then have the questions and the ...
7
votes
1answer
329 views

Help with exercise.sty counter not shown incremented

I'm using exercise.sty and have two Exercise counters I'm trying to use, one for Examples with in a chapter, and one for Problems for the chapter. Here's an example: \documentclass[]{scrreprt} ...
6
votes
1answer
649 views

How to use figure inside a exercise environment?

Trying to use figure inside an Exercise environment (exercise.sty) gives me "LaTeX Error: Not in outer par mode." Example: \documentclass{article} \usepackage[]{exercise} \begin{document} ...
7
votes
1answer
1k views

LaTeX Template for Question and answer

I am looking for a LaTeX template (if anyone has created such a template) that will allow me to layout a question on the left side then and answer on the right side, followed by a brief annotation ...
2
votes
2answers
385 views

Creating my own sectioning command for exercises

I'm editing a book. What I want is a sectioning command like \section, \subsection, and friends, to typeset a exercises section at the end of each section of the book. This exercises are in some list ...
14
votes
3answers
3k views

Number exercises according to chapter

I'm using the exercise package together with memoir class. How do I number my exercises according to chapter number, in the same way that display equations are numbered? Here's a minimal example ...
4
votes
1answer
615 views

\addcontentsline adds an unwanted indent

Prologue I'm using the exercise package and trying to harmonize its layout with memoir. This question is quite involved to illustrate, so I'll break it up into several Acts. I'll present the ...
5
votes
2answers
711 views

Hyperlink with answers package

I'm using the answers package for an exercises book. I would like to create clickable hyperlinks (in the generated pdf file) from the exercise to the corresponding solution and back from the solution ...
16
votes
5answers
951 views

How to put a star (or other symbol) in sections that are “special” (difficult, optional, etc)?

I'm currently writing a book, and I'd like some of the sections to be clearly marked as "difficult" or "optional". Not only sections, but also exercises (I'm using the exercise package) and theorems ...
1
vote
2answers
290 views

Problem with the answers package.

I am using the answers package to build a series of exercises. The problem i have encountered is when going from \item $ 5x^2-x \geq 0 $ \begin{sol} $x \geq 1, x \leq 0$ \end{sol} to ...
3
votes
3answers
7k views

Using exercise package correctly

Please correct my code as necessary. It is not compiling due to ! Package exercise Error: You don't respect the hierarchy of questions. See the exercise package documentation for explanation. Type ...
7
votes
1answer
632 views

Please explain \Newassociation and provide an overview of how the package answers works

I've found the answers package a little difficult to use and the documentation isn't as accessible as it could be to a novice like me. I'm not sure but it often seems at times like multiple files are ...
32
votes
1answer
3k views

Comparing packages which facilitate typesetting exercises and solutions: exercise vs. answers vs. probsoln

Could someone with experience in using these exercise typesetting packages please offer a quick compare and contrast of these packages to help me choose? Packages under consideration are: exercise ...
23
votes
5answers
7k views

How to write a multiple choice test book with LaTeX?

I want to write a book which will consist of many multiple choice exam sheets. Putting the codes below into my preamble, I wrote the question like as \begin{enumerate} \item $2+2=?$ \choice $1$ ...
19
votes
1answer
2k views

Exercises in lecture notes without predetermined placement

I'm writing up some lecture notes for a math course in LaTeX (using the book class so far, but I may change that), and as I do so possible homework exercises occur to me which I want to include in the ...
7
votes
2answers
453 views

Is there a package to pull out Answer Keys from Exercises to the last page? [duplicate]

Possible Duplicate: How can I produce exercises in one part of a LaTeX document with selected answers in another? I am writing a book containing exercises for the readers. To ease writing ...
35
votes
7answers
3k views

How can I produce exercises in one part of a LaTeX document with selected answers in another?

How can I produce exercises in one part of a LaTeX document with selected answers in another? I could, of course, simply typeset the questions and the answers separately, but this is too likely lead ...
12
votes
2answers
1k views

Solution of problems in the end of a book [duplicate]

Possible Duplicate: How can I produce exercises in one part of a LaTeX document with selected answers in another? I'm writing a book and want to add some math problems and solutions to this ...