TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm a mathematics student and a newbie latex-user, and would start to collect my favourite problems in a problem book written in latex, dividing the content in two parts: the first, with the labeled problems, with the source of the problems, the origin et cetera; the second part, with the respective solutions. Obviously I would do my best, with the two parts hyperlinked and an index, aiming to create a good document for others students.

I have yet no idea how to do it in a pretty and efficent way.

I'm looking for a template, a similar .tex document where to see how to do it without having to read a lot of manuals. Any suggestion? Thanks

share|improve this question
Will the accepted answer for this question: stackoverflow.com/questions/2924313/… work for you? – Jan Hlavacek Mar 23 '11 at 3:53
@Jan ,@Hendrik Really helpful, thanks – Immanuel Weihnacht Mar 27 '11 at 10:46
Is this a dupe of the question Hendrik has linked to? Seems to cover similar ground to me. – Joseph Wright Apr 16 '11 at 7:59

Have you tried the package probsoln by Nicola Talbot? I think it is exactly what you need. You can find it in CTAN. If I'm not wrong, it's distributed with MikTeX. There is, also, an article about it in the last issue of the PracTeX journal (if you don't know the journal, there is a link from the TUG page (http://www.tug.org)). I use frequently this package to prepare homework or tests for my students and, yes, also to prepare a problem book.

Best luck!

share|improve this answer
Many thanks for the suggested package and journal, I'll try it! – Immanuel Weihnacht Apr 21 '11 at 14:11

I have elaborated my own answers2 package for my textbook. It is made from answers.sty and provides hyperlinks as you need. I could share my code with you but I am too lasy to put it on ctan.

share|improve this answer
Then it is possible to get it in another way? – Immanuel Weihnacht Mar 27 '11 at 10:48
@anatematic: kia999 at mail dot ru – Igor Kotelnikov Mar 28 '11 at 13:06
Advertising packages which are not generally available does not really help to answer a question, in general. Submitting to CTAN is not so hard, and if you've got useful code then it would be a great service to the community to send it. – Joseph Wright Apr 16 '11 at 8:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.