The exercises tag has no wiki summary.
29
votes
6answers
2k 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 ...
20
votes
5answers
861 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 ...
19
votes
1answer
684 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
...
18
votes
1answer
892 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 ...
17
votes
5answers
2k 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$ ...
17
votes
0answers
316 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 ...
15
votes
5answers
565 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 ...
12
votes
2answers
644 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 ...
9
votes
3answers
859 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
...
8
votes
1answer
433 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
...
7
votes
3answers
211 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
534 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 ...
7
votes
2answers
357 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 ...
6
votes
1answer
255 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}
...
6
votes
1answer
180 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
0answers
242 views
TikZ exercises
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 ...
5
votes
1answer
280 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 ...
5
votes
2answers
467 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 ...
5
votes
2answers
273 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 ...
4
votes
1answer
83 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 ...
4
votes
2answers
372 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 ...
3
votes
1answer
91 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 ...
3
votes
1answer
79 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
...
3
votes
1answer
325 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 ...
3
votes
1answer
96 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.
...
2
votes
3answers
2k 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 ...
2
votes
2answers
243 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 ...
2
votes
1answer
159 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 ...
2
votes
1answer
118 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 ...
1
vote
1answer
32 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 ...
1
vote
1answer
27 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
3answers
216 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 ...
1
vote
2answers
172 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
...
1
vote
0answers
36 views
Latex packages / templates for maths exercises
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", ...