215 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", e....
4k 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 ...
10k views

### Problem/solution environment

I'm writing a textbook and an accompanying solution manual. In the book, I have a series of exercises at the end of each chapter. As the number of chapters and exercises grows, I'm getting to the ...
1k views

### Solution environment via true/false switch

I would like to create a solution environment that prints a solution in the case where an optional argument is set to true (the default) and hides the solution in the case that the argument is false. ...
1k views

### How to extract parts of (La)TeX document?

I want to run queries against LaTeX documents like these: get list of all equations, even if one declares \def\be{} and uses it; get list of all arguments of some command (e. g. \...
183 views

### Adding text to a different part of the document

I'm writing a LaTeX document at the moment which has problems (which are created in a {theorem} environment) for the reader in it. I'd like to put solutions to those problems in the end of the ...
5k views

### Template for problem sets? [closed]

Can anyone provide me with a nice template for math and physics problem sets? I am looking for something that is well-formatted and formal. I am not sure how to make a problem set look very ...
734 views

### Typesetting of problems and solutions

I want to typeset my problems and solutions in my coursework. How do you do that keeping in mind that I want both the problem and the solution typeset? Questions? What should I use/how to separate ...
277 views

### What is the most practical method to write a book of math or physics problems?

My main problem is the following. I would like to put the problems and their solutions together into separate input files. In the source code I would like to switch easily between two modes. In mode 1 ...
331 views

### Switching between environments

I teach at the university and I write exams in Tex. I'd like to write an exam with a number of questions, where for each question I include either empty lines and empty figures with axes (for the ...
215 views

### Pagebreaking colored boxes inside exercise

When I try to use mdframed box inside Exercise enviroment from package exercise, the page breaking does not work. It does work if I switch the order - if I use Exercise inside a box. I however need ...
48 views

### Sections (paragraphs) ordered different than in code [duplicate]

I need to write a task assignment (a paragraph ordered by enumerate) and attach a solution (possibly using hyperref technique). That's clear. But now I want the task solution to be placed at the end ...