{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

3
votes
1answer
496 views

Chessboard Book of exercises: Layout template

I am trying to create a book of exercises and I want to make a template. I want to have 3 diagrams side by side. The layout of one exercise is like the description below. I have found out that I can ...
1
vote
0answers
178 views

Latex packages / templates for maths exercises [duplicate]

I'm enrolled in a mathematics course where we are supposed to return our solutions to weekly exercises as PDF files. There seems not to be any general official guidelines other than "it's legible", ...
1
vote
1answer
115 views

Detecting the mode of the exercise package [closed]

I am trying to detect whether the exercise package's option noanswer is on, with the intention of not displaying parts in either mode. Here is my mwe: \documentclass{minimal} ...
1
vote
1answer
184 views

How to customize the question label used by \Question in the exercise package

How can I customize the question label used by \Question in the exercise package? I'm using the exercise package. I want to customize it such that the enumeration generated by \Question uses letters ...
35
votes
1answer
2k views

Questions on designing a dynamic database of exercises

Almost all packages to handle exercises allow us to attach/retrieve meta-data to/from each exercise. Some things one might want when handling exercises are: Filter exercises according to their ...
3
votes
1answer
563 views

Manual exercise question numbering

I am using exercise package to list exercises/questions. I am defining exercise list like this: \begin{ExerciseList} \Exercise{Exercise title} \ExeText Some exercise introduction ...
7
votes
0answers
729 views

TikZ exercises [closed]

I am not sure that this is a right fit for SE, but I will risk it. I was recently acquainting myself with the xy-pic package, and I found the included exercises very helpful in getting up to speed ...
2
votes
1answer
386 views

Exercises in lecture notes without predetermined placement (Follow-up)

I found a partial answer to my problem so I update the question, and leave the unmodified original post here below for reference. The only problem left is how to pass the actual value of a command to ...
5
votes
2answers
571 views

The numbering of exercises automatically on table

I have several hundred exercises in form \begin{exercise} \end{exercise} where each one is a small own file. I input those through \input{...} on master documend. I have done some other ...
2
votes
1answer
383 views

Odd behavior of random selection of exercises

I'm testing some of the features of the exsheets package. Specifically I'm trying to use \includequestions[<options>]{<list of filenames>} to include some random exercise from some ...
3
votes
1answer
236 views

Filter exercises according to their difficulty

This is somehow a follow-up question after this question. I came across this problem when writing the answer, but I was wrong when I thought I would easily be able to get this to work later. Shame. ...
3
votes
1answer
174 views

Using `\ExerciseSelect` (and friends) command of the `exercise` package

In the documentation says: "The purpose of these commands is to select exercises within a long list stored on an auxiliary file." But I don't know how to tell the package which is the external ...
5
votes
2answers
1k views

Multiple choice with answers at the end of the chapter

I would like to set up an environment for multiple choice questions, such that the list of the correct answers, and some lines of comments, will be typeset at the end of the chapter. Something like ...
20
votes
5answers
3k views

Comment out lines without using % and comment enviroment

I would like to ask something which will greatly facilitate my work. But before, I introduce you to the problem I face. In my attempt to gather my notes for my students and give them something more ...
2
votes
3answers
585 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
183 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
565 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
345 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} ...
7
votes
1answer
778 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
438 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
684 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 ...
6
votes
2answers
816 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
1k 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
311 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 ...
5
votes
3answers
9k 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 ...
8
votes
1answer
769 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 ...
34
votes
1answer
4k 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
8k 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
468 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
4k 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 ...