{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
25 views

Exsheets: how to get a counter/reference combining section and question numbers

I am writing a document that has several major sections, and each section will have some exercises and solutions. I am using the exsheets package, which seems to do almost everything I want. However, ...
1
vote
1answer
35 views

Creating a cloze and the solution at once with help of conditions

I'm trying to make a beamer presentation for a lecture that also contains some small exercises. So I needed TeX to create a page where there are just the questions with room between each of them for ...
2
votes
1answer
62 views

How can I style exercises like that?

How can I style exercises like the one in this book but the exercises numbers should not follow the theorems numbers. This page is from Lee's introduction to topological manifolds.
2
votes
1answer
53 views

Problem with adding exercises - “missing \item error”

I have the following MWE: \documentclass[12pt]{article} \makeatletter \usepackage[dutch]{babel} \usepackage{blindtext} %Paragraphs get numbered continuously \usepackage{chngcntr} ...
4
votes
2answers
141 views

How to use \newenvironment; why doesn't this code work? How do I fix it?

I've been trying to find out but my latex skills are too weak to understand what seem like similar problems. When I try this: \documentclass{memoir} \usepackage{graphicx} \usepackage{exsheets} ...
1
vote
1answer
39 views

exercise package; how to get counter for a custom exercise type to increment with memoir sections?

Just started learning LaTeX, because I'm trying to write a short math book. I started out using LyX, but ultimately I want more control over the typesetting, so I have to learn LaTeX. Anyway, I want ...
5
votes
1answer
122 views

How to define a new counter independent of section

I am trying to create exercises within a paper, by which the numbering will be as one would expect (1, 2, 3, ...). However, when defining a new counter and theoremstyle: \documentclass{article} ...
3
votes
3answers
83 views

Enumerating inside multi column environment

I'm typesetting a list of high school exercises. I want create a list in the following form Exercise 1 Exercise 2 Exercise 3 Exercise 4 Exercise 5 Exercise 6 Exercise 7 Exercise 8 I'm ...
2
votes
2answers
108 views

subfig vs exercise: LaTeX Error: Not in outer par mode

I'm able to use the subfig package in my documents, but not within an exercise environment: \documentclass{scrreprt} \usepackage{exercise} \usepackage[demo]{graphicx} \usepackage{subfig} ...
5
votes
1answer
218 views

How to make a template latex like this?

I wana ask a question. How to make a template latex like this?
1
vote
0answers
39 views

Shuffle questions in eqexam [duplicate]

Is there a way of shuffling the questions (not only the answers) using eqexam?
3
votes
1answer
110 views

Marking hard exercises in a book with enumitem

In a book, I'd like to mark hard or difficult sections and exercises with superscript \star s. I can do this for sections as shown below using macros for \hard, \very hard inside \section{}. I'm ...
5
votes
2answers
172 views

Hide content to show later

My question appeared about this egreg's answer: http://tex.stackexchange.com/a/210564/15256 I have a list of exercise-answers but I don't want to show the answers immediately but after till I'll pull ...
4
votes
1answer
310 views

Homework Problem Sheet Template

Could someone make this picture of Homework Problem Sheet Template in sample code in LaTeX with the same font size by the way i already add tow pictures in the front of document to make it more cute ...
1
vote
2answers
219 views

Typesetting Multipart Exercises

When I typeset exercises, I sometimes like to provide the exercise number in the left margin rather than as part of the paragraph describing the exercise. This poses a problem when I need typeset ...
2
votes
3answers
301 views

How to typeset subquestions and the corresponding answers

I would like to typeset exercises with subquestions so that in the code I have an answer immediately following each subquestion, but in the output all the answers will be in the end. Also I want both ...
2
votes
1answer
62 views

Macro output as an input in subsequent pythontex command/environement?

I am trying to make a document with one specific math/physics exercise. Of course the exercise consists of input data (i.e. a = 2 cm, b = 3 cm,...) and part where calculations are performed. Just by ...
8
votes
3answers
682 views

Typesetting exercise sheets

I want to typeset weekly exercise sheets for students. Typically, one sheet consists of 2-5 exercises. Additionallly, a version including solutions shall be provided for the tutors. Since more or ...
1
vote
0answers
47 views

ExerciseSelect with counter as key

I would like to use ExcerciseSelect to choose some questions in order to create different assignments. I have more than 140 different questions. Ideally I would like to make something like student 1 ...
5
votes
0answers
129 views

Offline organisation of exercises written in LaTeX

There is a very nice online service called texercises where you can collect, tag and search exercise problems written with LaTeX and then combine them easily to a custom exercise sheet. Since I often ...
0
votes
0answers
309 views

answers using exercise.sty, beginning each chapter on new page

I have a multi-chapter tex document containing lecture notes, problem sets, and solution keys. I'm using exercise.sty to deliver the exercises and their solutions. Everything works great with the ...
1
vote
1answer
132 views

Procedure to write questions

I want to write a LaTeX file in which a question appears after compilation as Question 1 if i write \begin{Question} \end{Question} But then i would like to write answer for that and in that case i ...
2
votes
1answer
84 views

Figure at the bottom of same page as another item

I'm writing up lecture notes which include quick questions for the reader, together with upside-down answers at the bottom of the page. The code I'm currently using for this has basically the ...
1
vote
0answers
71 views

How do I restrict delta here? [closed]

Prove that $\lim_{x\to 1}(x^2-1)=0$ $|(x^2 -1) -0| < \epsilon$ \\* $|x^2 - 1| < \epsilon$ \\* $|(x+1)(x-1)| < \epsilon$ \\* $|x+1||x-1| < \epsilon$ I know I need to restrict delta now ...
3
votes
1answer
653 views

The exercise package in list form

I would like --- using the exercise package --- to make lists of exercises using the ExerciseList environment. The output is supposed to look like in the below example. The exercises are to be ...
8
votes
1answer
389 views

How I can customize fbox and hrule?

I want to customization a sample exercises for a book. I like so much this style: I think that is possible with fbox and hrule, but I don't know how I can do it. No need to use fbox and hrule if ...
11
votes
3answers
193 views

Not breaking the start of an environment for solution of exercises

Let suppose that I have an environment \begin{sol} ... \end{sol} for writing solutions of exercises in a test. For practical reasons, I would like that two or more solutions can be put in the same ...
4
votes
2answers
196 views

How to link an answer to a specific question with exercise package?

I am typesetting some exercises with the following structure, Exercise 1 Some introductory text. 1.1 The first question? 1.2 The second question? Using the exercise package I can accomplish this in ...
3
votes
1answer
136 views

How to restart numbering of Exerciselist?

I have problems with the exercise package. How can I make the second Exerciselist to start at one? \documentclass[a4paper]{book} \usepackage[dvipsnames]{xcolor} \usepackage[english]{babel} ...
3
votes
1answer
334 views

An in line Exercise environment

In my lecture notes I want to leave some work as exercises and plan to give solutions later in the text. For example, "The proof of this theorem is left as an exercise (Exercise 1.2)". It must also ...
8
votes
1answer
242 views

Extract problem and solution from files and create problem collection

I have a set of problems and solutions, and I wish to include (some of) them in several different documents. I would like to be able to choose if the solutions should be presented last, or immediate ...
4
votes
1answer
413 views

Exercise enumeration

In order to make it easier to write hand-in assigments, I want to create two environments Subexc and subexc, where I can write the entire exercise down before starting. Subexc is supposed to be run ...
3
votes
1answer
218 views

Are there more to applications of \iftrue and \iffalse?

While reading "TeX for the impatient" on the topics of iftrue and iffalse, I encountered this example, \def\isbigger{\let\bigger=\iftrue} \def\isnotbigger{\let\bigger=\iffalse} \def\test#1#2{\ifnum ...
4
votes
3answers
3k views

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 ...
8
votes
2answers
780 views

Is there a repository of math exercises written in latex source code available?

Is there a collection of math exercises/exam questions already available for download, especially the ones that have geometric figures and pictures involving related rates and optimizations? I have ...
3
votes
1answer
435 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
171 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
110 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
163 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 ...
33
votes
1answer
1k 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
380 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
640 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
331 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
496 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
351 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
224 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
159 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
972 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
2k 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
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 ...