Questions tagged [probsoln]

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

Filter by
Sorted by
Tagged with
2 votes
2 answers
162 views

Itemize a name list randomly several times throught the document

I have a list of names, say: \newcommand{\names}{Fred, Barry, Joe, Jack, Zach} and I just want to display the list in a randomized order a few times through my document. Something like: Barry, Zach,...
Andrew's user avatar
  • 63
3 votes
2 answers
382 views

Math book with problems and solutions

I am making a book of problems and solutions. Each chapter has several problems and I would like to include a separate chapter for the solution of each problem in each chapter. More or less, the draft ...
user50605's user avatar
2 votes
0 answers
149 views

What are the good exercise packages -from link-? [closed]

What are the good exercise packages -from link- ? https://ctan.org/topic/exercise
Mamoun Mohammed's user avatar
1 vote
1 answer
116 views

problsoln and listings package compatibility issues

I'm trying to use the probsoln and listings packages for computer science exercises, but it seems that these packages are incompatible when the problems are put in a separate file. Any help would be ...
Jon's user avatar
  • 131
2 votes
1 answer
226 views

probsoln: How to link problem with its solution?

I simplified the example on page 13 and 14 of the probsoln package documentation to ask the following question: How can I link the problems with its solutions? (The solutions are already linked with ...
Andreas Schneider's user avatar
1 vote
0 answers
290 views

creating random question paper using probsoln package

I have written code for generating random questions using Probson package. The only problem I face is that It shows the same output again and again when I run the Program. What I want is whenver I ...
user157012's user avatar
0 votes
0 answers
386 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....
ryanj1823's user avatar
  • 301
0 votes
0 answers
166 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 :(
Jr Alvaro Rodriguez's user avatar
1 vote
0 answers
55 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 ...
Kelly O. Homan's user avatar
1 vote
0 answers
94 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 ...
crmdgn's user avatar
  • 2,628
0 votes
0 answers
234 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 ...
bbujeya's user avatar
  • 611
2 votes
1 answer
60 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 करमल} \...
deshmukh's user avatar
  • 2,435
5 votes
1 answer
2k 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} \...
crmdgn's user avatar
  • 2,628
1 vote
0 answers
99 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} \...
venugopal's user avatar
0 votes
0 answers
137 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 ...
user1654183's user avatar
1 vote
1 answer
426 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)?
zar's user avatar
  • 545
2 votes
0 answers
82 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 ...
David Menotti's user avatar
1 vote
0 answers
367 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]{...
Đại Bàng Ham Học's user avatar
1 vote
1 answer
674 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 ...
Robin Donatello's user avatar
0 votes
0 answers
108 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 ...
Tolaso's user avatar
  • 1,555
1 vote
1 answer
421 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 ...
HTG's user avatar
  • 1,377
3 votes
1 answer
335 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 ...
Pablo B.'s user avatar
  • 537
4 votes
3 answers
6k 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 ...
ttsc's user avatar
  • 383
1 vote
1 answer
290 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 ...
Robin Donatello's user avatar
3 votes
1 answer
470 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} \...
Robin Donatello's user avatar
0 votes
0 answers
48 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 ...
user3278494's user avatar
1 vote
1 answer
527 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 ...
user3278494's user avatar
3 votes
1 answer
723 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"...
martinoidar's user avatar
12 votes
1 answer
3k 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 ...
Ulrich Hauser-Ehninger's user avatar
1 vote
0 answers
216 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{...
Đại Bàng Ham Học's user avatar
3 votes
0 answers
103 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 ...
Ulrich Hauser-Ehninger's user avatar
3 votes
1 answer
428 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 ...
Nicole's user avatar
  • 73
10 votes
2 answers
2k 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 ...
MeTutel's user avatar
  • 345
45 votes
2 answers
4k 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-...
8 votes
1 answer
417 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 ...
HTG's user avatar
  • 1,377
12 votes
1 answer
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 ...
HTG's user avatar
  • 1,377
19 votes
2 answers
14k 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 ...
user1362373's user avatar
  • 2,869
9 votes
1 answer
2k 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 ...
ptrcao's user avatar
  • 6,603
44 votes
1 answer
7k 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 ...
ptrcao's user avatar
  • 6,603