Questions tagged [exercises]

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

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

259 questions
42
votes
7 answers

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 to divergence in the labels for the questions and…
vanden
  • 30,891
  • 23
  • 67
  • 87
12
votes
2 answers

Solution of problems in the end of a book

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 book. Is it possible to have the following in LaTeX? In…
newuser
  • 323
9
votes
1 answer

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 describing the question and answer in more detail. I…
wmercer
  • 193
9
votes
4 answers

Problem Solution Template

I want to create a Latex document like the following one: 1. This is the problem statement in multiple line. Solution: This is the solution of the problem. When there is only on solution, there is no need to numbering 2. This is another problem…
user706071
  • 503
  • 1
  • 4
  • 9
8
votes
3 answers

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 H for immediate help. ... …
ptrcao
  • 6,603
7
votes
1 answer

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…
Peeter Joot
  • 3,025
  • 2
  • 25
  • 35
5
votes
1 answer

Mysterious t before every item of listofexercises

I use the exercises package to create exercises inside a script file but in my \listofexercises there is a t at the beginning of every entry, which I couldn't find any explanation for. How do I fix this? I tried differnt languages via babel, but…
pmaen
  • 83
4
votes
4 answers

Making text difficult (but not impossible) to read?

I'm making a file of exercises, and I occasionally leave hints next to some of the problems. The issue is that if the hint follows directly after the problem, I find myself immediately and unconsciously jumping to the hint without thinking about…
Sam Spiro
  • 177
4
votes
1 answer

Exercises with links to answers (problem using counter)

Sorry, website won't allow me to ask detailed questions as a comment (neither does it show the formatting toolbar) so adding a new question. Problem: Trying to create an exercise list (with links to corresponding answers). all answers at end of…
3
votes
1 answer

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 file to look in. Can you please post a MWE to see hot…
leo
  • 1,337
3
votes
2 answers

Link to answer in exercise package

i am creating an exercise book using the exercise package. i understand that i can add a label to a question to link an answer to a specific question. however, i'd like to add a link to the answer under the question. so it looks something…
3
votes
1 answer

Lecture notes with embedded exercises and separate keys

I have a collection of lecture notes which have exercises scattered throughout them. I would like to provide a key to these exercises that is a separate file from the compiled notes, but whose corresponding TeX code is in the same code as the notes…
cjohnson
  • 529
2
votes
0 answers

Exercise Package: What is the correct way to custom exercise and question header

I'm trying to typeset exercise with custom style, basically like this: Exercise 1.1 [**] Some background. 1. First question. 2.[***] Then the second with different difficulty. I've tried to \renewcommand and \def as manual suggests, however: I…
2
votes
1 answer

Questions in two columns (Exercise package)

How can I write questions and subquestions in multiple columns? I would like to have these questions in two columns \documentclass[14pt]{extarticle} \usepackage[margin=1.in]{geometry} \usepackage{amsmath,…
jrglez
  • 173
2
votes
1 answer

Extra character in the index using exercise package

I'm using exercise package and I want the list of the exercise in the index. In texlive2019 (mac) I did not have any problem. Now, with texlive2020 (mac), I get the list of the exercises in the index, however each value is followed by a "t". Here…
1
2 3