Questions tagged [xsim]

xsim is the official successor of exsheets. Use this tag if you have a question about xsim. For questions about other packages like exsheets use the respective tag instead.

Filter by
Sorted by
Tagged with
3
votes
1answer
58 views

Could I do a different automatic exam copies -one for each student-?

If I wrote an exam of ten Multiple choice questions, and I have 20 student. so Could I do a different automatic -by jumble the questions- exam copies -one for each student-? \documentclass{exam} \...
2
votes
0answers
28 views

Is the Exsheet package still under development?

I prefer use Exsheet.I know Exsheet been replaced by a XSIM package, but is the Exsheet package still under development?
2
votes
1answer
40 views

How could I change the points design?

IN xsim package, I want to get any new style for points -or remove the dash at least-. \documentclass{article} \usepackage{xsim} \begin{document} \begin{exercise}[points=4] \end{exercise} \begin{...
2
votes
0answers
35 views

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

What are the good exercise packages -from link- ? https://ctan.org/topic/exercise
2
votes
0answers
63 views

what is the difference between exsol and xsim package? [closed]

what is the difference between exsol and xsim package? And which is the closest one to exam document class?
0
votes
0answers
18 views

Prevent xsim from breaking questions

How can I avoid that an exercise is distributed to two pages as in the following MWE? \documentclass{article} \usepackage{xsim,lipsum} \begin{document} \begin{exercise} \lipsum[1-3] \...
0
votes
0answers
38 views

What are the differences between the exam and xsim classes?

I am currently preparing exercises and wonder which class xsim or exam is best suited for the task. They seem to fulfill the same purpose, but I get the impression xsim comes with more support for ...
2
votes
1answer
49 views

xsim, counters, and TikZ

In my previous post, I asked how to save random numbers for the xsim package. Now I would like to know how to do that when those random numbers are inserted into a TikZ picture. What about my counter ...
0
votes
0answers
20 views

How to print only odd-numbered solutions with xsim?

I am using xsim package. I want to have a section at the end of each chapter with the solutions of only odd-numbered questions.
2
votes
1answer
34 views

Missing item error with xsim and TeXLive 2020

I recently updated from TeXLive 2019 to TeXLive 2020. After upgrading the code from this link (only slightly modified) didn't work anymore. It terminates with the following error: LaTeX Error: ...
0
votes
0answers
61 views

XSIM and crossrefs

I looked at the template xsim_crossref.tex (in the XSIM documentation) to create hyperlinks between statements and solutions. It works fine but now I would like to hide the empty references (exercises ...
1
vote
1answer
86 views

Saving Random Numbers in xsim for Solutions

I'm trying to create exercise sheets with random numbers and xsim. Each time I generate random numbers, though, the variables are overwritten to create new exercises (desired), but also overwritten so ...
0
votes
0answers
43 views

Shuffle questions in xsim

As said in the title, I want to shuffle questions while using xsim and tasks packages. Here is the code I took from multiple choice questions with correct choice environment which is written by @...
0
votes
0answers
32 views

Automatically add exercise to the corresponding collection [duplicate]

I'm using xsim package to manage exercises in my lessons but I can't find a good way to select exercises by using tags. In particular, when i write the following code (example1), each exercise ...
1
vote
1answer
106 views

xsim's copious amount of aux files and compilation time

This can be seen as a follow up to this question: Properly defining problems and subproblems using the xsim package I have not yet accepted this question, as I am still trying to update my tex ...
2
votes
1answer
67 views

xsim: How to calculate points of the sections

Is there a simple way to calculate the points a section includes? \documentclass{scrartcl} \usepackage[no-files]{xsim} \xsimsetup{ exercise/the-counter = \thesection.\arabic{exercise}, exercise/...
3
votes
1answer
93 views

xsim: What is the correct way to count exercises per section?

What is the correct way to count exercises per section like I got it with % Count exercises per section ===== \let\oldsection\section \renewcommand{\section}{% \setcounter{exercise}{0}% \oldsection} ...
2
votes
1answer
52 views

xsim: Headline of \printsolution when exercise/name has been changed

I want the word "Question" (or the german word "Aufgabe") instead of "Exercise", so I set \xsimsetup{ exercise/name=\XSIMtranslate{question}, } But \printsolutions gives me still "Solutions to the ...
1
vote
1answer
51 views

xsim: Vertical shifts by using customized points

I changed inside \DeclareExerciseEnvironmentTemplate{custom}{...} \IfInsideSolutionF{\rule{1.2cm}{1pt}\slash}% to \IfInsideSolutionF{\noindent\usekomafont{sectioning}\color{pointscolor}} and I ...
1
vote
1answer
181 views

Adding a complete solution to xsim exercise

I've just read this post linked in the xsim_manual on p.71 example 35 and i've some troubles to adapt it to my goal. I want to add an environment resolution for each exercises of my database. This ...
0
votes
1answer
42 views

xsim: clear-aux option causes error

Since today, I got an error when trying to compile a document with the xsim package and its clear-aux option. MWE: \documentclass{article} \usepackage{xsim} \xsimsetup{ clear-aux } \begin{...
1
vote
1answer
183 views

Properly defining problems and subproblems using the xsim package

I am trying to use the xsim package to sort and order the previously given exams in a course (MAT-1001). For this to be viable I need the following equirements I should be able to request exam ...
1
vote
1answer
91 views

Collection of tasks, xsim, et al.: How to controll layout of printsolutions best way

I read Math book: how to write Exercise and Answers and ask myself: What is the best way to get a layout like this using xsim. MWE: \documentclass[ngerman,paper=A5]{scrreprt} \usepackage{amsmath, ...
4
votes
2answers
1k views

filehook error with memoir after update texlive 2019 in Oct 15

After the new LaTeX2e <2019-10-01> version, I got this error: ! Package filehook Error: Detected 'scrlfile' package with unknown definition o f \InputIfFileExists. It seems related with ...
2
votes
3answers
147 views

Space after exercise

The following example is of an exercise followed by a paragraph: \documentclass{article} \usepackage{xsim} \begin{document} \begin{exercise} This is some text for an exercise. \end{exercise} And now ...
0
votes
0answers
89 views

Xsim package: Same space if solutions are printed or not

I want the to leave the same space if solutions are printed or not. This MWE is good if there is an excercise without subquestions This MWE is bad if there is an excercise with subquestions I tried ...
1
vote
1answer
97 views

Replicaing some exsheets features in xsim

My exsheets templates no longer compile after a recent LaTeX update and so I thought that rather than downgrading TeX, it might be better just upgrade my templates. Unfortunately, I'm struggling to ...
0
votes
1answer
52 views

A comment after the xsim solution environment is being printed

If I add a comment after the solution environment of the xsim package the comment is printed before the solution. \documentclass[]{article} \usepackage{xsim} \begin{document} \begin{exercise} % ...
0
votes
0answers
96 views

Using xsim for creating tex files for Question Banks

I have been able to use xsim to extract easy, medium and difficult questions from a tagged Question Bank. However, I am not able to get the tex file with the list of all easy questions, all medium ...
1
vote
1answer
57 views

Misplaced \PropertyValue with xsim package using own exercise definition

I had to create a new definition for exercise with xsim package, because the hungarian heading text is reversed for the original. I did it as the manual shown, with only the necessary changes. Now the ...
1
vote
1answer
179 views

Customizing points in `xsim`

The points in exercise environment seem to align right under the line of the exercise name and label as shown here How do I left it upwards as follows This alignment is the typical behavior of ...
2
votes
2answers
209 views

Questions: Migrating from exsheets to xsim (2)

I am currently trying to migrate from exsheets to xsim and have some problems. Since exsheets won't be supported, I am trying to migrate to xsim but I have some problems: How can I insert the ...
2
votes
1answer
199 views

From exsheets to xsim: runin

I try to convert from exsheets to xsim but I fail to implement runin. I just copied the runin-template from the manual (http://ftp.math.purdue.edu/mirrors/ctan.org/macros/latex/contrib/xsim/doc/...
3
votes
3answers
534 views

Expand command in an argument before the main command

Related to my problem for xsim here. I want to use commands \ExOption and \ExPart to implement more easily my collection in xsim package. But i'm facing the problem that my commands do not expand in \...
0
votes
1answer
50 views

Exercises imported don't print when i call a collection

I undertook to build a database of my exercises and to store them, i wrote in subfolders. When needed, i called them with xsim package. At the moment, the classification acts as follows : And there ...
3
votes
1answer
404 views

xsim-package: subexercises and points calculation

I want to setup exercises/questions for an exam. Some exercises will have subquestions. When there are no subquestions I can simply specify the "points" property and get that neat space in the right ...
1
vote
0answers
68 views

How to add rows to gradingtable default* template in xsim

First I want to thank all those users that asked questions and/or supplied answers that have been useful to me in my journey learning LaTeX and using it to replace MS Word in editing my chemistry high ...
2
votes
1answer
125 views

Is there an equivalent to exsheet's \exerciseNumber{} in XSIM?

The exsheets package allowed for referencing a previous exercise through its ID tag with \exerciseNumber{<id>}. Changing to XSIM now, I could not find an equivalent. The \GetExerciseProperty{ID} ...
0
votes
0answers
103 views

Slow typesetting due to xsim package - Any way to speed it up?

I really appreciate the xsim package and it's functionality. However, when including many questions, the typesetting slows down considerably (in my setup, up to 10 minutes for around 200 included ...
2
votes
1answer
180 views

Printing solution of mcq using xsim

How to print the solution of multiple choice question in the following example ? \documentclass{scrartcl} \usepackage[clear-aux]{xsim} \usepackage{enumitem,amssymb,fmtcount} \newlist{choices}{...
1
vote
3answers
102 views

True/False Question Answer with xsim

With reference to the following answer https://tex.stackexchange.com/questions/484753/true-false-type-questions-with-xsim-package/484760?noredirect=1#[True False question with xsim][1] How to print ...
2
votes
1answer
208 views

True/False type Questions with xsim package

How to make true/false type questions in 'xsim' package? In the manual of 'xsim', I could not find it. \documentclass[10pt,a4paper]{article} \usepackage[verbose,clear-aux]{xsim} \usepackage{xsimverb,...
0
votes
0answers
224 views

'xsim' with 'exam' class

I am getting error while using xsim package with exam class. For exaple: LaTeX error: "xparse/command-already-defined" Command '\points' already defined! For immediate help type H . } How to ...
0
votes
1answer
108 views

Migrating from exsheets to xsim

xsim looks fine. EDIT, March 28, 2019 I know, the manual has to be read! But just one question: How to mimick in xsim this exsheets setup? \SetupExSheets{% counter-format = ch.qu, counter-...
1
vote
1answer
373 views

xsim: LaTeX3 Error: File '' not found

Below is a minimalized template I have been using without any trouble for quite some time (Edit: Simplified the code and updated the error message). It no longer runs on my system. I do not know if it'...
4
votes
1answer
162 views

Showing points and total points using exercise or any other suitable package

I want to prepare a book with many chapters (and sections), notes, exercises and linked solutions at the end of the book . I decided to adopt the example from on matching enumerated exercises with ...
2
votes
1answer
221 views

xsim and questions in columns within tasks

I would do with xsim, successor of exsheets, the same I do with it: lists of questions inside a tasks environment. Is that possible? Something like this: \documentclass{article} \usepackage{...
6
votes
1answer
503 views

How to do subexercises or exercise parts with the xsim package?

I quite often see, and myself create, exercises which consist of multiple subexercises or parts, like this: # Exercise 1 Two cars are traveling in opposite directions. They are 2.7km apart, driving ...
5
votes
2answers
363 views

Custom label for references using tasks inside a xsim exercise

In order to create an assignment sheet, I am using the xsim package and to create subquestions within a question, I use the package tasks. The problem comes while referring to the subquestions. ...
2
votes
2answers
77 views

Get the value of \TotalExerciseGoal

I am trying to print the total points of my exercises using the "\num"-command of siunitx, in order to have a comma separted format. I am getting an invalid-token error when trying \num{\...