The probsoln-package allows the creation of problem sheets with randomly selected problems and optionally the solution.

learn more… | top users | synonyms

1
vote
0answers
26 views

How can I remove extra spaces in code passed through probsoln package?

This is an easy question to a potentially complicated situation. I'm using RStudio to write homework and exams using the probsoln package that embeds R code into the LaTeX directly. I am using knitr ...
0
votes
0answers
19 views

Preventing page breaks in probsoln problems

I am using the probsoln package to typeset some questions in my class notes. However, I'd like to make sure that for each problem there is no page break half way through the question. I have tried ...
0
votes
0answers
48 views

Package for redirecting from questions to answers

Good evening, could someone tell me which package should I use in order to be redirected from the number of a question to its answer. In detail, suppose that I have written some questions and their ...
1
vote
1answer
69 views

Solutions involving random values in the probsoln package

Over the past few years, I have constructed a large number of math questions which are stored in various external files. I access them for my quizzes via the probsoln package. I typically construct ...
4
votes
1answer
92 views

Probsoln customization of solution environment (set as marginpar)

I'm using probsoln, and I want to put the solution as a marginpar and with footnotesize. Please look at the MWE below. Writelatex won't compile, spitting out LaTeX Error: \begin{solutionnew} on ...
2
votes
3answers
252 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 ...
1
vote
1answer
54 views

fragile/verbatim R code inside probsoln when using an exterior Rnw file for the data sets

A follow-up on this question about using R code inside the environments used in probsoln package. If you uncomment out the section below and define the problem within the main Rnw file, the R code is ...
3
votes
1answer
85 views

Probsoln & Sweave

I just started learning the probsoln package so I can create problem sets. I have a basic example that is working: \documentclass{article} \usepackage{probsoln} \showanswers \begin{document} ...
0
votes
0answers
14 views

How to add the total marks using probsoln [duplicate]

I am trying to add the total marks at the end of an exam paper using probsoln. All the questions are in a seperate file and I just use \loadallproblems to add them to the exam paper. I add the number ...
2
votes
1answer
83 views

probsoln custom numbering of questions

I want to change the numbering of exam questions using probsoln. At the moment it just starts each question directly beneath each other and numbering it as a list. I want it to look something like ...
3
votes
1answer
83 views

probsoln's solution environment in beamer documentclass

When compiling this piece of code \documentclass{beamer} %%% save beamer's `solution' environment as `beamersolution': %\let\beamersolution\solution %\let\endbeamersolution\endsolution %%% ...
8
votes
1answer
711 views

RequirePackage and usepackage behave differently

I design exams which should contain code samples using pdflatex. In lecture scripts I successfully use the listings package. The general design is done via the exam document class. I created my own ...
2
votes
0answers
66 views

How to print only solution sheet in the end of the document in probsoln package

I use: \newproblem{1}{bla bla bla}{ble ble ble} in an external file.tex. Then in my main file, I use: \loadallproblem.... \begin{enumerate} \foreachproblem[...]{\item \thisproblem} ...
3
votes
0answers
37 views

The packages imports and probsoln seem to be incompatible

I want to establish lists of exam questions using probsoln. To keep things neatly arranged I want to keep the lists separated from the exams as I use a dedicated folder for each term and for each ...
4
votes
1answer
218 views

exam class - align problems horizontally using probsoln

I would like to create worksheets with problems filled by rows instead of columns. I am using probsoln to store and call the problems, but they always end up filling the worksheet vertically. I tried ...
7
votes
2answers
475 views

creating a list of random numbers using a loop

I am trying to write a loop that will generate a set of random variables to be used in the probsoln package. I would like to make a loop to generate A, B, C, etc. This exam will have a lot of ...
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 ...
7
votes
1answer
201 views

Random coefficients in the polynom package?

I am using the probsoln package to generate random math quizzes. For polynomial division, I can generate random integer coefficients, but I had planned on using the polynom package to auto-generate ...
9
votes
1answer
671 views

Accessing randomly selected problems via the probsoln package

I have two datasets, each containing problems dealing with a specific topic. These problems are stored in external files (again, one file per topic) and loaded into the datasets in a random order. I ...
13
votes
2answers
4k 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 ...
7
votes
1answer
597 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 ...
31
votes
1answer
3k 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 ...