The tag has no wiki summary.

learn more… | top users | synonyms

3
votes
0answers
74 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
100 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
95 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
56 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
60 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 ...
2
votes
1answer
199 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 ...
0
votes
0answers
83 views

How to save copies of exercise with and without answers

I was wondering if there was a way to save multiple versions of a "problem set" by running the LaTeX command only once. I am working with the exercise package where I have defined questions and ...
8
votes
1answer
274 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
169 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
118 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
86 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
190 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 ...
7
votes
1answer
162 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
246 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
129 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
2answers
1k 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
413 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
333 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
164 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
82 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
112 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 ...
31
votes
1answer
997 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
241 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
475 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
256 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
409 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
304 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
156 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
130 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
755 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
1k 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
396 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
788 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
117 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
372 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 ...
6
votes
1answer
283 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
449 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
834 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
333 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 ...
12
votes
3answers
2k 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 ...
3
votes
1answer
485 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 ...
4
votes
2answers
605 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 ...
15
votes
5answers
790 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
245 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 ...
2
votes
3answers
5k 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
484 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 ...
29
votes
1answer
2k 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
5k 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$ ...
18
votes
1answer
1k 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
410 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 ...