Questions tagged [probsoln]

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

0
votes
0answers
36 views

probsoln error: “undefined control sequence \repeat” in a loop

For context, I am using the probsoln package to create a list of problems and solutions. The problems and their solutions come from files in the same directory titled bank_lesson1.tex, bank_lesson2....
0
votes
0answers
36 views

F6 key issues error: Record file not found

I try to press the F6 key and in the YouTube tutorials those who make the video pressing them all go well, but not me :(
1
vote
0answers
30 views

probsoln package: Too many }'s with \ExcludePreviousFile

I have used probsoln for a number of years and have found it incredibly useful. I am sincerely grateful to the author for providing this package. I have used it to specify the inclusion of specific ...
1
vote
0answers
53 views

How to generate a problem set based on number of points?

I know that probsoln can generate a random set of n problems for exercises, etc. Is there a way to create a set of problems totaling n points instead? In other words, if I have a set of problems of ...
0
votes
0answers
106 views

Points in exam class using probsoln

This is an extension and accidently asked originally as part of Random question ordering with Exam class and probsoln package As an additional question, to typeset a question in the exam class, I ...
2
votes
1answer
27 views

Use probsoln for non-latin characters

Here is the MWE: \documentclass{article} \usepackage[answers, usedefaultargs]{probsoln} \PSNrandseed{\time} \begin{document} \newproblem*{1}{% This is Q1} \newproblem*{2}{% This is Q2 करमल} \...
4
votes
1answer
623 views

Random question ordering with Exam class and probsoln package

I'm using the exam class with the probsoln package to make quizzes with a random subset of the material students should know. If I do something like this: \documentclass[12pt,addpoints]{exam} \...
1
vote
0answers
82 views

Incorporating R code in problem sheets of probsoln

While working with the probsoln package, how can I include R code in problem sheets? My main document is \documentclass{article} \usepackage{probsoln, verbatim} \PSNrandseed{200} \begin{document} \...
0
votes
0answers
89 views

“probsoln” package random default arguments

I'm trying to have random values as the default arguments for a question in probsoln. e.g.: In the following, a and b are random default arguments. \newproblem[2][{a}{b}]{ What is #1 ...
1
vote
1answer
386 views

Selecting not previously selected questions in exsheets

Is it possibile, using exsheets, to randomly select not recently selected question (like probsoln does, for example)?
2
votes
0answers
46 views

Handling subquestions using probsoln - How to add the main enunciate of an exercise, e.g., “Solve the following recurrences”

We wish to handle subquestions on classroom notes. In some situations, it is desired to present a specific subquestion (with its answer), but before presenting the subquestion, we wish to show the ...
1
vote
0answers
241 views

Problem with probsoln package

I use probsoln package to typeset exercise book. Here's my code. \documentclass[ headings=big, chapterprefix=true,% like in standard class "report", fontsize=10, a5paper ]{scrbook} \usepackage[utf8]{...
1
vote
1answer
230 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
101 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
229 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 ...
3
votes
1answer
247 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 ...
4
votes
3answers
2k 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
220 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
297 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
21 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 ...
1
vote
1answer
199 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 ...
2
votes
1answer
379 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 %%% "delete"...
10
votes
1answer
2k 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 ...
1
vote
0answers
159 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} \end{...
3
votes
0answers
70 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 ...
3
votes
1answer
368 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 ...
10
votes
2answers
1k 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 ...
44
votes
2answers
3k 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 meta-...
7
votes
1answer
307 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 ...
12
votes
1answer
1k 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 ...
17
votes
2answers
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 ...
9
votes
1answer
1k 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 ...
41
votes
1answer
6k 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 ...